1. 24 Nov, 2001 1 commit
    • Dries's avatar
      · 42ecb278
      Dries authored
      A set of updates to the "_link" system:
      
       - Made the /comment links/ jump to the comments instead of to the top
         of the page.
      
       - Replaced the "Add comment"-button by a "add new comment"-link.
         (This should make UnConeD jump up and down of wild excitement.)
      
       - Moved all comment related logic from theme.inc and node.module to
         comment.inc and comment.module (where they belong).
      
       - Added some links to ease the site's usability/navigation.
      42ecb278
  2. 01 Nov, 2001 1 commit
    • Dries's avatar
      · 336b713a
      Dries authored
      - A large batch of updates, amongst them a rewritten node system.  More
        information available on the mailing list.
      336b713a
  3. 20 Oct, 2001 1 commit
  4. 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
  5. 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
  6. 03 Oct, 2001 1 commit
    • Dries's avatar
      · 7a9bc86b
      Dries authored
      - Improved search architecture derived from Axel's new search patches.
        (There is room for improvement so let's go from these ... and build
        on them.)
      
      - Removed some $status's by calls to node_status().
      7a9bc86b
  7. 28 Sep, 2001 1 commit
    • Dries's avatar
      · 0cce47f1
      Dries authored
      - fixed small glitch in node_del()
      
      - fixed small glitch in comment_del()
      
      - changed the API of the form() function.  The first parameter, the
        "action"-attribute in the <form>-tag has been made optional.  By
        default, it will be set to "$REQUEST_URI".
      
        Why? Because in 98% of the cases we would do:
      
          global $REQUEST_URI;
          $form = form($REQUEST_URI, $form_content);
      
        while we can do:
      
          $form = form($form_content);
      
        now.
      
        Update your modules (and sorry for the inconvenience)!
      0cce47f1
  8. 27 Sep, 2001 1 commit
    • Dries's avatar
      · 4a0e498f
      Dries authored
      - a batch of updates, including some experimental changes to the moderation
        of comments and nodes.
      4a0e498f
  9. 16 Sep, 2001 2 commits
    • Dries's avatar
      · e2f24987
      Dries authored
      - improved the search system by making it context sensitive
      e2f24987
    • Dries's avatar
      · 2d1e9126
      Dries authored
      - Added the new user module!
      2d1e9126
  10. 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
  11. 03 Aug, 2001 1 commit
    • Dries's avatar
      · cd48b94a
      Dries authored
      - import.module:
          + applied Julian's fputs() patch
          + fixed typo
      
      - cloud.module:
          + applied Julian's fputs() patch
      
      - comment.module:
          + applied Julian's "delete" patch
      cd48b94a
  12. 07 Jul, 2001 1 commit
    • Dries's avatar
      - various small updates: · f12fa061
      Dries authored
         + fixed 2 small HTML typos in meta.module
         + better watchdog messages in comment.module
         + fixed typo in block.module
      f12fa061
  13. 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
  14. 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
  15. 09 May, 2001 1 commit
    • Dries's avatar
      · 0000c2e4
      Dries authored
      - Code review: improved search API, tidied up the search related code,
        and fixed a tiny bug when searching for users.
      0000c2e4
  16. 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
  17. 03 May, 2001 1 commit
    • Dries's avatar
      · 16818777
      Dries authored
      CHANGES:
      
      - Added moderator information to forum.module.
      
      - Simplified story.module, page.module, forum.module and book.module
        by removing redundant code, and by doing other small house-keeping
        tasks.
      16818777
  18. 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
  19. 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
  20. 04 Apr, 2001 1 commit
    • Dries's avatar
      · 7fac91c2
      Dries authored
      - various smaller improvements
      7fac91c2
  21. 25 Mar, 2001 1 commit
    • Dries's avatar
      · f39bba80
      Dries authored
      - All comments on the administration page are actually "linked" now: the
        comments on the drupal page where originally *not* click-able but this
        turned out to be confusing only.   Now we live in a nodified world, we
        can simply link all comments without a single problem! :-)
      f39bba80
  22. 24 Mar, 2001 1 commit
    • Dries's avatar
      · 10aaea33
      Dries authored
      - simplified the comment code: the SQL queries are less complex, thus
        faster now.
      10aaea33
  23. 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
  24. 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
  25. 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
  26. 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
  27. 10 Feb, 2001 2 commits
    • Dries's avatar
      · 171479fc
      Dries authored
      - a 2nd batch of various updates
      171479fc
    • Dries's avatar
      · d6ce51e4
      Dries authored
      - added a "search framework" which allows for easy searching
        (to be continued)
      - tidyied up some existing code
      d6ce51e4
  28. 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
  29. 26 Jan, 2001 1 commit
    • Dries's avatar
      · d386c110
      Dries authored
      - removed redundant spaces
      d386c110
  30. 20 Jan, 2001 1 commit
    • 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
  31. 13 Jan, 2001 1 commit
    • Dries's avatar
      · 55679210
      Dries authored
      - created 2 new functions; check_textfield() and check_textarea() and
        integrated them were appropriate.  It works better and the code is
        more readable then it used to be:
          (see http://drop.org/discussion.php?id=44&pid=0#0)
      
      - story authors can no longer moderate their own stories
          (requested by Natrak)
      
      - fix inie-winnie small detail in theme marvin
      55679210
  32. 06 Jan, 2001 1 commit
    • Dries's avatar
      · 8511d9fb
      Dries authored
      A batch of patches:
      
        - configuration:
          + renamed $db_name to $db_user
          + renamed $db_base to $db_name
        - fixed small diary glitch
        - fixed initial-comment-score problem
        - fixed comment rating bug: improved the API and updated the
          themes
        - removed some tabs from Steven ;)
        - fixed backend warnings and improved robustness
          I'm not happy yet with the headline grabber - it generates
          too many SQL errors.
        - some small cosmetic changes in comment.module
        - fixed minor glitch in format_interval()
      8511d9fb
  33. 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
  34. 16 Dec, 2000 1 commit
    • Dries's avatar
      · dcfcd99c
      Dries authored
      - improved web interface of cron module.
      
      - improved web interface of account module.
      
      - added simple permission system with both administrators
        and regular users. It can be made more fine-grained but
        it will do for now.
      
      - various small enhancements to the other modules, but
        nothing big.
      dcfcd99c
  35. 14 Dec, 2000 1 commit
    • Dries's avatar
      · 7a45d84a
      Dries authored
      - added a whole bunch of NEW modules
      7a45d84a