Skip to content
Snippets Groups Projects
  1. Aug 16, 2004
  2. Aug 15, 2004
    • Dries Buytaert's avatar
      - Patch by James Seng and James Walkah: · 3a259e91
      Dries Buytaert authored
        * Don't rely on a blog table (i.e. do 'extended' the drupal way.
        * Allow listing / setting new 'input format' - (using mt.supportedTextFilters).
        * Handle MT extensions to metaWeblog.newPost/editPost where applicable.
        * Implemented mt.supportedMethods.
        * Also did a bit of refactoring to make sure we generate post values the same for both newPost/editPost but also for getRecentPosts and getPost
      3a259e91
    • Dries Buytaert's avatar
      · 9a26352b
      Dries Buytaert authored
      - Patch #9864 by JonBob: better form validation in menu administration.
      9a26352b
    • Dries Buytaert's avatar
      · ba70b534
      Dries Buytaert authored
      - Removed the offline users feature.
      ba70b534
  3. Aug 14, 2004
    • Steven Wittens's avatar
      #10013: Rolling back accidental commit of Adrian's template system changes... · 26cb5c1d
      Steven Wittens authored
      #10013: Rolling back accidental commit of Adrian's template system changes (got in through the code style improvements patch).
      26cb5c1d
    • Steven Wittens's avatar
    • Steven Wittens's avatar
      #10012 - Profile.module: · 6a380525
      Steven Wittens authored
      - Restoring broken update path.
      - Adding birthday/date function back, with update path.
      - Show private fields when viewing your own profile, or for admins.
      - Do not allow browsing of private fields for non admins (403)
      - Throw a 404 for browsing unbrowsable fields, rather than an SQL error
      - Fixing input processing: nothing is filtered twice anymore, and I replaced several strip_tags with specialchars (more flexible).
      - Minor admin UI tweaks + added friendly field type names.
      6a380525
    • Dries Buytaert's avatar
      · a3bd80b2
      Dries Buytaert authored
      - Patch by Al: don't translate all help text upon every page view!
      a3bd80b2
    • Dries Buytaert's avatar
      - Patch by James: made the blogapi work with DA. · 334f24b4
      Dries Buytaert authored
         * Refactored the "brains" of user_login() to user_authenticate($user, $pass) so that blogapi (and others) can authenticate users (including those using DistAuth) without all the html and drupal_goto calls
         * Updates blogapi_validate_user to use user_authenticate.
      334f24b4
    • Dries Buytaert's avatar
      · 064089a3
      Dries Buytaert authored
      - Added missing quotes around 'name'.  Spotted by James.
      064089a3
    • Dries Buytaert's avatar
      - Patch #9975 by TDobes: fixes two consistency problems with watchdog entries: · 84c8ba50
      Dries Buytaert authored
         * Adds missing quotes around the username in "session closed" watchdog messages from user.module (session opened has quotes, but session closed does not).
         * Changed "view detals" after watchdog entries to "details".
      84c8ba50
    • Dries Buytaert's avatar
      · 7a885c8f
      Dries Buytaert authored
      - Patch #10044 by TDobes: fixed broken links in the statistics module. In the current statistics.module, clicking a page title should lead to the appropriate page within the local site. Instead, it leads to a 404 because the / character is turned into %2F... this is due to the paths being passed through urlencode(). The attached patch removes the problematic calls to urlencode.
      7a885c8f
  4. Aug 13, 2004
  5. Aug 12, 2004
  6. Aug 11, 2004
    • Dries Buytaert's avatar
      · 1831e1b6
      Dries Buytaert 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
  7. Aug 10, 2004
    • 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 Buytaert's avatar
      · 4a35c8aa
      Dries Buytaert authored
      - Patch #8155 by JonBob: removed legacy _system() hook.
      4a35c8aa
    • Steven Wittens's avatar
      b9700a63
    • Dries Buytaert's avatar
      · d6d3af1b
      Dries Buytaert 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
Loading