Skip to content
  1. Oct 16, 2001
    • Dries Buytaert's avatar
      · 33a3502d
      Dries Buytaert 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
  2. Oct 12, 2001
    • Dries Buytaert's avatar
      · b8c2f7f0
      Dries Buytaert authored
      - replaced a header("Location: xxx") by a drupal_goto()
      b8c2f7f0
  3. Oct 09, 2001
    • Dries Buytaert's avatar
      · f1932821
      Dries Buytaert authored
      - PEAR-ification of Drupal by claw: you can now host Drupal on a wide
        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.
      f1932821
  4. Sep 30, 2001
    • Dries Buytaert's avatar
      · a6379d2e
      Dries Buytaert authored
      - replaced all 'header("Location: foo")'s by a call to 'drupal_goto()'
        which will append the session ID to the uri 'foo' when PHP is compiled
        with '--enable-transe-sid'.
      a6379d2e
  5. Sep 16, 2001
    • Dries Buytaert's avatar
      · 2d1e9126
      Dries Buytaert authored
      - Added the new user module!
      2d1e9126
  6. Aug 11, 2001
    • Dries Buytaert's avatar
      · 808b6b6c
      Dries Buytaert authored
      - Changed the authentication and login scheme as discussed on the mailing
        list.
      - Fixed the export function in book.module (patch my Julian).
      - Fixed the comment alignment (comments got truncated).
      808b6b6c
  7. Jul 25, 2001
    • Kjartan Mannes's avatar
      common.inc · 49155053
      Kjartan Mannes authored
      - format_username() now takes a second optional parameter which gives the
        real name of the user.
      
      Rest
      - updated the calls to format_username() where appropriate to show the name
        of the user instead of the account id. Clicking on a name will still give you
        the account info etc. If you find a place where the real name is not shown
        let me know.
      49155053
  8. Jun 30, 2001
    • Dries Buytaert's avatar
      · 7c1b20fe
      Dries Buytaert authored
      - Forgot to update one user permission.
      7c1b20fe
  9. Jun 29, 2001
    • Dries Buytaert's avatar
      · 9c43e8fc
      Dries Buytaert 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
  10. Jun 20, 2001
    • Dries Buytaert's avatar
      · 72065fb8
      Dries Buytaert 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
  11. Jun 13, 2001
    • Dries Buytaert's avatar
      · db92d73b
      Dries Buytaert authored
      - Improved watchdog and submission throttle: removed redundant code,
        streamlined the existing code, added new watchdog type called "httpd"
        for Apache errors.  The latter should make it easier to add watchdog
        filters later on.
      
      - Clarified some watchdog messages.
      db92d73b
  12. Jun 11, 2001
    • Dries Buytaert's avatar
      - Changed field_set(), field_get() and field_merge() to use ',' and · c56ee67e
      Dries Buytaert authored
        '=' instead of ';' and ':'.  It is considered to be more readable.
        --> A _first_ step towards and improved index.module.  Stay tuned
            for more.
      
        + Important:
           If you update from CVS - apply the queries in 2.00-to-x.xx.sql!
      
      - Changed all 'attribute' to 'attributes'.
      
        + Important:
           If you update from CVS - apply the queries in 2.00-to-x.xx.sql!
      
        + Important:
           This might require to ieni-wieni small update to your custom
           themes and/or node-related modules:
            - themes: node_index($node->attribute) -> node_index($node)
            - node modules: attribute -> attributes
      c56ee67e
  13. Jun 03, 2001
    • Dries Buytaert's avatar
      · 735fe412
      Dries Buytaert authored
      - Fixed timestamp problem in queue.module.
      735fe412
  14. Jun 02, 2001
    • Dries Buytaert's avatar
      · b0c349e2
      Dries Buytaert 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
  15. May 31, 2001
    • Dries Buytaert's avatar
      · 8111cd20
      Dries Buytaert authored
      - Fixed bug in moderation queue.
      8111cd20
  16. May 24, 2001
    • Dries Buytaert's avatar
      · bfc897d5
      Dries Buytaert authored
      - Improved the rating module: made it possible to define "weights"
        for the different content types.  These weights are used when
        calculating each user's gravity.  This is a required step before
        we can even think of "nodifying" the diary or headline module.
      
      - Polished a bit more on the other modules' crons.
      bfc897d5
    • Dries Buytaert's avatar
      · c9c14ca5
      Dries Buytaert authored
      - Fixed a small glitch in the moderation queue.
      c9c14ca5
    • Dries Buytaert's avatar
      · 7b56d82a
      Dries Buytaert authored
      - Improved the crons and cron settings a bit.
      
      - Added a cron to queue.module to automatically discard or dump nodes
        older than x days.
      7b56d82a
  17. May 20, 2001
  18. May 17, 2001
    • Dries Buytaert's avatar
      · 031e4d42
      Dries Buytaert authored
      - Tidied up the field_get() API and improved the implementation of
        both field_set() and field_get().
      031e4d42
    • Dries Buytaert's avatar
      · 6c387962
      Dries Buytaert authored
      - Fixed bug in account.module.
      
      - Simplified field_set() API.
      
      - Made UnConeD's cool common timestamp format conform with the
        general coding style.  Sorry to be so picky about this but I
        really can't help it. ;)
      6c387962
  19. May 16, 2001
    • Dries Buytaert's avatar
      · 6f02738c
      Dries Buytaert authored
      - Removed the "history"-field from the SQL table "users" and added
        this information to the "users"-field in both nodes and comments.
        This database/table change reduces the number of SQL queries and
        makes Drupal scale better where a lot of voting/moderation takes
        place.  Last but not least it can be considered a new and better
        foundation for future moderation metrics / algorithms.  In other
        words: it is plain better.
      
          --> oops, all voting/moderation results will be lost!
          --> requires database update, see "2.00-to-x.xx.sql"!
      
      - Updated database/database.mysql
      6f02738c
  20. May 15, 2001
    • Dries Buytaert's avatar
      · 1022eb61
      Dries Buytaert authored
      - Drastically simplified the node_save() API, which should make the
        node-forms more secure.  Updated "node.module" and "queue.module"
        to work with the new API.
      
        The upgrade script, 2.00-to-x.xx.php, is still broken and needs
        fixing.
      1022eb61
    • Dries Buytaert's avatar
      · 14ddbc47
      Dries Buytaert 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
  21. May 13, 2001
    • Dries Buytaert's avatar
      · 1559e6c2
      Dries Buytaert authored
      - Fixed a warning in queue.module.
      1559e6c2
  22. May 06, 2001
    • Dries Buytaert's avatar
      · 25c379fb
      Dries Buytaert authored
      - Added custom PHP error handler to track down warnings and errors.
        (Jeroen: let's sit back and wait until that warning bites again.)
      
      - Simplified drupal.module.  We still need a feature list, anyone?
      25c379fb
  23. May 05, 2001
    • Dries Buytaert's avatar
      · be8e898d
      Dries Buytaert 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
  24. May 02, 2001
    • Dries Buytaert's avatar
      · 343e71c8
      Dries Buytaert authored
      CHANGES:
      
      - Added moderator permissions to nodes.
      
      - Added moderator support to structure.module.
      
      - Added new moderate.module.
      
      - Renamed moderation.module to queue.module to avoid confusing.
        Updated theme yaroon as it seems to have a hard-coded reference
        to moderation.module.
      
      - Polished on:
         + account.module: improved access list
         + fixed HTML typo in node.module
      
      ACTIONS:
      
      - Jeroen: can jeroen2.theme be removed from ./themes/yaroon?
      343e71c8
  25. Apr 16, 2001
    • Dries Buytaert's avatar
      · b1c66cb5
      Dries Buytaert authored
      Another big update so please read this carefully because there is important information hidden in it.
      
      Made it so that we can disable/enable comments on a category by category basis. In order to accomplish this I had to make a few (*temporary*) changes.
      
      I moved all comment code from the "module level" (eg. story.module) to the "node level".  It was nothing but the logical next step in nodifying drupal.  This enables us to add comments to all existing content types including book entries.  But also for book entries, this to can be toggled on and off. :-)
      
      Moreover module writers don't have to worry about the complex comment logic: it is "abstracted" away.  This implies that story.module got smaller, faster and easier to comprehend. :-)
      
      In order to accomplish this, I had to update ALL THEMES, which I did - and on my way I updated Goofy, Oranzh and UnConeD - with the previous changes.  All themes are up-to-date now!  I also had to remove the [ reply to this story ] links, and temporally re-introcuded the "Add comment" button in the "Comment control".  Tempora lly that is, UnConeD. ;)
      
      I plan to upgrade drop.org either tommorow or wednesday so test away if you have some time to kill. ;)
      
      Oh, I also fixed a few bugs and made various small improvements.
      b1c66cb5
    • Dries Buytaert's avatar
      · b9952f53
      Dries Buytaert authored
      Large commit, read it carefully, and make the required changes to
      your theme:
      
      - corrected some missing translations in story.module.  Oops!
      - grealty simplified the "moderation threshold mechanism"(tm) so
        that module writers don't have to worry about this.  As a result
        story.module and book.module became a bit smaller and easier to
        grasp.
      - greatly simplified new "category" and "topic" code which is soon
        going to replace the "section" code.  Needs more work though so
        hang on thight.
      - includes/section.inc and modules/section.module are replaced by
        includes/structure.module and modules/structure.module.
      - beautified example.theme a bit without adding HTML complexity:
        it is a good example but still useful as a theme
      - made theme example use "categories" and "topics"
          --> TAKE A LOOK AT IT AND UPDATE YOUR THEME
      - made theme marvin use "categories" and "topics"
          --> TAKE A LOOK AT IT AND UPDATE YOUR THEME
      - added 2 new "story listings" to administrator interface of
        story.module to verify story integrity.
      - optimized comment table a bit (work in progress)
      b9952f53
  26. Apr 06, 2001
    • Dries Buytaert's avatar
      · 8213f5b2
      Dries Buytaert authored
      A lot of small changes (search-n-replace) make a big commit:
      
        - fixed update bug in book.module
        - provide a log message when both adding and updating book pages
        - all configurable variables are now accessed through "variable_get()":
        - rewrote watchdog and submission throttle and removed watchdog.inc
        - improved robustness of sections.inc
        - imporved story.module
        - updated ./database/database.sql
      8213f5b2
  27. Apr 05, 2001
    • Dries Buytaert's avatar
      · 048664f2
      Dries Buytaert authored
      - a bunch of various updates
      048664f2
  28. Apr 04, 2001
    • Dries Buytaert's avatar
      · 8d249c5f
      Dries Buytaert authored
      Last night's updates:
      
       - improved "track drop.org": it has now 2 boxes, one for "track
         comments" and one for "track nodes"
       - various small improvements to the book module based on the
         feedback we got.
       - fixed typo in moderation module
       - ...
      8d249c5f
  29. Apr 02, 2001
    • Dries Buytaert's avatar
      · 805107cd
      Dries Buytaert authored
      Commiting my work of last Sunday:
      
       - removed ban.inc and ban.module and integrated it in account.module
         under the name "access control" --> the ban code was not really up
         to standard so this has now been dealt with.  This refactoring and
         reintegration cuts down the code size with 100 lines too.  :-)
         (The ban.module code was really old and it showed.)
      
       - added node.module and made the other modules reuse some of this
         code --> cut down the code size of modules by at least 100 lines
         and adds stability.
      
       - added a status() function to admin.php to display a conform status
         message where appropriate.  See admin.php for usage.
      
       - removed $theme->control() and made comments.inc handle this itself
         wrapped in a $theme->box().  No need to clutter the themes with
         such complexity --> updated all themes already. :-)
      
       - some small visual changes to some administration pages to be more
         consistent across different modules.
      805107cd
  30. Mar 31, 2001
    • Dries Buytaert's avatar
      · 63d334ad
      Dries Buytaert authored
      - tidied up the watchdog messages
      63d334ad
    • Dries Buytaert's avatar
      · d1a07a2e
      Dries Buytaert authored
      - fixed "you-have-to-logout-and-login-before-permissions-change" bug
        (reported by UnConeD)
      - added "add node" link to book selection box and made it display the
        current location
      - removed tabs and whitespaces from themes - done automatically
      d1a07a2e
  31. Mar 29, 2001
    • Dries Buytaert's avatar
      · 04ad9b8a
      Dries Buytaert authored
      - fixed issue depricated call-by-reference issues
      - fixed small visual glitch in includes/function.inc
      - changed SQL tables around a bit to be more consistent
        (result: small changes to a lot of different files)
      - improved robustness of includes/node.inc
      - improved output of cron.module
      - improved output of node.php
      04ad9b8a
  32. Mar 25, 2001
    • Dries Buytaert's avatar
      · 5fb307f5
      Dries Buytaert authored
      - refactoring, refactoring, refactoring
      5fb307f5
    • Dries Buytaert's avatar
      · 1f798630
      Dries Buytaert authored
      - large commit of everything else that has been queued in my backlog:
        it's not 100% stable yet
      1f798630
  33. Mar 24, 2001
    • Dries Buytaert's avatar
      · 5586d58c
      Dries Buytaert authored
      - the "submission.module" is going to be replaced by a "moderation.module"
      5586d58c