1. 24 Nov, 2004 1 commit
  2. 21 Nov, 2004 1 commit
    • Dries's avatar
      · fa978390
      Dries authored
      - Patch 13180 by chx: renamed check_query() to db_escape_string() and implemtented it properly per database backend.
      
        Read the manual for pg_escape_string:  "Use of this function is recommended instead of addslashes()." Or read sqlite_escape_string: "addslashes() should NOT be used to quote your strings for SQLite queries; it will lead to strange results when retrieving your data."
      fa978390
  3. 18 Oct, 2004 1 commit
  4. 12 Oct, 2004 1 commit
  5. 04 Oct, 2004 1 commit
    • Dries's avatar
      · 503c7845
      Dries authored
      - Simplified/reorganized version of patch #9620 by Jeremy: fixed errors when writing to cache.
      503c7845
  6. 20 Sep, 2004 1 commit
    • Dries's avatar
      · 228b3c7c
      Dries authored
      - Patch #10945 by Adrian: more PostgreSQL fixes/updates.
      228b3c7c
  7. 16 Sep, 2004 1 commit
    • Dries's avatar
      · 5c7983c4
      Dries authored
      - Patch #8179 by JonBob: reintroduced menu caching.
      5c7983c4
  8. 15 Sep, 2004 1 commit
  9. 09 Sep, 2004 1 commit
    • Dries's avatar
      · b84b6e42
      Dries authored
      - Patch #10663 by JonBob: documentation improvements: fixed some typos and improved consistency to the use of Doxygen/api.module commands in the comments.
      b84b6e42
  10. 08 Sep, 2004 3 commits
    • Dries's avatar
      · d56ced2a
      Dries authored
      - Patch #10373 by jabart/killed: performance improvement: caching the variable table improves performance with 20% when serving cached pages.
      d56ced2a
    • Dries's avatar
      80086a9e
    • Dries's avatar
      · 7b716e8e
      Dries authored
      - Patch #10622 by Adrian: fixes various PostgreSQL related problems.
      
        1) Menu problems with Postgres (this is a highly critical 1 line fix)
        2) Archive module fails with Postgres
        3) Postgres setup problems - changes to database.pgsql (although i made these changes myself before finding this patch)
        4) Book module fails with Postgres
        5) Postgres problems following creation of a new type of user - which is actually about a taxonomy.module bug.
        6) Creating accregator_item_table in PostgreSQL
        7) Postgres - Polls not displayed on Poll Page
        8) Blog module has sql errors with postgres
      
        This should not affect MySQL users (hopefully).
      7b716e8e
  11. 16 Aug, 2004 1 commit
  12. 10 Aug, 2004 1 commit
    • 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
  13. 06 Aug, 2004 1 commit
    • Dries's avatar
      · 9e54dc27
      Dries authored
      - Patch #7968 by Adrian: use the complete URL as the cache ID to make Drupal's
        caching work on virtual hosts.
      9e54dc27
  14. 22 Jul, 2004 1 commit
  15. 13 Jul, 2004 1 commit
    • Dries's avatar
      · 50d78e98
      Dries authored
      - Patch #9238 by JonBob: added code and Doxygen comments to common.inc and
        bootstrap.inc.
      50d78e98
  16. 08 Jul, 2004 2 commits
    • Dries's avatar
      · a0671877
      Dries authored
      - Patch #8509 by Killes and Steven: added support for sending compressed
        pages.  Useful to reduce your site's bandwidth.
      a0671877
    • Dries's avatar
      · 5b73def3
      Dries authored
      - Changed the way status messages are printed as per Kristjan's suggestion:
        http://drupal.org/files/issues/error_messages_list.png (issue #9138).
      
        drupal_set_message() has been changed to group message by type and a
        helper function, theme_status_message(), is added to display the messages.
        Chameleon and Xtemplate have been updated to use this new function.
      
      - Updated CHANGELOG.txt.
      5b73def3
  17. 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
  18. 30 Jun, 2004 1 commit
  19. 28 Jun, 2004 1 commit
  20. 02 Jun, 2004 1 commit
  21. 21 Feb, 2004 1 commit
  22. 15 Feb, 2004 1 commit
    • Dries's avatar
      · 4ed30eef
      Dries authored
      - Bug #5684: filter duplicate headers.
      4ed30eef
  23. 26 Jan, 2004 1 commit
    • Dries's avatar
      · 66702283
      Dries authored
      - Patch 5140 by Moshe: removed the theme("header") and theme("footer") functions.
      66702283
  24. 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
  25. 13 Jan, 2004 1 commit
    • Dries's avatar
      · eee72bfa
      Dries authored
      - Patch 4859: new drupal_unpack() consolidates duplicate code and makes it
        easy to show avatars next to nodes and comments.  Patch by Moshe.  As a
        showcase, maybe Xtemplate should have an option to enable/disable avatars?
      eee72bfa
  26. 18 Dec, 2003 1 commit
  27. 16 Dec, 2003 1 commit
    • Dries's avatar
      · 670a2922
      Dries authored
      - Reworked 404 (page not found) handling.  Patch by walkah.  You can specify a
        custom 404 page in the administration page.  As a result, error.php could be
        removed.
      670a2922
  28. 13 Dec, 2003 1 commit
    • Dries's avatar
      - Patch by Kjartan: · af69e636
      Dries authored
        + Changed drupal_page_header(): converts the If-Modified-Since header into a
          timestamp and compares against the cache data.  Ignore If-Modified-Since
          and ETag headers if they are present but empty.
      
        + Few minor other code cleanups.
      af69e636
  29. 11 Dec, 2003 1 commit
    • Dries's avatar
      · 53167d2e
      Dries authored
      - Small improvement to make request_uri() work on multiple platforms.
      53167d2e
  30. 10 Dec, 2003 1 commit
    • Dries's avatar
      · b1ef9693
      Dries authored
      - Moved the watchdog() function to the bootsrap file.  Patch by Moshe.
      b1ef9693
  31. 18 Nov, 2003 1 commit
    • Dries's avatar
      · a0640e66
      Dries authored
      - Improved module loading when serving cached pages.  Moshe's bootstrap patch.
      
      - Used legend and fieldset tags for the configuration page.
      a0640e66