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. 23 Nov, 2001 1 commit
  3. 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
  4. 22 Oct, 2001 1 commit
  5. 20 Oct, 2001 2 commits
  6. 16 Oct, 2001 1 commit
  7. 14 Oct, 2001 2 commits
    • Dries's avatar
      · 625455b5
      Dries authored
      - I tidied up most SQL tables to be more consistent with the rest of the
        tables: I changed all "id"s to "xid"s where "x" is the first letter of
        the table name.  I also renamed all remaining "userid"s to "uid"s as I
        mentioned I would do.  Take a look at ./drupal/updates/3.00-to-x.xx.sql
        for the MySQL updates.
      625455b5
    • Dries's avatar
      · 54d76f75
      Dries authored
      - Pass theme objects by reference, avoids creating copies and lets called
        functions to store data in the theme (patch by Mike Krus).
      54d76f75
  8. 12 Oct, 2001 1 commit
    • Dries's avatar
      · 73d61b78
      Dries authored
      - fixed 4 SQL queries to use ANSI SQL instead: '||' --> 'OR'
      73d61b78
  9. 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
  10. 07 Oct, 2001 1 commit
    • Dries's avatar
      · 47c6fce5
      Dries authored
      - added a comment() function to the base theme: you don't have to overload
        it in your custom themes
      
      - moved 'theme_account()' to the base theme as '$theme->user()' so that it
        can be themed.
      47c6fce5
  11. 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
  12. 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
  13. 25 Sep, 2001 1 commit
  14. 16 Sep, 2001 2 commits
    • Dries's avatar
      · c5a349ca
      Dries authored
      - added the "Log in" block
      c5a349ca
    • Dries's avatar
      · 2d1e9126
      Dries authored
      - Added the new user module!
      2d1e9126
  15. 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
  16. 25 Jul, 2001 1 commit
    • Kjartan's avatar
      comment.inc · 1e5afb39
      Kjartan authored
      - removed comment_controls().
      - modified comment_render() to use $theme->comment_controls().
      
      theme.inc
      - added BaseTheme->comment_controls().
      
      locale.module
      - can now search for status independant of language.
      - string is now a regular expression. For wildcard searches do .*text.*.
      - can search in modules + pages, all modules or a specific module.
      
      account.php
      - fixed viewing other accounts info would show the active users name in the
        real name field.
      - now shows users recent contributions and comments (if the user has access to
        them).
      1e5afb39
  17. 15 Jul, 2001 1 commit
    • Dries's avatar
      · f0867798
      Dries authored
      - import.module:
         + added new "tab" to import.module called "news sources".
         + improvement to import.module navigation.
      
      - theme.inc:
         + renamed 'your contributions' to 'your submissions'.
      f0867798
  18. 14 Jul, 2001 3 commits
    • Dries's avatar
      · e724f18d
      Dries authored
      - blog.module:
         + added RSS 0.91(5) feeds to the blog module which makes it possible
           to both syndicate an particular user's latest blog entries, or the
           latest entries of all users.
      e724f18d
    • Dries's avatar
      · b99d4d7a
      Dries authored
      - theme system:
          + added $theme->images()
      
      - blog.module:
          + improved user-friendliness and rewrote most of the output routines
          + made quoted text /italic/ by default
          + integrated discussion system like it should
          + ...
      
      - marvin.theme:
          + small visual improvements
      b99d4d7a
    • Steven Wittens's avatar
      Update of the box function in themes to allow a difference in... · e62e3417
      Steven Wittens authored
      Update of the box function in themes to allow a difference in style/output/look of a box() depending on the position on the page.
      Basically this is a 'nice version' of a hack that you could do as a theme author.
      I've updated all the standard themes, but 3rd party themes will of course have to be updated by their authors, in the following manner:
      
      - Replace the box() declaration:
      < function box($subject, $content) {
      > function box($subject, $content, $region = "main") {
      
      - Replace the theme_account call:
      < theme_account($this);
      > theme_account("region", $this);
      
      Note that you'll have to replace "region" with the correct region that the box is placed in. However if you have a one-column theme, you should use "all", and not for example "left" (if all boxes are on the left).
      Usually the "region" here should be the same as the nearest theme_blocks() call.
      
      Those theme authors who want to can make boxes that appear in the center look different from those that appear in the sides for example.
      e62e3417
  19. 07 Jul, 2001 1 commit
    • Dries's avatar
      · adfbda3d
      Dries authored
      - Tidied up some stuff in account.php and theme.inc.
      - Tidied up the box() API.
      adfbda3d
  20. 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
  21. 23 Jun, 2001 1 commit
    • Dries's avatar
      · 5ff9dd65
      Dries authored
      - Made it possible to enter longer username such as 'Gerhard K*llesreit'.
      
      - Updated database.mysql.
      5ff9dd65
  22. 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
  23. 17 Jun, 2001 1 commit
    • Dries's avatar
      · 3d73a48e
      Dries authored
      - Merged "system settings" and "module settings" into one page.  IMHO
        it wasn't a good idea to split them up in first place, and it turned
        out to be quite hard to decide where to put some variables.
      
        Also moved some variables around and even renamed a few variables
        while doing so.
      
      - Added a page_header() and page_footer() to all top-level .php pages.
      3d73a48e
  24. 15 Jun, 2001 1 commit
    • Kjartan's avatar
      Changes · 7f58ef29
      Kjartan authored
      - Added a conf option to disable/enable user registrations.
      - Added a add account feature to account.module.
      - Moved some functions from account.php to account.module.
      
      Todo
      - Move most (all?) of account.php to account.module.
      7f58ef29
  25. 13 Jun, 2001 1 commit
    • Dries's avatar
      · 2285afd1
      Dries authored
      - Applied Remco's patch:
          the <LI>-bullets were not valid HTML and did only take up space.
      2285afd1
  26. 12 Jun, 2001 1 commit
  27. 11 Jun, 2001 2 commits
    • Dries's avatar
      - Changed field_set(), field_get() and field_merge() to use ',' and · c56ee67e
      Dries authored
        '=' instead of ';' and ':'.  It is considered to be more readable.
        --> A _first_ step towards and improved index.module.  Stay tuned
            for more.
      
        + Important:
           If you update from CVS - apply the queries in 2.00-to-x.xx.sql!
      
      - Changed all 'attribute' to 'attributes'.
      
        + Important:
           If you update from CVS - apply the queries in 2.00-to-x.xx.sql!
      
        + Important:
           This might require to ieni-wieni small update to your custom
           themes and/or node-related modules:
            - themes: node_index($node->attribute) -> node_index($node)
            - node modules: attribute -> attributes
      c56ee67e
    • Kjartan's avatar
      Changes · 8f7eddbe
      Kjartan authored
      - fixed the trailing | in some cases.
      - removed theme_morelinks().
      - added node_links().
      - simplified BaseTheme->links().
      - updated themes.
      
      Notes
      - the new links system is taking form, but concider it beta. There might still
        be some major changes ahead so I suggest waiting a little longer before
        modifying your theme to take advantage of it.
      8f7eddbe
  28. 10 Jun, 2001 2 commits
    • 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
    • Kjartan's avatar
      Changes · 9e498458
      Kjartan authored
      - created a BaseTheme class in theme.inc.
      - added links($links = array(), $status = 0, $node = 0) to BaseTheme.
      - modified all themes to extend from BaseTheme.
      - modiefied theme_link() to take advantage of $theme->links().
      - theme_morelink() does not require a $theme argument.
      
      Todo
      - add the other standard variables and functions to BaseTheme.
      - some themes could use some more modifications.
      
      Weird
      - marvin.theme still has a story() function.
      9e498458
  29. 20 May, 2001 1 commit
    • 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
  30. 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
  31. 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
  32. 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
  33. 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