1. 23 Dec, 2001 1 commit
    • Dries's avatar
      · 8c8b3058
      Dries authored
      - Added "query log" functionality to Drupal.  Inspired by weitzman's
        code/patch.
      8c8b3058
  2. 16 Dec, 2001 1 commit
    • Dries's avatar
      · a0ddc1af
      Dries authored
      - Added new feature.  Explanation will follow on the mailing list.
      a0ddc1af
  3. 25 Nov, 2001 1 commit
    • Dries's avatar
      · 8fa7c24d
      Dries authored
      - Removed the "password words" setting: they are part of the user system
        now and where therefore listed twice.
      8fa7c24d
  4. 24 Nov, 2001 1 commit
    • Dries's avatar
      · eb7c5f60
      Dries authored
      - Bugfix: when updating a book page, the name of the author did not change.
      
      - Bugfix: the "Edit comments" part of the node administration pages did not
        display the correct comments.
      
      - Bugfix: somethimes, update in a book page would mess up the book.
      
      - Improvement: when "node administrators" update a book page through the
        "update this book page"-link (like regular users do), their update will
        be subject to moderation.
      
      - Improvement: made some intermediate changes to the filter mechanism. Needs
        more work.
      eb7c5f60
  5. 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
  6. 20 Oct, 2001 2 commits
  7. 12 Oct, 2001 1 commit
    • Dries's avatar
      · d6e54f8f
      Dries authored
      - fixed a small typo: "hour" --> "hours"
      d6e54f8f
  8. 28 Sep, 2001 2 commits
    • Dries's avatar
      · 0cce47f1
      Dries authored
      - fixed small glitch in node_del()
      
      - fixed small glitch in comment_del()
      
      - changed the API of the form() function.  The first parameter, the
        "action"-attribute in the <form>-tag has been made optional.  By
        default, it will be set to "$REQUEST_URI".
      
        Why? Because in 98% of the cases we would do:
      
          global $REQUEST_URI;
          $form = form($REQUEST_URI, $form_content);
      
        while we can do:
      
          $form = form($form_content);
      
        now.
      
        Update your modules (and sorry for the inconvenience)!
      0cce47f1
    • Dries's avatar
      · 0cb7dbc2
      Dries authored
      - bugfix: a permission was missing from the permission table
      0cb7dbc2
  9. 26 Sep, 2001 1 commit
    • Dries's avatar
      · b0cf3a39
      Dries authored
      - fixed a HTML typo as reported by Alexander
      b0cf3a39
  10. 25 Sep, 2001 1 commit
  11. 25 Jul, 2001 1 commit
    • Kjartan's avatar
      user.inc · e0dc03dc
      Kjartan authored
      system.module
      - made the words used in passwords configurable thru the admin interface.
      e0dc03dc
  12. 17 Jul, 2001 1 commit
  13. 15 Jul, 2001 1 commit
    • Dries's avatar
      · 18f2a5e3
      Dries authored
      - system.module:
         + code review -> small improvements
         + XHTML-ified
      18f2a5e3
  14. 03 Jul, 2001 1 commit
    • Dries's avatar
      · 43db9cf8
      Dries authored
      - common.inc:
         + 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.
      43db9cf8
  15. 02 Jul, 2001 1 commit
    • Dries's avatar
      · 8f2ef076
      Dries authored
      - Added improvement locale.module, based on Gerhard K.'s implementation.
        (Thanks Gerhard!)
      
      - Various other small improvements.
      8f2ef076
  16. 01 Jul, 2001 1 commit
    • Dries's avatar
      · 8674cf09
      Dries authored
      - Small updates
      8674cf09
  17. 30 Jun, 2001 1 commit
    • Dries's avatar
      · 87575929
      Dries authored
      - Introduced caching support.
      87575929
  18. 29 Jun, 2001 1 commit
    • Dries's avatar
      · 9c43e8fc
      Dries authored
      Extremely large commit:
      
      - 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
  19. 23 Jun, 2001 1 commit
    • Dries's avatar
      · 3754a54e
      Dries authored
      - Small but significant improvements to block and box.module which
        makes the ever-confusing "rehash modules" (see module.module) no
        longer needed, hence making module.module redundant.  :-)
      
      - Removed module.module.
      
      - Renamed conf.module to system.module, and added some information
        about the available modules to system.module.
      
      - Various small changes.
      3754a54e
  20. 20 Jun, 2001 1 commit
    • Dries's avatar
      · 72065fb8
      Dries authored
      - Added a brand-new access.module which allows you to manage 'roles'
        (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
  21. 17 Jun, 2001 2 commits
    • Dries's avatar
      · 3d73a48e
      Dries authored
      - Merged "system settings" and "module settings" into one page.  IMHO
        it wasn't a good idea to split them up in first place, and it turned
        out to be quite hard to decide where to put some variables.
      
        Also moved some variables around and even renamed a few variables
        while doing so.
      
      - Added a page_header() and page_footer() to all top-level .php pages.
      3d73a48e
    • 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
  22. 15 Jun, 2001 1 commit
    • natrak's avatar
      Changes · 21386979
      natrak authored
      - Added a conf option to disable/enable user registrations.
      - Added a add account feature to account.module.
      - Moved some functions from account.php to account.module.
      
      Todo
      - Move most (all?) of account.php to account.module.
      21386979
  23. 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
  24. 22 May, 2001 2 commits
  25. 20 May, 2001 1 commit
    • Dries's avatar
      CHANGES · 20397ad3
      Dries authored
      - 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.
      20397ad3
  26. 19 May, 2001 1 commit
    • Dries's avatar
      · 34af2a3a
      Dries authored
      CHANGES:
      
      - 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.
      34af2a3a
  27. 15 May, 2001 1 commit
    • Dries's avatar
      · 14ddbc47
      Dries authored
      - Created 2 new functions:
          + path_uri(): returns the fully-qualified URI of your drupal site.
          + path_img(): returns the image directory or http://image-server.com/
                        in case you prefer to load-balance bandwidth usage.
      
        Replaced all occurences of the variable "site_url" with path_uri()
        and removed "site_url" from "setting.module".
      
      - Drastically simplified the node_save() API, which should make the
        node-forms more secure.  Updated "story.module", "book.module",
        "forum.module", "page.module" and "node.module" to reflect this
        change.  This is needs more testing so hit it, beat it, tease it.
      
      - Fixed an occasional glitch in the configuration file loading logic.
      
      - Made "queue.module" display an informative notice when an anonymous
        user tries accessing the moderation queue.
      
      - Updated the hard-coded information in drupal.module a bit.
      14ddbc47
  28. 07 May, 2001 1 commit
    • Dries's avatar
      · 27c0f490
      Dries authored
      - Fixed problem in setting.module: some settings showed up twice.
        (reported by Remco)
      27c0f490
  29. 05 May, 2001 1 commit
    • Dries's avatar
      · be8e898d
      Dries authored
      - Uhm.  Rewrote the module system: less code clutter, less run-time
        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!".
      be8e898d
  30. 30 Apr, 2001 1 commit
    • Dries's avatar
      · fead09a8
      Dries authored
      Welp.  Large commit ahead.
      
      CHANGES:
      
      - Added "read" and "write" permissions into drupal but removed
        it again because - when finished after 3 hours of work - it
        was considered nothing but added complexity that didn't buy
        us anything. :I
      
        (I'll explain this in detail on the mailing list, I guess.)
      
      - Added a very simple help.module to group all available
        documentation on a single page.
      
      - Fixed bug in node_control(), book.module: UnConeD forgot to
        global $user when updating the combobox code.
      
      - Removed static wishlist.module: in future, the wishlist can
        be maintained as a page in our collaborative book.
      
      - Revised most of settings.module: tidied up the code and the
        descriptions to accompany the settings and introduced a new
        "default maximum number of nodes to display on the main page"
        variable.
      
      - Revised most of comment.module: the administration interface
        looks better now, integrated node permissions, and -finally-
        made it possible to delete comments.
      
      - Polished on:
         + account.module
         + structure.module
         + locale.module
         + module.module
         + forum.module
      
      - Form-ified:
         + account.php
         + account.module
         + setting.module
         + cvs.module
         + submit.php
         + comment.module
         + forum.module
         + book.module
         + page.module
         + locale.module
      
      - Updated CHANGELOG
      
      INFO:
      
      - Designed a "generic tracker system with optional backends"
        on paper.  The idea is to allow registered users to hot-list
        certain topics, individual nodes or threads (comments) and
        to "plug-in" output backends like - for instance - an e-mail
        digest.  The design requires "intelligent blocks" though.
      
      
      TODO:
      
      - I want to tidy up the headline.module and backend.class as
        well as merge in headlineRSS10.module.  Julian spent quite
        some time working on headline.module but I'm not sure what
        he changed and whether he'd contribute it back?
      fead09a8
  31. 15 Apr, 2001 2 commits
    • Dries's avatar
      · 1f056580
      Dries authored
      - improved submit.php:
        it now uses the new category code, incl content bindings.
        You can setup different "categories" which map on a content
        type.  Example:
          review   -> review.module
          article  -> story.module
          column   -> story.module
          announc. -> story.module
          addons   -> file.module
          themes   -> file.module
      - "generalised" story.module and book.module's output.
      - fixed bug in includes/timer.inc
      - fixed glitch in theme example.theme: it said "$how by" but
        the variable $how has never been declared.
      - added "drupal development settings" to display some timings
      - more work on the categories/topics -> does NOT work yet
      1f056580
    • Dries's avatar
      · f1716fbd
      Dries authored
      - improved settings.module and fixed a few quircks along the way:
         + added "reset to defaults"
         + added "development settings" - for drupal development only
         + made a few things more consistent
      f1716fbd
  32. 14 Apr, 2001 1 commit
    • Dries's avatar
      · d32216f8
      Dries authored
      - added new variable: theme_footer which can be used to provide a
        footer message like a copyright notice. Themes should use this!
      - small improvement to example theme
      - added theme_footer to theme marvin
      - small improvement to database.inc
      d32216f8
  33. 11 Apr, 2001 1 commit
    • Dries's avatar
      · 4711869f
      Dries authored
      - fixed a small SQL bug in page.module
      - slightly improved story.module, node.module and book.module
      - made the "default theme" a setting from the setting page
      - polished a bit on the export function: we can now export the
        book or parts thereof through the following url:
      
          1.  http://drop.org/export/book/
                (full book)
          2.  http://drop.org/export/book/nid
                (where nid is the node id to start with)
      
        The export routine demonstrates how it can be done yet the
        output is too basic and can only improve over time.
      4711869f
  34. 07 Apr, 2001 1 commit
    • Dries's avatar
      · 38806b4a
      Dries authored
      - fixed bug in common.inc: throttle()
      - streamlined method invocation in node.inc
      - added node_status() function to modules
      - added NEW (mostly static) page module
      - added NEW settings module
      38806b4a