1. 24 May, 2001 3 commits
    • 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
    • Steven Wittens's avatar
      Hmmm for some reason the \r\n's in the poll output where being changed into... · bf3772ba
      Steven Wittens authored
      Hmmm for some reason the \r\n's in the poll output where being changed into <br>'s... is that because of the check_output() legacy functions inside the themes? In anycase, I removed em.
      bf3772ba
    • Dries's avatar
      · 540fdfc0
      Dries authored
      - Replaced $theme->story() by a more generic $theme->node().  All themes
        required an update (and so will your custom themes).
      540fdfc0
  2. 23 May, 2001 1 commit
  3. 22 May, 2001 6 commits
  4. 20 May, 2001 6 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
      · 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
    • Dries's avatar
      · 6c3e94e3
      Dries authored
      - Fixed small glitch in locale.module.
      6c3e94e3
    • Steven Wittens's avatar
      - Changed the node_get_object() and node_get_array() functions to allow multiple conditions · 27496c46
      Steven Wittens authored
      - Added the "delete" hook for node-modules. When called, a module should do additional clean-up if necessary.
      
      - Updated all node-modules
      27496c46
    • 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
    • Steven Wittens's avatar
      - Fixed the errors when adding a new poll. · 3fbd49d7
      Steven Wittens authored
      - Cleaned up the coding style
      3fbd49d7
  5. 19 May, 2001 2 commits
    • Steven Wittens's avatar
      Added poll.module, a poll module :) · c0ecd46a
      Steven Wittens authored
      It's mainly intended as a sideblock-element as there's no real use in having them show up on the mainpage. There's no real poll-browsing system for now either.
      
      I still need to write documentation, and I'm not yet satisfied with the node-output (non-sideblock). I should be able to improve it once the $theme->nodebox ideas get finalized.
      c0ecd46a
    • 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
  6. 18 May, 2001 1 commit
    • Dries's avatar
      · 36cbbe10
      Dries authored
      - Fixed bug in book.module: parent-field was not saved.
        (reported by Remco)
      36cbbe10
  7. 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
  8. 16 May, 2001 3 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
      · 0b13183e
      Dries authored
      - Fixed warning in headline_admin_add().
        (reported by Remco)
      0b13183e
    • Dries's avatar
      · ced0838a
      Dries authored
      - Fixed bug in path_uri()
      ced0838a
  9. 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
  10. 14 May, 2001 6 commits
    • Steven Wittens's avatar
      Typo · 9164b903
      Steven Wittens authored
      9164b903
    • 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
    • Steven Wittens's avatar
      Updated headline.module: · 8ec10183
      Steven Wittens authored
       - Added edit capabilities (allows you to view the backend-file url as well, wasn't possible before)
       - Docs: replaced "http://yourname.com/export/headlines.rdf" with the correct URL (using the site_url setting).
      8ec10183
    • Kjartan's avatar
      aeb24cf9
    • Kjartan's avatar
      eb8ab6e9
    • Dries's avatar
      · 95195155
      Dries authored
      - Removed the <PRE></PRE>-tags from cvs.module to make the CVS log
        messages wrap nicely on all browsers.  (requested by Steven)
      95195155
  11. 13 May, 2001 4 commits
  12. 12 May, 2001 1 commit
    • Dries's avatar
      · 86bb9a10
      Dries authored
      - Made the main page display sub-topics when a specific topic
        is selected.
      
      - Made theme_link() less "hard coded", we still have to make
        it fully configurable though.
      
      - Fixed glitch in story submission: the warning messages were
        not displayed.
      
      - Tidied up block.module a bit.
      86bb9a10
  13. 10 May, 2001 1 commit
    • Dries's avatar
      · c1c39439
      Dries authored
      CHANGES:
      
      - "Formified" node.module and structure.module.
      
      - Added moderator capabilities to topics in structure.module; you can
        define the default moderators.
      c1c39439
  14. 09 May, 2001 2 commits