anarcat / rt Public
forked from bestpractical/rtno-err-on-deny
Commits on Feb 25, 2020
Commits on Feb 17, 2020
Commits on Feb 13, 2020
-
Revert "Notify the owner on common mis-configurations"
This causes unneeded spam to the owner when we block access to a user through the web interface. This reverts commit 03d0af9.
Commits on Jan 8, 2020
-
Load Test::MockTime earlier to fully replace time functions in core
Otherwise, "today" would be parsed as current real date instead of the one set by Test::MockTime in RT::Date, which was loaded earlier than Test::MockTime. As it's already 2020, "2020-01-01" was not a future date any more because of the above issue, which failed tests.
Commits on Dec 6, 2019
Commits on Dec 5, 2019
Commits on Nov 20, 2019
Commits on Oct 23, 2019
-
-
Fix removal of custom fields when shredding queues
Remove the associated ObjectCustomFields entry instead of the CF.
-
Commits on Oct 15, 2019
-
Add multipart/form-data encoding to EditAboutMe form
Without the multipart/form-data encoding custom fields such as file uploads will not be submitted, resulting in no change to the field.
Commits on Oct 4, 2019
Commits on Sep 25, 2019
-
-
Support to search NULL(unset) values on user/group admin pages
We need to switch operator to "IS" or "IS NOT" for NULL values.
Commits on Sep 5, 2019
-
-
Fall through to false on watcher rights check
_HasModifyWatcherRight previously checked known rights cases and returned false when the user didn't have rights for the corresponding change. If nothing matched, the fall through return value was true, which meant that any watcher change that didn't match was allowed. All new custom roles won't match the existing watcher type checks, so users could by default edit custom roles even without ModifyTicket or ModifyQueueWatchers. Reverse the logic to return true for know rights and types and default to 0 for any unknown cases. At this point, ModifyTicket is required to modify custom roles on tickets and ModifyQueueWatchers on queues.
-
Add test showing custom roles can be set without Modify rights
Tests custom role watchers on tickets and queues.
Commits on Sep 4, 2019
-
Test adding custom field values
Especially to test if old values are correctly removed when necessary.
-
Confirm record is defined before calling id
In cases where the $current_values iterator would run out of values and return undef, the id call on $extra_item would cause an "undefined value" exception. When called by a scrip, this causes the scrip to die. It also left a dangling transaction when the Rollback was not called, and this could cause the outer ticket transaction to not commit properly.
-
Only remove extra CF values when they are actually extra
Only remove extra CF values when $extra_values is positive. Previously, $extra_values would often be negative when the number of values is less than MaxValues, but the code to remove values would still run. It would exit the loop only on error when $extra_item was eventually undef.
Commits on Aug 21, 2019
Commits on Aug 16, 2019
Commits on Aug 6, 2019
Commits on Jul 31, 2019
Commits on Jul 30, 2019
-
-
In case subject tag is prefixed with http:// by email clients
We noticed that recent Outlook 365 for web automatically converts things that look like a domain from example.com to http://example.com in subject, which breaks our parsing ticket id logic. This commit tolerates related regexes to allow http:// prefix.
Commits on Jul 15, 2019
-
Pass ShowHints via a callback to provide a way to hide hints
Add some other values that might be useful in a callback also.
Commits on Jun 28, 2019
-
Restore mistakenly translated quant function in German translation
Fixes: I#34733
michel committedJun 28, 2019