summaryrefslogtreecommitdiff
path: root/modules/system.module
Commit message (Collapse)AuthorAge
* - 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
|
* - Simplified/reorganized version of patch #9620 by Jeremy: fixed errors when ↵Dries Buytaert2004-10-04
| | | | writing to cache.
* - Patch #11001 by Philippe: added support for dates in ISO-8601 format.Dries Buytaert2004-09-22
|
* - Patch #10730 by Adrian: made it possible to upload a logo.Dries Buytaert2004-09-21
|
* #10441: Splitting up upload permissions in 2: one for uploading and one for ↵Steven Wittens2004-09-19
| | | | viewing/downloading. It does not make sense to only allow downloading for people who can upload themselves.
* #9292: Minor PHP 5 fixes.Steven Wittens2004-09-19
|
* - Patch #8179 by JonBob: reintroduced menu caching.Dries Buytaert2004-09-16
|
* - Renamed the 'first day of week' setting to be more consistent with the ↵Dries Buytaert2004-09-12
| | | | other date settings.
* - Patch #10668 by drumm: moved the 'first day of week' settings to the ↵Dries Buytaert2004-09-12
| | | | system module for other modules to reuse. This is considered to be a usability improvement because it simplifies some pages/workflow.
* Typo: "are be"Steven Wittens2004-09-11
|
* - Decode node type to userfriendly name.Kjartan Mannes2004-09-06
|
* Patch by me and Kjartan.Steven Wittens2004-08-24
| | | | | | | | | | | | 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.
* - #9576: Patch by TDobes, only allow the user to choose between enabled themes.Steven Wittens2004-08-22
|
* - Patch #9576 by TDobes: bugfix: fixed bug in recent theme system changes.Dries Buytaert2004-08-21
|
* - Patch by JonBob: for consistency and readability, add brief descriptions ↵Dries Buytaert2004-08-21
| | | | 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.
* - Patch by TDobes: bugfix: fixed a typo.Dries Buytaert2004-08-21
|
* - Fixing 'flash of unstyled content' in bluemarine/pushbutton, which got ↵Steven Wittens2004-08-20
| | | | | | | | 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().
* - Usability improvement: changed 'Status' to 'Enabled' because that is whatDries Buytaert2004-08-20
| | | | we use elsewhere.
* - Theme system changes. Please consult http://drupal.org/node/view/9576 for ↵Dries Buytaert2004-08-20
| | | | details.
* - Code improvements by Stefan: use capital letters for header titles (and ↵Dries Buytaert2004-08-19
| | | | added some missing t() functions).
* - The upload (filehandler) module has landed!Dries Buytaert2004-08-17
|
* - Patch #9983 by Stefan: usability improvement: made sure all status ↵Dries Buytaert2004-08-16
| | | | messages start with a capital letter.
* #10013: Rolling back accidental commit of Adrian's template system changes ↵Steven Wittens2004-08-14
| | | | (got in through the code style improvements patch).
* - Patch #9983 by Stefan: various code style improvements.Dries Buytaert2004-08-12
|
* - Patch #8155 by JonBob: removed legacy _system() hook.Dries Buytaert2004-08-10
|
* The Input formats - filter patch has landed. I still need to make update ↵Steven Wittens2004-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instructions for modules and update the hook docs. Here's an overview of the changes: 1) Multiple Input formats: they are complete filter configurations (what filters to use, in what order and with which settings). Input formats are admin-definable, and usage of them is role-dependant. For example, you can set it up so that regular users can only use limited HTML, while admins can free HTML without any tag limitations. The input format can be chosen per content item (nodes, comments, blocks, ...) when you add/edit them. If only a single format is available, there is no choice, and nothing changes with before. The default install (and the upgrade) contains a basic set of formats which should satisfy the average user's needs. 2) Filters have toggles Because now you might want to enable a filter only on some input formats, an explicit toggle is provided by the filter system. Modules do not need to worry about it and filters that still have their own on/off switch should get rid of it. 3) Multiple filters per module This was necessary to accomodate the next change, and it's also a logical extension of the filter system. 4) Embedded PHP is now a filter Thanks to the multiple input formats, I was able to move the 'embedded PHP' feature from block.module, page.module and book.module into a simple filter which executes PHP code. This filter is part of filter.module, and by default there is an input format 'PHP', restricted to the administrator only, which contains this filter. This change means that block.module now passes custom block contents through the filter system. As well as from reducing code duplication and avoiding two type selectors for page/book nodes, you can now combine PHP code with other filters. 5) User-supplied PHP code now requires <?php ?> tags. This is required for teasers to work with PHP code. Because PHP evaluation is now just another step in the filter process, we can't do this. Also, because teasers are generated before filtering, this would result in errors when the teaser generation would cut off a piece of PHP code. Also, regular PHP syntax explicitly includes the <?php ?> tags for PHP files, so it makes sense to use the same convention for embedded PHP in Drupal. 6) Filter caching was added. Benchmarking shows that even for a simple setup (basic html filtering + legacy URL rewriting), filtercache can offer speedups. Unlike the old filtercache, this uses the normal cache table. 7) Filtertips were moved from help into a hook_filter_tips(). This was required to accomodate the fact that there are multiple filters per module, and that filter settings are format dependant. Shoehorning filter tips into _help was ugly and silly. The display of the filter tips is done through the input format selector, so filter_tips_short() no longer exists. 8) A more intelligent linebreak convertor was added, which doesn't stop working if you use block-level tags and which adds <p> tags.