jjaffeux
0e0aa6a16f
this file is now coming from the rubocop-discourse gem
2020-05-08 08:40:30 +02:00
jjaffeux
6644aa39d9
DEV: Move to rubocop-discourse.
2020-05-06 17:48:30 +02:00
Neil Lalonde
37aea9eee6
Update translations
2020-05-04 10:48:25 -04:00
David Taylor
07c13651c6
FIX: Correct assign user autocomplete logic
...
Previously we were only autocompleting users which were in the same group as the acting user.
2020-04-28 13:55:17 +01:00
Justin DiRose
71fe8a54c0
FEATURE: Add 'g a' as keyboard shortcut to assigned list ( #64 )
2020-04-23 13:03:45 -05:00
Martin Brennan
e2057ca27b
FIX: Preload assigned users for BookmarkQuery ( #63 )
...
* Preload assigned users for BookmarkQuery
* Ensure bookmark query exists + responds to new methods
2020-03-19 15:48:49 +10:00
Martin Brennan
baba785b44
Fix UserBookmarkSerializer topic references
2020-03-13 11:10:48 +10:00
Martin Brennan
e7d5c88c8b
FEATURE: Add assigned to user to bookmark serializers ( #62 )
...
Add assigned to user to bookmark serializers, and also add to JS bookmark model for the route to assigned user.
2020-03-12 15:21:48 +10: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
romanrizzi
2adcd9a832
DEV: Remove backward-compatibility code now that 2.4 is the new stable
2020-03-02 10:53:39 -03:00
Penar Musaraj
3675a5e273
DEV: use site settings from container ( #60 )
...
This is a bit more robust, site settings are not always injected (for example in raw handlebars templates).
2020-02-25 17:06:54 -05:00
Neil Lalonde
10478f72a5
Update translations
2020-02-25 10:31:24 -05:00
Kris
73ad40cd1d
UX: Additional wrapper to fix mobile modal spacing, related to de559f3
2020-02-20 12:35:57 -05:00
Penar Musaraj
11794fd00a
DEV: Find/replace deprecated decorators
2020-02-19 11:53:36 -05:00
Neil Lalonde
6102c0054e
Update translations
2020-02-13 15:03:54 -05:00
Robin Ward
6d3bc3e4d0
FIX: If `fancy_title` was nil the job would fail
...
This is because we were only selecting `fancy_title` from the DB
and the method has a fallback.
2020-01-27 12:54:50 -05:00
jjaffeux
b302d7566b
FIX: prevents crash if assign_allowed_on_groups is empty
2020-01-22 09:50:40 +01:00
Neil Lalonde
3718891184
Update translations
2020-01-20 11:19:41 -05:00
Gerhard Schlager
c3959f903a
FIX: Convert ID into integer before sorting
2020-01-17 23:12:34 +01:00
jjaffeux
7933a29fa0
FIX: @ember/object is not yet available in stable
2020-01-15 16:06:50 +01:00
Gerhard Schlager
6db4586ca1
DEV: Specs were broken
2020-01-14 18:19:42 +01:00
Blake Erickson
18d6bcdcbd
FIX: Update topic-list-item to reflect changes in core ( #59 )
...
* FIX: Update topic-list-item to reflect changes in core
This PR in discourse core:
https://github.com/discourse/discourse/pull/8589
makes a breaking change in this plugin. This is a fix for it.
* add backwards compatible fix
* Apply prettier fix
2020-01-06 16:39:16 -07:00
Neil Lalonde
c30890a385
Update translations
2019-12-19 12:48:56 -05:00
romanrizzi
c4f878a70c
Minor improvements to the assigned-to-filter connector
2019-12-04 16:51:49 -03:00
Joffrey JAFFEUX
2f2cbd1e11
FIX: model might be a POJO and not a post model
2019-12-03 11:51:35 +01:00
David Taylor
60f7aa62bd
FIX: Make migration compatible with stable branch
2019-12-02 14:01:39 +00:00
Dan Ungureanu
f2074f256e
FEATURE: Improve assign mailer site setting ( #57 )
2019-11-26 11:41:52 +02:00
Roman Rizzi
3593f9ef67
FEATURE: Filter reviewables by assigned user ( #58 )
2019-11-25 13:48:09 -03:00
Dan Ungureanu
434605f03f
FIX: Make it compatible with sub-folder installs
2019-11-25 14:53:17 +02:00
Dan Ungureanu
d2099479b2
FIX: Automatically assign topic when staff is mentioned ( #55 )
2019-11-20 12:06:44 +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
b4d8001dc8
FIX: currentURL is unstable for in route transitions
...
If you transition just using query params but leave the rest of the route
alone, sometimes router.currentURL will not update.
This in turn causes active not to work correctly.
2019-11-06 16:36:26 +11:00
Sam Saffron
0cea63029c
FEATURE: order assigned list by reverse bump date
...
Previously this list was randomly ordered
2019-11-01 15:35:12 +11:00
Sam Saffron
68ff24739b
DEV: attempt a more cautious lookup
...
This was failing the test suite somehow, despite voting using the same
pattern.
2019-11-01 15:26:16 +11: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
abc21b7734
Revert "DEV: make pre-initializer a bit safer"
...
This reverts commit 029a26733a
.
This whole experiment is too unstable
2019-10-30 18:13:30 +11:00
Sam Saffron
029a26733a
DEV: make pre-initializer a bit safer
...
Was noticing custom fields could be null is some cases so this ensures we
never reach to it if missing
2019-10-30 17:55:50 +11:00
Bianca Nenciu
cbab25356b
DEV: Use BasicUserSerializer for assigned user ( #53 )
2019-10-30 17:13:08 +11:00
Sam Saffron
ce63380eb5
DEV: Missed running prettier automatically
...
This is not fixed in my dev environment
2019-10-30 17:07:40 +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
Régis Hanol
9c2ebbaaf5
FIX: do not self-assign based on quoted text
...
Remove any quoted text and code blocks before matching the "assign self" or "assign other" regexps.
Added tests to ensure it does not regress.
Also cleaned up some TODOs.
2019-10-29 19:00:39 +01:00
Vinoth Kannan
b3c2b83ad8
DEV: minor refactoring to reduce DB queries.
2019-10-25 17:35:05 +05:30
Vinoth Kannan
eb02ac1ef5
FIX: always include admins in 'assign' allowed users list.
2019-10-25 17:27:38 +05:30
Dan Ungureanu
1a041b49e0
FIX: Use TopicList's preloaded_custom_fields.
2019-10-21 19:42:04 +03:00
Neil Lalonde
d4d249d525
Update translations
2019-10-10 11:24:36 -04:00
romanrizzi
a6df22bb32
DEV: Remove old backward-compatibility code
2019-10-09 15:21:00 -03:00
Jeff Wong
e96e67bfbb
Add support for unicode usernames
2019-09-20 14:12:23 -07:00