1. 12 Jan, 2002 1 commit
    • Dries's avatar
      · 7e503262
      Dries authored
      - Fixed a typo in the example theme.  (Patch by Mark)
      7e503262
  2. 11 Jan, 2002 1 commit
    • Dries's avatar
      · 0567413c
      Dries authored
      - Added a "title"-attribute to the "register" link and translated the
        "Rembember me" checkbox.
      0567413c
  3. 30 Dec, 2001 1 commit
    • Dries's avatar
      · a95c2a68
      Dries authored
      - import.module:
      
          + Improved input filtering; this should make the news items look
            more consistent in terms of mark-up.
      
          + Quoted all array indices: converted all instances of $foo[bar]
            to $foo["bar"].  Made various other changes to make the import
            module compliant with the coding style.
      
      - theme.inc:
      
          + Fixed small XHTML glitch
      
      - comment system:
      
          + Made it possible for users to edit their comments (when certain
            criteria are matched).
      
          + Renamed the SQL table field "lid" to "nid" and updated the code
            to reflect this change: this is a rather /annoying/ change that
            has been asked for a few times.  It will impact the contributed
            BBS/forum modules and requires a tiny SQL update:
      
              sql> ALTER TABLE comments CHANGE lid nid int(10) NOT NULL;
      
          + Moved most (all?) of the comment related logic from node.php to
            comment.module where it belongs.  This also marks a first step
            towards removing/reducing "node.php".
      
          + Added a delete button to the comment admin form and made it so
            that Drupal prompts for confirmation prior to deleting a comment
            from the database.  This behavior is similar to that of deleting
            nodes.
      
          + Disabled comment moderation for now.
      
          + Some of the above changes will make it easier to integrate the
            upcomcing mail-to-web and web-to-mail gateways.  They are part
            of a bigger plan.  ;)
      
      - node system:
      
          + Made it so that updating nodes (like for instance updating blog
            entries) won't trigger the submission rate throttle.
      
          + Fixed a small glitch where a node's title wasn't always passed
            to the $theme->header() function.
      
          + Made "node_array()" and "node_object()" more generic and named
            them "object2array()" and "array2object()".
      
          + Moved most (all?) of the comment related logic from node.php to
            comment.module where it belongs.  This also marks a first step
            towards removing/reducing "node.php".
      
      - misc:
      
          + Applied three patches by Foxen.  One to improve performance of
            the book module, and two other patches to fix small glitches in
            common.inc.  Thanks Foxen!
      a95c2a68
  4. 15 Dec, 2001 1 commit
    • Steven Wittens's avatar
      - Updated BaseTheme and the Drupal themes to have header($title = "") as the... · e28981f0
      Steven Wittens authored
      - Updated BaseTheme and the Drupal themes to have header($title = "") as the header declaration and use title when provided. This is just a step towards having unique titles.
      In all themes, except Marvin which already had $title, I put the $title first, because it's usually the thing the page is about:
      
      "The future of weblogs? - Drop.org"
      "Your account settings - Drop.org"
      
      rather than the other way around, right?
      e28981f0
  5. 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
  6. 23 Nov, 2001 1 commit
  7. 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
  8. 22 Oct, 2001 1 commit
  9. 20 Oct, 2001 2 commits
  10. 16 Oct, 2001 1 commit
  11. 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
  12. 12 Oct, 2001 1 commit
    • Dries's avatar
      · 73d61b78
      Dries authored
      - fixed 4 SQL queries to use ANSI SQL instead: '||' --> 'OR'
      73d61b78
  13. 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
  14. 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
  15. 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
  16. 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
  17. 25 Sep, 2001 1 commit
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 12 Jun, 2001 1 commit
  31. 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
  32. 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
  33. 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