Files
request-tracker/rt-clean-mason-cache
Lars Vogdt b3a1237eae - update to 4.4.3
General user UI
  * Show the Ticket's Subject when modifying the ticket.
  * Re-format RT/Config.pm so the `# loc` comment parses correctly.
  * Sort saved searches alphabetically by name rather than by id.
  * In Self Service, provide a path to remove attachments from the session
    when they are deleted from dropzone by the user (I#32663).
  * Fix evaluation of set vs. unset custom fields on display for correct hiding.
  * Set dropzone attachment size based on RT's MaxAttachmentSize configuration.
  * Add a configuration option TreatAttachedEmailAsFiles to treat attached email
    as a file attachment instead of parsing as regular email.
  * Restore email header parsing for items like email addresses when
    TreatAttachedEmailAsFiles is not set. This was disabled in a previous
    version.
  * Respect default queue settings in Create linked ticket dropdown (I#32884).
  * More fixes for recipient checkboxes on update. This version removes previous
    problematic fixes and gives a visual indication (shading) when RT is updating
    recipients in the background and checkboxes should not be changed (I#33027).
  * Provide a way to reset personal search preferences back to the RT system
    default (I#32854).
  * Add an Untake action to the Actions tab.
  * Add active and inactive status to query builder.
  * Re-add Queue to 'Order by' dropdown in Search Builder.
  * Make admin searches for queue and group case insensitive making it easier to
    find groups.
  * When editing ticket basics, always add valid default value to queue selection,
    taking into account SeeQueue rights.
  * Set dropzone parallelUploads to 1 to avoid losing attachments. Also
    set parallelUploads when the dropzone object is created.
  * Correct error messages on user rights for CF admin UI.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/request-tracker?expand=0&rev=53
2018-09-12 21:48:21 +00:00

20 lines
469 B
Bash

#!/bin/sh
#
# Simple script to purge the mason cache
# http://requesttracker.wikia.com/wiki/CleanMasonCache
#
CACHE_DIR="__RT_CACHEDIR__/mason_data/obj/"
if [ ! -d "$CACHE_DIR" ]; then
echo "Nothing to clean, the mason cache directory does not exist" >&2
exit 1
fi
if [ "$CACHE_DIR" != "/" ] && [ "$CACHE_DIR" != "" ]; then
find "$CACHE_DIR" -type f -exec rm -f {} \;
fi
if [ -x /usr/sbin/rcapache2 ]; then
/usr/sbin/rcapache2 try-restart
fi