1. 09 Nov, 2002 1 commit
    • Dries's avatar
      · 562df8fe
      Dries authored
      * Added Jeremy's pager:
      
       "This is a simple, generic pager for Drupal-CVS.  It is designed to be
        easily themeable and expandable.  The code is highly-commented to
        enhance readability."
      
       "Pagers are constructed by combining the provided pieces (all of which
        can be easily modified to display the text or image you prefer) into
        your custom pager."
      
      * Statistics module fixes by Jeremy:
      
       - removed superfluous check for existence of watchdog()
       - saving changes in admin page displays status and returns same page
       - no longer return 1971/01/01 in "view statistics" table
       - switched from "!=" to "<>" in SQL queries for ANSI-SQL compliance
       - switched from "MAX(timestamp) as timestamp" to "MAX(timestamp) as
         max_timestamp" moving towards ANSI-SQL compliance.
      
      * Added a "theme_item_list" function to format itemized lists.  Also
        changed a couple of modules to take advantage of it.  Makes for a
        more consistent UI.
      562df8fe
  2. 01 Nov, 2002 1 commit
    • Dries's avatar
      · cc381c14
      Dries authored
      - Fixed glitch in block module: the admin links were not composed
        correctly.  Patch by Stefan.
      
      - Added missing t() functions and improved the %x directives for
        better readability and to ease the process of translating your
        site.  Patches by Stefan.
      
      - Made two small additions to the 'code-clean.sh' script; it will
        now remove patch related junk.
      
      NOTES:
      
      - I removed the &middot; related bits.  Let's tackle these later on
        in a separate patch after we got some sort of consensus.
      
      - I removed the 'module_exist("drupal")' check in the user module;
        I *think* it is incomplete and therefore incorrect.
      
      - Stefan, try using quotes in your translations and check whether
        everything still works.  Example: translate the "Create account"
        button to "Create \"haha\" account \'hihi\'" and see if you can
        still create new accounts.  Maybe automate this using a quick
        hack in the locale module ...
      cc381c14
  3. 26 Oct, 2002 1 commit
    • Dries's avatar
      · 8d103a08
      Dries authored
      - Committed Marco's block rewrite:
      
         + Blocks are not longer called if not rendered: major performance
           improvement.
         + Fixed some bugs (preview option was broken, path option was broken).
         + Removed "ascii"-type blocks.
         + Added permission to for "PHP blocks"
         + ...
      
        NOTES:
      
         + You'll want to run "update.php":
      
             ALTER TABLE blocks DROP remove;
             ALTER TABLE blocks DROP name;
      
         + You'll want to update your custom modules as well as the modules in
           the contrib repository.  Block function should now read:
      
             function *_block($op = "list", $delta = 0) {
               if ($op == "list") {
                 return array of block infos
               }
               else {
                 return subject and content of $delta block
               }
             }
      8d103a08
  4. 22 Oct, 2002 1 commit
    • Dries's avatar
      · 66c5b707
      Dries authored
      - Wrapped some hardcoded colors in "theme_invoke()"s; we can still create
        a drupal_error() later on but I think we better get used to theme_invoke().
      
      - Fixed translation bug.  Patch by Moshe.
      
      - Fixed PHP warning.  Patch by ax.
      66c5b707
  5. 17 Oct, 2002 1 commit
  6. 15 Oct, 2002 1 commit
  7. 27 Sep, 2002 1 commit
  8. 26 Sep, 2002 1 commit
    • Dries's avatar
      · 56bd15ef
      Dries authored
      - Applied Marco's first regex patch.
      56bd15ef
  9. 20 Aug, 2002 1 commit
    • Dries's avatar
      · bfe5b85d
      Dries authored
      - Applied a (modified) version of Marco's SQL sequence patch.
      bfe5b85d
  10. 21 Jul, 2002 1 commit
  11. 13 Jul, 2002 1 commit
    • Dries's avatar
      · 36fca092
      Dries authored
      - Added missing t() functions.  Patch by Ori.
      36fca092
  12. 23 Jun, 2002 1 commit
    • Dries's avatar
      · 0544d005
      Dries authored
      - Made node_comment_mode() cache the mode when possible.  Patch from Marco's
        sandbox.
      0544d005
  13. 15 Jun, 2002 1 commit
  14. 13 Jun, 2002 1 commit
  15. 08 Jun, 2002 1 commit
    • Kjartan's avatar
      - improved module descriptions. · 5d36c704
      Kjartan authored
      - removed admin options for queue and comment module if the modules are not
        loaded.
      - nodes are now auto promoted when queue module isn't enabled.
      - moderation result block is now visible by the node author.
      5d36c704
  16. 01 Jun, 2002 1 commit
    • Kjartan's avatar
      - adding descriptions to modules (thanks Joe + Scott). · 4a28077f
      Kjartan authored
      - fixed comment flat list view missing 1 comment.
      - changed update.php around a bit.
          * security check isn't in effect if the db hasn't been updated.
          * instructions re-organized.
          * fixed some minor updates.
      - updated database.mysql done by UnConeD.
      - changelog update.
      4a28077f
  17. 30 May, 2002 1 commit
    • Dries's avatar
      · af075abb
      Dries authored
      - Fixed but #197: "Shouldn't going to index.php?or=xxx show all content
        for the term rather than only promoted content?".  Reported by Barry,
        fixed by Revar's patch.
      af075abb
  18. 29 May, 2002 1 commit
  19. 26 May, 2002 1 commit
    • Dries's avatar
      · 41914814
      Dries authored
      - Bugfix: just before submitting a node, one could change the content of
        that node to something that would not have passed the preview pages.
      
        Patch by Revar:
      
          "If you uploaded a valid file, and filled out the form right, you will
          get a Submit button.  The problem comes in when you choose a different
          file to upload, and then click Submit.  The filestore_save() function
          cannot do proper validation and handling of the form data, as it only
          returns a list of what node fields to save.  On error, a node entry is
          still created, but with only the nid field set.  The user can't be
          forced to fix their bad entry."
      
          "Add a _form_validate() node hook to process and validate any form
          results.  That way even on Submit, the node code would check the
          validity of the data, and if bad, it could drop you back to the preview
          screen with the current bad data warnings.  Have it return an array of
          errors that can be passed in as $error to the _form() hook.  If it
          returns a null array, then there's no errors, and the submit can go
          through."
      41914814
  20. 24 May, 2002 1 commit
    • Dries's avatar
      · 04e491f8
      Dries authored
      - Now all themes use the new taxonomy stuff, we can remove the depricated
        function node_index() - it was an empty function.
      04e491f8
  21. 23 May, 2002 1 commit
    • Kjartan's avatar
      - pending user accounts will not be notified to the site_email. · 66e1bbfb
      Kjartan authored
      - fixed access checks on the register form, do this before you enter the
        _save function. If registrations are disabled the register link will
        no longer show (again).
      - changed &#187 to &raquo, using the names of entities are better than
        the numbers.
      - fixed user information being set when account is registered (properly this
        time, really!)
      - reversed the if(!...) commit.
      - node_add specifies more defaults.
      - added link to blog entries from user page.
      66e1bbfb
  22. 22 May, 2002 1 commit
    • Kjartan's avatar
      - node security fixes. · 5f6d733b
      Kjartan authored
      - fixing the UI to represent what actually happens when you are an admin.
      5f6d733b
  23. 20 May, 2002 2 commits
    • Kjartan's avatar
      - changing sort order. · 3d5d2476
      Kjartan authored
      3d5d2476
    • Dries's avatar
      · f3c87571
      Dries authored
      - Ran the code through 'scripts/code-clean.sh': removed trailing whitespace
        (and possibly tabs).
      f3c87571
  24. 12 May, 2002 1 commit
  25. 11 May, 2002 1 commit
  26. 04 May, 2002 1 commit
  27. 03 May, 2002 2 commits
  28. 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
  29. 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
  30. 17 Apr, 2002 1 commit
  31. 15 Apr, 2002 1 commit
  32. 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
  33. 04 Apr, 2002 1 commit
  34. 26 Mar, 2002 1 commit
    • Dries's avatar
      · 9111bfa9
      Dries authored
      - Small bugfix.
      9111bfa9
  35. 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
  36. 19 Feb, 2002 1 commit
  37. 31 Jan, 2002 1 commit
    • Dries's avatar
      · c1c612b1
      Dries authored
      - Made the calendar module accept a $date parameter such that you
        can jump directly to a certain date in the archives.  Also made
        the calendar link to itself such that it is self-contained.
      
      - Code beautifications: quoted a lot of arrays, removed dead code
        and simplified a few things.
      
      - Replaced the Calendar class by one function "calendar_display":
        using a class (or class instance, or object) doesn't make sense
        in the archives' case.
      
      - Renamed "calendar.module" to "archive.module".
      
      - Fixed a /problem/ with node settings not always being saved like
        expected.
      
      - Reorganized the user menu: renamed a couple of links for clarity
        and structure.
      
      - Fixed a few typos.
      c1c612b1