1. 03 Sep, 2004 1 commit
  2. 21 Aug, 2004 1 commit
    • Dries's avatar
      · 94e30bf7
      Dries authored
      - Patch by JonBob: for consistency and readability, add brief descriptions of each source file inside the @file comment block at the head of the file. This helps with Doxygen indexing, and also allows neophytes to see what a file does immediately on opening the source, regardless of the organization of the hooks.
  3. 19 Aug, 2004 1 commit
    • Dries's avatar
      · fa25c7a0
      Dries authored
      - Code improvements by Stefan: use capital letters for header titles (and added some missing t() functions).
  4. 18 Aug, 2004 1 commit
    • Dries's avatar
      · 83a739bd
      Dries authored
      - Code improvements by Stefan: made all status messages consistent (and easier to translate).
  5. 16 Aug, 2004 1 commit
    • Dries's avatar
      · 2f33b939
      Dries authored
      - Patch #9983 by Stefan: usability improvement: made sure all status messages start with a capital letter.
  6. 12 Aug, 2004 1 commit
  7. 10 Aug, 2004 1 commit
  8. 09 Aug, 2004 1 commit
  9. 07 Aug, 2004 2 commits
    • Dries's avatar
      · bdbc34c9
      Dries authored
      - Patch #6760 by JonBob: refactored the taxonomy module URLs to be nicer, improved the code/Doxygen comments.
        As discussed before, the path "taxonomy/page/or/1,2" becomes "taxonomy/term/1+2" and the path "taxonomy/page/and/1,2" becomes "taxonomy/term/1,2". The most common case of listing nodes attached to a single term becomes simpler, since it doesn't require a meaningless "or" or "and". A depth of "0" is assumed, but a positive integer or "all" can be used. Feeds are available at "taxonomy/term/1+2/all/feed" and the like.
        This iteration of the patch also changes the structure of taxonomy_select_nodes(), since it was not following Drupal conventions. A handful of contrib modules call this function, and will need to be updated. Instead of passing in a $taxonomy object containing parameters for the function, the parameters are passed independently. This simplifies the code quite a bit. The queries were changed to only return node IDs for speed; all results from this function are passed through node_load() anyway, so the extra information returned was discarded. The AND query was also changed to avoid the strange trick and remove an extra query, at the expense of a table join per root term in the AND. This cleans up the code substantially while at the same time enabling the use of AND with a depth parameter.
        TODO: update contribution modules.
    • Dries's avatar
      · 6f024382
      Dries authored
      - Made the taxonomy module use drupal_goto() to fix up the interaction behavior.
  10. 31 Jul, 2004 1 commit
    • Dries's avatar
      · 202eee42
      Dries authored
      - Patch #9543 by JonBob: added node-level access control!
  11. 10 Jul, 2004 1 commit
    • Dries's avatar
      · ac5b5616
      Dries authored
      - More tab-improvements by JonBob: improved support for the default tabs!
  12. 08 Jul, 2004 1 commit
    • Dries's avatar
      · 898bdeff
      Dries authored
      - Marked required fields on the node (story, book, page, blog) and comment
        forms using the $required argument of the form_ functions.
      - Replaced all Optional's and Required's from the taxonomy forms with proper
        use of the form_ functions.
      Please check your contributed modules too!
  13. 07 Jul, 2004 1 commit
  14. 04 Jul, 2004 1 commit
    • 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').
  15. 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).
  16. 23 Jun, 2004 1 commit
  17. 21 Jun, 2004 1 commit
  18. 20 Jun, 2004 1 commit
  19. 19 Jun, 2004 2 commits
    • Dries's avatar
      · cbc230a3
      Dries authored
      - Patch #7696 by TDobes: renamed 'static' to 'sticky' which is a more
        logical name.  Requires a database upgrade.
    • Dries's avatar
      · c3a6f3dc
      Dries authored
      - Patch #8632 by Mohse: made the taxonomy select menus more flexible.
        Specifically, it lets you edit more than one node's taxonomy within
        the same form.
        This patch also removes the behavior where taxonomy remembers your
        last choice for a given vocab and automatically selects it for you.
        That is poor behavior.  If someone changes a date or author in a
        node, he is likely to inadvertently add taxo terms using with this
  20. 18 Jun, 2004 1 commit
    • Dries's avatar
      · 54b77d64
      Dries authored
      Tabs patch!
       + 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'.
       + 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').
  21. 17 Jun, 2004 1 commit
  22. 15 Jun, 2004 1 commit
  23. 31 May, 2004 1 commit
    • Dries's avatar
      · 7a33d9f6
      Dries authored
      - Patch #7350 by Mathias: return part a taxonomy tree to a user-defined
      - Updated CHANGELOG.txt.
  24. 15 May, 2004 1 commit
    • Dries's avatar
      · fed7e664
      Dries authored
      - Patch #6682 by jhriggs: added form_checkboxes(), much like form_radios()
        and updated some modules to take advantage of it.
  25. 04 May, 2004 1 commit
  26. 24 Apr, 2004 1 commit
  27. 23 Apr, 2004 1 commit
  28. 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 ..."
  29. 18 Apr, 2004 1 commit
  30. 15 Apr, 2004 1 commit
    • Dries's avatar
      - Patch by JonBob/Jonathan: reworked the menu system so that menus are · 10bdb51c
      Dries authored
        configurable!  Menu items can be disabled, repositioned, added and
        so on.
        Upgrading to requires you to run update.php.
        This functionality depricates some of the 'navigation modules' in the
        contributions repository.  Furthermore, modules can now 'suggest'
        menu items and site adminstrators can choose to enable them.  Modules
        in the contributions repository should try to take advantage of this.
  31. 20 Mar, 2004 1 commit
  32. 14 Mar, 2004 1 commit
    • Dries's avatar
      · 10917b12
      Dries authored
      - Patch #6470 by Brian: fixed XHTML error with multiple selection boxes.
  33. 06 Mar, 2004 1 commit
    • 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.
  34. 21 Feb, 2004 2 commits
  35. 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.
  36. 12 Feb, 2004 1 commit
  37. 08 Feb, 2004 1 commit
    • Dries's avatar
      · d0ffb479
      Dries authored
      - Refined the regex to validate the input.