summaryrefslogtreecommitdiff
path: root/includes/module.inc
Commit message (Collapse)AuthorAge
* - #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.
* - node.module:Dries Buytaert2001-11-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Changed node_form() to use good ol' tables instead of div/CSS-tags. + Revised the "revision API": I think we have both an easy and powerful API now that should make everyone happy. + Improved the usability of the rollback functionality a bit. + Removed the "view node" link from the "node overview" page in the admin section and added a "delete node" link instead. + Added a few missing translations; there might be missing more translations though. - book.module: + Made the book module use the "revision API" instead of having it poke and use the innards and underlying details of the revision system. - queue.module: + Made the queue module use the improved revision number. - module.inc: + Applied Moshe's patch: added more arguments to module_invoke() - mail-to-sql.pl: + Added support for more header fields and for folded fields Notes: - no database updates required
* - A large batch of updates, amongst them a rewritten node system. MoreDries Buytaert2001-11-01
| | | | information available on the mailing list.
* - added the CVS keyword $Id$ to all files to make future version trackingKjartan Mannes2001-10-20
| | | | easier. Also changed the <? tag to <?php in some cases.
* - Removed a node's link ID (lid) as discussed on the mailing list. SeeDries Buytaert2001-10-16
| | | | | | | | | | | | | | 'updates/3.00-to.x.xx.mysql' for the required MySQL updates. - Renamed some "author" fields to "uid" fields for sake of consistency. - Fixed the coding style of some PHP files. - Fixed the moderation queue (fairly untested though). - Re-introduced the temporary SQL table in _node_get(). - Added a missing 'auto_increment' to 'updates/3.00-to-x.xx.mysql'.
* - PEAR-ification of Drupal by claw: you can now host Drupal on a wideDries Buytaert2001-10-09
| | | | | | | range of databases including MySQL, PostgreSQL, MSSQL, and others. For additional information and an 'how to upgrade', check the mails sent to the mailing list.
* module.incKjartan Mannes2001-08-23
| | | | - Fixed bug reported by Remco.
* - Various updates, mostly related to our RDF/RSS backend.Dries Buytaert2001-07-15
|
* - theme system:Dries Buytaert2001-07-14
| | | | | | | | | | | | | + added $theme->images() - blog.module: + improved user-friendliness and rewrote most of the output routines + made quoted text /italic/ by default + integrated discussion system like it should + ... - marvin.theme: + small visual improvements
* - common.inc:Dries Buytaert2001-07-03
| | | | | | | | | | | | | | + Made '$na' translatable on popular demand. - node.module: + replaced a confusing configuration description, as suggested by Remco. - statistics.module: + Added a 'most recent referers'-table sorted by timestamp. - drupal.module: + Small update of the links.
* Extremely large commit:Dries Buytaert2001-06-29
| | | | | | | | | | | | | | | | | | - Fixed tiny quote problem in account.php. - Fixed tiny bug in comment.inc. - Fixed tiny bug in comment.module. - Fixed tiny bug in meta.module. - Simplified user_access() API. - Rewrote link system: still needs fine-tuning and testing so don't upgrade if you are running a production site. ;) Updated all modules and themes to reflect this change. All other themes and modules need updating too!
* - Removed a few lines of dead code.Dries Buytaert2001-05-29
|
* CHANGESDries Buytaert2001-05-20
| | | | | | | | | | | | | | | | | | | | | | - Redid settings.module and even renamed it to conf.module. * Settings are now grouped in basic categories like "system settings", "module settings" and "filters". * Added new settings to make Drupal easier to configure and to make some aspects like the watchdog scale better. - Renamed includes/settings.php to includes/conf.php. - Added filter support to conf.module and introduced filter hooks so modules can implement and export new filters. Example filters are an HTML filter (implemented), a profanity filter, an url converter, ASCII smileys to images filter and so on ... - Reworked the check_* functions: user contributed content/input is only verified and filtered once in its lifespan. NOTES - Altough this is a large commit, no database changes are required.
* CHANGES:Dries Buytaert2001-05-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Rewrote the cron system. Removed cron.module and moved all cron related options to settings.module. Cron was a confusing thing: it has been made simpler both in terms of code and configuration. + You had to rehash your modules to make the cron show up in the list. This is no longer required. + You couldn't tell what cron "watchdog" or cron "story" were up to. Instead, we now display a clear description message for every cron involved. + The user interface of setting.module - and the admin section in general, looks a bit ackward but I couldn't care less and don't want to see this improve at the time being. - Improved setting.module: + Now uses variable_set(). + Added some help and documentaition on how to setup cron. - Improved ./export. - Updated CHANGELOG. TODO: - I'm now going to look into UnConeD's question with regard to check_output() and $theme->node(), as well as the filter and macro stuff. I'll probably be fine-tuning setting.module a bit more on my way.
* Oops, I used sort() instead of asort(), which destroys the keys in ↵Steven Wittens2001-05-18
| | | | associative arrays.
* Made module_list() return an alphabetically sorted list.Steven Wittens2001-05-18
| | | | On Windows machines (not sure about *nix boxes) it's not always pre-sorted by the filesystem. It has no effect code-wise, but it will cause all module-lists in Drupal to be sorted alphabetically (e.g. the links in admin.php).
* - Uhm. Rewrote the module system: less code clutter, less run-timeDries Buytaert2001-05-05
| | | | | | | | | | | | | | | | | | | | overhead, and a lot better (simpler) module API. I had to edit a LOT of files to get this refactored but I'm sure it was worth the effort. For module writers / maintainers: None of the hooks changed, so 95% of the old modules should still work. You can remove some code instead as "$module = array(...)" just became obsolete. Also - and let's thank God for this - the global variable "$repository" has been eliminated to avoid modules relying on, and poking in drupal's internal data structures. Take a look at include/module.inc to investigate the details/changes. - Improved design of the content modules "story", "book" and "node" (to aid smooth integration of permisions + moderate.module). I'm still working on the permissions but I got side tracked for which I "Oops!".
* ChangesKjartan Mannes2001-04-23
| | | | | | | | | | | | | | - Fixed an error in module_rehash_blocks() that didn't handle '-symbols. - Removed some module depencies. Drupal will now run (sorta) even if there are no modules installed. - Changed theme_link() to check if certain modules are installed before offering a link to them. Todo - Check all SQL queries to make sure they are addslashes'ed correctly. - Check the effects of changing the PHP magic_quotes setting. - Make the theme_link() function to be customizable either via the admin page and/or in the module itself.
* - Addition: added a new function "module_hook($module, $hook)" to checkDries Buytaert2001-04-19
| | | | wether a module implements a certain hook or not.
* - applied David Norman's patch to turn all <?'s into fully qualifiedDries Buytaert2001-03-10
| | | | <?php's.
* A rather large and important update:Dries Buytaert2001-03-07
| | | | revised most of the SQL queries and tried to make drupal as secure as possible (while trying to avoid redundant/duplicate checks). For drupal's sake, try to screw something up. See the mail about PHPNuke being hacked appr. 6 days ago. The one who finds a problem is rewarded a beer (and I'm willing to ship it to Norway if required). I beg you to be evil. Try dumping a table a la "http://localhost/index.php?date=77778;DROP TABLE users" or something. ;)