summaryrefslogtreecommitdiff
path: root/includes/module.inc
Commit message (Collapse)AuthorAge
* 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. ;)
* - various updates, bugfixes and improvementsDries Buytaert2001-02-04
|
* - removed redundant spacesDries Buytaert2001-01-26
|
* A batch of preparations for release candidate 2:Dries Buytaert2001-01-03
| | | | | | | | | | | | | | | | - expanded documentation (written by Jeroen) - fixed bug in includes/module.inc - fixed bug in modules/backend.class - renamed some of the SQL tables (!) - started making the diary.module truly modular (not finished yet) - renamed "admin_blocks" to "boxes" - added new functionality to "boxes": apart from PHP boxes, you can now create ASCII boxes as well as HTML boxes for those who are not confident with PHP. (requested by stalor) - added drupal-site module to keep track of known drupal sites - added small Perl script to generate encrypted CVS passwords
* - intermediate commit: see previous commitDries Buytaert2000-12-23