Rafael dos Santos Silva
7a2fde72c6
FEATURE: Assign Status ( #363 )
...
Adds a new plugin setting that when enabled adds a status field for every assignment. This setting defaults to off.
The possible status for an assignment are customizable via yet another new setting, and the first one on this list will be the default status for new assignments.
The status is not yet show anywhere except the assign modal and the small action posts in topics at the moment. Adding status to the assignment list for users and groups will be handled in the near future.
Co-authored-by: Penar Musaraj <pmusaraj@gmail.com>
2022-08-04 14:50:18 -03:00
Martin Brennan
a29a02abe7
FEATURE: Allow submitting the assign modal with ctrl+enter ( #362 )
...
This commit allows submitting the assign modal with
control/meta+enter when the textarea is focused.
2022-07-28 16:18:44 +10:00
Rafael dos Santos Silva
02e76e4986
DEV: Ignore stree commit from git blame
2022-07-27 13:48:51 -03:00
Rafael dos Santos Silva
6116f26642
DEV: Apply syntax_tree formatting
2022-07-27 13:48:51 -03:00
Rafael dos Santos Silva
8c11d4d6ed
DEV: Enable ruby Syntax Tree format
2022-07-27 13:48:51 -03:00
Rafael dos Santos Silva
9f514a50ca
DEV: Add acceptance tests for assignment notifications ( #307 )
...
Co-authored-by: Jarek Radosz <jradosz@gmail.com>
Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com>
2022-07-26 16:31:59 -03:00
Discourse Translator Bot
872430bd2c
Update translations ( #361 )
2022-07-26 15:20:51 +02:00
Alan Guo Xiang Tan
148b4b0089
Revert "FEATURE: Register assigned link under sidebar topics section. ( #341 )" ( #359 )
...
This reverts commit 959525b079
.
Product design to drop from Sidebar
2022-07-22 15:40:05 +08:00
Jarek Radosz
0adea550c0
DEV: Fix leaky tests ( #358 )
2022-07-21 03:41:32 +02:00
Alan Guo Xiang Tan
86141dfe3d
Revert "UX: Don't display assign user menu glyph when sidebar is enabled ( #356 )" ( #357 )
...
This reverts commit 479fcfb411
.
Link in user menu dropdown is kept in favor of link in experimental
sidebar
2022-07-08 15:44:45 +08:00
Alan Guo Xiang Tan
479fcfb411
UX: Don't display assign user menu glyph when sidebar is enabled ( #356 )
...
Assignments can already be accessed via sidebar.
2022-07-05 15:50:46 +08:00
Isaac Janzen
507060b7f1
DEV: Remove isLegacyEmber ( #355 )
2022-06-23 11:06:16 -05:00
Discourse Translator Bot
50adb646f3
Update translations ( #354 )
2022-06-21 15:26:14 +02:00
discoursebot
e66d1fb770
DEV: Update CI workflows ( #353 )
...
Co-authored-by: discoursebuild <build@discourse.org>
2022-06-17 21:33:07 +02:00
Natalie Tay
4c7384e88f
FIX: Fix a bug where a note change was ending in a full blown whisper ( #352 )
2022-06-18 01:45:47 +08:00
Natalie Tay
1ef8e70314
FIX: Don't reuse assign note when reassigning ( #351 )
2022-06-18 01:35:58 +08:00
Natalie Tay
169f13e239
FEATURE: Allows note to be edited ( #350 )
2022-06-18 00:06:23 +08:00
Krzysztof Kotlarek
0b5f688451
FIX: ensure that assignee is participant of pm ( #349 )
...
We are already checking that assignee has access to the private message. However, admin still can be assigned as technically they have access.
We should ensure that assignee has direct access to the message.
2022-06-16 10:08:22 +10:00
Discourse Translator Bot
af49e987de
Update translations ( #348 )
2022-06-14 16:57:29 +02:00
Vinoth Kannan
4ab491ec14
FIX: include users who were assigned to a post instead of topic. ( #347 )
...
While assigning a random user in group to the topic posts, if we didn't include the users who were assigned to indivitual posts then the same users will be assigned again and again.
2022-06-09 04:31:29 +05:30
Vinoth Kannan
3d4f63f921
UX: don't mention the group when no one is assigned. ( #346 )
...
It's a minor copyedit to remove group mention from the post raw. Else it sends a notification to all group members when no one is found to be assigned.
2022-06-08 23:52:14 +05:30
Isaac Janzen
201f115387
DEV: Remove 'htmlSafe' string prototype extensions ( #344 )
...
Context: https://deprecations.emberjs.com/v3.x/#toc_ember-string-prototype_extensions
2022-06-01 11:08:26 -05:00
Discourse Translator Bot
0d2a02a0db
Update translations ( #343 )
2022-05-31 16:11:36 +02:00
Alan Guo Xiang Tan
6d6184d31d
PERF: Speed up `User.assign_allowed` SQL query ( #342 )
...
The previous query which uses a subquery in combination with the OR
condition results in the PG planner unable to leverage the indexes we
have available. Instead, the PG planner would loop through each user
record and execute the subquery once per row. As the number of users on
a site increases, this query becomes more and more expensive to run
leading to the query timing out once a certain threshold is reached.
In the new query, we remove the OR condition which allows the PG
planner to the existing indexes more effectively. We also improved the
subquery by removing an unnecessary join against the groups table.
Since `group_users` rows are cleaned up when a group is destroyed so there is
no need for the inner join on the `groups` table.
2022-05-30 14:26:20 +08:00
Alan Guo Xiang Tan
959525b079
FEATURE: Register assigned link under sidebar topics section. ( #341 )
2022-05-26 09:13:40 +08:00
Martin Brennan
8d1aa65d5f
FEATURE: Promote polymorphic bookmarks ( #339 )
...
This removes the use_polymorphic_bookmarks site setting
guard and promotes that code to the only code used.
2022-05-24 11:22:40 +10:00
discoursebot
cbf941e642
DEV: Update CI workflows ( #340 )
...
Co-authored-by: discoursebuild <build@discourse.org>
2022-05-23 16:59:03 +02:00
Bianca Nenciu
efeb7ad511
DEV: Add test for list_group_topics_assigned ( #338 )
...
Follow up to commit c8fc42b60f
.
2022-05-18 17:57:58 +03:00
Discourse Translator Bot
35842bf5ab
Update translations ( #337 )
2022-05-17 16:51:02 +02:00
Jeff Wong
ea59761fa8
DEV: Update discourse compatibility for polymorphic bookmarks ( #336 )
2022-05-12 14:36:21 -07:00
Natalie Tay
43a3030707
FEATURE: Shows note in moderator post ( #335 )
2022-05-12 23:55:57 +08:00
Natalie Tay
6db2e0991b
FIX: Only assign when suggestion is clicked ( #334 )
2022-05-12 20:55:37 +08:00
Martin Brennan
4065b29f69
DEV: Get rid of old bookmark spec ( #333 )
...
The user_bookmark_serializer_spec.rb covers polymorphic bookmarks,
we no longer need this and
https://github.com/discourse/discourse/pull/16729 will
not pass without deleting it.
2022-05-12 16:46:29 +10:00
Natalie Tay
5503499514
FIX: Assigning a user without notes assigns and closes the modal ( #329 )
2022-05-11 16:17:33 +08:00
Natalie Tay
fbdfb7143b
DEV: Small refactors for future work ( #332 )
2022-05-11 14:03:54 +08:00
Martin Brennan
7320fdd94b
FIX: Polymorphic bookmarks support ( #328 )
...
Adds support for polymorphic bookmarks in the serializer extensions
and preloaders for bookmarks.
Specs are skipped for now for the serializer but they do
work without the use_polymorphic_bookmark guard in the plugin.rb
2022-05-11 09:52:15 +10:00
Discourse Translator Bot
46f200935d
Update translations ( #331 )
2022-05-10 21:39:36 +02:00
Natalie Tay
de65c7119a
FIX: Rename button ( #330 )
2022-05-10 18:33:38 +08:00
Natalie Tay
b314882a6b
FEATURE: Show note in tooltip ( #327 )
2022-05-05 15:04:57 +08:00
Natalie Tay
1ac2dfbae2
FEATURE: Add assign note ( #326 )
2022-05-05 13:21:14 +08:00
Natalie Tay
3151bea1da
DEV: Backfill tests ( #324 )
2022-04-30 03:10:08 +08:00
Kris
d2241049e1
UX: show posers on group assign list ( #325 )
2022-04-29 13:43:40 -04:00
dependabot[bot]
202f79d288
Build(deps): Bump async from 2.6.3 to 2.6.4 ( #323 )
...
Bumps [async](https://github.com/caolan/async ) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases )
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md )
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4 )
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 18:02:12 +02:00
Penar Musaraj
b1b7023141
FIX: User link on post assign/unassign ( #322 )
2022-04-27 13:19:34 -04:00
Isaac Janzen
de36236dbc
Serialize assignment assignee ( #320 )
2022-04-26 10:12:05 -05:00
Natalie Tay
21d89179ea
FIX: Hide footer action button when user cannot assign ( #319 )
2022-04-26 15:00:00 +08:00
Jarek Radosz
3a147fcb88
FIX: Broken reviewable filter ( #318 )
2022-04-23 01:31:36 +02:00
Discourse Translator Bot
d039024fe3
Update translations ( #316 )
2022-04-19 15:44:44 +02:00
Kris
7a854fe504
UX: Show posters on assigned topic list ( #315 )
2022-04-14 16:20:09 -04:00
dependabot[bot]
faa889c933
Build(deps): Bump ansi-regex from 4.1.0 to 4.1.1 ( #314 )
2022-04-10 20:11:36 +02:00