Downloads
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.