1. 11 Aug, 2004 2 commits
    • Dries's avatar
      · 1831e1b6
      Dries authored
      - New locale module thanks to Gerhard, Goba, Marco, Kristjan and others.
      
        The new locale module provides every functionality on the web interface, so you don't need to edit the configuration files or add columns, when you add a new language. This module is an integration of the old locale and localegettext modules, plus a bunch of logic to parse Gettext Portable Object files (opposed to Machine Object files, as supported by localegettext).
      
        Note: I made some minor changes to the context-sensitive help texts and to some of the status messages.
      1831e1b6
    • Steven Wittens's avatar
      - Removing tab from line break convertor · 8517e17e
      Steven Wittens authored
      - Cleaning up code a bit
      8517e17e
  2. 10 Aug, 2004 15 commits
    • Steven Wittens's avatar
    • Steven Wittens's avatar
      - Renaming parameter to hook_filter_tips() · 6fd74abb
      Steven Wittens authored
      - Removing some leftover dead code
      6fd74abb
    • Dries's avatar
      · 4a35c8aa
      Dries authored
      - Patch #8155 by JonBob: removed legacy _system() hook.
      4a35c8aa
    • Steven Wittens's avatar
      b9700a63
    • Dries's avatar
      · d6d3af1b
      Dries authored
      - Patch #9663 by jvandyk: the $i counter variable in tablesort_get_order() is unused and should therefore be removed.
      d6d3af1b
    • Steven Wittens's avatar
      Added note about filter patch. · f28d84e7
      Steven Wittens authored
      f28d84e7
    • 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
    • Steven Wittens's avatar
    • Steven Wittens's avatar
      9c1ccbbf
    • Steven Wittens's avatar
      - Left-over debug statement · 50717513
      Steven Wittens authored
      50717513
    • Steven Wittens's avatar
      - #4266: When editing a book page, hide the page and its children from the... · af0be96a
      Steven Wittens authored
      - #4266: When editing a book page, hide the page and its children from the "Parent" selector to prevent circular relationships in the book hierarchy.
      af0be96a
    • Dries's avatar
      · f99830a4
      Dries authored
      - Patch by Al: improved the admin/help pages (first step).
      f99830a4
    • Steven Wittens's avatar
      119f41fb
    • Steven Wittens's avatar
      00d7b517
    • Steven Wittens's avatar
      #7646 and more: · 88221c2f
      Steven Wittens authored
      - Users who have not edited their account yet would be reset to GMT rather than the sitewide timezone.
      - Users who chose GMT (zero timezone) on a site with a non-zero timezone as default would have incorrect timezone.
      88221c2f
  3. 09 Aug, 2004 3 commits
    • Dries's avatar
      · d6a91bdd
      Dries authored
      - Patch #9884 by Bart Jansens:
        + The 'previous topic' / 'next topic' links skipped topic without comments (changed one inner join back to a left join).
        + The default order setting in admin/settings/forum had no effect.
        + The 'first new topic' link jumped to the first unread topic ever instead of the first unread topic since NODE_NEW_LIMIT.
        + This also removes the unused $offset param from theme_forum_display and theme_forum_topic_list, so any themes using these functions should be updated (i checked the core themes but none of them used these functions).
      d6a91bdd
    • Dries's avatar
      · 4cad8d5c
      Dries authored
      - Patch #9865 by njivy: avoid mangling %'s in the profile SQL query.
      4cad8d5c
    • Dries's avatar
  4. 08 Aug, 2004 2 commits
    • Steven Wittens's avatar
      Tiny code cleanup in user.module. · 89510864
      Steven Wittens authored
      89510864
    • Dries's avatar
      · 90581e73
      Dries authored
      - Patch #9866 by njivy: when the links are generated for each item in a list-type profile field, double quotes in the item name can break the link. To fix this, this patch gives drupal_specialchars() the ENT_QUOTES parameter to convert quotes into HTML entities. This fix is also applied to selection-type profile fields which can have the same problem.
      90581e73
  5. 07 Aug, 2004 6 commits
    • Steven Wittens's avatar
    • Steven Wittens's avatar
      - Adding $id$ · 1e1144f1
      Steven Wittens authored
      1e1144f1
    • Steven Wittens's avatar
      Cron.php · c3737f51
      Steven Wittens authored
      - #1322: Adding a warning if the cron fails to complete.
      - Simplifying odd commenting syntax
      c3737f51
    • Steven Wittens's avatar
      ddb31aaf
    • 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
  6. 06 Aug, 2004 9 commits
  7. 05 Aug, 2004 3 commits
    • Dries's avatar
      · 35cad55e
      Dries authored
      - Patch #8523 by killes: avoid profile data being deleted when requesting a new
        password.
      35cad55e
    • Dries's avatar
      · f971b768
      Dries authored
      - Patch by Jeremy: usability improvements for the statistics.module's GUI.
      f971b768
    • Dries's avatar
      · b47e4e16
      Dries authored
      - Patch #9794 by JonBob: a bug introduced late in the review process makes individual node views inaccessible to users who should have permission. This does not affect node listings, so was missed.
      b47e4e16