Book
- Drupal - Installation
- Drupal - Localization
- Drupal - Administration
- Drupal - Optimization
- Drupal - Security
- Drupal - Look and Feel
- Drupal - Garland Adjustments
- Drupal - CSS Tweaks
- Drupal - Outlook of Forms
- Drupal - Form Behavior
- Drupal - Node Form Buttons
- Drupal - jQuery
- Drupal - ExtJS
- Drupal - Custom Themes
- Drupal - Miscellaneous Themes
- Drupal - Superfish Menus
- Drupal - Contemplate
- Drupal - Iconizer
- Drupal - On Mobile Devices
- Drupal - More Look and Feel
- Drupal - Hierarchical Select
- Drupal - Panels
- Drupal - Zen Theme
- Drupal - jCarousel
- Flash with Drupal
- PSD-to-CSS online converter
- Drupal - Uploads
- Drupal - Navigation
- Drupal - Bookmarks (per-user menu)
- Drupal - Click Path
- Drupal - Keyboard Shortcuts
- Drupal - Flagging (and bookmarking)
- Drupal - Outline Designer
- Drupal - Recent Changes
- Drupal - Relevant Content
- Drupal - Simple Menu
- Drupal - Other Menu Modules
- Drupal - Other Navigation Modules
- Drupal - Russian search and keywords
- Drupal - Web Links
- Drupal - Improvements
- Drupal - Taxonomy and Views
- Drupal - Input Formats
- Drupal - Images
- Drupal - Data Presentation
- Drupal - Multimedia
- Drupal - Gadgets
- Drupal - Data Analysis
- Drupal - Geospatial
- Drupal - FAQ
- Drupal Resources
Drupal - Patch Viewer
patch
module is a unified diff parser and viewer for Drupal that lets you view patches in a nicely formatted way. Patch only accepts files with .patch and .diff extensions as valid input. Only patches in unified diff format are supported. The output is fully themeable, and displaying special characters like tabs, spaces and carriage returns than can be toggled on or off which is handy if you need to count the number of spaces, or if you want to verify that a patch does not contain tabs or non-Unix line endings.
After installing and enabling give all users permission to view patches. Patches can be only read from local file system or downloaded from hosts configured as comma separated list on the "admin/settings/patch" page, in my case: "drupal.org,vitki.net,www.vitki.net".
Patches from the Drupal files directory can be seen via
http://yoursite.com/patch/subdir/example.patch
Patches from allowed hosts can be seen via
http://yoursite.com/patch?url=http://drupal.org/files/issues/job_queue_2.patch
Query URLs poorly work with language switcher, cause query part gets stripped. A drupal-patch-url.patch (svn diff) fixes this by introducing query-less patch URLs:
http://yoursite.com/patch/url/http://drupal.org/files/issues/job_queue_2.patch
or even
http://yoursite.com/patch/url/https/drupal.org/files/issues/job_queue_2.patch

Comments
Post new comment