1. 16 Dec, 2003 1 commit
    • Dries's avatar
      · 670a2922
      Dries authored
      - Reworked 404 (page not found) handling.  Patch by walkah.  You can specify a
        custom 404 page in the administration page.  As a result, error.php could be
        removed.
      670a2922
  2. 25 Nov, 2003 1 commit
    • Dries's avatar
      · c0494c0a
      Dries authored
      - Committed phase 4 of JonBob's menu system changes.
      c0494c0a
  3. 20 Nov, 2003 2 commits
    • Dries's avatar
      · 4bdac433
      Dries authored
      - Patch by JonBob:
      
        Phase 2 of the menu system integration project. This unifies the interface
        used by admin and non-admin pages, and deprecates the _page hook in favor of
        explicit callbacks from menu(). Breadcrumbs, titles, and help text go away
        as a result of this patch; they will return in the phase 3 patch, printed
        by the theme.
      4bdac433
    • Dries's avatar
      · c7c2bf3d
      Dries authored
      - Removed duplicate call to drupal_page_header().  Patch by Moshe.
      c7c2bf3d
  4. 18 Nov, 2003 2 commits
  5. 12 Nov, 2003 1 commit
    • Dries's avatar
      · e8de9721
      Dries authored
      - Added missing print statements.  Patch #144 by CodeMonkeyX.
      e8de9721
  6. 08 Nov, 2003 1 commit
    • Dries's avatar
      · 92995414
      Dries authored
      - Committed stage 1 of the menu callbacks improvements.  Patch by Jonathan.
      92995414
  7. 31 Oct, 2003 1 commit
    • Dries's avatar
      · ec332667
      Dries authored
      - Improvement: made it possible to disable the comment controls and reworded some of the configuration settings.
      
      - Improvement: removed a left-over from Drupal 4.2.0 (dead code).
      
      - Improvement: replaced hard-coded XHTML around the XML icons with class="xml-icon".
      
      - Improvement: removed the custom navigation menus shown at the top of the "user information page" and integrated them in the new navigation block.  The "my account" link in the navigation menu will unfold.  Also removed the "delete account" link/functionality (for now).
      
      - Improvement: fix for "magic quotes" settings.  Patch by Steven.  I also removed check_php_settings().
      
      - Improvement: block themability improvements.  Modified patch from Ax and Steve/CodeMonkeyX.
      
      - Fixed bug #2617: editing user information does not work.  Patch by Kjartan.
      ec332667
  8. 30 Sep, 2003 1 commit
    • Dries's avatar
      · 5a667eb5
      Dries authored
      - Url aliasing improvements.  Patch by Matt.  See mailing list for more
        information.
      5a667eb5
  9. 28 Sep, 2003 1 commit
  10. 12 Aug, 2003 1 commit
    • Dries's avatar
      · ab6db286
      Dries authored
      - Small index.php improvement.  Modified patch from Bart Jansens.
      ab6db286
  11. 16 Jul, 2003 1 commit
    • Dries's avatar
      · 8759ca73
      Dries authored
      - Commited the URL aliasing patch.  Thanks Matt.
      
        This update requires you to run update.php!
      8759ca73
  12. 01 Jul, 2003 1 commit
    • Dries's avatar
      · dc15ba06
      Dries authored
      - Improvement: don't perform XSS checks for trusted users.  Trusted users
        are those that have the "bypass input data check" permission set.  Should
        address bug #2147.
      
      - Improvement: simplified index.php and modules/admin.module.
      
      - Bugfix: fixed broken links in bloggerapi documentation.  Patch by Chris
        Johnson.  Fixes bug #2030.
      
      - Bugfix: fixed the date shown on a book module preview.  Reported as part
        of bug #2097.
      
      - Bugfix: fixed broken URL in the book module documentation.
      dc15ba06
  13. 18 Jun, 2003 1 commit
  14. 18 May, 2003 1 commit
    • Dries's avatar
      · 57c7d7b4
      Dries authored
      - The page_footer() function was always called twice due to the introduction
        of the "footer" hook (and because of the existence of the page module).
        This caused the node view counter to be incremented twice per page view,
        the cache being set twice, etc.  Quite a bug.
      57c7d7b4
  15. 13 May, 2003 1 commit
    • Dries's avatar
      · c2d2fb73
      Dries authored
      - Fixed a typo in the PostgreSQL database scheme.  Patch by Michael Frankowski.
      
      - Fixed a typo in the MSSQL database scheme.  Patch by Michael Frankowski.
      
      - Removed dependency on "register_globals = on"!  Patches by Michael Frankowski.
      
        Notes:
      
        + Updated the patches to use $foo["bar"] instead of $foo['bar'].
        + Updated the INSTALL and CHANGELOG files as well.
      
      - Tiny improvement to the "./scripts/code-clean.sh" script.
      c2d2fb73
  16. 21 Apr, 2003 1 commit
    • Dries's avatar
      · a956de78
      Dries authored
      - Fixed some PHP "notices".
      a956de78
  17. 04 Mar, 2003 1 commit
    • Dries's avatar
      · 40abf506
      Dries authored
      - Fixed "undefined index/variable" warning.  Patch by Ax.
      40abf506
  18. 15 Feb, 2003 1 commit
    • Dries's avatar
      · 83f5d828
      Dries authored
      - Everything is using theme("function") now instead of $theme->function().
      83f5d828
  19. 06 Jan, 2003 1 commit
    • Dries's avatar
      · 89b2069e
      Dries authored
      - Clean URL patch.
      89b2069e
  20. 04 Jan, 2003 1 commit
    • Dries's avatar
      · 56e5c29b
      Dries authored
      - Added a check for register_globals.
      56e5c29b
  21. 26 Dec, 2002 1 commit
    • Dries's avatar
      · 26e0b9b7
      Dries authored
      - Made Drupal report an error when magic_quotes are disabled.
      26e0b9b7
  22. 18 Oct, 2002 1 commit
    • Dries's avatar
      · 2e43215b
      Dries authored
      - Removed dead code.
      2e43215b
  23. 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
  24. 17 Nov, 2001 1 commit
  25. 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
  26. 20 Oct, 2001 2 commits
  27. 27 Sep, 2001 1 commit
    • Dries's avatar
      · 4a0e498f
      Dries authored
      - a batch of updates, including some experimental changes to the moderation
        of comments and nodes.
      4a0e498f
  28. 25 Sep, 2001 1 commit
  29. 18 Sep, 2001 1 commit
    • Dries's avatar
      · ca85a56f
      Dries authored
      - Fixed 2 typos in the user module.  Thanks Axel and Remco.
      - Applied (modified versions of) Alexander's patches on the development
        branch.
      ca85a56f
  30. 30 Jun, 2001 1 commit
    • Dries's avatar
      · f70002b7
      Dries authored
      - Fixed typo.
      f70002b7
  31. 29 Jun, 2001 1 commit
    • Dries's avatar
      Extremely large commit: · 9c43e8fc
      Dries authored
      - 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!
      9c43e8fc
  32. 20 Jun, 2001 1 commit
    • Dries's avatar
      - Added a brand-new access.module which allows you to manage 'roles' · 72065fb8
      Dries authored
        (groups) and 'permissions' ... (inspired by Zope's system).
      
          + Once installed, click the help-link for more information.
      
          + See updates/2.00-to-x.xx.sql for the SQL updates.
      
      - Modified loads of code to use our new access.module.  The system
        still has to mature though: new permissions have to be added and
        existing permissions need stream-lining.  Awaiting suggestions.
      
      - As a direct result of the new access system, I had to rewrite the
        way the top-level links in admin.php are rendered and displayed,
        and xhtml-ified admin.php while I was at it.
      
      TODO
      
      - Home-brewed modules need updating, home-brewed themes not.
        (Examples: file.module, trip_link.module)
      
      - As soon we *finished* the refactoring of the user system (KJ has
        been working on this refactoring already) we should consider to
        embed this role and permission code into account.module ...
      72065fb8
  33. 17 Jun, 2001 1 commit
    • Dries's avatar
      · 03c06a86
      Dries authored
      Oops, a rather large commit:
      
      - Changed meta.module, node.module and index.php to use comma-seperated
        lists of attributes rather then "foo=a,bar=b" lists.  This makes it a
        a lot easier to use both modules.  In addition, error handling can be
        discarded as it can't be made any simpler, really ...
      
        It fits rather nicely in Drupal's design so I'm getting more and more
        happy with this meta.module (but we are not 100% there yet).
      
      - node.module, node.inc:
      
         + Improved the node-related admin interface so that navigating back
           and forth the administrative menus is made both easier and faster.
      
         + Removed some redundant database fields from the node table.  See
           2.00-to-x.xx.sql!
      
         + Added 2 news hooks called "node_insert" and "node_update".  Just
           like this is the case with the existing hook "node_delete" these
           new hooks will automatically get called when a node has been
           inserted or udpated.  Note that this is an optional call-back that
           only needs to be implemented when required.  With the addition of
           these two hooks, the node mechanism (version 1) is pretty well
           completed.
      
      - watchdog.module:
         + Fixed bug whit the 'regular messages' query in the watchdog.module.
      
      - book.module:
         + Fixed bug in book.module: the 'parent' was not set properly when
           updating a book page.
         + Made it so that older versions of a book page are automatically
           reactived upon deletion of the most recent version, i.e. when
           doing a version roll-back.
      
      - comment.inc:
         + Undid Remco's patch to comment.inc; it does not work in some cases.
      
      
      - conf.module:
         + Fine-tuned some of the options in conf.module a bit.
      
      - marvin.theme:
         + Visual changes to make it look better on Windows browsers.  Mind
           to give some feedback on this?
         + Fixed 3 HTML typos/bugs.
         + XHTML-ified the theme at a best effort basis; I didn't carry the
           XHTML specification with me.
         + Made use of the theme_slogan variable to display the site's slogan.
         + As soon we have at least one valid XHTML theme we can wonder on how
           to integrate other XML namespaces (cfr. MathML story at drop.org).
      
      - database.mysql:
         + Updated database.mysql so that it contains all the latest "database
           patches".
      03c06a86
  34. 15 Jun, 2001 1 commit
    • Dries's avatar
      · bfa80297
      Dries authored
      - Made index.php work with new meta.module.
      bfa80297
  35. 10 Jun, 2001 1 commit
    • Dries's avatar
      · d397bbe9
      Dries authored
      This a rather large commit that needs a lot of fine-tuning.  If you
      update, you'll break your site as you need switching from structure
      to index.module: so this can be considered an intermediate commit.
      
      If you upgrade, and you are welcome to, just create a collection
      called "section" (for now) and assign your nodes some attributes
      in the described format.
      
      Feedback and bugreports are welcomed.  Questions will be answered.
      
      CHANGES:
      
      - comment system:
         + when replying to a node (rather then to a comment), that
           node is displayed above the reply form.
         + when replying to a comment (rather then to a node), that
           comment is displayd above the reply form.
      
      - removed structure.inc, removed structure.module.
      
      - node.inc:
         + added 2 new node functions called 'node_attribute_edit()' and
           'node_attribute_save()' used to 'hook in' any indexing system
          including your home-brewed stuff if you'd want to.  Currently,
          index.module is the facto default index system.
      
          See story.module for usage.
      
      - book.module, story.module, poll.module, page.module, forum.module:
         + added preview functionality to administration section (via node
           module).
         + removed all references to structure.inc (category, topic).
      
      - moderate.module:
         + removed all references to structure.inc (category, topic).
      
      - book.module, story.module, page.module, forum.module:
         + increased the sizes of some textareas.
      
      - submit.php:
         + removed all references to structure.inc (category, topic).
      
      - marvin.theme:
         + removed dead code: function story() was depricated.
      
      - unconed.theme:
         + removed hardcoded references to drop.org.
      
      - marvin.theme, unconed.theme, jeroen.theme, yaroon.theme, example.theme:
         + removed all references to structure.inc (category, topic).
      
      TODO:
      
      - file.module, trip_link.module:
         + update preview functionality:
             see story.module for example.
         + remove references to 'cid' and 'tid', use 'attribute' instead:
             see story.module for example.
      
      - extend and build upon index.module as well as making it configurable
      d397bbe9
  36. 02 Jun, 2001 1 commit
    • Dries's avatar
      · b0c349e2
      Dries authored
      - Moved most of the options in structure.module to node.module.  The
        structure.module either needs work, or replacement by index.module:
        see "admin > node > node settings".
      
        It will do for now and it can always made better when we can think
        of a better solution; it is the best I could think of.   Now what?
        index.module or structure.module?  I'm currently pro index.module.
      
      - Drastically simplified "variable.inc".
      
      - Removed most dependecies on structure.module from all content related
        modules.  Thus making our modules more modular.  ;)
      
      - Fixed calculation glitch in queue.module.
      
      - Fixed potential function name clash/conflict in rating.module, and
        simplified some code on my way.
      
      - Started removing all global variables $status and $rstatus.  Global
        variables are "yucky" so in near future, we will replace all global
        $status variables by a call to node_status().  Originally, $status
        was only introduced as a temporary hack and nothing is as permanent
        as a temporary hack so I took it out when still possible.
      
      - Changed the watchdog messages a bit.
      b0c349e2
  37. 20 May, 2001 1 commit
    • Dries's avatar
      · 4f1cf00f
      Dries authored
      - Improved node_get() so that it will try to skip one additional query
        if possible (ie. to reduce the number of queries).
      
      - Automatically removed tabs and trailing spaces from the poll.module.
      4f1cf00f