Commit Graph

92 Commits (fcbae4572c12d599c65301b7f174d92f24801746)

Author SHA1 Message Date
Dries Buytaert 54a754e417 - Patch #101379 by ChrisKennedy, neclimdul et al: modules missing .info files wrongly adding empty entries to module page. 2006-12-07 17:03:34 +00:00
Neil Drumm 437a498295 #97271 by Jaza. Ensure that hooks are not invoked for newly-disabled modules. 2006-11-27 23:15:41 +00:00
Neil Drumm a6f6ddcc4a #88030 by beginner. Properly initialize a variable. 2006-11-26 03:22:04 +00:00
Neil Drumm 30d7bd56f7 #93212 by Jaza. Refactor module enabling for greater API avialiablity during hook_enable(). 2006-11-16 08:28:08 +00:00
Neil Drumm 64162b74ad #88843 by lyricnz. Properly check if dependencies are set. 2006-11-07 06:13:01 +00:00
Dries Buytaert af5402ad2a - Patch #88287 by asimmonds, dww et al: installer doesn't support modules outside root/modules directory. Critical bugfix. 2006-10-23 06:45:17 +00:00
Dries Buytaert 18b297abf8 - Patch #81740 by merlinofchaos, webchick, moshe, neclimdul et al: added package support to the modules page. 2006-10-05 15:47:57 +00:00
Steven Wittens f24e304fa3 #84875: Dependency system for core 2006-10-02 16:49:08 +00:00
Dries Buytaert 291c7b8bb1 - Patch #81757 by neclimdul: Remove non private copy of module_parse_meta_file. 2006-08-31 22:12:15 +00:00
Dries Buytaert c64db1da29 - Patch #80952 by earl, webchick, neclimdul et al: .info files 2006-08-31 20:22:37 +00:00
Dries Buytaert cdd120ed20 - Patch #77936 by moshe and rdouglass: pluggable session handling. 2006-08-31 19:52:39 +00:00
Steven Wittens 55eec8f66f #79601: module_exist() -> module_exists() 2006-08-20 05:57:41 +00:00
Dries Buytaert 2c0571b894 - Patch #73961 by m3avrck, timcn, et al: simplify adding CSS in Drupal. 2006-08-03 07:06:36 +00:00
Steven Wittens 38e4c1ae91 #76209: (Eaton et al)
- Make installer code integrate better with module.inc / system.module
- Fix schema version bug when installing core
2006-08-03 01:02:51 +00:00
Dries Buytaert 1c75a210bd - Patch #68926 by chx, jeremy, steven, eaton, webchick, amazon, neil, nedjo et al: an initial install system for Drupal core. 2006-07-13 13:14:25 +00:00
Dries Buytaert 77d695fe56 - Patch #69341 by chx: remove some SQL queries from the Drupal bootstrap process. 2006-06-28 21:18:30 +00:00
Dries Buytaert cf14d26cff - Patch #65801 by Moshe et al: fixed locale initialization slowness. 2006-06-08 21:23:40 +00:00
Neil Drumm 9cff02e91b #61802 by Zen, Double spaced sentences clean up 2006-05-07 00:08:36 +00:00
Gerhard Killesreiter bf8b6a531a #46617, Restore some module listings, partially applied, I've omitted places where I felt that sortign by weight would be wanted.
We can discuss those on the issue. Patch by chx.
2006-02-27 15:04:45 +00:00
Gerhard Killesreiter 9bb285aafa #21084, Node module is not marked "required", but is required by other required modules, patch by Robert Douglass 2006-02-27 14:41:05 +00:00
Dries Buytaert 7f87b19eeb - Patch #42886 by chx: critical feature: allow modules to be reordered. 2006-01-08 12:49:51 +00:00
Dries Buytaert 764f1177ef - Patch #40631 by Chris Johnson: is_array() slower than isset() or empty(). 2005-12-14 20:10:45 +00:00
Dries Buytaert c4fc7f401f - Patch #40886 by chx: fixed problem with recursive/nested node API calls manipulating the same array references. 2005-12-14 18:46:21 +00:00
Dries Buytaert 7b8a409675 - Patch #29385 by chx: no ?> add end of files. 2005-08-25 21:14:17 +00:00
Dries Buytaert 4103aada88 - Patch #27645 by Neil: refactor away module_load_all().
"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."
2005-07-29 07:09:30 +00:00
Dries Buytaert 69a066c4cd - Patch #19895 by Moshe: currently modules can inadvertently load all other 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. 2005-04-03 08:03:18 +00:00
Dries Buytaert 456fd7cc85 - Patch #17770 by chx: fixed module_invoke() and module_invoke_all() not to use NULL defaults (bugfix) + removed the limitation on the number of paramaters that can be used. 2005-03-01 20:23:35 +00:00
Dries Buytaert 971a0e24aa - Patch #14731 by chx: made it possible to rewrite node queries. 2005-01-16 18:44:49 +00:00
Steven Wittens beada9364d Remove left-overs from admin.module. 2005-01-14 17:30:00 +00:00
Dries Buytaert 3cd9a1b2d4 - Patch #13405 by Moshe: make you actually do something useful with the init hook. A recent patch to 4.5 and HEAD made this patch run too early in the request (for non-cached pages). 2004-12-01 22:16:50 +00:00
Dries Buytaert 5d0dfeb562 - Patch #13405 by Moshe:
+ Make bootstrap functionality work with HEAD.
   + Move functions into bootstrap.inc so that statistics_exit() works for cached pages.  (Does this close any issues?)
2004-11-25 06:14:59 +00:00
Dries Buytaert 5d759ccbb9 - Patch #5942 by jhriggs and Adrian:
+ added support for multi-site configurations.
    + tidied up some old cruft and added code comments.
2004-11-24 22:44:01 +00:00
Dries Buytaert 3769665b33 - Refactored the throttle module. Patch by Jeremy and me.
* 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!
2004-11-07 22:47:00 +00:00
Dries Buytaert 10f329c057 - Patch #11728 by Uwe Hermann: fixed some typos in the code comments, Doxygen documentation and screen output.
Uwe: I dropped the 'iff' chunks as 'iff' stands for 'if and only if'.
2004-10-19 18:02:31 +00:00
Dries Buytaert a5691cccc9 - Patch #11600 by jhriggs: the module_load_all() function will currently 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. 2004-10-15 10:47:54 +00:00
Dries Buytaert b84b6e42cf - Patch #10663 by JonBob: documentation improvements: fixed some typos and improved consistency to the use of Doxygen/api.module commands in the comments. 2004-09-09 05:51:08 +00:00
Steven Wittens 51cf18e531 - #9292: Make Drupal (somewhat) PHP5 compatible. xtemplate is still horribly broken. 2004-08-22 17:03:42 +00:00
Dries Buytaert 9945bca528 - Patch #9650 by Adrian: this change introduces a module_load function, 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.
2004-07-31 11:17:27 +00:00
Steven Wittens edc2f13d82 - #9287: More doxygen/documentation fixes by JonBob 2004-07-22 16:06:54 +00:00
Dries Buytaert f63c3be30c - Code and documentation improvements by JonBob. 2004-07-14 20:42:20 +00:00
Dries Buytaert f99eb4dc48 - Fixed bug 5440: sort() -> asort(). Suggested by Goba. 2004-01-27 18:14:25 +00:00
Dries Buytaert 68479ae77c - Fixed bug 5140: Drupal does not work with PHP 4.2.1 and cleaned up the
bootstrap code.  Patch by Kjartan.
2004-01-26 18:55:43 +00:00
Dries Buytaert 652fb3474a - Removed instances of the 'throttle_enable' variable. 2004-01-19 22:11:46 +00:00
Steven Wittens c2151b5248 Committed filter separation patch: all filter-related things are now in 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)
2004-01-05 19:19:05 +00:00
Dries Buytaert bea3dbb775 - Patch 0185 by Jeremy: made it possible to automatically disable modules when
under heave load.
2003-12-07 18:25:09 +00:00
Dries Buytaert a0640e66b7 - Improved module loading when serving cached pages. Moshe's bootstrap patch.
- Used legend and fieldset tags for the configuration page.
2003-11-18 19:44:36 +00:00
Dries Buytaert 337b3c9de9 - Committed a slightly modified version of Slavica's table prefix patch. 2003-07-10 17:46:44 +00:00
Kjartan Mannes 94f5eee15a - adding admin module to module_list. 2003-06-06 14:07:45 +00:00
Dries Buytaert a956de78b9 - Fixed some PHP "notices". 2003-04-21 14:55:03 +00:00
Dries Buytaert 4ad174c411 - Eliminated system_init(), the session stuff, and made it possible to
rebuild the menu.
2003-03-12 21:46:14 +00:00