pkgsrc/devel/rt3/MESSAGE

51 lines
1.9 KiB
Text
Raw Normal View History

===========================================================================
2011-04-14 14:42:56 +02:00
$NetBSD: MESSAGE,v 1.6 2011/04/14 12:42:56 adam Exp $
You must configure RT by editing ${PKG_SYSCONFDIR}/RT_SiteConfig.pm.
To initialize the RT database, run
${PREFIX}/sbin/rt-setup-database --action init \
2011-04-14 14:42:56 +02:00
--dba dbadmin --prompt-for-dba-password \
--datadir ${RTSHAREDIR}/etc
as a user in the ${RT_GROUP} group or as superuser. In the previous
command-line, 'dbadmin' stands for the database administrator's username,
e.g. 'root' for MySQL.
To upgrade the RT database from an older version, look in
${PREFIX}/share/rt3/etc/upgrade, and for each version newer than the one
previously used, do the following:
${PREFIX}/sbin/rt-setup-database --action schema \
--dba dbadmin --prompt-for-dba-password \
--datadir ${RTSHAREDIR}/etc/upgrade/<version>
${PREFIX}/sbin/rt-setup-database --action acl \
--dba dbadmin --prompt-for-dba-password \
--datadir ${RTSHAREDIR}/etc/upgrade/<version>
${PREFIX}/sbin/rt-setup-database --action insert \
--dba dbadmin --prompt-for-dba-password \
--datadir ${RTSHAREDIR}/etc/upgrade/<version>
You might also want to clear the Mason cache:
rm -Rf ${RTVARDIR}/mason_data/obj
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
UPGRADING FROM 3.8.8 and earlier:
Previous versions of RT used a password hashing scheme which was too
easy to reverse, which could allow attackers with read access to the
RT database to possibly compromise users' passwords. Even if RT does
no password authentication itself, it may still store these weak
password hashes -- using ExternalAuth does not guarantee that you are
not vulnerable! To upgrade stored passwords to a stronger hash, run:
2011-02-27 18:05:57 +01:00
perl ${RTSHAREDIR}/etc/vulnerable-passwords
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
at this point.
2011-02-27 18:05:57 +01:00
For other upgrading actions, see ${RTSHAREDIR}/etc/UPGRADING
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
See also the manual on ${HOMEPAGE}docs.html
===========================================================================