summaryrefslogtreecommitdiff
path: root/modules/upload/upload.module
Commit message (Collapse)AuthorAge
* #10441: Splitting up upload permissions in 2: one for uploading and one for ↵Steven Wittens2004-09-19
| | | | viewing/downloading. It does not make sense to only allow downloading for people who can upload themselves.
* - Patch #8179 by JonBob: the legacy handlers and file upload previews were ↵Dries Buytaert2004-09-17
| | | | mistakenly cached when they cannot be. Attached patch fixes this as well as a reference to an undefined constant in legacy_menu().
* - Patch #8179 by JonBob: reintroduced menu caching.Dries Buytaert2004-09-16
|
* #10560: Upload.moduleSteven Wittens2004-09-13
| | | | | - removing file checks for uid #1 to be consistent with the roles/permissions. - renaming script files to .txt's to prevent accidental execution (we don't allow them by default, but you never know)
* Upload.module: add explicit cast to (array) for $node->files in case it's ↵Steven Wittens2004-09-05
| | | | not set (e.g. nodes that don't take attachments).
* Patch by me and Kjartan.Steven Wittens2004-08-24
| | | | | | | | | | | | Upload.module - Fixing a bug caused by the PHP5 patches. Beware: PHP4's array_merge() will silently accept objects and convert them to arrays. We should not depend on this behaviour in the future. File.inc / file-using modules: - Removing the constant FILE_SEPARATOR: forward slashes work fine on Windows, and it was being used incorrectly as an URL separator sometimes. - Adding @ to mkdir and chmod to supress ugly PHP errors. They are already reported with drupal_set_message(). - Fixing default for variable 'file_directory_temp'. - Clarifying the help tip for 'file_directory_temp' in admin > settings.
* - Patch by JonBob: for consistency and readability, add brief descriptions ↵Dries Buytaert2004-08-21
| | | | of each source file inside the @file comment block at the head of the file. This helps with Doxygen indexing, and also allows neophytes to see what a file does immediately on opening the source, regardless of the organization of the hooks.
* - Code improvements by Stefan: use capital letters for header titles (and ↵Dries Buytaert2004-08-19
| | | | added some missing t() functions).
* Fixed bad permissions in upload.module:Steven Wittens2004-08-18
| | | | | | | - Admin - upload only shows up for 'access administration section' perms - Users without 'upload files' perm do not see the attachments form (and cannot attach even when sending their own http request) Note: if a user can edit a node, but not 'upload files', then the attachments are left untouched (and cannot be changed).
* - Code improvements by Stefan:Dries Buytaert2004-08-18
| | | | | | + " -> ' + Using form_set_error() instead of drupal_set_message(). + Removed dead code.
* - Small change to the wording of the 'note'.Dries Buytaert2004-08-18
|
* Setting the default workflow for attachments by upload.module to be enabled.Steven Wittens2004-08-18
| | | | This makes sense because people will expect attachments to work everywhere when they enable this module. This also matches comment.module's behaviour, where comments are allowed by default unless turned off.
* - The upload (filehandler) module has landed!Dries Buytaert2004-08-17