| 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.)
|
| |
|
| |
|
| |
|
|
|
|
| |
- Fix bug in decode_entities() with double-escaped entities.
|
| |
|
|
|
|
| |
between the title and the textarea. This makes it easier for simply textarea enhancements like quicktags to add a toolbar just above the textarea.
|
|
|
|
| |
rendered.
|
|
|
|
| |
modules during the bootstrap. this is easy to do by calling a node_load() or module_invoke_all(). this degrades performance for anonymous users when caching is enabled. With this patch, the module writer will see an php error like "Call to undefined function: drupal_set_html_head()" if this is attempted. basically, unavailable functions are actually reported as unavailable.
|
| |
|
|
|
|
| |
comments
|
| |
|
|
|
|
|
| |
performance of pages that don't need the theme system (such as RSS feeds)
and makes it easier to set a custom theme.
|
|
|
|
| |
- Tweak code style.
|
|
|
|
| |
reporting, etc.
|
|
|
|
| |
in form_file().
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
Userland Manila posts since they usually contain the '$' and are considered an invalid URL. This patch allows '$' in an URL and thus an alias. It also resolves a disparity between the 'allowable characters' of absolute and relative URLs. As far as I can tell, those parts of the regexp should be the same.
|
| |
|
|
|
|
| |
both xmlrpc.inc and xtemplate.inc.
|
| |
|
|
|
|
| |
can be used by modules.
|
|
|
|
| |
use NULL defaults (bugfix) + removed the limitation on the number of paramaters that can be used.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
- Minor code style fixes.
|
| |
|
| |
|
|
|
|
| |
into form.
|
|
|
|
|
|
| |
referring page after completing a form.
(Moshe: the patch against node.module failed to apply.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
| |
enclosures to RSS feeds (and made RSS feeds extensible).
NOTE: this needs to be documented.
|
| |
|
| |
|
| |
|
|
|
|
| |
Goba: it would be nice if one of the core themes would showcase this functionality. ;-)
|
| |
|