1. 20 Oct, 2001 1 commit
  2. 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
  3. 12 Oct, 2001 1 commit
    • Dries's avatar
      · b8c2f7f0
      Dries authored
      - replaced a header("Location: xxx") by a drupal_goto()
      b8c2f7f0
  4. 09 Oct, 2001 1 commit
    • Dries's avatar
      · f1932821
      Dries 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
  5. 30 Sep, 2001 1 commit
    • Dries's avatar
      · a6379d2e
      Dries 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
  6. 16 Sep, 2001 1 commit
    • Dries's avatar
      · 2d1e9126
      Dries authored
      - Added the new user module!
      2d1e9126
  7. 11 Aug, 2001 1 commit
    • Dries's avatar
      · 808b6b6c
      Dries 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
  8. 25 Jul, 2001 1 commit
    • Kjartan's avatar
      common.inc · 49155053
      Kjartan 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
  9. 30 Jun, 2001 1 commit
    • Dries's avatar
      · 7c1b20fe
      Dries authored
      - Forgot to update one user permission.
      7c1b20fe
  10. 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
  11. 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
  12. 13 Jun, 2001 1 commit
    • Dries's avatar
      · db92d73b
      Dries 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
  13. 11 Jun, 2001 1 commit
    • Dries's avatar
      - Changed field_set(), field_get() and field_merge() to use ',' and · c56ee67e
      Dries 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
  14. 03 Jun, 2001 1 commit
    • Dries's avatar
      · 735fe412
      Dries authored
      - Fixed timestamp problem in queue.module.
      735fe412
  15. 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
  16. 31 May, 2001 1 commit
    • Dries's avatar
      · 8111cd20
      Dries authored
      - Fixed bug in moderation queue.
      8111cd20
  17. 24 May, 2001 3 commits
    • Dries's avatar
      · bfc897d5
      Dries 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's avatar
      · c9c14ca5
      Dries authored
      - Fixed a small glitch in the moderation queue.
      c9c14ca5
    • Dries's avatar
      · 7b56d82a
      Dries 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
  18. 20 May, 2001 1 commit
  19. 17 May, 2001 2 commits
    • Dries's avatar
      · 031e4d42
      Dries authored
      - Tidied up the field_get() API and improved the implementation of
        both field_set() and field_get().
      031e4d42
    • Dries's avatar
      · 6c387962
      Dries 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
  20. 16 May, 2001 1 commit
    • Dries's avatar
      · 6f02738c
      Dries 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
  21. 15 May, 2001 2 commits
    • Dries's avatar
      · 1022eb61
      Dries 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'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
  22. 13 May, 2001 1 commit
    • Dries's avatar
      · 1559e6c2
      Dries authored
      - Fixed a warning in queue.module.
      1559e6c2
  23. 06 May, 2001 1 commit
    • Dries's avatar
      · 25c379fb
      Dries 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
  24. 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
  25. 02 May, 2001 1 commit
    • Dries's avatar
      · 343e71c8
      Dries 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
  26. 16 Apr, 2001 2 commits
    • Dries's avatar
      · b1c66cb5
      Dries 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's avatar
      · b9952f53
      Dries 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
  27. 06 Apr, 2001 1 commit
    • Dries's avatar
      · 8213f5b2
      Dries 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
  28. 05 Apr, 2001 1 commit
    • Dries's avatar
      · 048664f2
      Dries authored
      - a bunch of various updates
      048664f2
  29. 04 Apr, 2001 1 commit
    • Dries's avatar
      · 8d249c5f
      Dries 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
  30. 02 Apr, 2001 1 commit
    • Dries's avatar
      · 805107cd
      Dries 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
  31. 31 Mar, 2001 2 commits
    • Dries's avatar
      · 63d334ad
      Dries authored
      - tidied up the watchdog messages
      63d334ad
    • Dries's avatar
      · d1a07a2e
      Dries 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
  32. 29 Mar, 2001 1 commit
    • Dries's avatar
      · 04ad9b8a
      Dries 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
  33. 25 Mar, 2001 2 commits
    • Dries's avatar
      · 5fb307f5
      Dries authored
      - refactoring, refactoring, refactoring
      5fb307f5
    • Dries's avatar
      · 1f798630
      Dries authored
      - large commit of everything else that has been queued in my backlog:
        it's not 100% stable yet
      1f798630