| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
TODO: this patch lets us clean up more code in code! Let's have a look
at this ...
|
|
|
|
|
|
| |
(Made some improvements as per the suggestions in the issue.)
- Added extended timer implementation.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
keep track of the user's last access. In turn, this allowed me to:
1. Optimize the "Who's online" block. On drupal.org, the "Who's online"
block requires 32 SQL queries. With this patch, only 2 queries are
left (eliminated 30 SQL queries), and one of the two remaining queries
became appr. 20 times faster.
2. Correct the "Last access" column in the user administration overview
table. The presented data was not accurate, which led to the column
being removed. You can now sort users by 'last access'.
|
|
|
|
| |
instead of "created term").
|
| |
|
|
|
|
| |
attributes.
|
|
|
|
|
| |
TODO: we should write down a couple guidelines for these document them in
the PHPDoc code of drupal_set_message()! .
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
of problems for non-phptemplate themes. A patch is attached to address these issues.
Changes include:
* parsing of the primary/secondary links has been moved out of phptemplate and into theme_get_setting.
* unnecessary and XHTML-invalidating duplicate div#help removed from themes/bluemarine/page.tpl.php (this is already generated by theme_help)
* weird generation of the "edit primary/secondary links" messages removed from bluemarine and placed in theme.inc
* unnecessary changes to themes/bluemarine/style.css rolled back (the phptemplate bluemarine had an older version of style.css than the one in core)
* chameleon updated to work with new link scheme (passes links through theme_links)
|
|
|
|
|
| |
- Converted the Bluemarine theme from XTemplate to PHPTemplate.
- Moved the the Pushbutton theme and the Xtemplate engine to the contributions repository.
|
| |
|
| |
|
|
|
|
| |
a 'GROUP BY'-clause.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|