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. 23 May, 2002 1 commit
    • Kjartan's avatar
      - Coding style changes. · 793db831
      Kjartan authored
      - Included modules will now cause parse errors instead of them being supressed.
        Was making debugging really hard.
      793db831
  3. 21 May, 2002 1 commit
  4. 20 May, 2002 2 commits
  5. 13 May, 2002 1 commit
  6. 12 May, 2002 3 commits
  7. 11 May, 2002 1 commit
  8. 05 May, 2002 1 commit
    • Dries's avatar
      · f9b29369
      Dries authored
      - Fixed broken RSS feeds.
      
        TODO:
          + Make l()/lm()/la() urlencode() URLs?
          + Fix problems with the #-trick in drupal_url()/l().
      f9b29369
  9. 04 May, 2002 2 commits
  10. 03 May, 2002 1 commit
  11. 02 May, 2002 3 commits
  12. 01 May, 2002 1 commit
  13. 27 Apr, 2002 1 commit
    • Dries's avatar
      · f8329dd4
      Dries authored
      Patch by Moshe Weitzman:
      
      - request_uri() behaves on non-apache web servers. i've tested on IIS and
      apache (many platforms).
      
      - modules may now implement the _search_item() hook which overrides the
      default formatting of search results. modules already can customize which
      fields are indexed. no module currently uses this hook but
      externalpage.module expects to do so.
      
      - added an optional $attribs argument to l(), lm(), and la() which is an
      associative array of attributes which are inserted into the <a> tag (feature
      #146).
      
      - drupal_str_replace() is deleted (i had recently added it). i verified that
      no scripts are currently calling this function. use strtr() or str_replace()
      instead.
      
      - arbitrary elements may be added to the <channel> and <item> blocks of an
      RSS feed by passing the $args associative array. the core RSS engine is now
      able to support elements like <cloud> and <catagory> [1] and RSS 1.0[2]
      
      [1] http://backend.userland.com/rss092
      [2] http://groups.yahoo.com/group/rss-dev/files/namespace.html
      f8329dd4
  14. 24 Apr, 2002 2 commits
  15. 22 Apr, 2002 1 commit
    • Kjartan's avatar
      - bug fixes: · de5b9a16
      Kjartan authored
          * fixed mails not being parsed properly.
          * tracker now shows user name when you view your own recent
            comments.
          * link to submission queue now points to the right place.
          * fixed jabber module.
          * theme is now activated when changed.
      - applied Gerhards coding style patch.
      de5b9a16
  16. 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
  17. 15 Apr, 2002 1 commit
  18. 14 Apr, 2002 2 commits
    • Dries's avatar
      · d8cd5496
      Dries authored
      - Added Marco's long-awaited taxonmy module and patches - a replacement
        for the meta system.  The patches add some extra functionality to the
        comment system (for example, comments can be set read-only) and fix a
        couple of small problems.
      
        + I integrated the required SQL updates from the varius *.mysql files
          into the "update.php" script.  Upgrading should be easy ...
      
        + I did not apply/commit the "user.diff" as requested by Marco ...
      
        + I didn't know what to do with "forum.module" and "forum2.module":
          what do you want me to do with it Marco?  Which one should go in?
      
        + Can we remove "node_index()" now; both from "node.module" and the
          themes?
      
        + Thanks Marco!
      d8cd5496
    • 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
  19. 02 Apr, 2002 1 commit
    • Kjartan's avatar
      - made the user information block into two different blocks. One for · 1e4308a9
      Kjartan authored
        login and one for user information.
      - added link to help in book module (post-patch, see below).
      - applied various patches:
        Patch by Greg Tyrelle <greg@tyrelle.net>
        - tracker module now shows usernames next to comments.
      
        Patch by Moshe Weitzman <moshe@wallaware.com>
        - book module has a more complete help.
        - added administrative link to export book to html
        - fixed non book nodes not showing up in trees.
      
        Patch by moshe weitzman <weitzman@tejasa.com>
        - links can be defined in the configuration file.
      1e4308a9
  20. 05 Mar, 2002 1 commit
    • Kjartan's avatar
      - applied search patch. · e3d2c46f
      Kjartan authored
      - added who is online block.
      - made weblog module more configurable.
      - users may now delete their own accounts (Feature #8)
      - users may now request a password using email address *or* username.
        formerly required both items to match an account which was onerous.
      - the link to request a new password is now presented whenever a user
        fails login.
      - there is now a confirmation message after submitting edits to your
        user information.
      - error messages in user.module may now be stylized by themes.
      - <hook>_form has a $param setting you can fill with form parameters.
      - improved wording for a few config settings.
      - fixed various non-coding standard things.
      e3d2c46f
  21. 19 Feb, 2002 2 commits
  22. 17 Feb, 2002 1 commit
  23. 30 Jan, 2002 1 commit
    • Dries's avatar
      · d988dae6
      Dries authored
      - Applied Natrak's module improvements.
      d988dae6
  24. 27 Jan, 2002 1 commit
    • Dries's avatar
      · f9a508d5
      Dries authored
      - Fixed more than 30 HTML and XML well-formedness errors.
      f9a508d5
  25. 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
  26. 13 Jan, 2002 1 commit
  27. 12 Jan, 2002 1 commit
    • Dries's avatar
      · 7e503262
      Dries authored
      - Fixed a typo in the example theme.  (Patch by Mark)
      7e503262
  28. 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
  29. 09 Jan, 2002 1 commit
    • Kjartan's avatar
      Session · 3b5c3806
      Kjartan authored
       - attempted to fixed crashes with the custom session handler.
      
      External SMTP library
       - added functionality to have Drupal not use the default PHP mail()
         function. For more info see: http://www.drupal.org/node.php?id=44
         Note: for this to work all modules that send mails should use the
         Drupal function to send mail:
           user_mail($mail, $subject, $message, $header);
      
      Calendar
       - added an archive page which users can use to find archives instead of
         the good old block.
      
      Miscellaneous
       - fixed a "random" offset bug on module.inc that occurred on Windows.
      
      All of this needs more testing, and further suggestions are welcome.
      3b5c3806
  30. 05 Jan, 2002 2 commits
    • Dries's avatar
      · 8b04230c
      Dries authored
      - Fixed a typo
      8b04230c
    • Dries's avatar
      · 58152c45
      Dries authored
      Integrated Marco's generic/improved cache into Drupal.  Requires an
      SQL update.  See below for more details.
      
      - Merged the file "cache.inc" into "common.inc".
      
      - In addition, I renamed the field 'url' in the cache table to
        a more generic 'cid' (cache identifier).  It's no longer for
        URLs only.
      
      - Made the "cache_set()" function ASNI compliant such that it
        will play nice with other databases such as Postgres.
      
      - Added some extra input checking.
      
      - Updated the old caching code in the functions "page_header()"
        and "page_footer()" to use the new, generic cache API.
      
      - Updated "update.php" to make the required SQL changes.
      58152c45