#277692 by justinrandell, stop private upload form replacing existing files
#498840 by Jody Lynn, prevent race condition bug that can misset the private file variable
#646098 by Jody Lynn, coder style fixes, uninstall function
There are still open critical issues with this module, including http://drupal.org/node/801470. This release is simply to catch up the recommended version with bug fixes that have been in the dev version for some time. (This is currently identical to the DRUPAL-6--1 dev branch)
Mostly a by-the-book port of 5.x-1.0-RC.
I Needed to added hook_file_download to replace the node-level access control that was removed in Drupal 6 core. Since a file can now be attached to multiple nodes, a user can now see a file if, and only if, they have access to view at least one of the nodes the file is attached to.
Also, I removed the obsolete migration code.
Fixed warning by breaking out pu_requirements and _pu_requirements.
Make sure module runs after upload module by bumping weight. Hopefully will address http://drupal.org/node/200537 (thanks schultkl) http://drupal.org/node/202235: schultkl's Fix for migrating private files if same file attached to multiple roles.