1. 12 Aug, 2004 2 commits
  2. 11 Aug, 2004 1 commit
  3. 10 Aug, 2004 3 commits
    • Steven Wittens's avatar
      - Renaming parameter to hook_filter_tips() · 6fd74abb
      Steven Wittens authored
      - Removing some leftover dead code
      6fd74abb
    • Steven Wittens's avatar
      b9700a63
    • Steven Wittens's avatar
      The Input formats - filter patch has landed. I still need to make update... · 660f9928
      Steven Wittens authored
      The Input formats - filter patch has landed. I still need to make update instructions for modules and update the hook docs.
      
      Here's an overview of the changes:
      1) Multiple Input formats: they are complete filter configurations (what filters to use, in what order and with which settings). Input formats are admin-definable, and usage of them is role-dependant. For example, you can set it up so that regular users can only use limited HTML, while admins can free HTML without any tag limitations.
      The input format can be chosen per content item (nodes, comments, blocks, ...) when you add/edit them. If only a single format is available, there is no choice, and nothing changes with before.
      
      The default install (and the upgrade) contains a basic set of formats which should satisfy the average user's needs.
      
      2) Filters have toggles
      Because now you might want to enable a filter only on some input formats, an explicit toggle is provided by the filter system. Modules do not need to worry about it and filters that still have their own on/off switch should get rid of it.
      
      3) Multiple filters per module
      This was necessary to accomodate the next change, and it's also a logical extension of the filter system.
      
      4) Embedded PHP is now a filter
      Thanks to the multiple input formats, I was able to move the 'embedded PHP' feature from block.module, page.module and book.module into a simple filter which executes PHP code. This filter is part of filter.module, and by default there is an input format 'PHP', restricted to the administrator only, which contains this filter.
      This change means that block.module now passes custom block contents through the filter system.
      As well as from reducing code duplication and avoiding two type selectors for page/book nodes, you can now combine PHP code with other filters.
      
      5) User-supplied PHP code now requires <?php ?> tags.
      This is required for teasers to work with PHP code. Because PHP evaluation is now just another step in the filter process, we can't do this. Also, because teasers are generated before filtering, this would result in errors when the teaser generation would cut off a piece of PHP code.
      
      Also, regular PHP syntax explicitly includes the <?php ?> tags for PHP files, so it makes sense to use the same convention for embedded PHP in Drupal.
      
      6) Filter caching was added.
      Benchmarking shows that even for a simple setup (basic html filtering + legacy URL rewriting), filtercache can offer speedups. Unlike the old filtercache, this uses the normal cache table.
      
      7) Filtertips were moved from help into a hook_filter_tips(). This was required to accomodate the fact that there are multiple filters per module, and that filter settings are format dependant. Shoehorning filter tips into _help was ugly and silly. The display of the filter tips is done through the input format selector, so filter_tips_short() no longer exists.
      
      8) A more intelligent linebreak convertor was added, which doesn't stop working if you use block-level tags and which adds <p> tags.
      660f9928
  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
      · c989fc7c
      Dries authored
      - Small improvement to the filter.module's help text.
      
      - Revert patch that accidentically got committed.  Thanks jhriggs.
      c989fc7c
  6. 20 Jun, 2004 1 commit
  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. 15 Jun, 2004 1 commit
  9. 17 May, 2004 1 commit
  10. 03 May, 2004 1 commit
  11. 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
  12. 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
  13. 23 Feb, 2004 1 commit
    • Dries's avatar
      · 4a8571bf
      Dries authored
      - Patch #6000 by Goba: makes the short tip list a HTML list (as it is semantically
        expected) and gives proper class names to the long and short tip list, so if
        someone would like to reproduce the 'br' tagged version, he can do that with
        some CSS styles easily.  Assigned a dedicated class to the more-tips link, so it
        can be differently stlyed (with a different bullet, different link color or
        anyhow, as the theme designer desires).
      4a8571bf
  14. 21 Feb, 2004 1 commit
  15. 17 Feb, 2004 1 commit
    • Dries's avatar
      · 7abb76e1
      Dries authored
      - Patch 5897 by Moshe: don't consider the 'U' tag to be a block level tag.
      7abb76e1
  16. 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
  17. 06 Feb, 2004 2 commits
  18. 31 Jan, 2004 1 commit
    • Dries's avatar
      · fcb9011d
      Dries authored
      - Modified filter patch by Ax.
      fcb9011d
  19. 27 Jan, 2004 1 commit
    • Dries's avatar
      · 02c622de
      Dries authored
      - Patch 4332 by Goba: eliminate compose tips module.
      02c622de
  20. 19 Jan, 2004 1 commit
  21. 07 Jan, 2004 1 commit
    • Dries's avatar
      · 94f6e94f
      Dries authored
      - Many excellent news aggregator improvements by Kjartan:
          + Added drupal_http_request().
          + Replaced rssfeeds with OPML feed subscription list.
          + Added support for pubDate.
          + Added support for conditional gets using ETag and Last-Modified.
      94f6e94f
  22. 05 Jan, 2004 1 commit
    • Steven Wittens's avatar
      Committed filter separation patch: all filter-related things are now in... · c2151b52
      Steven Wittens authored
      Committed filter separation patch: all filter-related things are now in filter.module (which is a required module).
      To do this cleanly, I reorganised some bits of system.module: there is now a generic handler available for simple variable-get/set based configuration pages. Look at filter_admin() or system_view() for example usage.
      
      (based on the patch by Goba)
      c2151b52