summaryrefslogtreecommitdiff
path: root/modules/system/system.module
Commit message (Collapse)AuthorAge
* - Patch #29506 by Nedjo: block regions were not initiated for newly enabled ↵Dries Buytaert2005-08-28
| | | | themes.
* - Patch #29785 by Chx: multiple node types were broken so we refactoredDries Buytaert2005-08-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | part of the node system! If you have a module that implements node types, you'll have to udpate its CVS HEAD version. We replaced _node_name() and _node_types() by _node(). The new _node() hook let's you define one or more node types, including their names. The implementation of the _node() hook needs to: return array($type1 => array('name' => $name1, 'base' => $base1), $type2 => array('name' => $name2, 'base' => $base2)); where $type is the node type, $name is the human readable name of the type and $base is used instead of <hook> for <hook>_load, <hook>_view, etc. For example, the story module's node hook looks like this: function story_node() { return array('story' => array('name' => t('story'), 'base' => 'story')); } The page module's node hook module like: function page_node() { return array('page' => array('name' => t('page'), 'base' => 'page')); } However, more complex node modules like the project module and the flexinode module can use the 'base' parameter to specify a different base. The project module implements two node types, proejcts and issues, so it can do: function project_node() { return array( array('project_project' => array('name' => t('project'), 'base' => 'project'), array('project_issue' => array('name' => t('issue'), 'base' => 'project_issue')); } In the flexinode module's case there can only one base ... This hook will simplify the CCK, and will make it easy (or easier) to merge the story and page module. In addition, node_list() became node_get_types(). In addition, we created the following functions: node_get_name($type) and node_get_base($type).
* - Patch #29385 by chx: no ?> add end of files.Dries Buytaert2005-08-25
|
* - Patch #29274 by Jeremy: the "fuzzy cache" mechanism is supposed to enforce ↵Dries Buytaert2005-08-22
| | | | a minimum time before the cache table is flushed. Logical errors in the fuzzy cache implementation are leading to the cache table being flushed more frequently. Configuration is simplified by removing all references to "strict" and "loose" caches. Instead, the cache is either "disabled" or "enabled". Additionally, the site administrator can now configure the "minimum cache lifetime", the minimum amount of time cached data will remain cached.
* - Patch #29002 by Neil: list_themes() currently returns all themes, not just ↵Dries Buytaert2005-08-18
| | | | | | | | enabled themes. This functionality is only used in one place- configuration for disabled themes. These configuration pages can be removed with a usability improvement since you shouldn't be able to configure things which are disabled. Additionally, this allows us to remove some extra logic in system_user(). And it it more consistent with the module API which only lists enabled modules. list_themes() sorts the results by name. This uses filesort in MySQL since there aren't any indexes. Sorting is not used except in system_user(). This one use can be handled with ksort since it is not often executed (only on the user edit screen when multiple themes are enabled). And a one line fix to remove a variable in system_user() is in here too.
* - Patch #16216 by nedjo: multiple block regions!Dries Buytaert2005-08-16
|
* - Patch #27633 by Tobias:Dries Buytaert2005-07-31
| | | | | + made it possible to specify a subject when submitting a message on the contact form. + fixed some bugs/glitches.
* - Removed some whitespaceDries Buytaert2005-07-31
|
* - #23310: Gray out picture theme settings if pictures are disabled.Steven Wittens2005-07-30
|
* - #26822: Fix logo upload being broken (drumm)Steven Wittens2005-07-26
|
* - #26688: Add mbstring support to Drupal and clear up string handling fuzzies.Steven Wittens2005-07-25
|
* - Modified patch #27131 by DriesK: removed some cache_clear_all()s.Dries Buytaert2005-07-23
|
* - Modified patch #25031 by chx: modified node_list() so one has both the ↵Dries Buytaert2005-07-17
| | | | | | module and its type. TODO: update migration page in handbook.
* - Patch #25603 by Stefan: made the sizes of forms consistent.Dries Buytaert2005-06-27
| | | | TODO: document the defaults in the PHPdoc comments.
* - Patch #16204 by Thox: committed the collapsible form elements patch.Dries Buytaert2005-06-21
| | | | | | 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.
* - Patch #24450 by Neil: removed some dead code.Dries Buytaert2005-06-07
|
* - #23736: Remove dependency of system.module on node.moduleSteven Wittens2005-06-01
|
* - #20809: User-configurable, per-theme, optional favicons.Steven Wittens2005-05-25
|
* - Patch #16303 by Gerhard: fixed some warnings.Dries Buytaert2005-05-21
|
* - Patch #23028 by chx: fixed file_check_location() problems.Dries Buytaert2005-05-17
|
* - Patch #22883 by darix: system_theme_listing() passes scalar to ↵Dries Buytaert2005-05-14
| | | | drupal_attributes(). this patch fixes it and wraps the params into array()
* - Patch #21855 by TDobes: the recent commit of phptemplate caused a number ↵Dries Buytaert2005-05-05
| | | | | | | | | | | 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)
* - Removed the Xtemplate engine and added the PHPTemplate engine.Dries Buytaert2005-05-04
| | | | | - Converted the Bluemarine theme from XTemplate to PHPTemplate. - Moved the the Pushbutton theme and the Xtemplate engine to the contributions repository.
* - Patch 20910 by chx: centralize print theme page.Dries Buytaert2005-04-24
|
* - Patch #19298 by Jeremy: loose caching!Dries Buytaert2005-04-11
| | | | | | 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.)
* - Patch #19451 by JonBob: improved consistency of module descriptions. We ↵Dries Buytaert2005-04-01
| | | | should write guidelines for this -- maybe in the PHPDoc code of the _help hook.
* - #19515: Improved system/test clean URL checker.Steven Wittens2005-03-27
|
* - Patch #18700 by Stefan and James: removed GD1 calls, improved error/status ↵Dries Buytaert2005-03-23
| | | | reporting, etc.
* - Patch #18093 by Junyor: clean up handling of image toolkit code in absence ofDries Buytaert2005-03-21
| | | | any toolkits.
* - #13738: Fix bug in configuring theme stylesSteven Wittens2005-03-18
|
* - #18939 (Stefan): Always use paragraph tags around page help text.Steven Wittens2005-03-18
|
* - Patch #13738 by TDobes: theme system fixes:Dries Buytaert2005-03-16
| | | | | | | | | | * 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.)
* - Patch #16914 by chx: avoid that putting a .theme file directly in './themes'Dries Buytaert2005-03-08
| | | | breaks your Drupal. Only themes in './themes/subdir' are picked up now.
* - Patch #18404 by Gerhard: removed incorrect/outdated documentation from a ↵Dries Buytaert2005-03-05
| | | | form description.
* - Patch #17208 by asimmonds: help text fixes:Dries Buytaert2005-02-12
| | | | | | | | | - 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'.
* - Patch #16966 by Neil: don't document code in the help text.Dries Buytaert2005-02-08
|
* - Patch #16358 by James: added toolkit to enable better image handling. The ↵Dries Buytaert2005-02-01
| | | | | | | | | | | | | | 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).
* - Modified patch #14170 by Neil: improved default workflow (default node ↵Dries Buytaert2005-01-24
| | | | | | type) configuration page. Modified the patch to remove some redundant code, to translate strings, and to better use the menu system.
* - Patch #15570 by Drumm: integrated the admin and system module. Renamed ↵Dries Buytaert2005-01-14
| | | | the callback as per Goba's suggestion.
* - Removed some cruft: left-over xxx_help_page() functions.Dries Buytaert2004-12-11
|
* - Fixed #13643: increased the maxlength of the 'path to custom logo'-setting.Dries Buytaert2004-11-30
|
* - Patch #5942 by TDobes: fixed theme stuff after multi-site configuration patch.Dries Buytaert2004-11-25
|
* - Patch #5942 by jhriggs and Adrian:Dries Buytaert2004-11-24
| | | | | + added support for multi-site configurations. + tidied up some old cruft and added code comments.
* - Patch #12353 by Stefan: usability improvement: don't show 'throttle ↵Dries Buytaert2004-11-15
| | | | fields' unless the throttle module is enabled.
* - Patch #12783 by Stefan: various small consistency/usability improvements.Dries Buytaert2004-11-15
|
* - Modified patch by Jeremy: throttle module improvements and fixes:Dries Buytaert2004-11-14
| | | | | | | | + 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
* #12384: Test if clean URLs work before allowing them to be turned on.Steven Wittens2004-11-02
|
* - Fixed bug #9948: added some checks to system_setting_save() to avoid PHP ↵Dries Buytaert2004-10-16
| | | | warnings/errors.
* Theme system bug: only show search box if search.module is enabled.Steven Wittens2004-10-14
|
* #11503: (more) missing t()Steven Wittens2004-10-12
|