1. 25 May, 2002 1 commit
    • Dries's avatar
      · e426775f
      Dries authored
      - Bugfix.  When a theme does no longer exist on disk, it should not be
        returned by theme_list() as it breaks the site ...  The attached patch
        prevents this from happening but does not remove the theme from the system
        table in the SQL database - if the theme is removed from the database upon
        viewing the themes administration page (or another trigger), I guess that
        is fine.
      
      Kjartan: my fix is the right thing to apply because theme_list() is used
               elsewhere where it requires to return a list of existing themes.
               Maybe it's a little sad but the current theme loading code might
               be slower and more complex than the old Drupal 3 theme loading
               code ... ?
      e426775f
  2. 20 May, 2002 2 commits
  3. 02 May, 2002 1 commit
  4. 20 Apr, 2002 1 commit
    • Dries's avatar
      · 8043cb99
      Dries authored
      - Applied Marco's big patch, including contributions from Moshe:
      
          + Changed the db_query() API.
      
          + Wrapped all links in l(), lm(), la(), ..., drupal_url() functions.
      
          + XHTML-ified some HTML.
      
          + Wrapped a lot of text in the administrative pages in a t()
            function.
      
          + Replaced all $REQUEST_URI/$PATH_INFOs by request_uri().
      
          + Small bugfixes (eg. bug in book_export_html() and clean-ups (eg.
            RSS code).
      
          + Fixed some bugs in the taxonomy module (eg. tree making bug), added
            new functionality (eg. new APIs for use by other modules), included
            Moshe's taxonomy extensions, and some documentation udpates.
      
          + ...
      8043cb99
  5. 15 Apr, 2002 1 commit
  6. 14 Apr, 2002 1 commit
    • Kjartan's avatar
      This is a major change to the system, needs more testing! · 55927616
      Kjartan authored
      Committing Changes by Moshe Weitzman:
      - admin_user_account(), user_edit(), and user_view() no longer have any
        hard code for authentication modules. instead authentication modules
        implement the _user hook.
      - fixed a couple 'help' typos.
      - linked the 'REGISTER' text in the login block to the register page.
        this page now advertises DA better if site employs DA.
      - admins may now edit everything about a user account (was a feature
        request).
      - user #1 may now login immediately, in addition to receiving his
        password via email.
      
      Other changes:
      - modules and themes are now enabled/disabled in the administrative /
        settings / modules | themes pages. Requires SQL update and things must
        be enabled before your site returns to normal. TODO: enable all
        functionality. (For now just do UPDATE system SET status = 1;)
      - removed $themes from conf.php.
      - added a $theme->system() function where theme can specify settings.
        All themes in the Drupal CVS have been updated to use this.
      - added _system hook to modules. TODO: update modules to use this.
      - changed strange use of sprintf to the usual strtr. The disadvantage of
        sprintf is that it requires translations to keep the string order,
        which may not be possible in all languages.
      - an invalid/nonexisting theme in a user profile will now fallback to the
        BaseTheme instead of crashing.
      55927616
  7. 19 Feb, 2002 1 commit
  8. 17 Feb, 2002 1 commit
  9. 21 Jan, 2002 1 commit
    • Kjartan's avatar
      - moved user block from theme.inc to user.module. · 8c672011
      Kjartan authored
          * only problem is that the admin.php link is not available until the
            admin enables the block.
          * $theme->user is obsolete, will patch the themes properly in a
            later patch.
      - moved moderation block from theme.inc to queue.module.
          * removed theme_moderation_results().
      - updated database/database.mysql.
      8c672011
  10. 12 Jan, 2002 1 commit
    • Dries's avatar
      · 7e503262
      Dries authored
      - Fixed a typo in the example theme.  (Patch by Mark)
      7e503262
  11. 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
  12. 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
  13. 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
  14. 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
  15. 23 Nov, 2001 1 commit
  16. 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
  17. 22 Oct, 2001 1 commit
  18. 20 Oct, 2001 2 commits
  19. 16 Oct, 2001 1 commit
  20. 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
  21. 12 Oct, 2001 1 commit
    • Dries's avatar
      · 73d61b78
      Dries authored
      - fixed 4 SQL queries to use ANSI SQL instead: '||' --> 'OR'
      73d61b78
  22. 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
  23. 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
  24. 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
  25. 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
  26. 25 Sep, 2001 1 commit
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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