1. 09 Aug, 2004 1 commit
  2. 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.
      bdbc34c9
    • Dries's avatar
      · 6f024382
      Dries authored
      - Made the taxonomy module use drupal_goto() to fix up the interaction behavior.
      6f024382
  3. 31 Jul, 2004 1 commit
    • Dries's avatar
      · 202eee42
      Dries authored
      - Patch #9543 by JonBob: added node-level access control!
      202eee42
  4. 10 Jul, 2004 1 commit
    • Dries's avatar
      · ac5b5616
      Dries authored
      - More tab-improvements by JonBob: improved support for the default tabs!
      ac5b5616
  5. 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!
      898bdeff
  6. 07 Jul, 2004 1 commit
  7. 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').
      fe2b3e7c
  8. 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
  9. 23 Jun, 2004 1 commit
  10. 21 Jun, 2004 1 commit
  11. 20 Jun, 2004 1 commit
  12. 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.
      cbc230a3
    • 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
        'feature'.
      c3a6f3dc
  13. 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
  14. 17 Jun, 2004 1 commit
  15. 15 Jun, 2004 1 commit
  16. 31 May, 2004 1 commit
    • Dries's avatar
      · 7a33d9f6
      Dries authored
      - Patch #7350 by Mathias: return part a taxonomy tree to a user-defined
        depth/level.
      
      - Updated CHANGELOG.txt.
      7a33d9f6
  17. 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.
      fed7e664
  18. 04 May, 2004 1 commit
  19. 24 Apr, 2004 1 commit
  20. 23 Apr, 2004 1 commit
  21. 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
  22. 18 Apr, 2004 1 commit
  23. 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.
      10bdb51c
  24. 20 Mar, 2004 1 commit
  25. 14 Mar, 2004 1 commit
    • Dries's avatar
      · 10917b12
      Dries authored
      - Patch #6470 by Brian: fixed XHTML error with multiple selection boxes.
      10917b12
  26. 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.
      ccc9276f
  27. 21 Feb, 2004 2 commits
  28. 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
  29. 12 Feb, 2004 1 commit
  30. 08 Feb, 2004 1 commit
    • Dries's avatar
      · d0ffb479
      Dries authored
      - Refined the regex to validate the input.
      d0ffb479
  31. 07 Feb, 2004 1 commit
    • Dries's avatar
      · 06b25311
      Dries authored
      - Bug 4853: fixed invalid taxonomy query.
      06b25311
  32. 01 Feb, 2004 2 commits
    • Dries's avatar
      · eec20988
      Dries authored
      - Patch #5575 by Stefan: fixed invalid XHTML code in the node and taxonomy module.
      eec20988
    • Dries's avatar
      · dc938c53
      Dries authored
      - Patch #5567 by Goba: fixed t() functions, cleanup of locale module's help,
        fixed translation issues in taxonomy module, etc.
      dc938c53
  33. 27 Jan, 2004 1 commit
    • Dries's avatar
      · 1687dd07
      Dries authored
      - Patch 5049 by JonBob: allow a module to define multiple node types.
      1687dd07
  34. 23 Jan, 2004 1 commit
    • Dries's avatar
      · b85eb11e
      Dries authored
      Patch 5287 by Stefan: multiline help texts should become inside a single $output.
      b85eb11e
  35. 18 Jan, 2004 1 commit
    • Dries's avatar
      · 88d0603e
      Dries authored
      - Patch 5080 by lizardo: fixed two typos in the taxonomy module's help text.
      88d0603e
  36. 14 Jan, 2004 1 commit
    • Dries's avatar
      Patch 5114 by Kjartan: · 6fc2070a
      Dries authored
       - Adds drupal_set_header() and drupal_get_headers().
       - Cache now stores custom headers.
       - Replace theme_head() with drupal_get_html_head(), added drupal_set_html_head().
       - Added RSS autodiscover links to node, blog and taxonomy pages.
      6fc2070a