summaryrefslogtreecommitdiff
path: root/modules/system.module
Commit message (Collapse)AuthorAge
* System.module improvements:Steven Wittens2004-07-22
| | | | | - #8193: Moving the two instances of the timezone list into a function. - #3859: Adding drupal_goto for module/theme/settings pages. Aside from general drupal_goto usability, this fixes the bug of menu items not immediately appearing after enabling a module.
* Fixed a bug caused by inverting the setting for configurable timezones.Steven Wittens2004-07-09
|
* - Patch #8509 by Killes and Steven: added support for sending compressedDries Buytaert2004-07-08
| | | | pages. Useful to reduce your site's bandwidth.
* - Fixed braino. Reported by Steven.Dries Buytaert2004-07-08
|
* - Usability improvements: reworked/simplified the timezone/date settings aDries Buytaert2004-07-07
| | | | little and made the form groups use consistent titles.
* - Usability: improved the error reporting of the file system settings on theDries Buytaert2004-07-07
| | | | 'home » administer » settings" page.
* - Moving the title.module from core to contrib as discussed on the mailing list.Dries Buytaert2004-07-07
|
* - Patch by Steven and me: refactored the form handling of nodes. The node ↵Dries Buytaert2004-07-04
| | | | | | | | system is now using form_set_error() and friends like the rest of Drupal does. This makes for both a consistent user experience and consistent code. It simplifies the forms and validation code, however, it does change the node API slightly: * The _validate hook and the _nodeapi('validate') hook of the node API (1) no longer take an 'error' parameter and (2) should no longer return an error array. To set an error, call form_set_error(). * The _form hook of the node module no longer takes a form hook and should not worry about displaying errors. Ditto for _nodeapi('form_post') and _nodeapi('form_pre').
* I refactored quite a bit of the user.module:Dries Buytaert2004-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ diffstat user.patch database/database.mysql | 4 database/database.pgsql | 2 database/updates.inc | 10 - modules/block.module | 20 +- modules/locale.module | 9 modules/profile.module | 108 +++++++---- modules/system.module | 8 modules/user.module | 456 +++++++++++++++++++----------------------------- 8 files changed, 289 insertions(+), 328 deletions(-) More functionality, less code. Here is a list of the changes: - Some user API changes: + When $type is 'form', you have to return an associative array of groups. In turn, each group is an array with a 'title', 'data' and 'weight'. + A new $type has been added, namely 'categories'. User settings can be organized in categories. Categories can be sorted, as can the groups within a category. (Ordering 'categories' is somewhat broken due to a bug in the menu system.) - The 'my account > edit' page will use subtabs for each 'category'. Read: you can break down the account settings into multiple subpages. - Profile module improvements: + Added support for private fields to the profile module! + Improved workflow of profile administration pages. + Improved the form descriptions. - Code improvements: + Unified user_edit() and user_admin_edit(). + Unified and cleaned up the validation code. Fixed some validation glitches too.
* - Patch #8681 by stefan: fixed some broken URLs and help texts.Dries Buytaert2004-06-20
|
* - Patch #8670 by asimmonds: spelling fixes.Dries Buytaert2004-06-20
|
* Tabs patch!Dries Buytaert2004-06-18
| | | | | | | | | | | | | | | | | | CHANGES ------- + Introduced tabs. First, we extended the menu system to support tabs. Next, a tab was added for every link that was (1) an administrative action other than the implicit 'view' (2) relevant to that particular page only. This is illustrated by the fact that all tabs are verbs and that clicking a page's tab leads you to a subpage of that page. + Flattened the administration menu. The tabs helped simplify the navigation menu as I could separate 'actions' from 'navigation'. In addition, I removed the 'administer > configuration'-menu, renamed 'blocks' to 'sidebars' which I hope is a bit more descriptive, and made a couple more changes. Earlier, we already renamed 'taxonomy' to 'categorization' and we move 'statistics' under 'logs'. + Grouped settings. All settings have been grouped under 'administer > settings'. TODO ---- + Update core themes: only Xtemplate default supports tabs and even those look ugly. Need help. + Update contributed modules. The menu() hook changed drastically. Updating your code adhere the new menu() function should be 90% of the work. Moreover, ensure that your modue's admin links are still valid and that URLs to node get updated to the new scheme ('node/view/x' -> 'node/x').
* - Patch #7483 by Gerhard: system_user should not return $edit.Dries Buytaert2004-05-01
|
* - Fixed sitewide timezone settings not being saved.Kjartan Mannes2004-04-29
| | | | - Making sure profile fields are saved properly.
* - Patch #7416 by Stefan: added sitewide timezone support.Dries Buytaert2004-04-27
|
* - Added support for 403 handling. Patch by JonBob. As a side benefit,Dries Buytaert2004-04-21
| | | | | | | | administrators will be able to define a custom 403 page, just as they can define 404 pages now. This needs to be documented in the "Changes since / migrating to ..." pages.
* - More profile module improvements:Dries Buytaert2004-03-21
| | | | | | | | | | | + Updated the _user() hook's "$type == 'view'" case to match the "$type == 'edit'" case. That is, both have to return an associtive array of the format array('category' => 'fields'). + Updated the profile pages to group fields by category. Made possible thanks to the above change. + Moved logic out of the theme_ functions.
* Patch #5588 by bylund: XHTML improvements: <i> -> <em> and <b> -> <strong>.Dries Buytaert2004-03-20
|
* - Rewrote the profile module:Dries Buytaert2004-03-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Added a 'created' field to the users table and renamed the 'timestamp' fied to 'changed' (cfr. node table). Update.php will try to determine a 'created' timestamp for existing users. + The profile module no longer uses serialized data but has its own set of tables. Known existing profile data is migrated by these new tables. TODO: migrate the birthday field. + The profile fields can be grouped, and within each group, profile fields can be sorted using weights. + The profile pages can be themed. + The profiles can be browsed based on certain properties/settings. + Change the _user hook: (i) 'private_view' and 'public_view' are merged into 'view' as there are no private fields and (ii) 'edit_form' has been renamed to 'edit'. + Avatar handling has been refactored and is now part of the user module. The users table has a dedicted 'picture' field. + Simplified the way themes should use display/visualize pictures or avatars. + Made it possible for administrators to replace or delete avatars. + ... I hope this make for a good base to build on collectively.
* - Removed broken throttle.Dries Buytaert2004-03-01
|
* - Aggregator: fix for http://drupal.org/node/view/5733Steven Wittens2004-02-19
| | | | - System: the 404 setting instructions advise using 'node', this should be '' (redirecting the user to the front page without any message whatsoever is confusing)
* - Patch by Steven: removed redundant permission checks. These are no longerDries Buytaert2004-02-15
| | | | required thanks to the new 404 handling.
* Fix bad default timezone format for timezone display. Would cause a bug on ↵Steven Wittens2004-02-10
| | | | sites that haven't been configured completely yet.
* - Modified format_date() to handle timezones properly.Kjartan Mannes2004-02-08
|
* - Batch two with profile module improvements:Dries Buytaert2004-02-07
| | | | | | + Reworked the 'account administration' page. + Fixed bug in the 'edit account' page. + Removed some dead code from the system.module.
* - First batch of profile module improvements:Dries Buytaert2004-02-07
| | | | | | | | | | | | | + Tidied up the profile configuration page: grouped form elements. + Tidied up the block configuration settings: removed hard-coded table. + Changed the profile API to return the preferred group name, and changed the user module to group settings. Modules implementing the _user hook will need to be udpated. + Removed register_form and register_validate for now.
* Patch 5287 by Stefan: multiline help texts should become inside a single ↵Dries Buytaert2004-01-23
| | | | $output.
* - Removed instances of the 'throttle_enable' variable.Dries Buytaert2004-01-19
|
* - Patch #5021: clean up URLs in _help texts. Patch by UnConeD.Dries Buytaert2004-01-11
|
* Committed filter separation patch: all filter-related things are now in ↵Steven Wittens2004-01-05
| | | | | | | | filter.module (which is a required module). To do this cleanly, I reorganised some bits of system.module: there is now a generic handler available for simple variable-get/set based configuration pages. Look at filter_admin() or system_view() for example usage. (based on the patch by Goba)
* - Updated code to use new semantics of url() and l().Dries Buytaert2003-12-29
|
* - Fixing temp directory check.Kjartan Mannes2003-12-29
|
* - Tidied up some inconsistencies in the code: scripts/code-style.sh is your ↵Dries Buytaert2003-12-28
| | | | friend.
* - Added file handling. Work by Kjartan.Dries Buytaert2003-12-26
|
* - Reworked 404 (page not found) handling. Patch by walkah. You can specify aDries Buytaert2003-12-16
| | | | | custom 404 page in the administration page. As a result, error.php could be removed.
* - Patch 0185 by Jeremy: made it possible to automatically disable modules whenDries Buytaert2003-12-07
| | | | under heave load.
* - Introduced a drupal_set_message() and drupal_get_message() function.Dries Buytaert2003-12-01
| | | | | | | Contributed themes and modules need to be updated: - modules: status() is no more; use drupal_set_message() instead. - themes: use drupal_get_message() to check for status messages and visualize them.
* - Committed phase 4 of JonBob's menu system changes.Dries Buytaert2003-11-25
|
* - Made the help text sharable by removing incorrect use of $base_url. PatchDries Buytaert2003-11-23
| | | | by Goba.
* - Committed patch #165 by Moshe.Dries Buytaert2003-11-23
|
* - Improved theme configuration page. Modified version of Adrian.Dries Buytaert2003-11-20
|
* - Patch by JonBob:Dries Buytaert2003-11-20
| | | | | | | | Phase 2 of the menu system integration project. This unifies the interface used by admin and non-admin pages, and deprecates the _page hook in favor of explicit callbacks from menu(). Breadcrumbs, titles, and help text go away as a result of this patch; they will return in the phase 3 patch, printed by the theme.
* - Improved module loading when serving cached pages. Moshe's bootstrap patch.Dries Buytaert2003-11-18
| | | | - Used legend and fieldset tags for the configuration page.
* - table(...) -> theme("table", ...)Dries Buytaert2003-11-13
|
* - Committed stage 2 of the theme system improvements! Patch by CodeMonkeyX.Dries Buytaert2003-11-09
|
* - Translation fix: the date in the calendar block could not be translated. ↵Dries Buytaert2003-11-09
| | | | | | | | Patch by Goba. - Translation fix: made the word 'permission' translatable in the system module' help text. Patch by Goba. - Translation fix: the ping module's help text was translated twice. Patch by Goba.
* - Usability improvement: replaced many selection boxes by radio buttons.Dries Buytaert2003-11-07
| | | | Patch by Stefan.
* - Added support for "special timezones". Patch by Steven/UnConeD.Dries Buytaert2003-10-30
|
* - Usability improvement: removed the cron setting. It was dead code.Dries Buytaert2003-10-24
|
* - Documentation improvement: updated documentation to match menu item changes.Dries Buytaert2003-10-24
| | | | Fixes critical bug #3453. (In the end, someone has to do it ...)