| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
Drupal's existing caching mechanism doesn't perform well on highly dynamic websites in which the cache is flushed frequently. One example is a site that is under attack by a spambot that is posting spam comments every few seconds, causing all cached pages to be flushed every few seconds. Loose caching immediately flushes the cache only for specific users who have modified cached data (whether or not they are logged in), delaying the flushing of data for other users by several minutes.
(I rewrote the help text a bit and made minor changes to the code comments.)
|
|
|
|
| |
should write guidelines for this -- maybe in the PHPDoc code of the _help hook.
|
| |
|
|
|
|
| |
reporting, etc.
|
|
|
|
| |
any toolkits.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Fix a bug which would cause the "configure" link for styles to be broken.
* Fix a bug with using drupal_get_filename for theme engines. Although this is not called anywhere in core, we should still fix it for contrib. (i.e. themes that may want to manually invoke a theme engine to create a hybrid theme)
* Correct an inaccurate comment in theme.inc
* Populate the default primary links with an "edit primary links" link for consistency with the secondary links
* remove some unnecessary variables in the theme administration which had misleading and confusing names
* replace time-consuming foreach when rendering theme admin page with a more efficient array_key_exists
* usability: rather than completely removing the search box checkbox when search.module is disabled, simply disable it. (UI elements shouldn't appear/disappear.)
|
|
|
|
| |
breaks your Drupal. Only themes in './themes/subdir' are picked up now.
|
|
|
|
| |
form description.
|
|
|
|
|
|
|
|
|
| |
- permissions menu link updates in a number of modules help
- anchor link fix in distributed auth help
- "my account" link fix in user help
- spelling correction in tracker.module help
- I also changed 'admin/access/perms' to 'admin/access/permissions'.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
| |
type) configuration page.
Modified the patch to remove some redundant code, to translate strings, and to better use the menu system.
|
|
|
|
| |
the callback as per Goba's suggestion.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
+ added support for multi-site configurations.
+ tidied up some old cruft and added code comments.
|
|
|
|
| |
fields' unless the throttle module is enabled.
|
| |
|
|
|
|
|
|
|
|
| |
+ throttle module: flush cache when the throttle enables/disables
+ throttle module: prevent throttle being enabled by 0 users or guests when disabled
+ system module: remove requirement for statistics.module
+ block module: update help text to reflect access log is no longer required
+ statistics module: throttle is now enabled/disabled, not using levels 0-5
|
| |
|
|
|
|
| |
warnings/errors.
|
| |
|
| |
|
|
|
|
| |
writing to cache.
|
| |
|
| |
|
|
|
|
| |
viewing/downloading. It does not make sense to only allow downloading for people who can upload themselves.
|
| |
|
| |
|
|
|
|
| |
other date settings.
|
|
|
|
| |
system module for other modules to reuse. This is considered to be a usability improvement because it simplifies some pages/workflow.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
reintroduced after the template changes.
- Fixed separate styles: added theme_get_styles() and the xtemplate {styles} tag to make sure stylesheets get included in the right order (drupal-specific, template-specific, style-specific).
- Fixing missing class on screenshots.
- Renamed drupal_get_theme_setting() and drupal_get_theme_settings() to theme_get_setting() and theme_get_settings().
|
|
|
|
| |
we use elsewhere.
|
|
|
|
| |
details.
|
|
|
|
| |
added some missing t() functions).
|
| |
|
|
|
|
| |
messages start with a capital letter.
|
|
|
|
| |
(got in through the code style improvements patch).
|
| |
|
| |
|