Parent Directory
|
Revision Log
|
Revision Graph
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
- Patch #583730 by sun: fixed form caching.
Roll-back of #595084; type-hinting parameters at stdClass makes it so you can't ever pass in another type of class.
#612396 by jim0203 and dman: Fixed Notice: Undefined index: process_input() in _form_builder_handle_input_element().
- Patch #595084 by c960657: use type hinting for .
#600974 by effulgentsia, JohnAlbin, sun, and Damien Tournoud: Allow theme functions to take one argument without any hacks. NOTE: This is an API change in hook_theme().
- Patch #443200 by c960657: fixed user pictures not working with private files.
- Patch #601570 by effulgentsia: hook_exit() and other cleanup needs to happen for AJAX requests too.
- Patch #593522 by sun: a better and faster drupal_alter().
- Patch #602122 by sivaji: fixed broken link.
- Patch #572618 by effulgentsia, pwolanin, sun: all theme functions should take a single argument. Code clean-up and performance improvement. Woot.
- Patch #581392 by sun, catch | mr.baileys: Fixed Add an API function for deleting revisions.
- Patch #556018 by Damien Tournoud, dereine | sun: rename drupal_to_js() and drupal_json() for consistency and readability.
#564394 by Berdir and Crell: Removed database BC layer. nah nah nah nah... hey hey hey... gooood byeeee...
#360605 by Berdir et al.: make Drupal core work with PHP 5.3.0 out of the box (fixes for incompatibilities introduced with PHP 5.3.0)
- Patch by #565496 by dropcube, pwolanin: changed Allow dynamic attaching of other types of stuff to render() structures.
#497118 by chx, catch, pwolanin, JoshuaRogers, and Jacob Singh: Remove the function registry. While the hope was that this would result in improved performance for low-end hosts, it comes at the expense of critical development experience problems and less benefit than something like APC. Class registry remains intact to facilitate autoloading.
Of all the patches to accidentally commit without a message. :( Rolling back registry rip. Let's try that again.
*** empty log message ***
#556594 by sign: Move File Uploads under Media.
#326539 by JohnAlbin, sun, cha0s, ultimateboy, Rob Loach, Damien Tournoud: Convert 'class' attribute to use an array, not a string.
- Patch #523478 by stBorchert, Bojhan, et al: better widget for WIDTH x HEIGHT widget.
- Patch #549432 by Bohjan, Gábor Hojtsy: create 'people and permissions' section in 'configuration and modules'.
#552520 by merlinofchaos: Fixed AJAX wrappers on poll/upload modules.
- Patch #550228 by Bojhan: added 'Media' category on 'Configuration and modules' page.
#517814 by jmstacey, justinrandell, pwolanin, drewish, Jody Lynn, aaron, dopry, and c960657: Converted File API to stream wrappers, for enhanced private/public file handling, and the ability to reference other storage mechanisms such as s3:// and flicker://.
#544418 by merlinofchaos, sun, drewish, quicksketch, et al: Integrate CTools AJAX framework with Drupal to extend (and replace) existing ahah framework. Everything about AJAX/AHAH is more betterer now.
- Patch #536570 by Gábor Hojtsy: implemented new IA for top-level users.
- Patch #506976 by catch: rename hook_perm to hook_permission.
#373201 by moshe weitzman, chx, Frando, eaton: Allow renderable array properties to be passed directly to theme functions.
- Patch #409750 by yched et al: overhaul and extend node build modes.
- Patch #472642 by stella, agentrickard: remove 'implementation of' nominalizations from Docblocks.
- Patch #137932 by grendzy, Alan D, lilou et al: automatic enctype on adding a file field.
- Patch #440778 by brianV: coding style fixes and documentation improvements.
#196862 by Damien Tournoud, et al: Replace COUNT(*) queries with SELECT 1 ... LIMIT 1 queries when all that's required is a check for whether rows exist.
- Patch #457532 by Berdir: more PHP5 'fixes'.
- Patch #366610 by mr.baileys: make sure we generate valid markup.
- Patch #449718 by alienbrain: node_feed() is now using new node building API.
- Patch #19837 by xmacinfo, j.somers: make 'not verified' togglable as a theme setting.
- Patch #147310 by c960657: added tests for private files, fixed a problem with private files and minor improvements.
#323112 by dmitrig01, kkaefer, quicksketch, frando and many many more: Now presenting... Vertical Tabs. Fantastic new UI improvement for node forms and hopefully more in the future.
- Patch #373177 by Moshe Weitzman: node upload table should use late rendering.
- Patch #322344 by merlinofchaos, Frando, catch, sun: form improvements from Views.
#383066 by David Strauss: Rename hook_nodeapi_X to hook_node_X.
- Patch #377870 by mr.baileys: removed unnecessary access check.
- Patch #355236 by Frando: refactor drupal_render() theming.
- Patch #360605 by Berdir: made CVS HEAD compatible with PHP5.3.
#347485 by cdale: only add upload submit handler if the upload form is added
- Patch #347485 by cdale: don't add upload node submit handler unless necessary.
- Patch #353207 by CitizenKane and drewish: cleaned up the FILE_STATUS_TEMPORARY field.
- Patch #348201 by catch: make it possible to load multiple files with fewer queries.
- Patch #352236 by CitizenKane: finished converting upload module to the new database layer.
- Patch #339929 by Moshe et al: move node links into ->content.
- Patch #319356 by recidive: clean up hook_nodeapi_ fucntion signatures and documentation because of previous node API clean-ups.
- Patch #324313 by catch et al: load multiple nodes and terms at once.
- Patch #321283 by drewish: upload module needs to inform uid 1 about allowed extensions.
Removing #137932 which was committed prematurely.
#337820 by Dave Reid: Rename menu path 'logout' to 'user/logout' for consistency.
- Patch #331013 by drewish: remove file_set_status in favor of file_save().
- Patch #321166 by gpk, drewish, Damien Tournoud: removed redundant function upload_menu_alter().
#319465: SA-2008-47 (#295053): Privilege escalation in upload module.
#319341: SA-2008-060 (#318706): Access bypass for files attached to restricted nodes.
#319328: SA-2008-060 (#318706): File upload access bypass.
#313213 by maartenvg, Gábor Hojtsy: Add a 'title' attribute for permissions to allow for localization of permission names
#142995 by dopry, drewish, quicksketch, jpetso, and flobruit: Adding hook_file_X(). This is an enabler of lots and lots of goodies. See CHANGELOG.txt for more. Awesome work, guys. :)
Drupal 6.5
Drupal 5.11.
- Patch #310212 by justinrandell: killed in _node hook, as well as twelve sable tooth tigers.
- Patch #161301 by Eaton, Sun, moshe and webchick: make checking for node edit forms easier. DX improvement.
#308434 by drewish, dopry, quicksketch, aaron, jhedstrom, and friends: Massive file.inc cleanup aaaaaand... tests! Yay! :D
Drupal 6.4.
- Patch #245329 by christefano and dmitrig01: code comment love.
- Patch #247095 by drewish: fixed variable name that cause private file uploads to be broken.
- Patch #252013 by Eaton, pwolanin, Susurrus et al: drupal_render() now printes #markup, not #value.
#140162 by maartenvg. Clear the PHP stat cache after resizing images.
- Patch #247095 by drewish ad flobruit: upload module performs permission checks on files it doesn't control.
- Patch #221964 by chx, dopry, webernet, moshe, webchick, justinrandall, flobruit et al. Can you say 'registry'? Drupal now maintains an internal registry of all functions or classes in the system, allowing it to lazy-load code files as needed (reducing the amount of code that must be parsed on each request). The list of included files is cached per menu callback for subsequent loading by the menu router. This way, a given page request will have all the code it needs but little else, minimizing time spent parsing unneeded code.
- Patch #245115 by kkaefer, John Morahan, JohnAlbin et al: after a long discussion we've decided to make the concatenation operator consistent with the other operators.
- Patch #30984 by webchick, keith.smith, kkaefer, Crell et al: provide descriptions for permissions on the permission administration page.
- Patch #219883 by gdevlugt and webernet: files attached to newly created nodes are listed despite unchecking list option.
#219883 report by brianshumate, patch by gdevlugt, webernet: remove code cruft with 'upload_current_file' session variable, which was causing bugs
- Patch #199955 by saxofaan: file_upload_max_size() returns results in bytes, not in mega bytes.
- Patch #204955 by chx: fixed E_ALL warning.
#173656 by qucksketch: fix upload form ordering and delete buttons on preview, among smaller issues
#200069 by keith.smith: new standard for 'more information' links in module help texts, as the handbook we referred to before was renamed
#197297 by DanW (as GHOP 17), and keith.smith: clean up lots of help texts, update to drag and drop functionality, drupal.module removal, etc
#198579 by webernet and hswong3i: a huge set of coding style fixes, including: - whitespaces at end of lines - indentation - control structure usage - whitespace in empty lines - phpdoc comment formatting
#196667 (GHOP 45) by fberci: add '@ingroup themeable' to all themeable functions
#196351 by robertDouglass: fix small SQL error
#193105 by dmitrig01, quicksketch: add weights and drag and drop ordering support to uploads
#172630 by webernet: fix weird errors experienced when using the JS file uploader
#191104 by keith.smith: (usability) change occurances of node to 'post' and 'content' as appropriate
#172943 by drewish: fix file_save_upload() conformance to its API documentation by treating the 'dest' param as a directory. Also fixes #176876 so temporary files are properly stored in the temp directory.
Drupal 6.0-beta 2 release with all Drupal 5.3 security fixes applied
Drupal 5.3
#181088 by fajerstarter, catch and JirkaRybka: rename 'access control' to 'permissions' for usability reasons
#181741 by quicksketch: fix AHAH throbber/progress bar issues and generalize progress display configuration to allow module developers to choose from the throbber and progress bar
#157752 by quicksketch: extend AHAH functionality to most types of form elements, without writing JavaScript. Also AHAH enable the blocks admin page.
#174708 by multiple contributors: update jQuery to 1.2
#173305 by drewish: actually remove files when the delete check box is checked
- Patch #173287 by webernet: missing {} in SQL query.
- Patch #172961 by webernet: code style cleanup.
#168813 by chx: do not let form caching prevent file uploads
#157747 by dopry: the files coming from the form are arrays, and need to by casted to objects
#160039 by prakashp, chx and pwolanin: fix node saving: - centralize/reuse some node form saving code - fix uploads without JS - fix reappearing teasers on node save
- Patch #164672 by flevour: typo in SQL query.
- Patch #163248 by bennybobw: split upload module.
#156910 by asimmonds: fix code indentation problems introduced with new code in this development cycle; only whitespace changes
- Patch #154398 by quicksketch et al: add dynamic AHAH submission properties to Forms API. This patch was ready for a long time and is somewhat of a usability improvement (enabler).
- Patch #155986 by Uwe: fixed typos.
- Rollback of patch #147723: delete API. Talked to Steven and Gabor and we unanimously agreed to rollback the deletion API. We all support the features this patch added, yet not its actual design and implementation. After some talk, we decided that it would be better for Drupal -- in the long term -- not to go with a solution that isn't 100%. We also recognize that in the short term, this patch would have been useful addition. So let's figure out how we can implement this properly in D7.
#154064 by pwolanin: get hook_help() up to speed to menu changes, allowing router path based lookups, and also full path argument lookup with a passed argument array
#115139: Add centralized json handler (and send text/javascript content-type header).
#147723: Deletion API (by hunmonk). Woop woop.
- Patch #152291 by dopry: remove some remaining cruft for handling preview URLs from upload.module.
- Patch #152171 by yched: added missing validation routines for settings.
- Patch #146667 by Eaton: correct builder argument ordering, eliminate redundant arguments
- Patch #115267 by drewish, dopry et al: simplified file uploads code, improved file API, centralized file validation, implemented quotas and fixed file previews.
- Patch #146470 by ax: fixed typo in Form API3 conversion.
- Patch #146470 by Eaton et al: standardize form API3 hook parameter order.
- Patch #138706 by eaton, chx, webchick, yched et al: form api 3 ... yay. :)
- Patch #128082 by Goba et al: Allow localization of built-in menu items.
- Patch #134493 by douggreen: getting the Drupal coding standards right in core. Woot. Woot.
- Patch #130987 by merlinofchaos: added theme registry for easier themability.
#130971: Kitchen sink (E_NOTICE compliance / Code style / Bugfix in book toc)
- Patch #110888 by Eaton: unify hook _alter()
- Patch #68690 by mindless: new attachments not shown. Backport from HEAD.
- Patch #68690 by mindless: new attachments not shown.
- Patch #111347 by Steven: refactor url() and l().
- Patch #112715 by chx, webchick, asimmonds, et al: fixing E_ALL notices. Thanks.
- Rollback of E_ALL patch. Too much extra breakage.
- Patch #112715 by webchick et al: fixed some E_ALL errors.
- Patch #34755 by chx et al: faster menu system. HEAD is temporary broken and there is no upgrade path yet.
Fix JS upload after theme_button change.
- Patch #103164 by davea and RobRoy: made downloads work on IE6. Send correct headers.
#106232 by chx. Add spaces for code style.
- Patch #102583 by ChrisKennedy: file upload maxsize displayed incorrectly.
#101714: Allow OpenDocument file extensions by default.
#101164: Fix file upload in PHP5 (pass by reference)
#61528 by Darren Oh. Let the browser fully handle downloading attachments.
#98391 by RobRoy. Don't show the file upload field if the files directory won't work.
#97870 by killes. Keep file information updated as it is saved.
#97231 by pwolanin. Keep the node type in a property and use it consistently.
#97824 by Gurpartap. Move enclosing elements outside of their t().
- Patch #92992 by webchick and neclimdul: clean up documentation that is superseded by the new 'by module' administration dashboard.
- Patch #89285 by profix: code simplifications.
#84146: Use 'Sentence capitalization' for menu items, page titles, form items, etc
Fix for #81740 by myself. Reference objects as objects.
- Patch #82045 by chx, eaton et al: fixed nodeapi.
- Patch #85257 by RobRoy: fixed default upload restrictions.
- Patch #83297 by yched et al: prevent double escaping of filenames in upload module. (Needs to be backported, I think)
- Patch #83222 by edkwh: more theme('placeholder') clean-up. Good catch.
- Patch #30525 by rblomme et al: make downloading attachments work with IE6.
- Rollback of patch #68418: clean up node submit hooks. Needs more thinkering. Restores the old node API.
- Patch #80952 by earl, webchick, neclimdul et al: .info files
- Fix upload.js after edit[] patch (note: uploading is still broken, with or without JS)
- Patch #68418 by Moshe et al: clean up node submit hooks.
#80574 Eaton and chx. Replace $_POST['edit'] with $_POST.
- Patch #80934 by timnc: more t() fixes.
- Patch #38454 by drumm, jaza, webchick, timnc et al: add field pre- and suffixes to textfields.
- Patch #76444 by chx, moshe, eaton, angie et al: make it possible to control access to form elements.
- Patch #77919 by chx, eaton, moshe, et al: enable programmaticaly submitted forms via the pull model.
#76802: Introduce placeholder magic into t() See: http://drupal.org/node/64279#t-placeholders
- Patch #74326 by Eaton, Royboy, chx, et al: building $node->body with arrays like FAPI for viewing. Once again, we're paving the path for CCK in core ... :)
- Patch #77422 by timcn: corrected various paths in the documentation.
#62340 by chx, webchick, Jaza, Eaton, mathieu, and myself. Configurable node types.
#72545 by pwolanin, validation for upload module administration.
- Patch #72079 by Earl et al: give Drupal an overall administration page ... :-)
#73605 by RobRoy, make hook_link() implementations consistent with documentation.
- Patch #72284 by me: + reorganized ?q=admin/settings + deprecated the _settings hook
- Patch #72204 by nedjo: upper-cased all TRUE/FALSE/NULL constants.
#71616 by keve, cleanup, backport from HEAD
#71925 by Steven, remove # prefix from link array keys.
#71616 by keve, cleanup
#66662 by stefan nagtegaal, Remove PHP notices, backport from HEAD
#66662 by stefan nagtegaal, Remove PHP notices
#57307 by killes, upload_load should return an ordered set
#57307, change from DESC to implicit ASC, patch by me
- Patch #66842 by Heine: use proper variable to show filename.
- Patch #66842 by Heine: use proper variable to show filename.
fixing stuff
fixing stuff
fixing stuff
- Patch #18260 by Ber, m3averck et al: allow overriding of links returned by modules
- Patch #51506 by gordon: new feature: added auto-complete functionality to user profiles.
#61802 by Zen, Double spaced sentences clean up
#30025 by m3avrck, Upload module needs a 'default' maxfile size setting
#60532: Multiple file upload broken in some browsers (fix)
#60532: multiple file upload broken in some browsers
#59648, Upload.module misuse of hook_file_download, paralyzes other modules' hook, patch by jakeg
#57949, fixed broken links in helptexts, patch by wulff
#56555, Upload list settings not being respected, initially., patch by chx and dopry
- Removing trailing whitespace.
#23373, make uploaded file list themable, patch by yogadex / Moshe / drumm
Fixing indentation.
#58166, fixes for typos, patch by Uwe Herrmann
#57307, order files by fid, patch by Robert Douglass
#53689: upload_js doesn't allow form altering with hook_form_alter
#56921, revert earlier patches, patch by chx
#57294: Upload.module should not overwrite other #attributes in form_alter
#56921 by chx, removing the $form = from $form = form_builder($form_id, $form) then it works.
#55520, improved docs, patch by dopry
#56467, removed cruft, patch by Nedjo
#55520, upload.module does not display previews for when private files are enabled, patch by dopry.
#54913, problem with checking filesize during uploading if user belongs into more than one role, patch by dopry
#54298, Only user = 1 can upload files, patch by dopry
#54186, Uploads still listed on upload form after validation errors, patch by timcn
#53666, Invalid argument supplied for foreach() in upload_save, patch by Markus Petrux
- Patch #42358 by dopry et al: fixed problem with attaching files.
- Patch #52092 by wtanaka, dopry and moshe: fixed regression with hook_file_download.
- Patch #31354 by Junyor et al: move node revision information for files to a separate table. (Today's critical bugfix #1.)
- Patch #49912: www.drupal.org -> drupal.org. (Today's critical bugfix #5.)
- Patch #50454 by DaveNotik: fixed syntax error. (Today's 1th critical bugfix)
- Ooops.
- Patch #49476 by Moshe: fixed incorrect access check.
- Patch #49476 by Moshe: fixed incorrect access check.
- #47510: Show JavaScript alert when PHP errors occur
- Patch #20795 by Steven: improved consistency of the code.
- Patch #41161 by Moshe: bugfix: hide the upload form when uploads are not enabled for a node type.
- Patch #43362 by dorpy, junyor: critical bug fix: uploads loose their state.
- Patch 41169 by Chris: got rid of expensvie object 2 array casts.
- Patch #41437 by webchick: improved code comments.
- Patch #34920 by Morbus/webchick/tangent: fixed order of form fields.
- Patch #39358 by m3avrck and Souvent22: make the upload.module work + revisions fixes.
- Patch #39778 by chx: obliterate nodeapi op form in favor of the forms API's way of doing things. Tested with help from webchick.
- Removed valid_input_check().
- Removed valid_input_check().
- Removed valid_input_check().
- Various fixes. Updated CHANGELOG.txt
- Various fixes. Updated CHANGELOG.txt
- Various fixes
- Patch #37798 by Neil: fixed problem with node settings.
- Patch #37798 by Neil: allow non-workflow form elements on the node type settings page.
- Patch #35121 by m3avrck: fixed problem with list and description values aren't saved for uploaded files.
#37378: Missing for _form_builder() in js upload
- Patch #35644 by webchick: forms API simplificiations.
- Patch #26139 by webchick / Kieran / documentation team: improved admin help of core modules! /
- Patch #34920 by tangent: reorganized the node submission form a bit.
- Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes.
- Removing tabs and trailing whitespaces.
- Patch #29465: new form API by Adrian et al. TODO: + The contact.module was broken; a new patch for contact.module is needed. + Documentation is needed. + The most important modules need to be updated ASAP.
- Modified patch #30775 by timcn, Souvent22, m3avrck: give file uploads descriptions. (Modified the form a bit.)
- #30128: Call by reference left-overs
- Patch #28483 by Steven: JavaScript enabled uploading.
Comment from Steven: It does this by redirecting the submission of the form to a hidden <iframe> when you click "Attach" (we cannot submit data through Ajax directly because you cannot read file contents from JS for security reasons). Once the file is submitted, the upload-section of the form is updated. Things to note:
* The feature degrades back to the current behaviour without JS.
* If there are errors with the uploaded file (disallowed type, too big, ...), they are displayed at the top of the file attachments fieldset.
* Though the hidden-iframe method sounds dirty, it's quite compact and is 100% implemented in .js files. The drupal.js api makes it a snap to use.
* I included some minor improvements to the Drupal JS API and code.
* I added an API drupal_call_js() to bridge the PHP/JS gap: it takes a function name and arguments, and outputs a <script> tag. The kicker is that it preserves the structure and type of arguments, so e.g. PHP associative arrays end up as objects in JS.
* I also included a progressbar widget that I wrote for drumm's ongoing update.php work. It includes Ajax status updating/monitoring, but it is only used as a pure throbber in this patch. But as the code was already written and is going to be used in the near future, I left that part in. It's pretty small ;). If PHP supports ad-hoc upload info in the future like Ruby on Rails, we can implement that in 5 minutes.
- Patch #7582 by Gerhard: improved node revisions! All node revisions were stored in a serialized field in the node table and retrieved for _each_ page view although they are rarely needed. We created a separate revisions table which would be in principle identical to the node table, only that it could have several old copies of the same node. This also allows us to revision-related information, and to provide log entries to non-book pages when a new revision is being created. TODO: 1. Provide upgrade instructions for node module maintainers! 2. Upgrade modules that implement node types. 3. Provide an upgarde path for revisions. Dependency on the upgrade system.
- Patch #29737 by m3avrck: fixed broken link in upload.module.
- Patch #29385 by chx: no ?> add end of files.
- Patch #28482 by Uwe: add $ tags to all files. Patch has some rejects.
- Alternative solution for #28721: expand "File attachments"-group on node edit form when files are attached.
- Patch by Uwe: tidied up the CVS IDs.
- Patch #24183 by drumm: remove unnecessary setting from upload module. Currently the upload module checks two max file sizes. First it checks a global option; if its too big it quits. Then it checks another max file size (or even sizes) related to the roles which a user is in. We can remove the global option since the individual roles are checked.
- 'File Attachments' -> 'File attachments'.
- Patch #25603 by Stefan: made the sizes of forms consistent. TODO: document the defaults in the PHPdoc comments.
- Patch #16204 by Thox: committed the collapsible form elements patch.
NOTE: this patch works well, but the improved node edit form still has
some rough edges. It is important that we continue to improve
usability. Give it a try.
- Typo in upload messages: %quote -> %quota
- #23213: Report upload size limits in megabytes, not bytes.
- #23213: Report upload size limits in megabytes, not bytes.
- Patch #23160 by drumm: fixed status message by adding a missing string substition.
- Fixing some plain/url check calls.
- Fixing some plain/url check calls.
- Patch #22723 by ejort: 'from' to 'FROM'.
- Patch #22723 by ejort: 'from' to 'FROM'.
- Patch #22806 by Neil: replaced left-over <em>foo<em> with theme('placeholder', 'foo')
- Patch #22806 by Neil: replaced left-over <em>foo<em> with theme('placeholder', 'foo')
- #21429: Maximum upload file size was checked in bytes, not megabytes.
- #21429: Maximum upload file size was checked in bytes, not megabytes.
- Patch #15595 by Stefan and Djun: improved status messages.
TODO: we should write down a couple guidelines for these document them in
the PHPDoc code of drupal_set_message()! .
- Patch 20910 by chx: centralize print theme page.
- Patch #19451 by JonBob: improved consistency of module descriptions. We should write guidelines for this -- maybe in the PHPDoc code of the _help hook.
- #18817: Clean up plain-text checking (see drupal-devel!)
- #12211: Show link indicating that a node has attachments on the homepage
- Patch #16963 by Neil: the upload's module help text was in bad shape. Edited it down to what is needed with links that actually work.
- Missing apostrophe
#16993: Bad query in upload.
- Fixed warning in the feed generation (enclosures).
- Patch #16358 by James: added toolkit to enable better image handling. The avatar code and the upload module have been updated to take advantage of the new image API. There are 5 main functions that modules may now utilize to handle images: * image_get_info() - this function checks a file. If it exists and is a valid image file, it will return an array containing things like the pixel dimensions of the image, plus the 'type' and common extension. * image_scale - resizes a given image to fit within a given width / height dimensions, while maintaining aspect ratio (not distorting the image). This function can be used to generate thumbnails, or ensure a maximum resolution, etc. * image_resize - similar to image_scale (but will not respect aspect ratio - may well distort the image). * image_rotate - rotate an image by X degrees * image_crop - crops an image to a given rectangle (defined as top-left x/y coordinates plus a width & height of the rectangle). Contribution modules will now be able to rely on these base manipulation functions to offer additional functionality (such as image nodes, photo galleries, advanced image manipulation, etc).
- Patch #16513 by James (slightly modified): export categories and enclosures to RSS feeds (and made RSS feeds extensible). NOTE: this needs to be documented.
- Patch #16111 by chx: generalized node_rewrite_query to db_rewrite_query.
- Moved the upload settings to 'admin/settings'.
- Modified patch #14170 by Neil: improved default workflow (default node type) configuration page. Modified the patch to remove some redundant code, to translate strings, and to better use the menu system.
- Patch #16023 by chx: the upload.module still used the old node_access_*_sql calls.
- Patch #14917 by UnConeD/Steven: 1) The different types of search, which used to be radio button options in the search form, are now subtabs of "search" (default "search/node"). This seems better from a UI point of view, but also has another advantage: modules which implement a custom search form (flexinode, project) can add it as a subtab of search. This means that all search forms will be located in the same place, and also without needing an extra api call to search.module. 2) The current code was a bit hackish, as the indexing of comments along with nodes was hardcoded in node.module. Instead, I created a nodeapi operation "update index" which allows modules to add more data for a node that is being indexed. Comments are now indexed using this mechanism and from comment.module, which is a lot cleaner. 3) The search results format was also hardcoded to include "N comments". I replaced this with a nodeapi operation "search result" and moved the comment code to comment.module where it belongs. This op is quite useful, as for example I also modified upload.module to add "N attachments" to a search result if any are present.
- Added missing space
- Added missing space
- Patch #14545 by nysus: don't grant access to files if the node is not accessible.
- Patch #14545 by nysus: don't grant access to files if the node is not accessible.
- Patch by Stefan: wrapped the help texts in <p></p> tags. Helps improve consistency.
Missing check if file upload fails.
Missing check if file upload fails.
#10441: Splitting up upload permissions in 2: one for uploading and one for 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 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.
#10560: Upload.module - 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 not set (e.g. nodes that don't take attachments).
Patch by me and Kjartan. 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 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 added some missing t() functions).
Fixed bad permissions in upload.module: - 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: + " -> ' + Using form_set_error() instead of drupal_set_message(). + Removed dead code.
- Small change to the wording of the 'note'.
Setting the default workflow for attachments by upload.module to be enabled. 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!
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.