Commit Graph

200 Commits

Author SHA1 Message Date
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
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
Neil Lalonde ddf87232e8 Update translations 2018-11-29 11:03:45 -05:00
Penar Musaraj 903f1260a8 remove icon ref in assign_notification locale 2018-11-12 10:31:38 -05:00
Neil Lalonde f992fc644b Update translations 2018-09-10 13:57:52 -04:00
Neil Lalonde fcc96bd2bb Update translations 2018-08-23 09:44:48 -04:00
Neil Lalonde a530f785d3 Update translations 2018-05-31 15:27:40 -04:00
Sam 908972a723 UX: de-emphasize actions on topics 2018-05-24 15:27:44 +10:00
Guo Xiang Tan 22108df6be FEATURE: Display link with count to user's assigned messages page. 2018-05-23 18:16:36 +08:00
Robin Ward 754209ce58 Add "Unassign All" button to user's assigned topics view 2018-05-04 13:41:04 -04:00
Neil Lalonde fa87ad735a Update translations 2018-04-24 10:28:21 -04:00
Arpit Jalan c24083df5c Remove 'archive' tab for assigned topics. 2018-03-26 22:49:34 +05:30
Neil Lalonde 2f457a153f Update translations 2018-03-07 14:15:16 -05:00
Guo Xiang Tan 13cb64b89c Add title token to assigned messages. 2018-03-07 15:24:41 +08:00
Neil Lalonde 4b91799bed Update translations 2018-01-31 11:10:48 -05:00
Robin Ward 569a87b136 FEATURE: New site setting to ensure flags are claimed 2018-01-12 16:09:46 -05:00
Neil Lalonde d657fc0632 Update translations 2018-01-03 13:24:50 -05:00
Neil Lalonde 73cb3261c4 Update translations 2017-12-29 16:38:14 -05:00
Neil Lalonde 69213ebbad Transifex integration 2017-12-08 12:17:23 -05: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 246de40653 Add new SiteSetting to disable locking of flags when assigned 2017-10-13 10:46:35 -04:00
Robin Ward 856c5a5435 FEATURE: Add ability to claim topics on flagged topics page 2017-09-25 12:22:38 -04:00
Robin Ward 7ca73b293a FEATURE: Add ability to claim topics on flagged topics page 2017-09-08 15:31:02 -04:00
Rafael dos Santos Silva c16bf207c7 FEATURE: Allow turning off the plugin from settings 2017-06-05 19:45:33 -03:00
Régis Hanol ecdc6f47a5 Merge pull request #4 from Dax74/patch-1
Create server.it.yml
2017-04-10 22:39:15 +02:00
Dax74 bf0fd247fa Create client.it.yml
Italian translation
2017-04-10 19:06:51 +02:00
Dax74 9008404b3c create server.it.yml
Italian translation
2017-04-10 19:05:43 +02:00
Thorben Egberts 957aae018d correct localizations 2017-03-09 21:29:14 +01:00
Thorben Egberts fbbe5b1c3f correct localizations 2017-03-09 21:28:48 +01:00
Thorben Egberts 83c7eaa64d Create server.de.yml 2017-03-09 16:34:05 +01:00
Thorben Egberts d2f29a6a13 Create client.de.yml 2017-03-09 16:33:37 +01:00
Sam bd5575d975 UX: display small action for assignment/unassignment 2017-03-07 17:13:10 -05:00
Risto 691ac82f90 Update client.fi.yml 2017-03-02 19:16:19 +02:00
Sam 4341211df3 Make unassign less confusing 2017-02-28 14:57:31 -05:00
Sam 05d00802ff Update server.en.yml 2017-02-28 12:16:56 -05:00
Sam 23aa28e2b4 FEATURE: reassign on "move to inbox" 2017-02-28 10:33:03 -05:00
Sam 7f23e4f83c FEATURE: unassign on close and unassign on group archive settings
FIX: don't backfill assignment on closed or deleted topics
2017-02-28 10:00:10 -05:00
rizka10 25ebd026f4 Merge pull request #1 from rizka10/patch-2
Create server.fi.yml
2017-02-28 00:27:12 +02:00
rizka10 425b294496 Create server.fi.yml 2017-02-28 00:24:55 +02:00
rizka10 0d6828be56 Create client.fi.yml 2017-02-27 23:38:00 +02:00
Sam f225146c94 Add a custom route and button to see all assigned topics/messages 2017-02-27 15:42:18 -05:00
Sam Saffron d7c74701f2 optionally apply a regex to post body when assigning stuff out 2017-02-21 11:26:45 -05:00
Sam Saffron 581e47055c unassign can optionally not create a tracking topic 2017-02-20 11:52:19 -05:00
Sam Saffron cb481b35f8 added "assign by staff mention" feature
when enabled if staff mentions other staff topic is auto-assigned
2017-02-19 21:37:39 -05:00
Sam c06761b396 allow to unassign a topic
default select assigned user
display icon for assigned user
2017-02-17 16:40:43 -05:00
Sam a6861ba65a public and private mode, add customizable user link path 2017-02-15 12:35:07 -05:00
Sam Saffron c7253f1d38 Add panel that shows who topic is assigned to 2017-02-10 17:45:22 -05:00
Sam 0205a12956 add user action and correct icon for small post 2017-02-10 13:02:25 -05:00
Sam 7b0d192b57 cleanup and add mod message if needed 2017-02-08 13:07:56 -05:00
Sam f2d31b83a2 partially implement modal 2017-02-07 14:22:46 -05:00
Sam c68a6652ec initial commit 2017-02-02 17:05:33 -05:00