summaryrefslogtreecommitdiff
path: root/includes/module.inc
Commit message (Collapse)AuthorAge
* #46617, Restore some module listings, partially applied, I've omitted places ↵Gerhard Killesreiter2006-02-27
| | | | | | where I felt that sortign by weight would be wanted. We can discuss those on the issue. Patch by chx.
* #21084, Node module is not marked "required", but is required by other ↵Gerhard Killesreiter2006-02-27
| | | | required modules, patch by Robert Douglass
* - Patch #42886 by chx: critical feature: allow modules to be reordered.Dries Buytaert2006-01-08
|
* - Patch #40631 by Chris Johnson: is_array() slower than isset() or empty().Dries Buytaert2005-12-14
|
* - Patch #40886 by chx: fixed problem with recursive/nested node API calls ↵Dries Buytaert2005-12-14
| | | | manipulating the same array references.
* - Patch #29385 by chx: no ?> add end of files.Dries Buytaert2005-08-25
|
* - Patch #27645 by Neil: refactor away module_load_all().Dries Buytaert2005-07-29
| | | | "This function is called in one place, so it can be rolled into the calling function. The return value isn't used so we can remove handling of it. This is executed for every non-cached page view, so the smaller code should save a smallish ammount of memory and time."
* - Patch #19895 by Moshe: currently modules can inadvertently load all other ↵Dries Buytaert2005-04-03
| | | | 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.
* - Patch #17770 by chx: fixed module_invoke() and module_invoke_all() not to ↵Dries Buytaert2005-03-01
| | | | use NULL defaults (bugfix) + removed the limitation on the number of paramaters that can be used.
* - Patch #14731 by chx: made it possible to rewrite node queries.Dries Buytaert2005-01-16
|
* Remove left-overs from admin.module.Steven Wittens2005-01-14
|
* - Patch #13405 by Moshe: make you actually do something useful with the init ↵Dries Buytaert2004-12-01
| | | | hook. A recent patch to 4.5 and HEAD made this patch run too early in the request (for non-cached pages).
* - Patch #13405 by Moshe:Dries Buytaert2004-11-25
| | | | | + Make bootstrap functionality work with HEAD. + Move functions into bootstrap.inc so that statistics_exit() works for cached pages. (Does this close any issues?)
* - 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.
* - Refactored the throttle module. Patch by Jeremy and me.Dries Buytaert2004-11-07
| | | | | | | | | | | | * There are only two throttle levels instead of 5, namely 'enabled' and 'disabled'. This makes it a _lot_ easier to predict when the throttle will kick in. However, if you maintain a module that is throttle-aware, it needs to be updated! * The throttle mechanism now uses the current number of anonymous users or the current number of authenticated users to kick in. This is a _lot_ more intuitive than the old throttle mechanism. * The throttle block has been removed -- you can now use the "Who's online" block to determine the good throttle settings. * Most of the documentation has been removed because it was deprecated. * It's less code!
* - Patch #11728 by Uwe Hermann: fixed some typos in the code comments, ↵Dries Buytaert2004-10-19
| | | | | | Doxygen documentation and screen output. Uwe: I dropped the 'iff' chunks as 'iff' stands for 'if and only if'.
* - Patch #11600 by jhriggs: the module_load_all() function will currently ↵Dries Buytaert2004-10-15
| | | | behave unexpectedly if a module cannot be found (has been removed, renamed, etc). Once one module fails to load, all subsequent modules will not be loaded due to a short circuit condition when performing a boolean AND.
* - Patch #10663 by JonBob: documentation improvements: fixed some typos and ↵Dries Buytaert2004-09-09
| | | | improved consistency to the use of Doxygen/api.module commands in the comments.
* - #9292: Make Drupal (somewhat) PHP5 compatible. xtemplate is still horribly ↵Steven Wittens2004-08-22
| | | | broken.
* - Patch #9650 by Adrian: this change introduces a module_load function, ↵Dries Buytaert2004-07-31
| | | | | | | | | | | | which maintains a list of modules that have already been loaded in a static array, and will not load another module of the same name, or if the file does not exist. Modules can be stored anywhere, as there is now a set of functions called module_get_filename, and module_set_filename .. which allow system_listing and module_list to specify the locations of the files. A new function module_load_all() replaces the hardcoded includes in module_init, and loads all modules which have been enabled, using module_load. module_listing no longer includes files itself, instead it just keeps the listing (and sets the filenames). This patch is a requirement for the multisite configuration patch, as overriding modules are currently being loaded due to the only protection of loading them is include_once.
* - #9287: More doxygen/documentation fixes by JonBobSteven Wittens2004-07-22
|
* - Code and documentation improvements by JonBob.Dries Buytaert2004-07-14
|
* - Fixed bug 5440: sort() -> asort(). Suggested by Goba.Dries Buytaert2004-01-27
|
* - Fixed bug 5140: Drupal does not work with PHP 4.2.1 and cleaned up theDries Buytaert2004-01-26
| | | | bootstrap code. Patch by Kjartan.
* - Removed instances of the 'throttle_enable' variable.Dries Buytaert2004-01-19
|
* 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)
* - Patch 0185 by Jeremy: made it possible to automatically disable modules whenDries Buytaert2003-12-07
| | | | under heave load.
* - Improved module loading when serving cached pages. Moshe's bootstrap patch.Dries Buytaert2003-11-18
| | | | - Used legend and fieldset tags for the configuration page.
* - Committed a slightly modified version of Slavica's table prefix patch.Dries Buytaert2003-07-10
|
* - adding admin module to module_list.Kjartan Mannes2003-06-06
|
* - Fixed some PHP "notices".Dries Buytaert2003-04-21
|
* - Eliminated system_init(), the session stuff, and made it possible toDries Buytaert2003-03-12
| | | | rebuild the menu.
* - Removing drupal module from the always loaded modules (again).Kjartan Mannes2003-03-09
|
* - Clean URL patch.Dries Buytaert2003-01-06
|
* - Small improvement. Patch by Moshe.Dries Buytaert2002-12-21
|
* - Patch by Jeremy to fix a module loading bug:Dries Buytaert2002-11-29
| | | | | | | | | - module.inc: + added call to _init for all modules - statistics.module: + added statistics_init() + moved all global actions into statistics_init()
* - changing the sorting algorithm in module_list so it is case insensitive.Kjartan Mannes2002-11-17
|
* Patch by Natrak:Dries Buytaert2002-11-08
| | | | | | | | | - Modules and themes now use the same functions to find and administer files. - Modules can now be placed in sub-directories. - Theme descriptions can no longer be edited. This will be handled by Dries' theme_conf patch. - Update required to keep old modules enabled.
* - Committed Marco's block rewrite:Dries Buytaert2002-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | + Blocks are not longer called if not rendered: major performance improvement. + Fixed some bugs (preview option was broken, path option was broken). + Removed "ascii"-type blocks. + Added permission to for "PHP blocks" + ... NOTES: + You'll want to run "update.php": ALTER TABLE blocks DROP remove; ALTER TABLE blocks DROP name; + You'll want to update your custom modules as well as the modules in the contrib repository. Block function should now read: function *_block($op = "list", $delta = 0) { if ($op == "list") { return array of block infos } else { return subject and content of $delta block } }
* - removed function module_rehash().Kjartan Mannes2002-10-17
| | | | | - updated database dump. - removed tables modules, layout and referrer (don't forget to backup!).
* - fixed a bug in module_invoke_all , it will now also add 0's to the resultKjartan Mannes2002-09-30
| | | | array. Thanks Moshe. (Didn't I commit this already?)
* - Reverted module.inc to the old module_invoke() function.Dries Buytaert2002-08-15
|
* - "module_invoke()" and "module_invoke_all()" can now be called with anyDries Buytaert2002-08-14
| | | | number of arguments. Patch by Gerhard.
* - removing the drupal module as always loaded.Kjartan Mannes2002-06-27
|
* - adding descriptions to modules (thanks Joe + Scott).Kjartan Mannes2002-06-01
| | | | | | | | | | - fixed comment flat list view missing 1 comment. - changed update.php around a bit. * security check isn't in effect if the db hasn't been updated. * instructions re-organized. * fixed some minor updates. - updated database.mysql done by UnConeD. - changelog update.
* - Coding style changes.Kjartan Mannes2002-05-23
| | | | | - Included modules will now cause parse errors instead of them being supressed. Was making debugging really hard.
* This is a major change to the system, needs more testing!Kjartan Mannes2002-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Committing Changes by Moshe Weitzman: - admin_user_account(), user_edit(), and user_view() no longer have any hard code for authentication modules. instead authentication modules implement the _user hook. - fixed a couple 'help' typos. - linked the 'REGISTER' text in the login block to the register page. this page now advertises DA better if site employs DA. - admins may now edit everything about a user account (was a feature request). - user #1 may now login immediately, in addition to receiving his password via email. Other changes: - modules and themes are now enabled/disabled in the administrative / settings / modules | themes pages. Requires SQL update and things must be enabled before your site returns to normal. TODO: enable all functionality. (For now just do UPDATE system SET status = 1;) - removed $themes from conf.php. - added a $theme->system() function where theme can specify settings. All themes in the Drupal CVS have been updated to use this. - added _system hook to modules. TODO: update modules to use this. - changed strange use of sprintf to the usual strtr. The disadvantage of sprintf is that it requires translations to keep the string order, which may not be possible in all languages. - an invalid/nonexisting theme in a user profile will now fallback to the BaseTheme instead of crashing.
* - Applied Natrak's module improvements.Dries Buytaert2002-01-30
|
* - no changes, just line endings that got foubared.Kjartan Mannes2002-01-13
|
* SessionKjartan Mannes2002-01-09
| | | | | | | | | | | | | | | | | | | | - attempted to fixed crashes with the custom session handler. External SMTP library - added functionality to have Drupal not use the default PHP mail() function. For more info see: http://www.drupal.org/node.php?id=44 Note: for this to work all modules that send mails should use the Drupal function to send mail: user_mail($mail, $subject, $message, $header); Calendar - added an archive page which users can use to find archives instead of the good old block. Miscellaneous - fixed a "random" offset bug on module.inc that occurred on Windows. All of this needs more testing, and further suggestions are welcome.