Downloads

Download filefield-6.x-1.0-alpha2.tar.gztar.gz 27.04 KB
MD5: fad99b3ccc10d1c7185e05190c18b2e2
SHA-1: 77007c7a9b322cb6c81de6c98976fc77b26f979b
SHA-256: d48468964dccc56d3032268f6ab38aaeb7bf31acbd9feac23e1eccaf66938c01
Download filefield-6.x-1.0-alpha2.zipzip 36.02 KB
MD5: f6daebe74f0e1c6e8d8de8332b3b5d77
SHA-1: e89297bf47402badabf288b514984f5991d0447c
SHA-256: db624e5a8468c9c6a189c2ef9e45e63ffe51a14028d9d6cfad8fd91214f4339a

Release notes

Pretty much the same as 6.x-1.0-alpha1, so go and take a look at that the release info text of that one before reading on. Note that this is still *alpha*, and thus can change anytime in any ways (be prepared to clear your caches), and can also break your system, eat your children and seduce your fiancees.

alpha1 had the not so nice feature of denying uploads for every user that is not user 1, which is the main reason that I'm doing an alpha2 so quickly. The other reason is that we're pretty much on par with FileField 5.x-2.x, at least concerning features (but disregarding bugs). hook_filefield() is still missing, but everything else exists with similar or better functionality. (Apart from the reminder message "Changes are not permanent until you save this post" - need to consider if we still need this at all.)

Improvements compared to alpha1, shamelessly stolen from the porting issue:
- Major new feature: Let users upload even if they are not user 1! (That is, I fixed the permission name in hook_menu().)
- Edit widgets (the thing with the icon and the description textfield, but not "List" and "Delete") are now always encapsulated form elements. That's a change for developers only, of course.
- The CSS has been tuned with no end, most notably causing the icon to appear in the vertical center of the table row.
- File extension restrictions work again, both server- and client-based. Of course with the client-based JavaScript validator better than ever - passive error message instead of annoying alert() dialog.
- Implemented better permission checking for private file downloads. The even better news is that I've been able to get completely rid of the annoying 'view filefield uploads' permission by replacing it with the more fine-grained field-level permissions from content_permissions which ships with CCK 6.x. (Everyone else falls back to 'access content', and node access for private file downloads.) So the permissions are now context sensitive, which means they're not built into theme_filefield() anymore too but checked at the field level.
- A new filefield_view_access() function for responsible themers with a need to display filefield files without calling the formatter.
- Log entries in case a file upload fails for any reason.

As in alpha1, the major issue is JavaScript wherever it appears. The plan is to track these bugs down after going beta, which will happen once hook_filefield() is reinstated and working again. Until that happens, have fun with this release, and as I said, it's still alpha so expect it to break anytime.

Created by: jpetso
Created on: 25 Jun 2008 at 00:16 UTC
Last updated: 25 Jun 2008 at 00:21 UTC
New features
Bug fixes

Other releases