1. 01 Feb, 2005 1 commit
    • Dries's avatar
      - Patch #16358 by James: added toolkit to enable better image handling. The... · 7ccc5a6b
      Dries authored
      - Patch #16358 by James: added toolkit to enable better image handling.  The avatar code and the upload module have been updated to take advantage of the new image API.
      There are 5 main functions that modules may now utilize to handle images:
      * image_get_info() - this function checks a file.  If it exists and is a valid image file, it will return an array containing things like the pixel dimensions of the image, plus the 'type' and common extension.
      * image_scale - resizes a given image to fit within a given width / height dimensions, while maintaining aspect ratio (not distorting the image).  This function can be used to generate thumbnails, or ensure a maximum resolution, etc.
      * image_resize - similar to image_scale (but will not respect aspect ratio - may well distort the image).
      * image_rotate - rotate an image by X degrees
      * image_crop - crops an image to a given rectangle (defined as top-left x/y coordinates plus a width & height of the rectangle).
      Contribution modules will now be able to rely on these base manipulation functions to offer additional functionality (such as image nodes, photo galleries, advanced image manipulation, etc).
  2. 24 Jan, 2005 1 commit
  3. 14 Jan, 2005 1 commit
  4. 11 Dec, 2004 1 commit
    • Dries's avatar
      · 6e3eb60a
      Dries authored
      - Removed some cruft: left-over xxx_help_page() functions.
  5. 30 Nov, 2004 1 commit
  6. 25 Nov, 2004 1 commit
    • Dries's avatar
      · 0c6a18cb
      Dries authored
      - Patch #5942 by TDobes: fixed theme stuff after multi-site configuration patch.
  7. 24 Nov, 2004 1 commit
  8. 15 Nov, 2004 2 commits
    • Dries's avatar
      · f37a65ca
      Dries authored
      - Patch #12353 by Stefan: usability improvement: don't show 'throttle fields' unless the throttle module is enabled.
    • Dries's avatar
      · 9979acea
      Dries authored
      - Patch #12783 by Stefan: various small consistency/usability improvements.
  9. 14 Nov, 2004 1 commit
    • Dries's avatar
      - Modified patch by Jeremy: throttle module improvements and fixes: · ef95773b
      Dries authored
         + throttle module: flush cache when the throttle enables/disables
         + throttle module: prevent throttle being enabled by 0 users or guests when disabled
         + system module: remove requirement for statistics.module
         + block module: update help text to reflect access log is no longer required
         + statistics module: throttle is now enabled/disabled, not using levels 0-5
  10. 02 Nov, 2004 1 commit
  11. 16 Oct, 2004 1 commit
    • Dries's avatar
      · 2c45ab85
      Dries authored
      - Fixed bug #9948: added some checks to system_setting_save() to avoid PHP warnings/errors.
  12. 14 Oct, 2004 1 commit
  13. 12 Oct, 2004 1 commit
  14. 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.
  15. 22 Sep, 2004 1 commit
    • Dries's avatar
      · 86b9c40c
      Dries authored
      - Patch #11001 by Philippe: added support for dates in ISO-8601 format.
  16. 21 Sep, 2004 1 commit
    • Dries's avatar
      · 1a91e6e1
      Dries authored
      - Patch #10730 by Adrian: made it possible to upload a logo.
  17. 19 Sep, 2004 2 commits
  18. 16 Sep, 2004 1 commit
    • Dries's avatar
      · 5c7983c4
      Dries authored
      - Patch #8179 by JonBob: reintroduced menu caching.
  19. 12 Sep, 2004 2 commits
  20. 11 Sep, 2004 1 commit
  21. 06 Sep, 2004 1 commit
  22. 24 Aug, 2004 1 commit
    • Steven Wittens's avatar
      Patch by me and Kjartan. · 44f341be
      Steven Wittens authored
      - Fixing a bug caused by the PHP5 patches.
      Beware: PHP4's array_merge() will silently accept objects and convert them to arrays. We should not depend on this behaviour in the future.
      File.inc / file-using modules:
      - Removing the constant FILE_SEPARATOR: forward slashes work fine on Windows, and it was being used incorrectly as an URL separator sometimes.
      - Adding @ to mkdir and chmod to supress ugly PHP errors. They are already reported with drupal_set_message().
      - Fixing default for variable 'file_directory_temp'.
      - Clarifying the help tip for 'file_directory_temp' in admin > settings.
  23. 22 Aug, 2004 1 commit
  24. 21 Aug, 2004 3 commits
    • Dries's avatar
      · 03fa966c
      Dries authored
      - Patch #9576 by TDobes: bugfix: fixed bug in recent theme system changes.
    • Dries's avatar
      · 94e30bf7
      Dries authored
      - Patch by JonBob: for consistency and readability, add brief descriptions of each source file inside the @file comment block at the head of the file. This helps with Doxygen indexing, and also allows neophytes to see what a file does immediately on opening the source, regardless of the organization of the hooks.
    • Dries's avatar
      · 6696028a
      Dries authored
      - Patch by TDobes: bugfix: fixed a typo.
  25. 20 Aug, 2004 3 commits
    • Steven Wittens's avatar
      - Fixing 'flash of unstyled content' in bluemarine/pushbutton, which got... · 9f2d6f0e
      Steven Wittens authored
      - Fixing 'flash of unstyled content' in bluemarine/pushbutton, which got reintroduced after the template changes.
      - Fixed separate styles: added theme_get_styles() and the xtemplate {styles} tag to make sure stylesheets get included in the right order (drupal-specific, template-specific, style-specific).
      - Fixing missing class on screenshots.
      - Renamed drupal_get_theme_setting() and drupal_get_theme_settings() to theme_get_setting() and theme_get_settings().
    • Dries's avatar
      · 1a82f4d4
      Dries authored
      - Usability improvement: changed 'Status' to 'Enabled' because that is what
        we use elsewhere.
    • Dries's avatar
      · 6ea5c56d
      Dries authored
      - Theme system changes.  Please consult http://drupal.org/node/view/9576 for details.
  26. 19 Aug, 2004 1 commit
    • Dries's avatar
      · fa25c7a0
      Dries authored
      - Code improvements by Stefan: use capital letters for header titles (and added some missing t() functions).
  27. 17 Aug, 2004 1 commit
    • Dries's avatar
      · 78b052a6
      Dries authored
      - The upload (filehandler) module has landed!
  28. 16 Aug, 2004 1 commit
    • Dries's avatar
      · 2f33b939
      Dries authored
      - Patch #9983 by Stefan: usability improvement: made sure all status messages start with a capital letter.
  29. 14 Aug, 2004 1 commit
  30. 12 Aug, 2004 1 commit
    • Dries's avatar
      · 0f088b79
      Dries authored
      - Patch #9983 by Stefan: various code style improvements.
  31. 10 Aug, 2004 3 commits
    • Dries's avatar
      · 4a35c8aa
      Dries authored
      - Patch #8155 by JonBob: removed legacy _system() hook.
    • 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.
    • 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.