1. 04 Jul, 2004 3 commits
    • Steven Wittens's avatar
      - Added revisions tab to node view (when needed) · d615cb24
      Steven Wittens authored
      - Updated node.module to use drupal_goto after submission: this allows people to refresh after submission without any problems.
      d615cb24
    • Dries's avatar
      · fe2b3e7c
      Dries authored
      - Patch by Steven and me: refactored the form handling of nodes. The node system is now using form_set_error() and friends like the rest of Drupal does. This makes for both a consistent user experience and consistent code. It simplifies the forms and validation code, however, it does change the node API slightly:
      
          * The _validate hook and the _nodeapi('validate') hook of the node API (1) no longer take an 'error' parameter and (2) should no longer return an error array. To set an error, call form_set_error().
      
          * The _form hook of the node module no longer takes a form hook and should not worry about displaying errors. Ditto for _nodeapi('form_post') and _nodeapi('form_pre').
      fe2b3e7c
    • Dries's avatar
      · 353c05d0
      Dries authored
      - Made it possible to edit blog posts and made the blog module use tabs.
      353c05d0
  2. 02 Jul, 2004 1 commit
    • Dries's avatar
      · 9986cb36
      Dries authored
      - Patch #8973 by JonBob: Drupal contains many undefined variables and array indices, which makes PHP throw a lot of warnings when the reporting level is set to E_ALL. Things run fine with these warnings, but as a matter of code style if nothing else we should probably strive to avoid them. The attached fixes most of the more egregious offenders (about 95% of the warnings when I load /node on my test site).
      9986cb36
  3. 22 Jun, 2004 1 commit
    • Dries's avatar
      · e288b4dd
      Dries authored
      - Patch #8747 by JonBob: extended and standardized node.module Doxygen
        comments, and made formatting and quote usage more consistent.
      e288b4dd
  4. 21 Jun, 2004 2 commits
  5. 20 Jun, 2004 2 commits
  6. 19 Jun, 2004 2 commits
  7. 18 Jun, 2004 1 commit
    • Dries's avatar
      · 54b77d64
      Dries authored
      Tabs patch!
      
      CHANGES
      -------
      
       + Introduced tabs. First, we extended the menu system to support tabs. Next, a tab was added for every link that was (1) an administrative action other than the implicit 'view' (2) relevant to that particular page only. This is illustrated by the fact that all tabs are verbs and that clicking a page's tab leads you to a subpage of that page.
      
       + Flattened the administration menu. The tabs helped simplify the navigation menu as I could separate 'actions' from 'navigation'. In addition, I removed the 'administer > configuration'-menu, renamed 'blocks' to 'sidebars' which I hope is a bit more descriptive, and made a couple more changes. Earlier, we already renamed 'taxonomy' to 'categorization' and we move 'statistics' under 'logs'.
      
       + Grouped settings. All settings have been grouped under 'administer > settings'.
      
      TODO
      ----
      
       + Update core themes: only Xtemplate default supports tabs and even those look ugly.  Need help.
      
       + Update contributed modules.  The menu() hook changed drastically.  Updating your code adhere the new menu() function should be 90% of the work.  Moreover, ensure that your modue's admin links are still valid and that URLs to node get updated to the new scheme ('node/view/x' -> 'node/x').
      54b77d64
  8. 17 Jun, 2004 1 commit
  9. 10 Jun, 2004 1 commit
  10. 02 Jun, 2004 1 commit
  11. 03 May, 2004 1 commit
  12. 28 Apr, 2004 1 commit
    • Dries's avatar
      · 2ca7eb71
      Dries authored
      - Patch #6612 by JonBob: extended the node API with new hooks.
      2ca7eb71
  13. 24 Apr, 2004 1 commit
  14. 21 Apr, 2004 1 commit
    • Dries's avatar
      · 7231c88a
      Dries authored
      - Added support for 403 handling.  Patch by JonBob.  As a side benefit,
        administrators will be able to define a custom 403 page, just as they
        can define 404 pages now.
      
        This needs to be documented in the "Changes since / migrating to ..."
        pages.
      7231c88a
  15. 15 Apr, 2004 2 commits
  16. 05 Apr, 2004 1 commit
  17. 20 Mar, 2004 1 commit
  18. 11 Mar, 2004 1 commit
    • Dries's avatar
      · 2101f6c4
      Dries authored
      - Rewrote the profile module:
      
         + Added a 'created' field to the users table and renamed the 'timestamp'
           fied to 'changed' (cfr. node table).  Update.php will try to determine
           a 'created' timestamp for existing users.
      
         + The profile module no longer uses serialized data but has its own set
           of tables.  Known existing profile data is migrated by these new tables.
             TODO: migrate the birthday field.
      
         + The profile fields can be grouped, and within each group, profile fields
           can be sorted using weights.
      
         + The profile pages can be themed.
      
         + The profiles can be browsed based on certain properties/settings.
      
         + Change the _user hook: (i) 'private_view' and 'public_view' are merged
           into 'view' as there are no private fields and (ii) 'edit_form' has
           been renamed to 'edit'.
      
         + Avatar handling has been refactored and is now part of the user module.
           The users table has a dedicted 'picture' field.
      
         + Simplified the way themes should use display/visualize pictures or
           avatars.
      
         + Made it possible for administrators to replace or delete avatars.
      
         + ...
      
        I hope this make for a good base to build on collectively.
      2101f6c4
  19. 06 Mar, 2004 2 commits
    • Dries's avatar
      · ccc9276f
      Dries authored
      - Patch #4902 by Goba: fix URLs in RSS feeds.
         + Make all channel links absolute.
         + Always set the $base_url as xml:base, thus providing a solid base for
           relative URLs.
      ccc9276f
    • Dries's avatar
      · 744405e3
      Dries authored
      - Patch 6140 by Goba: fix the 'read more'-link behavior.
      744405e3
  20. 01 Mar, 2004 1 commit
    • Dries's avatar
      · 0f980c24
      Dries authored
      - Removed broken throttle.
      0f980c24
  21. 29 Feb, 2004 1 commit
    • Dries's avatar
      · c73305f6
      Dries authored
      - Patch #6129 by Goba: fixed dependencies on search module.
      c73305f6
  22. 26 Feb, 2004 1 commit
    • Dries's avatar
      · df2c0337
      Dries authored
      - Patch 6066 by Adrian: PostgreSQL does not return 'affected rows' when doing
        a select statement.  Even though PEAR supports this functionality, it fails
        silently when using PostgreSQL.  We use the db_num_rows() function instead
        to return the amount of rows returned.  (According to Killes, the MySQL
        manual also states that it should not return affected rows on a 'select'
        statement.)
      df2c0337
  23. 19 Feb, 2004 1 commit
  24. 16 Feb, 2004 1 commit
    • Dries's avatar
      · 634893f2
      Dries authored
      - Patch 5683 by JonBob: changes the multiple type delimiter from / to -.
      634893f2
  25. 15 Feb, 2004 1 commit
    • Dries's avatar
      · 4b0b2d02
      Dries authored
      - Patch by Steven: removed redundant permission checks.  These are no longer
        required thanks to the new 404 handling.
      4b0b2d02
  26. 12 Feb, 2004 1 commit
    • Dries's avatar
      · b5c18e8a
      Dries authored
      - Patch 5592 by Goba: introduced a new function, drupal_map_assoc().
      b5c18e8a
  27. 11 Feb, 2004 2 commits
    • Dries's avatar
      - Patch 4902 by Goba: · f137b269
      Dries authored
        + only adds an optional parameter to url() and l(), so individual links
          can be set to be absolute
        + modifies drupal_goto() to accept the parameters of url() without the
          $absolute parameter, so cleaner invocations can be used
        + rework of some code in node_feed, making it much better to look at
          (the current code uses foreach with an immediate brake to get the first
          key of the associative array, geeeeez)
        + added xml:base to the rss tag generated by node_feed()
        + set all user mail URLs to be absolute
        + fix a small fragmented URL in user.module
      f137b269
    • Dries's avatar
      a333c05d
  28. 09 Feb, 2004 1 commit
  29. 08 Feb, 2004 4 commits