1. 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
  2. 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
  3. 19 Apr, 2001 1 commit
    • Dries's avatar
      · a6e6dfb9
      Dries authored
      - Addition: added 2 new functions check_mail() and check_name()
        to functions.inc useful for resp. verifying an e-mail address
        and username: currently used by account.php - but reusable by
        Julian's refer.module for example (prepares integration).
      a6e6dfb9
  4. 16 Apr, 2001 1 commit
    • 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
  5. 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
  6. 12 Apr, 2001 1 commit
  7. 08 Apr, 2001 1 commit
    • Dries's avatar
      · 0d14ee0b
      Dries authored
      - fixed small bug in "recent nodes"
      0d14ee0b
  8. 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
  9. 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
  10. 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
  11. 01 Apr, 2001 1 commit
  12. 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
  13. 28 Mar, 2001 2 commits
    • Dries's avatar
      - on popular demand: · a53d198c
      Dries authored
        added the # votes to the "track your comments" page
      a53d198c
    • Dries's avatar
      · 3f2b0e0b
      Dries authored
      Flushing my backlog (in case Natrak wants to make more changes):
      
       - tidied up some of the code
       - fixed a small problems
      3f2b0e0b
  14. 25 Mar, 2001 2 commits
    • Dries's avatar
      · f4deafca
      Dries authored
      - refactoring, refactoring, refactoring
      f4deafca
    • 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
  15. 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
  16. 12 Mar, 2001 1 commit
    • Dries's avatar
      · a4b93e3c
      Dries authored
      - forgot to commit this last night but this should fix deekayen's small
        Windows glitch
      a4b93e3c
  17. 10 Mar, 2001 1 commit
    • Dries's avatar
      · accd5f0c
      Dries authored
      - applied David Norman's patch to turn all <?'s into fully qualified
        <?php's.
      accd5f0c
  18. 07 Mar, 2001 1 commit
    • Dries's avatar
      · f516626a
      Dries authored
      A rather large and important update:
      
      revised most of the SQL queries and tried to make drupal as secure as possible (while trying to avoid redundant/duplicate checks).  For drupal's sake, try to screw something up.  See the mail about PHPNuke being hacked appr. 6 days ago.  The one who finds a problem is rewarded a beer (and I'm willing to ship it to Norway if required).  I beg you to be evil.  Try dumping a table a la "http://localhost/index.php?date=77778;DROP TABLE users" or something. ;)
      f516626a
  19. 01 Mar, 2001 1 commit
    • Dries's avatar
      · 728249cb
      Dries authored
      - fixed small translation glitch in format_interval
      - added a couple of missing t() functions
      - improved the comments module, fixed the score problem Jeroen
        reported earlier -> it's slicker but I hope it won't break anything
      728249cb
  20. 23 Feb, 2001 2 commits
  21. 22 Feb, 2001 1 commit
  22. 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
  23. 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
  24. 17 Feb, 2001 1 commit
    • Dries's avatar
      · 52a1d1bb
      Dries authored
      - More updates on the translation support
      52a1d1bb
  25. 14 Feb, 2001 1 commit
  26. 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
  27. 10 Feb, 2001 2 commits
    • Dries's avatar
      · 3ba9cb5d
      Dries authored
      - small updates
      3ba9cb5d
    • Dries's avatar
      · 171479fc
      Dries authored
      - a 2nd batch of various updates
      171479fc
  28. 04 Feb, 2001 1 commit
  29. 25 Jan, 2001 1 commit
    • Dries's avatar
      · 76ce6580
      Dries authored
      - fixed small typo
      76ce6580
  30. 21 Jan, 2001 2 commits
    • 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
    • Dries's avatar
      · 7cc7b405
      Dries authored
      - fixed some bugs in the new comment/discussion code and added a few
        enhancements
      7cc7b405
  31. 20 Jan, 2001 2 commits
    • Dries's avatar
      · ccb69d76
      Dries authored
      - fixed MySQL bug in account.php
      ccb69d76
    • Dries's avatar
      · 2952d16f
      Dries authored
      - updated/improved discussion engine: it needs additional fine-tuning
        though but I think this is stable enough for public consumption and
        real-life testing.
         ==> a first big step towards a flexible comment engine.
      
      IMPORTANT:
        - Required theme updatins:
      
          UnConeD: check your $theme->controls() as I added a very, very
                   dummy implementation
      
        - Required database updates:
      
          alter table users modify mode tinyint(1) DEFAULT '' NOT NULL;
          alter table comments change sid lid int(6) DEFAULT '0' NOT NULL;
          alter table comments add link varchar(16) DEFAULT '' NOT NULL;
          update comments set link = 'story';
      2952d16f
  32. 13 Jan, 2001 1 commit
    • Dries's avatar
      · 8b4c95b2
      Dries authored
      - rewrote the block placement stuff and updated the themes.
        IMPORTANT: you have to drop 2 tables "blocks" and "layout"
                   and you have to recreate them again with those
                   in database/database.mysql
      - integrated the documentation written by UnConeD
      8b4c95b2
  33. 07 Jan, 2001 1 commit
    • Dries's avatar
      · 554d9b08
      Dries authored
      - fixed 2 small bugs in account.php
      - drastically improved administration section
      - drastically revamped story administration:
        added new feature to schedule the publishing of stories
      - applied correct naming conventions to submission.php
      - fixed 1 small glitch in boxes
      - somewhat expanded the documentation
      = changed one SQL table
      - updated the faq with info on drupal
      - ... and more things I forgot about
      554d9b08
  34. 04 Jan, 2001 1 commit
    • Dries's avatar
      · 2e495b7d
      Dries authored
      - the diary module is truly modular now
      - the faq has been spell checked
      2e495b7d