Commit Graph

33 Commits

Author SHA1 Message Date
Roman Rizzi 8f92c5f9bd
Revert "DEV: use group ids to allow assign on groups (#38)" (#40)
This reverts commit b256d462bf.
2019-07-16 11:59:33 -03:00
Roman Rizzi b256d462bf
DEV: use group ids to allow assign on groups (#38)
* DEV: use group ids to allow assign on groups

* FIX: Dinamically sets the default value to support older versions
2019-07-16 11:33:04 -03:00
Gerhard Schlager 6d44f4fe29 FIX: Send assignment message in the notified user's locale 2019-07-12 12:08:22 +02:00
Sam Saffron e4be0f02b7 Revert "Staff is always allowed to assign (#36)"
This reverts commit bb200f5fbd.
Unfortunately that commit broke assign
2019-06-18 16:00:10 +10:00
Roman Rizzi bb200f5fbd
Staff is always allowed to assign (#36) 2019-06-17 10:11:00 -03:00
Roman Rizzi f312ece4a9
Feature: Allow assign on groups (#31)
* Feature: Allow assign on groups

* Use type: group_list option

* Track group changes and update the setting accordingly. Restrict reminders frequency to assign allowed users instead of staff
2019-06-04 09:21:33 -03:00
Roman Rizzi abe8142038
FEATURE: Users can override reminders frequency (#30)
* FEATURE: Users can override reminders frequency

* Changes:
- Avoid creating a user custom field when the used didn't override the frequency
- Sanitize frequency value using coercion
- Minor fixes

* Sanitize query and user query single
2019-05-27 10:53:37 -03:00
romanrizzi c882b097f8 Remove 'Unassign All' feature 2019-05-15 15:57:28 -03:00
Guo Xiang Tan 8fca0f61e8 Add frozen string literal comment to files. 2019-05-13 10:30:21 +08:00
Sam Saffron 6f031f5432 FIX: correctly count assigned topics for user
Previously we were looking at deleted topics
2019-05-03 11:24:16 +10:00
Roman Rizzi 8583287faf
FEATURE: Limit the amount of assigned topics an user can have. (#29)
* FEATURE: Limit the amount of assigned topics an user can have.

* Do not enfore the limit when self-assigning

* Avoid computing the query when self-assigning. Do not count self-assigns when enforcing the limit
2019-05-02 10:44:11 -03:00
Guo Xiang Tan 65c0b3c192 FIX: Don't count deleted topic in assignment count. 2019-04-30 11:23:13 +08:00
Guo Xiang Tan 1af202142b Fix incorrect link to assigned activity. 2019-04-30 11:08:28 +08:00
Roman Rizzi 7b7432990a FEATURE: Remind users of assigned tasks. (#28)
* FEATURE: Remind users of assigned tasks.

* User an user custom field instead of adding a new column

* Improve tests. fix assigns count and display oldest assigned topics correctly. Do not remind about recently assigned tasks
2019-04-30 10:02:26 +10:00
Gerhard Schlager a308e2a445 FIX: Do not assign the same user more than once
This prevents resending assignment notification emails.
2019-01-04 21:24:08 +01:00
Sam cd6f61683e FIX: do not include username in assign push notification 2018-12-05 08:42:02 +11:00
Sam 2d5359055d FIX: properly send push notifications on assign
Previously we would rely on a quirk in core where whisper small actions
would get a notification, this behavior was removed and now we must
be explicit, it provides a much more consistent assign notification
2018-12-04 17:55:58 +11:00
Maja Komel baddb3c630 FIX: don't assign system user when automatic assign by mention is enabled (#20) 2018-12-03 12:37:36 +01:00
Guo Xiang Tan ed1f942c52 FIX: Don't set notification level to `watching` when already watching. 2018-09-07 15:00:53 +08:00
Guo Xiang Tan 7663268584 FIX: Change notification_level back to tracking only if set by plugin. 2018-09-04 15:30:53 +08:00
Sam 8ad7304bdd FIX: can now correctly unassign corrupt topics
if a topic is somehow assigned to an array we can correctly unassign
2018-09-04 15:10:17 +10:00
Guo Xiang Tan 9bea971196 FEATURE: Assigning a user to a topic will make user watch the topic. 2018-08-03 16:24:59 +08:00
Guo Xiang Tan 6e7f01e5d4 FIX: Only save custom fields when unassigning a topic. 2018-07-26 08:57:24 +08:00
Guo Xiang Tan 949ccb07ca FIX: Only save custom fields when assigning a topic. 2018-07-25 17:25:21 +08:00
Sam ffd4bd1a4a exec_sql is deprecated use db exec instead 2018-06-21 12:22:04 +10:00
Guo Xiang Tan 39ebb0c429 Make rubocop happy. 2018-06-08 10:21:19 +08:00
Robin Ward 3905f8f992 FIX: `upsert` was less safe under concurrency 2018-05-08 17:53:18 -04:00
Robin Ward 754209ce58 Add "Unassign All" button to user's assigned topics view 2018-05-04 13:41:04 -04:00
Arpit Jalan 390a08a196 FIX: do not attempt to unassign the deleted topic 2018-04-03 13:44:02 +05:30
Guo Xiang Tan 463f77bb2a FEATURE: Add live updates for "assigned" private messages. 2018-03-07 23:02:13 +08:00
spog163 5758486167 Added email notification on topic assignment (#9)
* Added email notification on topic assignment

* Added config options for assign mailer

* Add Russian translation

* Update server.ru.yml

* Create client.ru.yml

* Update server.ru.yml

* Update client.ru.yml

* Update client.ru.yml

* Update client.ru.yml

* Update server.en.yml

* Removed override option for muted topics
2017-11-21 15:09:08 +11:00
Robin Ward 626965f94c FIX: Use a proper event for removing assign on close 2017-09-27 14:04:27 -04:00
Robin Ward 7ca73b293a FEATURE: Add ability to claim topics on flagged topics page 2017-09-08 15:31:02 -04:00