Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bestpractical/rt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-10Merge branch '5.0/users4-index-if-exists' into 5.0-trunkHEADstable5.0-trunksunnavy
2022-11-09Don't error if users4 index has been removedJim Brandt
The Users4 index has been in RT for a very long time, so it should be found, but we shouldn't error if it has been removed.
2022-10-29Merge branch '5.0/log-sql-even-without-currentuser' into 5.0-trunksunnavy
2022-10-21Merge branch '5.0/asset-custom-roles' into 5.0-trunkJim Brandt
2022-10-19Add API and web tests for interacting with custom roles on assetsShawn M Moore
2022-10-19Relax requirements about role names to be unique for each lookup typesunnavy
2022-10-19Support custom roles for asset searchessunnavy
2022-10-19Show single custom role's name in the result message of adding memberssunnavy
This is for asset custom roles, tickets don't have this issue as the result message was customized in RT::Ticket already.
2022-10-19Clear old data when registering the whole custom rolessunnavy
RegisterRoles is used to refresh custom roles in RT::Interface::Web::MaybeRebuildCustomRolesCache, but previously it just updated enabled ones and wrongly ignored disabled/deleted ones. This commit updates the logic to remove existing custom roles first and then fill new data from scratch, which fixes the issue.
2022-10-19Exclude asset custom roles from ticket searchShawn M Moore
This covers both search builder and bulk update.
2022-10-19Add lookup type to custom role admin page listingJim Brandt
2022-10-19Add custom roles to assetsShawn M Moore
2022-10-19Add support for LookupType to custom rolesShawn M Moore
This allows custom roles to be reused for any object class, not just tickets and queues.
2022-10-19Allow RegisterLookupType to provide options besides just FriendlyNameShawn M Moore
We are going to add new options including "CreateGroupPredicate", "AppliesToObjectPredicate" and "Subgroup".
2022-10-19Factor out a LookupType role from CustomFieldsShawn M Moore
This will be added to CustomRoles to support custom roles on assets and other record types. This generalizes and deprecates /Admin/Elements/SelectCustomFieldLookupType in favor of a new /Admin/Elements/SelectLookupType. That way we can use it on the CustomRole Modify page
2022-10-19Abstract RT::Ticket::RoleAddresses so it can be used for assets too.Shawn M Moore
2022-10-19Add CustomRoleObj method for loading by GroupTypeShawn M Moore
With this we can easily go from the output of ->Roles to an RT::CustomRole object.
2022-10-12Merge branch '5.0/tracking-rt-configuration-doc-update' into 5.0-trunkJim Brandt
2022-10-12Note configuration needed to load JSON initialdataBrian Conry
Document configuration to enable the JSON initialdata format so someone following the instructions from tracking-rt-configuration.pod with the default configuration will be able to load the changes into their target.
2022-09-28Merge branch '5.0/group-default-values' into 5.0-trunkJim Brandt
2022-09-28Allow default custom field values for more objectscraig kaiser
This change shows the default value option in the custom field admin page for more objects. Once set, the default is populated on the create page for these objects.
2022-09-23Fix typo of "Elemenents"sunnavy
2022-09-15Merge branch '5.0/add-dashboard-list-to-email-cli' into 5.0-trunksunnavy
2022-09-15Support to specify dashboards for rt-email-dashboardsJason Crome
2022-09-14Fix LDAP filter string debug outputBlaine Motsinger
The filter variable in UserExists isn't a Net::LDAP::Filter obj so fails the as_string method. Additionally, search_filter is more correct since it contains the final constructed filter.
2022-09-12Merge branch '5.0/add-callback-showsummary-aftercustomfields' into 5.0-trunkJim Brandt
2022-09-12Add AfterCustomFields callback to /Ticket/Elements/ShowSummaryBrian Conry
2022-09-03Merge branch '4.4-trunk' into 5.0-trunksunnavy
2022-09-02Merge branch '4.4/message-attachment-original-content' into 4.4-trunkJim Brandt
2022-09-02Test textual and UTF-8 encoded "message/..." attachmentssunnavy
It covers both cases where $TreatAttachedEmailAsFiles is true or false.
2022-09-02Encode content for textual "message/..." attachmentssunnavy
If $TreatAttachedEmailAsFiles is true, message-like attachments wouldn't be split into parts in RT database, in which case "OriginalContent" could return decoded strings(with utf-8 flag on), which "ContentAsMIME" doesn't like(it feeds OriginalContent to MIME::Body::Scalar) and could cause the following warning(when there are some non-ascii chars): Strings with code points over 0xFF may not be mapped into in-memory file handles Even worse, it dies if you stringify the returned MIME::Entity object: open body: Invalid argument at .../MIME/Entity.pm line 1897. This commit fixes the issue by encoding content accordingly.
2022-09-02Refactor EditLinks to stick repeated code in a subcomponent, fixing ↵Jesse Vincent
unbalanced div tag
2022-09-02Update Scrips/Modify.html to line up "Applies to" with the other valuesJesse Vincent
2022-09-02Fix rendering of Shredder plugin argumentsJesse Vincent
2022-09-02Bring Asset Search rendering back to the status-quo-anteJesse Vincent
2022-09-02Correct Ticket/Create.html's rendering of Links blockJesse Vincent
2022-09-02Port most of Elements to LabeledValueJesse Vincent
2022-09-02Port Search/Bulk to LabeledValueJesse Vincent
2022-09-02Port Dashboards to LabeledValueJesse Vincent
2022-09-02Port Install to LabeledValueJesse Vincent
2022-09-02Port Tools to LabeledValueJesse Vincent
2022-09-02Port SelfService to LabeledValueJesse Vincent
2022-09-02Port the bulk of Ticket to LabeledValueJesse Vincent
2022-09-02Port Prefs to LabeledValueJesse Vincent
2022-09-02Port Assets to LabeledValueJesse Vincent
2022-09-02Port Articles to LabeledValueJesse Vincent
2022-09-02Port Reports to LabeledValueJesse Vincent
2022-09-02Port Admin to LabeledValueJesse Vincent
2022-09-02Add a new "LabeledValue" componentJesse Vincent
Provides a standard way to show some kind of a value with a label attached to it, usually in a list of such values. This is very common throughout RT and this centralizes the markup in one place, also reducing duplicated HTML nearly everywhere.
2022-09-02Merge branch '5.0/unify-BeforeActionList-callback-api' into 5.0-trunkJim Brandt