Commit Graph

200 Commits

Author SHA1 Message Date
janzenisaac 09d254b369
FIX: Update aria-labels on mobile / dropdown (#254)
- Update aria labels on mobile and for re-assign dropdown
- Fixes: https://dev.discourse.org/t/quicker-assign-to-self-when-group-is-assigned/54647/33?u=isaacjanzen
2021-11-19 11:55:14 -06:00
Natalie Tay 3d2a9d1e87
Show custom topic tracking message when the user 'never' automatically tracks topics and gets assigned (#249)
* Show more precise topic tracking message when the user never tracks any topics and gets assigned
2021-11-18 09:44:53 +08:00
Discourse Translator Bot b09239ec27
Update translations (#247) 2021-11-16 16:17:02 +01:00
Joffrey JAFFEUX d6a8c75a86
typo (#246) 2021-11-16 10:37:30 +01:00
janzenisaac 98103586b2
FEATURE: Reassign workflow (#231)
Build a new workflow that adds a dropdown in place of the old assign button with the ability to

Re-assign a new user / group to an assigned topic
Re-assign yourself to an assigned topic
Unassign a user / group from an assigned topic
2021-11-12 10:09:47 -06:00
Discourse Translator Bot 3a8e45700c
Update translations (#235) 2021-11-09 14:54:14 +01:00
Krzysztof Kotlarek 2d1f5668a5
FIX: rename action_code_href to action_code_path (#234)
We should use relative paths, therefore name change is necessary to avoid confusions. Post migration is added to fix existing data.
2021-11-08 14:32:21 +11:00
Krzysztof Kotlarek 22025b35b8
FEATURE: small post action with link to post (#232)
When a post is assigned/unassigned, we want small action to have a link to the specific post.
2021-11-08 08:25:13 +11:00
Discourse Translator Bot 5447a72fd8
Update translations (#228) 2021-11-02 18:48:28 +01:00
Krzysztof Kotlarek c396605d2f
FEATURE: assign to post (#224)
Ability to assign an individual post to a user or group
2021-11-01 09:27:13 +11:00
Discourse Translator Bot 54c670536c
Update translations (#225) 2021-10-28 11:24:51 +02:00
Discourse Translator Bot 09129d6529
Update translations (#223) 2021-10-27 14:24:31 +02:00
Joffrey JAFFEUX 7747bb81a0
FIX: more accurate and flexible random assign automation (#222)
- allows to define the number of days within which a user is considered recently assigned
- more correct by now using post custom fields
2021-10-19 17:31:17 +02:00
Discourse Translator Bot 7738124007
Update translations (#206) 2021-09-14 16:20:24 +02:00
Joffrey JAFFEUX 0881b638bd
DEV: adds an option to check for working hours (#201) 2021-09-08 16:46:33 +02:00
Krzysztof Kotlarek 375f7ba78d
FEATURE: new assignable group option instead of messageable (#195)
V1 of group assign was using "who can message" to determine if group can be assigned.

This PR is introducing new separate setting "who can assign"
2021-09-08 10:30:13 +10:00
Discourse Translator Bot 43b587dc44
Update translations (#194) 2021-08-31 16:08:49 +02:00
Jarek Radosz d807491df2
FEATURE: Assign to group (#182)
Ability to assign groups.

To assign group, user must have a right to send a message to that group.

In addition, 2 jobs were introduced, - AssignNotification and UnassignNotification to inform interested users in the background about the new assignment.
2021-08-27 09:25:38 +10:00
Discourse Translator Bot 489dfafb32
Update translations (#186) 2021-08-24 15:16:38 +02:00
Joffrey JAFFEUX 0046041e9e
FEATURE: improves random assign automation (#166)
- Makes a best attempt at being random and assigning people who haven’t been assigned for a long time
- Uses timezones and holidays
- Allows to define a minimum delay between assignments
- Creates a post if no one is available
2021-08-20 12:22:37 +02:00
Discourse Translator Bot 4c26cef99d
Update translations (#181) 2021-08-04 14:13:41 +02:00
Jarek Radosz ad95725987
FIX: Hide Unassigned if user doesn't have access (#179)
There's no need to display the "Unassigned" button for regular users when `assigns_public` is `false`.
2021-07-30 20:58:39 +02:00
Discourse Translator Bot 6de1f9821e
Update translations (#168) 2021-07-09 12:22:32 +02:00
Discourse Translator Bot 7a085ee0ee
Update translations (#165) 2021-06-29 16:01:08 +02:00
Joffrey JAFFEUX 954e908e24
FEATURE: adds support for a random assign automation (#162) 2021-06-24 16:51:49 +02:00
Discourse Translator Bot ace04166e1
Update translations (#160) 2021-06-08 16:31:42 +02:00
Discourse Translator Bot 8d013f38b2
Update translations (#156) 2021-05-04 15:18:02 +02:00
Tobias Eigen 724700129d
updated assign_allowed_on_groups admin setting (#152)
I had a bit of trouble finding how to enable this feature for a user so I could assign topics to the user. This is the setting, so I updated it to explain that it allows assigning to users as well as allows the user to assign topics to others.
2021-04-27 11:01:45 -07:00
Discourse Translator Bot 6768cb5d45
Update translations (#153) 2021-04-27 15:44:25 +02:00
Mark VanLandingham c0d651764f
UX: Improve quick access copy when no topics present (#151) 2021-04-23 11:00:22 -05:00
Discourse Translator Bot e682d4ddfe
Update translations (#149) 2021-03-16 15:44:07 +01:00
Discourse Translator Bot 97adee3680
Update translations (#142) 2021-02-09 14:52:00 +01:00
Discourse Translator Bot 5dcdb96fd5
Update translations (#140) 2021-02-02 14:36:57 +01:00
Osama Sayegh c5b549b887
FIX: Improve error message when assigning a PM to a user who doesn't have access to the PM (#137)
Currently if you try to assign a PM to a user who can't see it, you get an error message that says "@{user} can't be assigned since they don't belong to assigned allowed groups". This commit improves the message and now it tells you the user doesn't have access to the PM and that you need to invite the user before you can assign them.

Signed-off-by: OsamaSayegh <asooomaasoooma90@gmail.com>
2021-01-27 14:57:41 +03:00
Discourse Translator Bot aebcdfeae4
Update translations (#135) 2021-01-26 14:51:13 +01:00
Discourse Translator Bot e8903a7352
Update translations (#130) 2021-01-19 15:47:17 +01:00
Discourse Translator Bot 60ef0c8f41
Update translations (#125) 2020-12-22 14:47:32 +01:00
Discourse Translator Bot 84433768a6
Update translations (#118) 2020-11-24 17:23:47 +01:00
Discourse Translator Bot f542f2e456 Update translations 2020-10-20 15:30:51 +02:00
Discourse Translator Bot 15169812bb Update translations 2020-10-06 15:21:39 +02:00
Discourse Translator Bot f98f5159ce Update translations 2020-09-22 13:01:07 +00:00
Discourse Translator Bot f6fc09ff13 Update translations 2020-09-16 10:14:51 +00:00
Discourse Translator Bot 1b52bd3a63 Update translations 2020-09-15 13:01:10 +00:00
Ahmed Gagan 303274eae3
FEATURE: Advanced search filters for assigned topics (#102)
Adds three new search modifiers:

- in:assigned for assigned topics
- in:unassigned for unassigned topics
- assigned:{username} to list topics assigned to a specific user

These modifiers are all made available in the advanced search sidebar
2020-09-11 12:15:50 +01:00
Ahmed Gagan 3e3dc3815b
FEATURE: Assign bulk actions for topics lists (#110)
- Allows unassigning and reassigning topics using bulk actions
- Adds bulk actions UI to the group assigned page
2020-09-11 11:49:25 +01:00
Discourse Translator Bot 17f59992ab Update translations 2020-09-09 14:57:52 +00:00
Discourse Translator Bot 7ff3641986 Update translations 2020-08-18 13:00:42 +00:00
Ahmed Gagan 069adc1af7
FEATURE: Allow searching topics in group assigned tab (#97) 2020-08-12 23:40:04 +01:00
Ahmed Gagan f250dca93f
FEATURE: Allow filtering users in group assigned tab (#95) 2020-08-12 23:39:14 +01:00
Discourse Translator Bot 3c0f8be0d9 Update translations 2020-08-11 13:00:57 +00:00
Discourse Translator Bot baa9f5bc82 Update translations 2020-08-05 13:24:12 +00:00
Ahmed Gagan 301be24c13
UX: Rename group tab from Assignments to Assigned (#88) 2020-07-27 12:26:12 +01:00
Ahmed Gagan 816f3c0e97
FEATURE: Per-member counts in group assignment summary (#80) 2020-07-21 12:55:34 +01:00
Ahmed Gagan ae83f70e21
FEATURE: Assignments summary tab for groups (#70) 2020-07-10 09:45:18 +01:00
Neil Lalonde 5f3e6bf24c
Update translations 2020-06-24 11:39:50 -04:00
Gerhard Schlager 5d8642f1c3 DEV: Use consistent interpolation key format in translations 2020-06-02 19:26:38 +02:00
Neil Lalonde 333d1071f3
Update translations 2020-05-27 16:52:58 -04:00
jjaffeux 8b7f89823d UX: improves assignee display on button and dropdown
- Changes the title attribute to display the name of the assignee
- Displays the assignee’s username in the row when  on mobile view
- Tweaks positioning to attempt good alignment
- Slightly increases icon size to have visually the same size than other topic footer buttons icons
2020-05-12 15:49:13 +02:00
Neil Lalonde 37aea9eee6
Update translations 2020-05-04 10:48:25 -04:00
Blake Erickson 32653be260
FEATURE: Trigger webhook when assigning and unassigning topics (#61)
* FEATURE: Trigger webhook when assigning and unassigning topics

This PR creates a custom webhook event that you can now select when
creating a webhook to trigger only when a topic has been assigned or
unassigned.

* removed unused file

* Removed functionality that was added to core

This PR into discourse core:

https://github.com/discourse/discourse/pull/9110

adds what was removed in this commit.

It is better to have this logic in core so that it is discoverable and
future webhooks won't end up accidentally using the same ID.
2020-03-06 11:57:46 -07:00
Neil Lalonde 10478f72a5 Update translations 2020-02-25 10:31:24 -05:00
Neil Lalonde 6102c0054e Update translations 2020-02-13 15:03:54 -05:00
Neil Lalonde 3718891184 Update translations 2020-01-20 11:19:41 -05:00
Neil Lalonde c30890a385 Update translations 2019-12-19 12:48:56 -05:00
Dan Ungureanu f2074f256e
FEATURE: Improve assign mailer site setting (#57) 2019-11-26 11:41:52 +02:00
Dan Ungureanu 434605f03f
FIX: Make it compatible with sub-folder installs 2019-11-25 14:53:17 +02:00
Dan Ungureanu 39e50ad65a UX: Update default path to users assigned topics (#56)
The old default path is not showing up all assigned topics if user has
muted categories or tags.
2019-11-20 08:46:25 +11:00
Penar Musaraj 8b36f31034 FIX: Avoid triggering Safari username autocomplete on Assign Topic input
Safari on macOS triggers the OS's username/password dropdown whenever it finds
a mention of "username" near an input.
2019-11-19 13:44:57 -05:00
Neil Lalonde b9e0bb3b7a Update translations 2019-11-06 10:45:07 -05:00
Sam Saffron e0de9238a1 FEATURE: new category setting to add "Unassigned" navigation menu
When a category is used exclusively for managing topic assignments it can
be very useful to list all the unassigned topics. This introduces a new
category setting that allows admins to opt for this new navigation item.

It works both on mobile and desktop.

This uses an amended nav item API, to experience this fully you need latest
versions of Discourse.
2019-11-01 14:15:28 +11:00
Sam Saffron bc5469c6c6 Revert "FEATURE: new category setting to add "Unassigned" navigation menu"
This reverts commit 600e1b6544.

The level of hack here is just to high, this destabilizes tests. We need a
proper pattern.
2019-10-30 18:16:12 +11:00
Sam Saffron 600e1b6544 FEATURE: new category setting to add "Unassigned" navigation menu
When a category is used exclusively for managing topic assignments it can
be very useful to list all the unassigned topics. This introduces a new
category setting that allows admins to opt for this new navigation item.

It works both on mobile and desktop.

Unfortunately Discourse is lacking internal APIs for cleanly adding NavItems

We will look at improving this soon.
2019-10-30 16:37:13 +11:00
Neil Lalonde d4d249d525 Update translations 2019-10-10 11:24:36 -04:00
Bianca Nenciu c46764e804
FEATURE: Add endpoint to list all assignments, sorted by user
Includes a fix to let all admin users to use plugin
2019-09-16 13:41:10 +03:00
Roman Rizzi dc6041abcb
DEV: Remove dreprecated review queue code (#47) 2019-09-11 09:51:23 -03:00
Roman Rizzi d268d4f817
Fix: Enforce new rules when assigning a topic. (#46)
* assign_to user must be allowed to assign.
* assign_to user must have access to the topic
2019-09-05 10:31:52 -03:00
Roman Rizzi 64324ce9db
DEV: use group ids to allow assign on groups [Undo Revert] (#41)
* DEV: use group ids to allow assign on groups (#38) [Undo Revert]

This reverts commit 8f92c5f9bd.

* Set the  default inside a migration based on the core migration. Improve migration check to work against tests-passed/beta/stable.

* Update db/migrate/20190718144722_set_assign_allowed_on_groups_default.rb

Co-Authored-By: Robin Ward <robin.ward@gmail.com>
2019-07-19 10:30:44 -03:00
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
Neil Lalonde 439ebf44ec Update translations 2019-07-15 14:00:07 -04: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
Neil Lalonde e1cc07adb1 Update translations 2019-06-17 13:56:40 -04:00
Roman Rizzi bb200f5fbd
Staff is always allowed to assign (#36) 2019-06-17 10:11:00 -03:00
Neil Lalonde 2aaa5a920f Update translations 2019-06-10 10:38:24 -04: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
Neil Lalonde 8536795da3 Update translations 2019-05-30 11:30:37 -04: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
Roman Rizzi e3b2e5bdb6 FEATURE: Display PMs in assigned activity and differentiate them. (#27)
* FEATURE: Display PMs in assigned activity and differentiate them.

* FEATURE: Unassign/Re-assign tasks from the activity view

* Remove bulkAssign. Reuse assign/unassign with a service. Change PM icon position

* Reuse ListItemDefaults instead of duplicating code.

* Conditionally show/hide feature if list items defaults is present in core
2019-05-07 16:30:47 +10:00
Sam Saffron 96f965ef89 FIX: correct translation key 2019-05-03 11:29:49 +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 760d331f42 Make remind assignment off by default. 2019-04-30 11:26:58 +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
Neil Lalonde 3cba747919 Update translations 2019-04-05 10:10:20 -04:00
Neil Lalonde f45a51fa4c Update translations 2019-03-04 10:13:42 -05:00
Neil Lalonde bd3225b54a Update translations 2019-01-31 16:32:52 -05:00
Saurabh Patel b20b4c088d FIX: add translations and check for message and if assignment is successful in spec (#22) 2018-12-06 18:04:31 +11:00
Sam cd6f61683e FIX: do not include username in assign push notification 2018-12-05 08:42:02 +11:00