pkgsrc/devel/rt3/Makefile.install

124 lines
5.1 KiB
Text
Raw Normal View History

# $NetBSD: Makefile.install,v 1.20 2013/05/26 16:55:53 spz Exp $
.include "dirs.mk"
Update rt3 to version 3.8.1 (from 3.6.6). Changes are: * New visual style (web2). * Rich text mails. * Email signatures and encryption. * User settings for: - Ticket history ordering. - Timezones. - Date and time format. - Username format. - Default queue. - Size of message text boxes. * Charts of ticket relationships. * Breeze through upgrades with new upgrade tools. * Subscribe to iCalendar feeds of ticket due dates. * Bookmark frequently-used tickets. * Turn off mail from RT when you go on vacation. * Get your mail from RT as a daily or weekly batch. * Delete historical or spam tickets with RT::Shredder (only as a superuser). * Set up more configurable business rules with new Scrip Conditions and Actions. * Forward tickets to third-parties from within RT. * Enable and Disable RT extensions with the new Plugins system. * Automatically log out inactive users with rt-clean-sessions. * Run faster with less memory, thanks to numerous performance improvements and bug fixes. * Fixed a potential HTML injection attck via user's properties. * Better support for installation on Solaris and FreeBSD (non-GNU make). * Updates to documentation and scripts for upgrading from MySQL 4.0 * Updated upgrade documentation for the new Queue Tag and bookmarks features. * Multiple bugs in iCal support fixed. * Backwards compatibility fixes for extensions developed against 3.6 * Added support for external links in tabs and targets. * Addition of a new callback before ticket creation so you can implement custom validation or stop creation for another reason. * Missing documentation to external authentication configuration variable in bin/rt and make it possible to set it via ENV. * Merged method in RT::Ticket.
2008-08-24 01:58:29 +02:00
BUILD_DEFS+= APACHE_USER APACHE_GROUP
INSTALLATION_DIRS+= sbin
OWN_DIRS+= ${RT_VAR_DIR} ${RT_LOCAL_DIR} ${RT_LOCAL_DIR}/etc
OWN_DIRS+= ${RT_LOCAL_DIR}/lib ${RT_LOCAL_DIR}/po
OWN_DIRS+= ${RT_LOCAL_DIR}/html
REQD_DIRS+= ${RT_HTML_DIR}/Callbacks
OWN_DIRS_PERMS+= ${RT_VAR_DIR}/mason_data ${APACHE_USER} ${APACHE_GROUP} 0770
OWN_DIRS_PERMS+= ${RT_VAR_DIR}/mason_data/cache ${APACHE_USER} ${APACHE_GROUP} 0770
OWN_DIRS_PERMS+= ${RT_VAR_DIR}/mason_data/etc ${APACHE_USER} ${APACHE_GROUP} 0770
OWN_DIRS_PERMS+= ${RT_VAR_DIR}/mason_data/obj ${APACHE_USER} ${APACHE_GROUP} 0770
OWN_DIRS_PERMS+= ${RT_VAR_DIR}/session_data ${APACHE_USER} ${APACHE_GROUP} 0770
SUBST_CLASSES+= prefix
SUBST_FILES.prefix= config.layout
SUBST_SED.prefix= -e s,@PREFIX@,${PREFIX},
SUBST_SED.prefix+= -e s,@PKGSYSCONFDIR@,${PKG_SYSCONFDIR},
SUBST_SED.prefix+= -e s,@RTLIBDIR@,${RT_LIB_DIR},
SUBST_SED.prefix+= -e s,@RTSHAREDIR@,${RT_SHARE_DIR},
SUBST_SED.prefix+= -e s,@RTHTMLDIR@,${RT_HTML_DIR},
SUBST_SED.prefix+= -e s,@RTDOCDIR@,${RT_DOC_DIR},
SUBST_SED.prefix+= -e s,@RTVARDIR@,${RT_VAR_DIR},
SUBST_SED.prefix+= -e s,@RTLOCALDIR@,${RT_LOCAL_DIR},
SUBST_STAGE.prefix= pre-configure
SUBST_CLASSES+= etcpath
SUBST_FILES.etcpath= sbin/rt-setup-database.in
SUBST_SED.etcpath= -e 's,\$$RT::EtcPath,"${RT_SHARE_DIR}/etc",'
SUBST_STAGE.etcpath= post-patch
SUBST_CLASSES+= path
SUBST_FILES.path= bin/webmux.pl.in lib/RT/Interface/CLI.pm
SUBST_SED.path= -e 's,/bin:/usr/bin,/bin:/usr/bin:${PREFIX}/bin,'
SUBST_STAGE.path= post-patch
2009-06-21 17:31:39 +02:00
SUBST_CLASSES+= hardwired
Update of rt3 to version 3.8.9 Changelog: SECURITY * Move to a SHA-256 based password hashing scheme * Redirect users to their desired pages after login. This prevents possible back button attacks after a user logs out. * Clone Scrip's TicketObj since we change the CurrentUser and it can leak information (Custom field values, etc) INSTALLATION * Fixes to the RH Layout in config.layout ACCESS CONTROL * New AdminCustomFieldValues right that allows user to add/remove CF values, but not edit the CF CONFIGURATION * Add ResolveDefaultUpdateType to choose between Comment or Correspond on Resolve * When using Set($MailCommand, 'testfile') log all mail to the same tmpfile * Add a callback to allow extensions to redirect a user to an external auth logout URL using RT's logout button. This ensures that the user's RT session is cleared * Add SuppressAutoOpenOnUpdate preference DOCUMENTATION * Clean up README * Update UPGRADING.mysql documentation for users of older mysql * Flag that "Let this user be granted rights" means "Privileged" * Fix rt-crontool examples to use a real Condition * Undocument SenderMustExistInExternalDatabase since the code was never merged * Better document SetOutgoingMailFrom * Better document shrink_cgm_table.pl DATABASE * Add support for Postgres 9 * No longer record transactions for ACL Equivalence Groups * Don't delete all RT MySQL ACLs before invoke GRANT * Quote database name for GRANT on MySQL * Insert extensions' schema and acl files as the DBA * Fix searches for empty Attachments on Oracle EMAIL * Better handling of mail generated by Outlook * When RT's SendmailCommand fails, record it in ticket history * New GPG tests and bugfixes for corner cases * use EmailOutputEncoding for Content-Type.charset * Handle failures in MIME Encoding better * Small bugfixes for text/html templates * Fix MIME decoding on ticket subjects * Remove stray colons and whitespace in the default Admin Comment template USER INTERFACE * Fix an infinite loop when using the 3.4-compat theme * Fixes to CollectionList sorting * css positioning tweaks for page menus * Fixes for Bulk Update when users click 'Add More Files' * Skip all watchers when offering to add CCs as Watchers * Fix ahah.js to handle more than one CF 'Include page' link * Ensure that Nobody is always at the front of the Select Owner list * Link Basics in SelfService to the Update page * Fix toggling js to only run once * Ensure signatures are included in Jumbo edits * Better identify (in the UI) a misconfigured GPG setup * GPG key management UI updates * Add classes/ids to the Custom Field Editing pages * CSS Fixes for preferences widgets * Fix truncated top values on Charts * Wording and layout changes for the 'update password' widget * Ensure that we keep Anchor tags on redirects * Fix loading a new search on the Chart/Graph pages * Change Attachment size label from Bytes to Megabytes * Respect timezones in timestamps in /Approvals/ * Charset fixes for Ticket Attachment downloads * Bar graph fixes for large numbers of bars * Allow a callback on QuickCreate to pass a default Status * Fix Approvals to make one search for approval tickets that distincts and orders them * Link from Group Membership lists to User admin pages * New callbacks (autohandler, default queue, aborting ticket updates, after requestor on create) * Fix non-local local links and add t: syntax * Editing Transaction custom fields now shows errors inline * Use the ShowUser element more consistently across the UI TOOLS * Improvements to extract-message-catalog (translation tool) * Let shrink_cgm_table and shrink_transactions display "percent complete" * Added a simple script to naively generate a RTAddressRegexp * Install rt-attributes-viewer originally shipped with 3.8.8 * bin/rt now searches for global configs in LOCAL_ETC_PATH also OTHER BUG FIXES * No longer refuse to start if you upgraded from a version of RT that allowed you to have invalid Scrips * Handle broken Reminders links when users change their Organization * Trim whitespace from CustomFieldValues consistently * RFC2616 dates are always in UTC * Scrips can no longer have an empty Condition, Action or Template * make multi-value REST fields separated with commas ignore spaces * Localize ENV changes under mod_perl * Don't page group memberships for a User * Skip disabled Queues when a Simple Search term matches a Queue Name * Add TransactionObj to CreateTickets templates to match the docs * Fix the use of Tickets_Local.pm in rt-email-dashboards and rt-crontool * Escape more characters in graphviz output * Fix message when you fail to delete a saved search to tell you Permission Denied * Include Rules with Scrips when previewing recipients * Ensure that distribution upgrades that break Scalar::Util show up in apache logs * Fix warnings on empty Collection List headers * Log errors from safe_run_child * Refuse to run if webmux.pl and RT.pm are mismatched * Actually log the error that caused "Can't load a principal for id #" * Switch to using $Approver->Name in templates since an AdminCc can approve * Allow fastcgi_server to specify a port * Guard against SavedSearches with no content * Ensure our output is always flagged as utf-8 * Allow queries like "Priority > -2" * Fixes to Private/Public key methods * Return 'set private key' from SetPrivateKey, not 'unset private key' * Protect STDOUT under mod_perl - among other things, this fixes Scrips that use system() * Fix forwarding of messages without a top level textual part
2011-02-26 21:58:15 +01:00
SUBST_FILES.hardwired= share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl \
2011-02-27 18:05:57 +01:00
etc/upgrade/shrink_cgm_table.pl \
etc/upgrade/shrink_transactions_table.pl \
etc/upgrade/upgrade-mysql-schema.pl
2009-06-21 17:31:39 +02:00
SUBST_SED.hardwired= -e 's,/usr/bin/perl,'${PERL5}','
SUBST_STAGE.hardwired= post-patch
RT_CONFIG_FILES= RT_Config.pm RT_SiteConfig.pm
.for _file_ in ${RT_CONFIG_FILES}
CONF_FILES_PERMS+= ${RT_EXAMPLE_DIR}/${_file_} \
${PKG_SYSCONFDIR}/${_file_} \
${ROOT_USER} ${RT_GROUP} 0550
.endfor
RT_ETC_FILES= acl.Oracle acl.Pg acl.mysql constraints.mysql \
drop.Oracle initialdata schema.Oracle schema.Pg \
update to version 3.8.8, partially by sno@ Upstream Changelog: NEW FEATURES AND MAJOR CHANGES * Aaron Sigel performed a security audit of RT and pointed out a number of potential improvements which have been addressed * Charts improvements * Time-based charts can now show "hourly" goupings. * ChartFont option is now hash with font per language. * Two default fonts are shipped with RT to cover most supported languages. * The table of chart results now contains links to tickets matching a given row. * Timezones support, but protected with config option. * Better scaling of Y axis. * X axis labels are now vertical if there is not enough space to display them horizontally. * RTAddressRegexp option improvements * No default value anymore. * If no value is set then RT will attempt to calculate the right value from the user-defined queue addresses. * On create/update/people pages RT now checks addresses users enter and stop users from entering known addresses for RT queues. * Admin UI improvements * Improved display of the "About this RT" page. * More pages in the Admin UI have been switched to generic code to list objects (like tickets in search results) * Display formats for these objects are now configurable in the config file (%AdminSearchResultFormat) * More columns in column maps for objects other than tickets. * Custom fields ordering and application improvements * Queue specific custom fields now can be placed above global, below or even in the middle. Order of global custom fields stays the same in all queues, but a custom field that is applied to particular queues can be placed differently in each queue. * Make it possible to apply a CF globally from 'Applies To' page. * RT no longer allows you to apply a CF globally and to queues at the same time. When CF is applied globally it is un-applied from specific queues first. * Refactored simple (googleish) search * new options in the config to control defaults * new keywords to search for particular things * RSS feeds now contain embedded single-query authentication strings * We've Introduced a config option to prevent adding the RT-Originator header in outgoing mails. * New MessageBoxIncludeSignature* options * LogoutRefresh config option to control how long to wait before going back to login * New config option for AttachmentUnits * New config option for AlwaysDownloadAttachments * RT now requires your current password to change any password * Improved LinkValueTo and returned back functionality * if LinkValueTo starts with __CustomField__ then don't escape it, but make sure it's not a JS link * escape links using HTML escaping * don't wrap into <a> with empty href if link is empty * Added DefaultMailPrecedence and DefaultErrorMailPrecedence config options * Squelch watchers on update. This makes doing silent Updates possible * New web handler: bin/fastcgi_server * Refactored Elements/ShowUser so it's easy to add custom formats. Several performance improvements in this code. * MERGE_CACHE to cache information about merged tickets and lower logs and DB impact on re-checks * Made NotifyActor into a User Preference * If the MIME entity has header X-RT-Squelch, do not send the message * Improved print layouts * Serve images in js and css dirs as static files, so browsers cache them more agressively * Added HasAttribute and HasNoAttribute to TicketSQL * New faster and less memory hungry TicketsMaps - First, Prev, Next and Last links when you view tickets from the current search. Size is now limited by a new config option. Floating window is used to build the links. CLEANUPS AND SMALL IMPROVEMENTS * Updated doc/Security with more modern security tips * Made the plaintext mono feature work in IE. * Better timezone handling in Tools/Reports/ResolvedByDates.html * Make sure we don't serve files outside RT's paths * Additional checks to make sure that credentials are sent to RT on Login * Moved CustomField column map from tickets' to generic * Make height, width, href and alt of the logo configurable * Load as much as possible when a web-handler with forks is used, this increase memory sharing across processes * A link provided for approvals templates to whoever worked the approval * Global __WebRequestPath__ and __WebRequestPathDir__ column map entries * Process custom fields in ModifyDates.html * Handle Ccs and AdminCcs of the queue in SkipNotification feature * Sort callbacks within a root only, respect plugins order * Add some wording to the check boxes on the reply pages * Reduce whitespace on bottom of boxes as was earlier * Use smaller margin for reminders display to save space * Use a reasonable length for scrip descriptions * Removed a lie about RT CLI still being "unsupported" * User friendlier errors handling thrown by Calendar::Simple * Split some CSS from themes into base/xxx.css * Googleish search was making incorrect assumptions about RT::User and RT::Group's Load function returning a boolean not a list. This was throwing (harmless, but ugly) errors. * Don't apply order on collections if sorting is not allowed * Removed the "URL" parameter to 'Logout' as it had no legitimate use. * make instal and testdeps tests to avoid some versions of modules that are known to be buggy or incompatible, for example DBD::Oracle 1.23 BUG FIXES * properly use AND/OR when content is searched and DontSearchFileAttachments option is enabled * Make sure Merge only possible when user has Modify right on both tickets * Fixes for UseSQLForACLChecks option, it was possible to construct a query and see tickets an user has no right to see. Lots of tests have been added to make sure it wouldn't happen again. * SQL used for ACL checks has been refactored to get more effective queries. Especially when list of potential owners is built for the query builder. * Unified API for tables with disabled column and fixes when ->Count could return bigger value when some CFs are disabled. * I18N was transcoding attachments to UTF-8 one line at a time. This doesn't work at all for UTF-16 and probably other encodings. * Fixed encoding problem when loading a dump file produced by rt-dump-database. * A closing </li> was missing in PreviewScrips comp * Fixed config loading when Fcntl module or other exporting symbols is loaded. Load was failing with "Not a SCALAR reference" error. * Returned back effective SQL when searching by CFs with = or != operator * Fixed error on login when user make mistake in password and he entered character out of ASCII range. * Honor a user's MessageBoxRichTextHeight setting * Fixed query builder behaviour with NULLs and '' (empty values) * Fixed potential information loose on incorrect GnuPG mails * Fixed display-all-rows in Dashboards * Fixed JS escaping issues * Set context object in OCFV::CustomFieldObj * Sessions ended up in /tmp/ in some cases * Fixed safe_run_child when code dies between fork and exec, deals with "mysql server has gone away" error * fix Jumbo reloading and losing message content * Stop infinite looping when you have global custom fields and no Queue restriction * Fixed sorting of custom fields in Results.tsv * Set of fixes for Unicode characters in emails and tests covering these changes * Don't create handles we don't need, we can hit limit * Prevent servers using GnuPG from running out of file handles TRANSLATION Updates merged from launchpad and two new languages: nn.po and pt_PT.po. Thanks to all contributors. CALLBACKS * AboutThisUser in ShowPeople box * Between the GnuPG and message rows * AfterSubject * Before and After CustomFields * Before and After TransactionCustomFields * AfterAddress in PreviewScrips * At the top of ticket summary columns * For adding links for attachment downloads * At the bottom of the logout box * Pass more information to the FormStart callback in Ticket/Update.html * AfterMessageBox on ticket create page * ShowTransaction/AfterAnchor * In EditDates and ShowDates * Pass a reference to the signature in MessageBox's callback * For inserting text after the transaction's description * AfterUpdateType in Jumbo.html and Update.html
2010-09-17 23:41:54 +02:00
schema.SQLite schema.mysql-4.0 schema.mysql-4.1 \
upgrade/3.8-branded-queues-extension \
upgrade/3.8-ical-extension \
Update of rt3 to version 3.8.9 Changelog: SECURITY * Move to a SHA-256 based password hashing scheme * Redirect users to their desired pages after login. This prevents possible back button attacks after a user logs out. * Clone Scrip's TicketObj since we change the CurrentUser and it can leak information (Custom field values, etc) INSTALLATION * Fixes to the RH Layout in config.layout ACCESS CONTROL * New AdminCustomFieldValues right that allows user to add/remove CF values, but not edit the CF CONFIGURATION * Add ResolveDefaultUpdateType to choose between Comment or Correspond on Resolve * When using Set($MailCommand, 'testfile') log all mail to the same tmpfile * Add a callback to allow extensions to redirect a user to an external auth logout URL using RT's logout button. This ensures that the user's RT session is cleared * Add SuppressAutoOpenOnUpdate preference DOCUMENTATION * Clean up README * Update UPGRADING.mysql documentation for users of older mysql * Flag that "Let this user be granted rights" means "Privileged" * Fix rt-crontool examples to use a real Condition * Undocument SenderMustExistInExternalDatabase since the code was never merged * Better document SetOutgoingMailFrom * Better document shrink_cgm_table.pl DATABASE * Add support for Postgres 9 * No longer record transactions for ACL Equivalence Groups * Don't delete all RT MySQL ACLs before invoke GRANT * Quote database name for GRANT on MySQL * Insert extensions' schema and acl files as the DBA * Fix searches for empty Attachments on Oracle EMAIL * Better handling of mail generated by Outlook * When RT's SendmailCommand fails, record it in ticket history * New GPG tests and bugfixes for corner cases * use EmailOutputEncoding for Content-Type.charset * Handle failures in MIME Encoding better * Small bugfixes for text/html templates * Fix MIME decoding on ticket subjects * Remove stray colons and whitespace in the default Admin Comment template USER INTERFACE * Fix an infinite loop when using the 3.4-compat theme * Fixes to CollectionList sorting * css positioning tweaks for page menus * Fixes for Bulk Update when users click 'Add More Files' * Skip all watchers when offering to add CCs as Watchers * Fix ahah.js to handle more than one CF 'Include page' link * Ensure that Nobody is always at the front of the Select Owner list * Link Basics in SelfService to the Update page * Fix toggling js to only run once * Ensure signatures are included in Jumbo edits * Better identify (in the UI) a misconfigured GPG setup * GPG key management UI updates * Add classes/ids to the Custom Field Editing pages * CSS Fixes for preferences widgets * Fix truncated top values on Charts * Wording and layout changes for the 'update password' widget * Ensure that we keep Anchor tags on redirects * Fix loading a new search on the Chart/Graph pages * Change Attachment size label from Bytes to Megabytes * Respect timezones in timestamps in /Approvals/ * Charset fixes for Ticket Attachment downloads * Bar graph fixes for large numbers of bars * Allow a callback on QuickCreate to pass a default Status * Fix Approvals to make one search for approval tickets that distincts and orders them * Link from Group Membership lists to User admin pages * New callbacks (autohandler, default queue, aborting ticket updates, after requestor on create) * Fix non-local local links and add t: syntax * Editing Transaction custom fields now shows errors inline * Use the ShowUser element more consistently across the UI TOOLS * Improvements to extract-message-catalog (translation tool) * Let shrink_cgm_table and shrink_transactions display "percent complete" * Added a simple script to naively generate a RTAddressRegexp * Install rt-attributes-viewer originally shipped with 3.8.8 * bin/rt now searches for global configs in LOCAL_ETC_PATH also OTHER BUG FIXES * No longer refuse to start if you upgraded from a version of RT that allowed you to have invalid Scrips * Handle broken Reminders links when users change their Organization * Trim whitespace from CustomFieldValues consistently * RFC2616 dates are always in UTC * Scrips can no longer have an empty Condition, Action or Template * make multi-value REST fields separated with commas ignore spaces * Localize ENV changes under mod_perl * Don't page group memberships for a User * Skip disabled Queues when a Simple Search term matches a Queue Name * Add TransactionObj to CreateTickets templates to match the docs * Fix the use of Tickets_Local.pm in rt-email-dashboards and rt-crontool * Escape more characters in graphviz output * Fix message when you fail to delete a saved search to tell you Permission Denied * Include Rules with Scrips when previewing recipients * Ensure that distribution upgrades that break Scalar::Util show up in apache logs * Fix warnings on empty Collection List headers * Log errors from safe_run_child * Refuse to run if webmux.pl and RT.pm are mismatched * Actually log the error that caused "Can't load a principal for id #" * Switch to using $Approver->Name in templates since an AdminCc can approve * Allow fastcgi_server to specify a port * Guard against SavedSearches with no content * Ensure our output is always flagged as utf-8 * Allow queries like "Priority > -2" * Fixes to Private/Public key methods * Return 'set private key' from SetPrivateKey, not 'unset private key' * Protect STDOUT under mod_perl - among other things, this fixes Scrips that use system() * Fix forwarding of messages without a top level textual part
2011-02-26 21:58:15 +01:00
upgrade/generate-rtaddressregexp \
update to version 3.8.8, partially by sno@ Upstream Changelog: NEW FEATURES AND MAJOR CHANGES * Aaron Sigel performed a security audit of RT and pointed out a number of potential improvements which have been addressed * Charts improvements * Time-based charts can now show "hourly" goupings. * ChartFont option is now hash with font per language. * Two default fonts are shipped with RT to cover most supported languages. * The table of chart results now contains links to tickets matching a given row. * Timezones support, but protected with config option. * Better scaling of Y axis. * X axis labels are now vertical if there is not enough space to display them horizontally. * RTAddressRegexp option improvements * No default value anymore. * If no value is set then RT will attempt to calculate the right value from the user-defined queue addresses. * On create/update/people pages RT now checks addresses users enter and stop users from entering known addresses for RT queues. * Admin UI improvements * Improved display of the "About this RT" page. * More pages in the Admin UI have been switched to generic code to list objects (like tickets in search results) * Display formats for these objects are now configurable in the config file (%AdminSearchResultFormat) * More columns in column maps for objects other than tickets. * Custom fields ordering and application improvements * Queue specific custom fields now can be placed above global, below or even in the middle. Order of global custom fields stays the same in all queues, but a custom field that is applied to particular queues can be placed differently in each queue. * Make it possible to apply a CF globally from 'Applies To' page. * RT no longer allows you to apply a CF globally and to queues at the same time. When CF is applied globally it is un-applied from specific queues first. * Refactored simple (googleish) search * new options in the config to control defaults * new keywords to search for particular things * RSS feeds now contain embedded single-query authentication strings * We've Introduced a config option to prevent adding the RT-Originator header in outgoing mails. * New MessageBoxIncludeSignature* options * LogoutRefresh config option to control how long to wait before going back to login * New config option for AttachmentUnits * New config option for AlwaysDownloadAttachments * RT now requires your current password to change any password * Improved LinkValueTo and returned back functionality * if LinkValueTo starts with __CustomField__ then don't escape it, but make sure it's not a JS link * escape links using HTML escaping * don't wrap into <a> with empty href if link is empty * Added DefaultMailPrecedence and DefaultErrorMailPrecedence config options * Squelch watchers on update. This makes doing silent Updates possible * New web handler: bin/fastcgi_server * Refactored Elements/ShowUser so it's easy to add custom formats. Several performance improvements in this code. * MERGE_CACHE to cache information about merged tickets and lower logs and DB impact on re-checks * Made NotifyActor into a User Preference * If the MIME entity has header X-RT-Squelch, do not send the message * Improved print layouts * Serve images in js and css dirs as static files, so browsers cache them more agressively * Added HasAttribute and HasNoAttribute to TicketSQL * New faster and less memory hungry TicketsMaps - First, Prev, Next and Last links when you view tickets from the current search. Size is now limited by a new config option. Floating window is used to build the links. CLEANUPS AND SMALL IMPROVEMENTS * Updated doc/Security with more modern security tips * Made the plaintext mono feature work in IE. * Better timezone handling in Tools/Reports/ResolvedByDates.html * Make sure we don't serve files outside RT's paths * Additional checks to make sure that credentials are sent to RT on Login * Moved CustomField column map from tickets' to generic * Make height, width, href and alt of the logo configurable * Load as much as possible when a web-handler with forks is used, this increase memory sharing across processes * A link provided for approvals templates to whoever worked the approval * Global __WebRequestPath__ and __WebRequestPathDir__ column map entries * Process custom fields in ModifyDates.html * Handle Ccs and AdminCcs of the queue in SkipNotification feature * Sort callbacks within a root only, respect plugins order * Add some wording to the check boxes on the reply pages * Reduce whitespace on bottom of boxes as was earlier * Use smaller margin for reminders display to save space * Use a reasonable length for scrip descriptions * Removed a lie about RT CLI still being "unsupported" * User friendlier errors handling thrown by Calendar::Simple * Split some CSS from themes into base/xxx.css * Googleish search was making incorrect assumptions about RT::User and RT::Group's Load function returning a boolean not a list. This was throwing (harmless, but ugly) errors. * Don't apply order on collections if sorting is not allowed * Removed the "URL" parameter to 'Logout' as it had no legitimate use. * make instal and testdeps tests to avoid some versions of modules that are known to be buggy or incompatible, for example DBD::Oracle 1.23 BUG FIXES * properly use AND/OR when content is searched and DontSearchFileAttachments option is enabled * Make sure Merge only possible when user has Modify right on both tickets * Fixes for UseSQLForACLChecks option, it was possible to construct a query and see tickets an user has no right to see. Lots of tests have been added to make sure it wouldn't happen again. * SQL used for ACL checks has been refactored to get more effective queries. Especially when list of potential owners is built for the query builder. * Unified API for tables with disabled column and fixes when ->Count could return bigger value when some CFs are disabled. * I18N was transcoding attachments to UTF-8 one line at a time. This doesn't work at all for UTF-16 and probably other encodings. * Fixed encoding problem when loading a dump file produced by rt-dump-database. * A closing </li> was missing in PreviewScrips comp * Fixed config loading when Fcntl module or other exporting symbols is loaded. Load was failing with "Not a SCALAR reference" error. * Returned back effective SQL when searching by CFs with = or != operator * Fixed error on login when user make mistake in password and he entered character out of ASCII range. * Honor a user's MessageBoxRichTextHeight setting * Fixed query builder behaviour with NULLs and '' (empty values) * Fixed potential information loose on incorrect GnuPG mails * Fixed display-all-rows in Dashboards * Fixed JS escaping issues * Set context object in OCFV::CustomFieldObj * Sessions ended up in /tmp/ in some cases * Fixed safe_run_child when code dies between fork and exec, deals with "mysql server has gone away" error * fix Jumbo reloading and losing message content * Stop infinite looping when you have global custom fields and no Queue restriction * Fixed sorting of custom fields in Results.tsv * Set of fixes for Unicode characters in emails and tests covering these changes * Don't create handles we don't need, we can hit limit * Prevent servers using GnuPG from running out of file handles TRANSLATION Updates merged from launchpad and two new languages: nn.po and pt_PT.po. Thanks to all contributors. CALLBACKS * AboutThisUser in ShowPeople box * Between the GnuPG and message rows * AfterSubject * Before and After CustomFields * Before and After TransactionCustomFields * AfterAddress in PreviewScrips * At the top of ticket summary columns * For adding links for attachment downloads * At the bottom of the logout box * Pass more information to the FormStart callback in Ticket/Update.html * AfterMessageBox on ticket create page * ShowTransaction/AfterAnchor * In EditDates and ShowDates * Pass a reference to the signature in MessageBox's callback * For inserting text after the transaction's description * AfterUpdateType in Jumbo.html and Update.html
2010-09-17 23:41:54 +02:00
upgrade/shrink_cgm_table.pl \
2011-02-27 18:05:57 +01:00
upgrade/shrink_transactions_table.pl \
update to version 3.8.8, partially by sno@ Upstream Changelog: NEW FEATURES AND MAJOR CHANGES * Aaron Sigel performed a security audit of RT and pointed out a number of potential improvements which have been addressed * Charts improvements * Time-based charts can now show "hourly" goupings. * ChartFont option is now hash with font per language. * Two default fonts are shipped with RT to cover most supported languages. * The table of chart results now contains links to tickets matching a given row. * Timezones support, but protected with config option. * Better scaling of Y axis. * X axis labels are now vertical if there is not enough space to display them horizontally. * RTAddressRegexp option improvements * No default value anymore. * If no value is set then RT will attempt to calculate the right value from the user-defined queue addresses. * On create/update/people pages RT now checks addresses users enter and stop users from entering known addresses for RT queues. * Admin UI improvements * Improved display of the "About this RT" page. * More pages in the Admin UI have been switched to generic code to list objects (like tickets in search results) * Display formats for these objects are now configurable in the config file (%AdminSearchResultFormat) * More columns in column maps for objects other than tickets. * Custom fields ordering and application improvements * Queue specific custom fields now can be placed above global, below or even in the middle. Order of global custom fields stays the same in all queues, but a custom field that is applied to particular queues can be placed differently in each queue. * Make it possible to apply a CF globally from 'Applies To' page. * RT no longer allows you to apply a CF globally and to queues at the same time. When CF is applied globally it is un-applied from specific queues first. * Refactored simple (googleish) search * new options in the config to control defaults * new keywords to search for particular things * RSS feeds now contain embedded single-query authentication strings * We've Introduced a config option to prevent adding the RT-Originator header in outgoing mails. * New MessageBoxIncludeSignature* options * LogoutRefresh config option to control how long to wait before going back to login * New config option for AttachmentUnits * New config option for AlwaysDownloadAttachments * RT now requires your current password to change any password * Improved LinkValueTo and returned back functionality * if LinkValueTo starts with __CustomField__ then don't escape it, but make sure it's not a JS link * escape links using HTML escaping * don't wrap into <a> with empty href if link is empty * Added DefaultMailPrecedence and DefaultErrorMailPrecedence config options * Squelch watchers on update. This makes doing silent Updates possible * New web handler: bin/fastcgi_server * Refactored Elements/ShowUser so it's easy to add custom formats. Several performance improvements in this code. * MERGE_CACHE to cache information about merged tickets and lower logs and DB impact on re-checks * Made NotifyActor into a User Preference * If the MIME entity has header X-RT-Squelch, do not send the message * Improved print layouts * Serve images in js and css dirs as static files, so browsers cache them more agressively * Added HasAttribute and HasNoAttribute to TicketSQL * New faster and less memory hungry TicketsMaps - First, Prev, Next and Last links when you view tickets from the current search. Size is now limited by a new config option. Floating window is used to build the links. CLEANUPS AND SMALL IMPROVEMENTS * Updated doc/Security with more modern security tips * Made the plaintext mono feature work in IE. * Better timezone handling in Tools/Reports/ResolvedByDates.html * Make sure we don't serve files outside RT's paths * Additional checks to make sure that credentials are sent to RT on Login * Moved CustomField column map from tickets' to generic * Make height, width, href and alt of the logo configurable * Load as much as possible when a web-handler with forks is used, this increase memory sharing across processes * A link provided for approvals templates to whoever worked the approval * Global __WebRequestPath__ and __WebRequestPathDir__ column map entries * Process custom fields in ModifyDates.html * Handle Ccs and AdminCcs of the queue in SkipNotification feature * Sort callbacks within a root only, respect plugins order * Add some wording to the check boxes on the reply pages * Reduce whitespace on bottom of boxes as was earlier * Use smaller margin for reminders display to save space * Use a reasonable length for scrip descriptions * Removed a lie about RT CLI still being "unsupported" * User friendlier errors handling thrown by Calendar::Simple * Split some CSS from themes into base/xxx.css * Googleish search was making incorrect assumptions about RT::User and RT::Group's Load function returning a boolean not a list. This was throwing (harmless, but ugly) errors. * Don't apply order on collections if sorting is not allowed * Removed the "URL" parameter to 'Logout' as it had no legitimate use. * make instal and testdeps tests to avoid some versions of modules that are known to be buggy or incompatible, for example DBD::Oracle 1.23 BUG FIXES * properly use AND/OR when content is searched and DontSearchFileAttachments option is enabled * Make sure Merge only possible when user has Modify right on both tickets * Fixes for UseSQLForACLChecks option, it was possible to construct a query and see tickets an user has no right to see. Lots of tests have been added to make sure it wouldn't happen again. * SQL used for ACL checks has been refactored to get more effective queries. Especially when list of potential owners is built for the query builder. * Unified API for tables with disabled column and fixes when ->Count could return bigger value when some CFs are disabled. * I18N was transcoding attachments to UTF-8 one line at a time. This doesn't work at all for UTF-16 and probably other encodings. * Fixed encoding problem when loading a dump file produced by rt-dump-database. * A closing </li> was missing in PreviewScrips comp * Fixed config loading when Fcntl module or other exporting symbols is loaded. Load was failing with "Not a SCALAR reference" error. * Returned back effective SQL when searching by CFs with = or != operator * Fixed error on login when user make mistake in password and he entered character out of ASCII range. * Honor a user's MessageBoxRichTextHeight setting * Fixed query builder behaviour with NULLs and '' (empty values) * Fixed potential information loose on incorrect GnuPG mails * Fixed display-all-rows in Dashboards * Fixed JS escaping issues * Set context object in OCFV::CustomFieldObj * Sessions ended up in /tmp/ in some cases * Fixed safe_run_child when code dies between fork and exec, deals with "mysql server has gone away" error * fix Jumbo reloading and losing message content * Stop infinite looping when you have global custom fields and no Queue restriction * Fixed sorting of custom fields in Results.tsv * Set of fixes for Unicode characters in emails and tests covering these changes * Don't create handles we don't need, we can hit limit * Prevent servers using GnuPG from running out of file handles TRANSLATION Updates merged from launchpad and two new languages: nn.po and pt_PT.po. Thanks to all contributors. CALLBACKS * AboutThisUser in ShowPeople box * Between the GnuPG and message rows * AfterSubject * Before and After CustomFields * Before and After TransactionCustomFields * AfterAddress in PreviewScrips * At the top of ticket summary columns * For adding links for attachment downloads * At the bottom of the logout box * Pass more information to the FormStart callback in Ticket/Update.html * AfterMessageBox on ticket create page * ShowTransaction/AfterAnchor * In EditDates and ShowDates * Pass a reference to the signature in MessageBox's callback * For inserting text after the transaction's description * AfterUpdateType in Jumbo.html and Update.html
2010-09-17 23:41:54 +02:00
upgrade/split-out-cf-categories \
Update of rt3 to version 3.8.9 Changelog: SECURITY * Move to a SHA-256 based password hashing scheme * Redirect users to their desired pages after login. This prevents possible back button attacks after a user logs out. * Clone Scrip's TicketObj since we change the CurrentUser and it can leak information (Custom field values, etc) INSTALLATION * Fixes to the RH Layout in config.layout ACCESS CONTROL * New AdminCustomFieldValues right that allows user to add/remove CF values, but not edit the CF CONFIGURATION * Add ResolveDefaultUpdateType to choose between Comment or Correspond on Resolve * When using Set($MailCommand, 'testfile') log all mail to the same tmpfile * Add a callback to allow extensions to redirect a user to an external auth logout URL using RT's logout button. This ensures that the user's RT session is cleared * Add SuppressAutoOpenOnUpdate preference DOCUMENTATION * Clean up README * Update UPGRADING.mysql documentation for users of older mysql * Flag that "Let this user be granted rights" means "Privileged" * Fix rt-crontool examples to use a real Condition * Undocument SenderMustExistInExternalDatabase since the code was never merged * Better document SetOutgoingMailFrom * Better document shrink_cgm_table.pl DATABASE * Add support for Postgres 9 * No longer record transactions for ACL Equivalence Groups * Don't delete all RT MySQL ACLs before invoke GRANT * Quote database name for GRANT on MySQL * Insert extensions' schema and acl files as the DBA * Fix searches for empty Attachments on Oracle EMAIL * Better handling of mail generated by Outlook * When RT's SendmailCommand fails, record it in ticket history * New GPG tests and bugfixes for corner cases * use EmailOutputEncoding for Content-Type.charset * Handle failures in MIME Encoding better * Small bugfixes for text/html templates * Fix MIME decoding on ticket subjects * Remove stray colons and whitespace in the default Admin Comment template USER INTERFACE * Fix an infinite loop when using the 3.4-compat theme * Fixes to CollectionList sorting * css positioning tweaks for page menus * Fixes for Bulk Update when users click 'Add More Files' * Skip all watchers when offering to add CCs as Watchers * Fix ahah.js to handle more than one CF 'Include page' link * Ensure that Nobody is always at the front of the Select Owner list * Link Basics in SelfService to the Update page * Fix toggling js to only run once * Ensure signatures are included in Jumbo edits * Better identify (in the UI) a misconfigured GPG setup * GPG key management UI updates * Add classes/ids to the Custom Field Editing pages * CSS Fixes for preferences widgets * Fix truncated top values on Charts * Wording and layout changes for the 'update password' widget * Ensure that we keep Anchor tags on redirects * Fix loading a new search on the Chart/Graph pages * Change Attachment size label from Bytes to Megabytes * Respect timezones in timestamps in /Approvals/ * Charset fixes for Ticket Attachment downloads * Bar graph fixes for large numbers of bars * Allow a callback on QuickCreate to pass a default Status * Fix Approvals to make one search for approval tickets that distincts and orders them * Link from Group Membership lists to User admin pages * New callbacks (autohandler, default queue, aborting ticket updates, after requestor on create) * Fix non-local local links and add t: syntax * Editing Transaction custom fields now shows errors inline * Use the ShowUser element more consistently across the UI TOOLS * Improvements to extract-message-catalog (translation tool) * Let shrink_cgm_table and shrink_transactions display "percent complete" * Added a simple script to naively generate a RTAddressRegexp * Install rt-attributes-viewer originally shipped with 3.8.8 * bin/rt now searches for global configs in LOCAL_ETC_PATH also OTHER BUG FIXES * No longer refuse to start if you upgraded from a version of RT that allowed you to have invalid Scrips * Handle broken Reminders links when users change their Organization * Trim whitespace from CustomFieldValues consistently * RFC2616 dates are always in UTC * Scrips can no longer have an empty Condition, Action or Template * make multi-value REST fields separated with commas ignore spaces * Localize ENV changes under mod_perl * Don't page group memberships for a User * Skip disabled Queues when a Simple Search term matches a Queue Name * Add TransactionObj to CreateTickets templates to match the docs * Fix the use of Tickets_Local.pm in rt-email-dashboards and rt-crontool * Escape more characters in graphviz output * Fix message when you fail to delete a saved search to tell you Permission Denied * Include Rules with Scrips when previewing recipients * Ensure that distribution upgrades that break Scalar::Util show up in apache logs * Fix warnings on empty Collection List headers * Log errors from safe_run_child * Refuse to run if webmux.pl and RT.pm are mismatched * Actually log the error that caused "Can't load a principal for id #" * Switch to using $Approver->Name in templates since an AdminCc can approve * Allow fastcgi_server to specify a port * Guard against SavedSearches with no content * Ensure our output is always flagged as utf-8 * Allow queries like "Priority > -2" * Fixes to Private/Public key methods * Return 'set private key' from SetPrivateKey, not 'unset private key' * Protect STDOUT under mod_perl - among other things, this fixes Scrips that use system() * Fix forwarding of messages without a top level textual part
2011-02-26 21:58:15 +01:00
upgrade/upgrade-mysql-schema.pl \
upgrade/vulnerable-passwords
Update rt3 to version 3.8.1 (from 3.6.6). Changes are: * New visual style (web2). * Rich text mails. * Email signatures and encryption. * User settings for: - Ticket history ordering. - Timezones. - Date and time format. - Username format. - Default queue. - Size of message text boxes. * Charts of ticket relationships. * Breeze through upgrades with new upgrade tools. * Subscribe to iCalendar feeds of ticket due dates. * Bookmark frequently-used tickets. * Turn off mail from RT when you go on vacation. * Get your mail from RT as a daily or weekly batch. * Delete historical or spam tickets with RT::Shredder (only as a superuser). * Set up more configurable business rules with new Scrip Conditions and Actions. * Forward tickets to third-parties from within RT. * Enable and Disable RT extensions with the new Plugins system. * Automatically log out inactive users with rt-clean-sessions. * Run faster with less memory, thanks to numerous performance improvements and bug fixes. * Fixed a potential HTML injection attck via user's properties. * Better support for installation on Solaris and FreeBSD (non-GNU make). * Updates to documentation and scripts for upgrading from MySQL 4.0 * Updated upgrade documentation for the new Queue Tag and bookmarks features. * Multiple bugs in iCal support fixed. * Backwards compatibility fixes for extensions developed against 3.6 * Added support for external links in tabs and targets. * Addition of a new callback before ticket creation so you can implement custom validation or stop creation for another reason. * Missing documentation to external authentication configuration variable in bin/rt and make it possible to set it via ENV. * Merged method in RT::Ticket.
2008-08-24 01:58:29 +02:00
RT_UPGRADE_DIRS= 3.3.0 3.3.11 3.5.1 3.7.1 3.7.3 3.7.10 3.7.15 \
update to version 3.8.8, partially by sno@ Upstream Changelog: NEW FEATURES AND MAJOR CHANGES * Aaron Sigel performed a security audit of RT and pointed out a number of potential improvements which have been addressed * Charts improvements * Time-based charts can now show "hourly" goupings. * ChartFont option is now hash with font per language. * Two default fonts are shipped with RT to cover most supported languages. * The table of chart results now contains links to tickets matching a given row. * Timezones support, but protected with config option. * Better scaling of Y axis. * X axis labels are now vertical if there is not enough space to display them horizontally. * RTAddressRegexp option improvements * No default value anymore. * If no value is set then RT will attempt to calculate the right value from the user-defined queue addresses. * On create/update/people pages RT now checks addresses users enter and stop users from entering known addresses for RT queues. * Admin UI improvements * Improved display of the "About this RT" page. * More pages in the Admin UI have been switched to generic code to list objects (like tickets in search results) * Display formats for these objects are now configurable in the config file (%AdminSearchResultFormat) * More columns in column maps for objects other than tickets. * Custom fields ordering and application improvements * Queue specific custom fields now can be placed above global, below or even in the middle. Order of global custom fields stays the same in all queues, but a custom field that is applied to particular queues can be placed differently in each queue. * Make it possible to apply a CF globally from 'Applies To' page. * RT no longer allows you to apply a CF globally and to queues at the same time. When CF is applied globally it is un-applied from specific queues first. * Refactored simple (googleish) search * new options in the config to control defaults * new keywords to search for particular things * RSS feeds now contain embedded single-query authentication strings * We've Introduced a config option to prevent adding the RT-Originator header in outgoing mails. * New MessageBoxIncludeSignature* options * LogoutRefresh config option to control how long to wait before going back to login * New config option for AttachmentUnits * New config option for AlwaysDownloadAttachments * RT now requires your current password to change any password * Improved LinkValueTo and returned back functionality * if LinkValueTo starts with __CustomField__ then don't escape it, but make sure it's not a JS link * escape links using HTML escaping * don't wrap into <a> with empty href if link is empty * Added DefaultMailPrecedence and DefaultErrorMailPrecedence config options * Squelch watchers on update. This makes doing silent Updates possible * New web handler: bin/fastcgi_server * Refactored Elements/ShowUser so it's easy to add custom formats. Several performance improvements in this code. * MERGE_CACHE to cache information about merged tickets and lower logs and DB impact on re-checks * Made NotifyActor into a User Preference * If the MIME entity has header X-RT-Squelch, do not send the message * Improved print layouts * Serve images in js and css dirs as static files, so browsers cache them more agressively * Added HasAttribute and HasNoAttribute to TicketSQL * New faster and less memory hungry TicketsMaps - First, Prev, Next and Last links when you view tickets from the current search. Size is now limited by a new config option. Floating window is used to build the links. CLEANUPS AND SMALL IMPROVEMENTS * Updated doc/Security with more modern security tips * Made the plaintext mono feature work in IE. * Better timezone handling in Tools/Reports/ResolvedByDates.html * Make sure we don't serve files outside RT's paths * Additional checks to make sure that credentials are sent to RT on Login * Moved CustomField column map from tickets' to generic * Make height, width, href and alt of the logo configurable * Load as much as possible when a web-handler with forks is used, this increase memory sharing across processes * A link provided for approvals templates to whoever worked the approval * Global __WebRequestPath__ and __WebRequestPathDir__ column map entries * Process custom fields in ModifyDates.html * Handle Ccs and AdminCcs of the queue in SkipNotification feature * Sort callbacks within a root only, respect plugins order * Add some wording to the check boxes on the reply pages * Reduce whitespace on bottom of boxes as was earlier * Use smaller margin for reminders display to save space * Use a reasonable length for scrip descriptions * Removed a lie about RT CLI still being "unsupported" * User friendlier errors handling thrown by Calendar::Simple * Split some CSS from themes into base/xxx.css * Googleish search was making incorrect assumptions about RT::User and RT::Group's Load function returning a boolean not a list. This was throwing (harmless, but ugly) errors. * Don't apply order on collections if sorting is not allowed * Removed the "URL" parameter to 'Logout' as it had no legitimate use. * make instal and testdeps tests to avoid some versions of modules that are known to be buggy or incompatible, for example DBD::Oracle 1.23 BUG FIXES * properly use AND/OR when content is searched and DontSearchFileAttachments option is enabled * Make sure Merge only possible when user has Modify right on both tickets * Fixes for UseSQLForACLChecks option, it was possible to construct a query and see tickets an user has no right to see. Lots of tests have been added to make sure it wouldn't happen again. * SQL used for ACL checks has been refactored to get more effective queries. Especially when list of potential owners is built for the query builder. * Unified API for tables with disabled column and fixes when ->Count could return bigger value when some CFs are disabled. * I18N was transcoding attachments to UTF-8 one line at a time. This doesn't work at all for UTF-16 and probably other encodings. * Fixed encoding problem when loading a dump file produced by rt-dump-database. * A closing </li> was missing in PreviewScrips comp * Fixed config loading when Fcntl module or other exporting symbols is loaded. Load was failing with "Not a SCALAR reference" error. * Returned back effective SQL when searching by CFs with = or != operator * Fixed error on login when user make mistake in password and he entered character out of ASCII range. * Honor a user's MessageBoxRichTextHeight setting * Fixed query builder behaviour with NULLs and '' (empty values) * Fixed potential information loose on incorrect GnuPG mails * Fixed display-all-rows in Dashboards * Fixed JS escaping issues * Set context object in OCFV::CustomFieldObj * Sessions ended up in /tmp/ in some cases * Fixed safe_run_child when code dies between fork and exec, deals with "mysql server has gone away" error * fix Jumbo reloading and losing message content * Stop infinite looping when you have global custom fields and no Queue restriction * Fixed sorting of custom fields in Results.tsv * Set of fixes for Unicode characters in emails and tests covering these changes * Don't create handles we don't need, we can hit limit * Prevent servers using GnuPG from running out of file handles TRANSLATION Updates merged from launchpad and two new languages: nn.po and pt_PT.po. Thanks to all contributors. CALLBACKS * AboutThisUser in ShowPeople box * Between the GnuPG and message rows * AfterSubject * Before and After CustomFields * Before and After TransactionCustomFields * AfterAddress in PreviewScrips * At the top of ticket summary columns * For adding links for attachment downloads * At the bottom of the logout box * Pass more information to the FormStart callback in Ticket/Update.html * AfterMessageBox on ticket create page * ShowTransaction/AfterAnchor * In EditDates and ShowDates * Pass a reference to the signature in MessageBox's callback * For inserting text after the transaction's description * AfterUpdateType in Jumbo.html and Update.html
2010-09-17 23:41:54 +02:00
3.7.19 3.7.81 3.7.82 3.7.85 3.7.86 3.7.87 \
3.8.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.6 3.8.8 3.8.9 \
3.8.12 3.8.17
MESSAGE_SUBST+= RTVARDIR=${RT_VAR_DIR:Q} RTSHAREDIR=${RT_SHARE_DIR:Q}
USE_TOOLS+= pax
do-install:
@${ECHO} "=> Configuration files"
2009-06-21 17:31:39 +02:00
${INSTALL_DATA_DIR} ${DESTDIR}${RT_EXAMPLE_DIR}
.for _file_ in ${RT_CONFIG_FILES}
2009-06-21 17:31:39 +02:00
${INSTALL_DATA} ${WRKSRC}/etc/${_file_} ${DESTDIR}${RT_EXAMPLE_DIR}
.endfor
2009-06-21 17:31:39 +02:00
${INSTALL_DATA_DIR} ${DESTDIR}${RT_SHARE_DIR}/etc
Update of rt3 to version 3.8.9 Changelog: SECURITY * Move to a SHA-256 based password hashing scheme * Redirect users to their desired pages after login. This prevents possible back button attacks after a user logs out. * Clone Scrip's TicketObj since we change the CurrentUser and it can leak information (Custom field values, etc) INSTALLATION * Fixes to the RH Layout in config.layout ACCESS CONTROL * New AdminCustomFieldValues right that allows user to add/remove CF values, but not edit the CF CONFIGURATION * Add ResolveDefaultUpdateType to choose between Comment or Correspond on Resolve * When using Set($MailCommand, 'testfile') log all mail to the same tmpfile * Add a callback to allow extensions to redirect a user to an external auth logout URL using RT's logout button. This ensures that the user's RT session is cleared * Add SuppressAutoOpenOnUpdate preference DOCUMENTATION * Clean up README * Update UPGRADING.mysql documentation for users of older mysql * Flag that "Let this user be granted rights" means "Privileged" * Fix rt-crontool examples to use a real Condition * Undocument SenderMustExistInExternalDatabase since the code was never merged * Better document SetOutgoingMailFrom * Better document shrink_cgm_table.pl DATABASE * Add support for Postgres 9 * No longer record transactions for ACL Equivalence Groups * Don't delete all RT MySQL ACLs before invoke GRANT * Quote database name for GRANT on MySQL * Insert extensions' schema and acl files as the DBA * Fix searches for empty Attachments on Oracle EMAIL * Better handling of mail generated by Outlook * When RT's SendmailCommand fails, record it in ticket history * New GPG tests and bugfixes for corner cases * use EmailOutputEncoding for Content-Type.charset * Handle failures in MIME Encoding better * Small bugfixes for text/html templates * Fix MIME decoding on ticket subjects * Remove stray colons and whitespace in the default Admin Comment template USER INTERFACE * Fix an infinite loop when using the 3.4-compat theme * Fixes to CollectionList sorting * css positioning tweaks for page menus * Fixes for Bulk Update when users click 'Add More Files' * Skip all watchers when offering to add CCs as Watchers * Fix ahah.js to handle more than one CF 'Include page' link * Ensure that Nobody is always at the front of the Select Owner list * Link Basics in SelfService to the Update page * Fix toggling js to only run once * Ensure signatures are included in Jumbo edits * Better identify (in the UI) a misconfigured GPG setup * GPG key management UI updates * Add classes/ids to the Custom Field Editing pages * CSS Fixes for preferences widgets * Fix truncated top values on Charts * Wording and layout changes for the 'update password' widget * Ensure that we keep Anchor tags on redirects * Fix loading a new search on the Chart/Graph pages * Change Attachment size label from Bytes to Megabytes * Respect timezones in timestamps in /Approvals/ * Charset fixes for Ticket Attachment downloads * Bar graph fixes for large numbers of bars * Allow a callback on QuickCreate to pass a default Status * Fix Approvals to make one search for approval tickets that distincts and orders them * Link from Group Membership lists to User admin pages * New callbacks (autohandler, default queue, aborting ticket updates, after requestor on create) * Fix non-local local links and add t: syntax * Editing Transaction custom fields now shows errors inline * Use the ShowUser element more consistently across the UI TOOLS * Improvements to extract-message-catalog (translation tool) * Let shrink_cgm_table and shrink_transactions display "percent complete" * Added a simple script to naively generate a RTAddressRegexp * Install rt-attributes-viewer originally shipped with 3.8.8 * bin/rt now searches for global configs in LOCAL_ETC_PATH also OTHER BUG FIXES * No longer refuse to start if you upgraded from a version of RT that allowed you to have invalid Scrips * Handle broken Reminders links when users change their Organization * Trim whitespace from CustomFieldValues consistently * RFC2616 dates are always in UTC * Scrips can no longer have an empty Condition, Action or Template * make multi-value REST fields separated with commas ignore spaces * Localize ENV changes under mod_perl * Don't page group memberships for a User * Skip disabled Queues when a Simple Search term matches a Queue Name * Add TransactionObj to CreateTickets templates to match the docs * Fix the use of Tickets_Local.pm in rt-email-dashboards and rt-crontool * Escape more characters in graphviz output * Fix message when you fail to delete a saved search to tell you Permission Denied * Include Rules with Scrips when previewing recipients * Ensure that distribution upgrades that break Scalar::Util show up in apache logs * Fix warnings on empty Collection List headers * Log errors from safe_run_child * Refuse to run if webmux.pl and RT.pm are mismatched * Actually log the error that caused "Can't load a principal for id #" * Switch to using $Approver->Name in templates since an AdminCc can approve * Allow fastcgi_server to specify a port * Guard against SavedSearches with no content * Ensure our output is always flagged as utf-8 * Allow queries like "Priority > -2" * Fixes to Private/Public key methods * Return 'set private key' from SetPrivateKey, not 'unset private key' * Protect STDOUT under mod_perl - among other things, this fixes Scrips that use system() * Fix forwarding of messages without a top level textual part
2011-02-26 21:58:15 +01:00
${INSTALL_DATA} ${WRKSRC}/UPGRADING ${DESTDIR}${RT_SHARE_DIR}/etc
.for _file_ in ${RT_ETC_FILES}
2009-06-21 17:31:39 +02:00
${INSTALL_DATA} ${WRKSRC}/etc/${_file_} ${DESTDIR}${RT_SHARE_DIR}/etc
.endfor
2009-06-21 17:31:39 +02:00
${INSTALL_DATA_DIR} ${DESTDIR}${RT_SHARE_DIR}/etc/upgrade
.for _dir_ in ${RT_UPGRADE_DIRS}
2009-06-21 17:31:39 +02:00
${INSTALL_DATA_DIR} ${DESTDIR}${RT_SHARE_DIR}/etc/upgrade/${_dir_}
cd ${WRKSRC}/etc/upgrade/${_dir_} && \
${FIND} . -type f ! -name '*.orig' 2>/dev/null | \
${PAX} -rw ${DESTDIR}${RT_SHARE_DIR}/etc/upgrade/${_dir_}
.endfor
@${ECHO} "=> Libraries"
2009-06-21 17:31:39 +02:00
${INSTALL_DATA_DIR} ${DESTDIR}${RT_LIB_DIR}
cd ${WRKSRC}/lib && ${FIND} . -type f ! -name '*.orig' -o -name '*.in' 2>/dev/null | ${PAX} -rw ${DESTDIR}${RT_LIB_DIR}
2009-06-21 17:31:39 +02:00
${FIND} ${DESTDIR}${RT_LIB_DIR} -type f -exec ${CHMOD} 644 {} \;
@${ECHO} "=> Binaries"
2009-06-21 17:31:39 +02:00
${INSTALL_SCRIPT_DIR} ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/bin/rt-mailgate ${WRKSRC}/bin/rt-crontool \
${WRKSRC}/bin/mason_handler.fcgi ${WRKSRC}/bin/mason_handler.scgi \
${WRKSRC}/bin/standalone_httpd ${WRKSRC}/bin/mason_handler.svc \
${WRKSRC}/bin/rt ${WRKSRC}/bin/webmux.pl \
2009-06-21 17:31:39 +02:00
${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT_DIR} ${DESTDIR}${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/sbin/rt-dump-database \
${WRKSRC}/sbin/rt-setup-database \
2009-06-21 17:31:39 +02:00
${WRKSRC}/sbin/rt-email-digest \
${WRKSRC}/sbin/rt-email-dashboards \
${WRKSRC}/sbin/rt-email-group-admin \
${WRKSRC}/sbin/rt-server \
${WRKSRC}/sbin/rt-test-dependencies \
${WRKSRC}/sbin/rt-clean-sessions \
${WRKSRC}/sbin/rt-shredder \
${WRKSRC}/sbin/rt-validator ${DESTDIR}${PREFIX}/sbin
@${ECHO} "=> HTML documents"
2009-06-21 17:31:39 +02:00
${INSTALL_DATA_DIR} ${DESTDIR}${RT_HTML_DIR}
cd ${WRKSRC}/share/html && ${FIND} . -type f ! -name '*.orig' -o -name '*.in' 2>/dev/null | ${PAX} -rw ${DESTDIR}${RT_HTML_DIR}
2009-06-21 17:31:39 +02:00
${FIND} ${DESTDIR}${RT_HTML_DIR} -type f -exec ${CHMOD} 644 {} \;
@${ECHO} "=> Documentation"
2009-06-21 17:31:39 +02:00
${INSTALL_DATA_DIR} ${DESTDIR}${RT_DOC_DIR}
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${RT_DOC_DIR}