1. 25 May, 2001 1 commit
    • Dries's avatar
      · 0b32787a
      Dries authored
      - Added a experimental index.module to try out some of the discussed
        techniques.  It does not work yet, nor is it integrated with the
        rest of the code.
      0b32787a
  2. 24 May, 2001 1 commit
    • Dries's avatar
      · b0288a46
      Dries authored
      - Fixed small glitch in check_preview().
      
      - Updated CHANGELOG.
      b0288a46
  3. 20 May, 2001 2 commits
    • Dries's avatar
      · 532233a9
      Dries authored
      - Removed includes/timer.inc: it has been integrated in common.inc.
      
      - Fixed a bug in node.php: UnConeD forgot to update 1 node_get_object().
      
      - I changed the look of theme_morelink() a bit: it might not look better,
        but at least the output is "correct".
      
      - Various small improvements.
      532233a9
    • 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
  4. 18 May, 2001 1 commit
  5. 17 May, 2001 5 commits
  6. 16 May, 2001 2 commits
    • 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
    • Dries's avatar
      · ced0838a
      Dries authored
      - Fixed bug in path_uri()
      ced0838a
  7. 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
  8. 14 May, 2001 1 commit
    • Dries's avatar
      · e22f1042
      Dries authored
      - Renamed "hostname.conf" to "setting.php" (cfr. "setting.module").
        Note that - when upgrading - you have to rename all your existing
        configuration files to reflect this change:
      
           yourdomain.com.conf -> yourdomain.com.php
      
        By default, i.e. if no configuration file is found, setting.php
        will be used instead.  Using the ".php"-extension will fix most
        configuration/security issues with .htaccess-files ...
      
      - Removed some dead code from forum.module.
      e22f1042
  9. 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
  10. 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
  11. 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
  12. 29 Apr, 2001 1 commit
    • Dries's avatar
      · ef7d5e12
      Dries authored
      CHANGES:
      
      - Added new form_* functions to common.inc, used for building
        forms: it should improve 'stability' (no form typos, every-
        thing properly escaped/unescaped) and should help providing
        a very consistent user interface (wrt forms).
      
      - Adjusted node.module to use the new form functions.
        (Can be used as an example.)
      
      - Adjusted book.module to use the new form functions.
        (Can be used as an example.)
      
      - Merged function.inc into common.inc!
      
      - Slowly removing all global $status and $rstatus variables:
        use node_status() instead.
      
      TODO:
      
      - Apart from implementing the permission system, I'll spend
        some time updating most modules today and tomorrow to use
        the new form functions.
      ef7d5e12
  13. 27 Apr, 2001 1 commit
    • Kjartan's avatar
      CHANGES · 95f92686
      Kjartan authored
      - Modified conf_init() to use default.conf if nothing else can be found.
      - Added some comments to hostname.conf to reflect the changes and
        provide more information on how to rename the file.
      
      TODO
      - The Drupal handbook should be updated once the CVS version is released.
      - Should try to remove the remainder of info from hostname.conf and go for a
        completely web-based administration if possible.
      - Does having all the settings in a SQL database make Drupal add more
        overhead than including a .conf file? If nobody knows for sure some tests
        should be done. If yes, concider having the admin interface generate an
        include file in addition to saving to the database.
      95f92686
  14. 16 Apr, 2001 1 commit
    • Dries's avatar
      · 53c67ac0
      Dries authored
      - a few changes which might help overcome Jeroen's redeclartion problem
        (or might not)
      53c67ac0
  15. 15 Apr, 2001 1 commit
    • 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
  16. 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
  17. 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
  18. 05 Apr, 2001 1 commit
    • Dries's avatar
      · 048664f2
      Dries authored
      - a bunch of various updates
      048664f2
  19. 24 Mar, 2001 1 commit
    • Dries's avatar
      · 68f2112b
      Dries authored
      - nodified index.php:
          the index page will only display stories for now but this will/can
          change in the near future
      - all other files now thinks in terms of nodes, rather then stories
      68f2112b
  20. 18 Mar, 2001 1 commit
    • Dries's avatar
      · 8113d31f
      Dries authored
      - update
      8113d31f
  21. 10 Mar, 2001 2 commits
    • Dries's avatar
      · 8af18919
      Dries authored
      - fixed "AdNewz.com" vs "ADNEWS.COM" glitch reported by Peter Beckman
      8af18919
    • Dries's avatar
      · accd5f0c
      Dries authored
      - applied David Norman's patch to turn all <?'s into fully qualified
        <?php's.
      accd5f0c
  22. 18 Feb, 2001 1 commit
    • Dries's avatar
      · 4371b627
      Dries authored
      - added fine-grained user permission system which allows us to give
        certain users access to specific administration sections only.
          Ex. a FAQ maintainer can only edit the FAQ, and members of an
              "editorial board" can only edit comments, diaries and
               stories, ..
      - code review => rewrote include/user.inc which is much easier now
      - fixed 4 small bugs
      4371b627
  23. 17 Feb, 2001 1 commit
    • Dries's avatar
      · 52a1d1bb
      Dries authored
      - More updates on the translation support
      52a1d1bb
  24. 10 Feb, 2001 1 commit
    • Dries's avatar
      · d6ce51e4
      Dries authored
      - added a "search framework" which allows for easy searching
        (to be continued)
      - tidyied up some existing code
      d6ce51e4
  25. 04 Feb, 2001 1 commit
  26. 26 Jan, 2001 1 commit
    • Dries's avatar
      · abe57bbb
      Dries authored
      - added port + directory patch for loading configuration files
      abe57bbb
  27. 22 Jan, 2001 1 commit
    • Dries's avatar
      · 2c32276d
      Dries authored
      - added initial locale support as discussed on the mailing list
      2c32276d
  28. 21 Jan, 2001 1 commit
    • Dries's avatar
      · ea978885
      Dries authored
      I know, I know, it is getting nasty lately but I have another large commit after nothing but code.
      
      This time I redid the "category"-stuff.  Categories - from now on called sections - are now maintained from the admin pages, can have their own post, dump and timout thresholds as discussed earlier (some weeks ago).  By tomorrow evening users will be able to enable or disable section as well - i.e. to customize the content of drop.org.
      ea978885
  29. 30 Dec, 2000 1 commit
    • Dries's avatar
      · 44c48004
      Dries authored
      - here a bunch of changes to make "drupal" (for now) work with PHP 4.0.4
      - tidied up some of the code and mainly working on the documentation
      44c48004
  30. 29 Dec, 2000 1 commit
    • Dries's avatar
      · fd641644
      Dries authored
      Surprise, surprise.  After nothing but code, a large batch of changes:
       - removed droplets
       - added (optional) admin_blocks module
       - added (optional) affiliate module
       - added (optional) about module (only placeholder, under construction)
       - fixed some tiny bugs (e.g. quote bug in search.php)
       - partionally rewrote some modules to be big, bad and better
       - partionally rewrote some modules to be more uniform
       - added GNU GPL license to CVS
      
      Also:
       - installed PHP 4.0.4 on my localhost and now working
         towards PHP 4.0.4 compatibility.
       - I think I'll baptize the engine "drupal".  If you have a
         better idea, try convincing me ASAP.
      
      Todo:
       - more testing (also with PHP 4.0.4)
       - make "project"-module: download, info, blah blah
       - complete documentation
      fd641644
  31. 23 Dec, 2000 2 commits
    • Dries's avatar
      · 524773f6
      Dries authored
      Yet another large batch of updates:
      
       - I rearranged some of the code and clean-up some of the mess.
      
       - Added "blocks" which can be user defined/controlled: check
         to see.  The positioning of blocks is rather basic for the
         moment, so I'm all open for input on that.
      524773f6
    • Dries's avatar
      · 0cadc4e6
      Dries authored
      - intermediate commit: some bugfixes, changes and some drastic
        changes to block and module support
      0cadc4e6
  32. 14 Dec, 2000 1 commit
    • Dries's avatar
      · 8a778619
      Dries authored
      - large batch of updates
      8a778619