1. 07 Nov, 2004 1 commit
    • Dries's avatar
      - Refactored the throttle module. Patch by Jeremy and me. · 3769665b
      Dries authored
        * 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!
      3769665b
  2. 19 Oct, 2004 1 commit
  3. 15 Oct, 2004 1 commit
  4. 09 Sep, 2004 1 commit
    • Dries's avatar
      · b84b6e42
      Dries authored
      - Patch #10663 by JonBob: documentation improvements: fixed some typos and improved consistency to the use of Doxygen/api.module commands in the comments.
      b84b6e42
  5. 22 Aug, 2004 1 commit
  6. 31 Jul, 2004 1 commit
    • Dries's avatar
      · 9945bca5
      Dries authored
      - 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.
      9945bca5
  7. 22 Jul, 2004 1 commit
  8. 14 Jul, 2004 1 commit
  9. 27 Jan, 2004 1 commit
    • Dries's avatar
      · f99eb4dc
      Dries authored
      - Fixed bug 5440: sort() -> asort().  Suggested by Goba.
      f99eb4dc
  10. 26 Jan, 2004 1 commit
  11. 19 Jan, 2004 1 commit
    • Dries's avatar
      · 652fb347
      Dries authored
      - Removed instances of the 'throttle_enable' variable.
      652fb347
  12. 05 Jan, 2004 1 commit
    • Steven Wittens's avatar
      Committed filter separation patch: all filter-related things are now in... · c2151b52
      Steven Wittens authored
      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)
      c2151b52
  13. 07 Dec, 2003 1 commit
    • Dries's avatar
      · bea3dbb7
      Dries authored
      - Patch 0185 by Jeremy: made it possible to automatically disable modules when
        under heave load.
      bea3dbb7
  14. 18 Nov, 2003 1 commit
    • Dries's avatar
      · a0640e66
      Dries authored
      - Improved module loading when serving cached pages.  Moshe's bootstrap patch.
      
      - Used legend and fieldset tags for the configuration page.
      a0640e66
  15. 10 Jul, 2003 1 commit
    • Dries's avatar
      · 337b3c9d
      Dries authored
      - Committed a slightly modified version of Slavica's table prefix patch.
      337b3c9d
  16. 06 Jun, 2003 1 commit
  17. 21 Apr, 2003 1 commit
    • Dries's avatar
      · a956de78
      Dries authored
      - Fixed some PHP "notices".
      a956de78
  18. 12 Mar, 2003 1 commit
    • Dries's avatar
      · 4ad174c4
      Dries authored
      - Eliminated system_init(), the session stuff, and made it possible to
        rebuild the menu.
      4ad174c4
  19. 09 Mar, 2003 1 commit
  20. 06 Jan, 2003 1 commit
    • Dries's avatar
      · 89b2069e
      Dries authored
      - Clean URL patch.
      89b2069e
  21. 21 Dec, 2002 1 commit
    • Dries's avatar
      · 8f673be3
      Dries authored
      - Small improvement.  Patch by Moshe.
      8f673be3
  22. 29 Nov, 2002 1 commit
    • Dries's avatar
      · 06081084
      Dries authored
      - Patch by Jeremy to fix a module loading bug:
      
          - module.inc:
             + added call to _init for all modules
      
          - statistics.module:
             + added statistics_init()
             + moved all global actions into statistics_init()
      06081084
  23. 17 Nov, 2002 1 commit
  24. 08 Nov, 2002 1 commit
    • Dries's avatar
      · b3abbc4b
      Dries authored
      Patch by Natrak:
      
      - 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.
      b3abbc4b
  25. 26 Oct, 2002 1 commit
    • Dries's avatar
      · 8d103a08
      Dries authored
      - Committed Marco's block rewrite:
      
         + 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
               }
             }
      8d103a08
  26. 17 Oct, 2002 1 commit
  27. 30 Sep, 2002 1 commit
  28. 15 Aug, 2002 1 commit
    • Dries's avatar
      · d102bf73
      Dries authored
      - Reverted module.inc to the old module_invoke() function.
      d102bf73
  29. 14 Aug, 2002 1 commit
    • Dries's avatar
      · 343437e7
      Dries authored
      - "module_invoke()" and "module_invoke_all()" can now be called with any
         number of arguments.  Patch by Gerhard.
      343437e7
  30. 27 Jun, 2002 1 commit
  31. 01 Jun, 2002 1 commit
    • Kjartan's avatar
      - adding descriptions to modules (thanks Joe + Scott). · 4a28077f
      Kjartan authored
      - 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.
      4a28077f
  32. 23 May, 2002 1 commit
    • Kjartan's avatar
      - Coding style changes. · 793db831
      Kjartan authored
      - Included modules will now cause parse errors instead of them being supressed.
        Was making debugging really hard.
      793db831
  33. 14 Apr, 2002 1 commit
    • Kjartan's avatar
      This is a major change to the system, needs more testing! · 55927616
      Kjartan authored
      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.
      55927616
  34. 30 Jan, 2002 1 commit
    • Dries's avatar
      · d988dae6
      Dries authored
      - Applied Natrak's module improvements.
      d988dae6
  35. 13 Jan, 2002 1 commit
  36. 09 Jan, 2002 1 commit
    • Kjartan's avatar
      Session · 3b5c3806
      Kjartan authored
       - 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.
      3b5c3806
  37. 05 Nov, 2001 1 commit
    • Dries's avatar
      · db47bac3
      Dries authored
      - node.module:
      
         + 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
      db47bac3
  38. 01 Nov, 2001 1 commit
    • Dries's avatar
      · 336b713a
      Dries authored
      - A large batch of updates, amongst them a rewritten node system.  More
        information available on the mailing list.
      336b713a
  39. 20 Oct, 2001 1 commit
  40. 16 Oct, 2001 1 commit
    • Dries's avatar
      · 33a3502d
      Dries authored
      - Removed a node's link ID (lid) as discussed on the mailing list.  See
        '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'.
      33a3502d