1. 10 Jun, 2001 1 commit
    • Dries's avatar
      · d397bbe9
      Dries authored
      This a rather large commit that needs a lot of fine-tuning.  If you
      update, you'll break your site as you need switching from structure
      to index.module: so this can be considered an intermediate commit.
      
      If you upgrade, and you are welcome to, just create a collection
      called "section" (for now) and assign your nodes some attributes
      in the described format.
      
      Feedback and bugreports are welcomed.  Questions will be answered.
      
      CHANGES:
      
      - comment system:
         + when replying to a node (rather then to a comment), that
           node is displayed above the reply form.
         + when replying to a comment (rather then to a node), that
           comment is displayd above the reply form.
      
      - removed structure.inc, removed structure.module.
      
      - node.inc:
         + added 2 new node functions called 'node_attribute_edit()' and
           'node_attribute_save()' used to 'hook in' any indexing system
          including your home-brewed stuff if you'd want to.  Currently,
          index.module is the facto default index system.
      
          See story.module for usage.
      
      - book.module, story.module, poll.module, page.module, forum.module:
         + added preview functionality to administration section (via node
           module).
         + removed all references to structure.inc (category, topic).
      
      - moderate.module:
         + removed all references to structure.inc (category, topic).
      
      - book.module, story.module, page.module, forum.module:
         + increased the sizes of some textareas.
      
      - submit.php:
         + removed all references to structure.inc (category, topic).
      
      - marvin.theme:
         + removed dead code: function story() was depricated.
      
      - unconed.theme:
         + removed hardcoded references to drop.org.
      
      - marvin.theme, unconed.theme, jeroen.theme, yaroon.theme, example.theme:
         + removed all references to structure.inc (category, topic).
      
      TODO:
      
      - file.module, trip_link.module:
         + update preview functionality:
             see story.module for example.
         + remove references to 'cid' and 'tid', use 'attribute' instead:
             see story.module for example.
      
      - extend and build upon index.module as well as making it configurable
      d397bbe9
  2. 04 Jun, 2001 1 commit
    • Dries's avatar
      CHANGES: · c75057bb
      Dries authored
      - Added improved node scheduler:
      
         + Automatically post node at date 'xx/xx/xx, xx:xx'.
      
         + Automatically queue node at date 'xx/xx/xx, xx:xx'.
      
         + Automatically dump node at date 'xx/xx/xx, xx:xx'.
      
        Requires a database update, see ./updates/2.00-to-x.xx.sql!
      
      - Refactored the admin interface of node.module.  It is only a start
        but it should show the direction we are going.
      
         + The new interface is easier to extend with new functionality
           and operations.  New "edit xxx" links can easily be added on
           our way.
      
         + The new interface tries to cover all content- or node-related
           functions.  Thus making a special admin interface for each new
           node type redundant.  To demonstrate this, I removed the admin
           hook from page.module and forum.module.  This removes quite a
           bit of logic from the invidual modules which is a good sign if
           you ask me.
      
           A centralized GUI or interface covering all node-related
           administration should make Drupal easier to administer.
      
      TODO:
      
      - All node-related nodes need updating.  This should be trivial and
        I'll hapilly tackle this later tonight.
      
      - There will be bugs, and I'm still working on this but I would like
        to get some feedback (from Natrak et all) on both user-friendliness
        and usability of this new interface.  I'm still working on it as we
        speak ...
      c75057bb
  3. 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
  4. 31 May, 2001 1 commit
    • Dries's avatar
      · 83ac3c58
      Dries authored
      - Added the poll-related SQL tables.
      83ac3c58
  5. 26 May, 2001 1 commit
    • Dries's avatar
      - Rewrote the headline module from scratch. Note that the old · 5158eb8a
      Dries authored
        headline code is still in place 'till the new code has proven
        to be stable. See "syndication.module" for the new code.
      
        Changes:
      
         + Improved the parser and tested it against RSS 0.9, RSS 0.91,
           RSS 0.92, RSS 1.0, RDF and XML feeds.
      
         + Improved the administration interface.  It might be a bit fuzzy
           at first.  Maybe some native English like Julian, Michael (or any
           one else with knowledge in the field) can help out by suggesting
           better naming, terminology or descriptions - as well as by
           writing the help section for this module?  I'd have no idea how
           much this would be appreciated.
      
         + We can *easily* recognize new tags or extensions: we parse out
           "link", "title", "description" and "author" right now, but we
           will have to revise which tags to support and which not.  New
           tags can be added in less than 10 minutes (if you are familiar
           with the code).  Read: we have something we can build on.
      
         + Within each item, tags can now appear is random order which is
           or was not the case with the old headline code where we expect
           <link>s prior to <description>s for example.
      
         + Feed updates only (ie. always) happen through cron.  Neither do
           we use one global cron for updating all feeds; instead, every
           feed can specify his own update-interval.
      
         + Newly fetched headlines are "appended" to the pool of existing
           headlines (read: we don't replace the whole feed), and headlines
           automatically "expire" after x days or hours.  (Every headline
           has a timestamp.)
      
         + Got rid of backend.class; it is integrated in the module.
      
         + Switched to more generic names: "headline" became "item" and
           "backend" became "feed".  This should ease future non-headline
           oriented syndication.
      
         + You can associate attributes or keyword lists with every feed.
           At the moment new items will automatically inherit their feeds
           attributes but in future we can use heuristics to make these
           attributes "mutate" when and where we see fit.  The attributes
           can be maintained by hand as well.
      
         + We don't export any blocks yet; we will soon do as soon this
           new code has been tested for a bit more.  We will only export
           bundles though so if you want to export by feed/source, you
           will have to make a source-specific bundle.
      
      - Polished a bit on a few other modules: nothing major.
      5158eb8a
  6. 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
  7. 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
  8. 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
  9. 14 May, 2001 1 commit
  10. 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
  11. 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
  12. 29 Apr, 2001 1 commit
    • Dries's avatar
      · 828f36cd
      Dries authored
      - Addition: added a new, tiny forum module: I will use this forum
        module to develop and test the permission system along with the
        regular nodes.  And hopefully, this forum module will grow into
        a very useable piece of code for drop.org.
      
        Requires a new SQL table "forum", see 2.00-to-x.xx.sql.
      
      - Removed 1 unused hook from page.module.
      
      - Removed 1 unused function from comment.inc.
      828f36cd
  13. 22 Apr, 2001 1 commit
    • natrak's avatar
      - Fixed the update sql file. Changes have to start with the oldest and progress · 78bee959
      natrak authored
        to the newest. It would try to change tables that had not yet been created
        causing major problems to the node module. (NOTE: if you are doing a x.xx
        update to another x.xx version you might have to force MySQL to perform it
        using the -f flag. Remember to always backup your data before making
        changes).
      - Prevented 2.00-to-x.xx.php from executing. It would simply give a PHP error
        and not execute. Will wait for Dries to return before attempting to make it
        functional or remove it.
      78bee959
  14. 21 Apr, 2001 1 commit
    • Dries's avatar
      · cccb132c
      Dries authored
      - Addition: added a "promote" field to the node table, which
        makes "promoting nodes" to the main page possible.  Stories
        and reviews could be promoted by default, but - on accasion
        a good book entry could be manually promoted too.  Thus all
        existing content types can be shown on the main page, not
        just stories.
      
        Requires a SQL update, see 2.00-to-x.xx.sql!
      
      - Addition: implemented "auto-post new submissions" feature
        to disable or by-pass the moderation queue in addition to
        "moderate new submissions".
      
        TODO: admin moderation versus registered user moderation.
      
      - Addition: added category and topic support to page.module.
      cccb132c
  15. 19 Apr, 2001 1 commit
    • Dries's avatar
      · 11666090
      Dries authored
      - Addition: added new "cvs.module" to display and mail drupal's
        CVS log messages.  Our additional Perl script that hooks into
        the CVS repository is also provided in ./scripts.  Requires a
        SQL update, see 2.00-to-x.xx.sql.
      11666090
  16. 18 Apr, 2001 1 commit
  17. 16 Apr, 2001 2 commits
    • 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
    • Dries's avatar
      · 49a7dccb
      Dries authored
      - make the version CVS function a bit better
      49a7dccb
  18. 15 Apr, 2001 1 commit
    • 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
  19. 13 Apr, 2001 1 commit
    • Dries's avatar
      · b87d482b
      Dries authored
      Last nights updates (under construction):
        - added _type() hook so each module can return the content types he/she
          implements
      b87d482b
  20. 07 Apr, 2001 2 commits
    • Dries's avatar
      · dae5c220
      Dries authored
      - improved rating module: it now shows some basic statistics :-)
      - updated database files
      - removed affialiate-site and drupal-site module: maintain them
        by hand through a box for now will you.
      dae5c220
    • 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
  21. 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
  22. 05 Apr, 2001 1 commit
    • Dries's avatar
      · 048664f2
      Dries authored
      - a bunch of various updates
      048664f2
  23. 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
  24. 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
  25. 25 Mar, 2001 3 commits
    • Dries's avatar
      · 13294dd7
      Dries authored
      - added a bit of text and a "do not reload" warning
      13294dd7
    • Dries's avatar
      · d03a5aeb
      Dries authored
      - fixed typo
      d03a5aeb
    • Dries's avatar
      · 5b92e909
      Dries authored
      - reorganized the ./update directory a bit
      - added 2 new files:
          a. 2.00-to-x.xx.sql contains the SQL table changes/additions
          b. 2.00-to.x.xx.php is a script which converts your existing
             data to the new SQL tables
      5b92e909
  26. 03 Mar, 2001 1 commit
    • Dries's avatar
      · 07cccc9e
      Dries authored
      - renamed upgrade file
      07cccc9e
  27. 27 Feb, 2001 1 commit
    • Dries's avatar
      - added comment index for performance sake · 4d31d27f
      Dries authored
      - improved comment module - code revision
      - improved backend module - moreover headlines now work
      - (automatically) stripped tabs and trailing whitespaces from
        Jeroen's theme.
      4d31d27f
  28. 21 Feb, 2001 1 commit
    • Dries's avatar
      · 86e315e2
      Dries authored
      - locale module: added documentation (first draft)
      - locale module: improved administration interface
      - headline module: fixed small visual glitch in export function
      - account: small improvements
      86e315e2
  29. 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
  30. 17 Feb, 2001 1 commit
    • Dries's avatar
      · 52a1d1bb
      Dries authored
      - More updates on the translation support
      52a1d1bb
  31. 14 Feb, 2001 1 commit
  32. 12 Feb, 2001 1 commit
    • Dries's avatar
      · db554e85
      Dries authored
      - initial import of the preliminary translation code.
      - added timer.inc for benchmarking purpose
      - bugfix for php-clean
      - bugfix for account.php
      - removed redundant format_data
      - ...
      db554e85
  33. 07 Feb, 2001 1 commit
    • Dries's avatar
      · 77ed5310
      Dries authored
      - added new feature for evaluating purpose: user rating (mojo, karma)!
      - removed tabs from Jeroen's theme
      77ed5310
  34. 04 Feb, 2001 1 commit
  35. 22 Jan, 2001 1 commit
    • Dries's avatar
      · 988aaf6b
      Dries authored
      - Forgot to add the update file for those upgrading their live site.
      988aaf6b