Commit Graph

297 Commits

Author SHA1 Message Date
Sam Saffron c49a1288b2
Revert "Import getURL to fix deprecation warnings (#72)"
This reverts commit e3a6a64193.

This sadly broke our build
2020-07-07 11:43:15 +10:00
Jarek Radosz 1a083e8b88
DEV: Fix the `getURL` deprecation warning (#69) 2020-07-06 17:01:44 +02:00
Mark VanLandingham e3a6a64193
Import getURL to fix deprecation warnings (#72) 2020-07-06 09:27:01 -05:00
Jarek Radosz bc6669150d
FIX: Don't set assign button's height (#71)
"we can't use flex for buttons yet" – now we can, and we do! e71f5e8951

Fixes an issue with assign button height in some themes.
2020-07-03 12:33:59 +02:00
Neil Lalonde 5f3e6bf24c
Update translations 2020-06-24 11:39:50 -04:00
Guo Xiang Tan 4bbf27da46
Make rubocop happy. 2020-06-17 15:43:30 +08: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 e71bca3bff FIX: removes css hack 2020-05-22 17:03:12 +02:00
jjaffeux 1761f749e1 FIX: doesn't need to be dependant on isPrivateMessage 2020-05-20 15:02:58 +02:00
jjaffeux be6dcfa38d FIX: removes PM check 2020-05-20 14:54:30 +02:00
jjaffeux 705b30c093 UX: always display assign button in dropdown on mobile 2020-05-20 14:07:37 +02:00
jjaffeux cddc0a2eb5 UX: displays avatar instead of icon on desktop 2020-05-19 10:51:20 +02:00
Dan Ungureanu 6825dcd007
FIX: Use Topic#url to generate topic URL 2020-05-18 13:08:03 +03:00
jjaffeux 88f0c37702 FIX: remove icon size height, as it impacts other buttons indirectly 2020-05-13 22:48:59 +02:00
jjaffeux 3df853f5fb FIX: uses same style for mobile PMs than desktop 2020-05-13 11:01:36 +02: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
jjaffeux c271178f73 UX: keeps showing icon for more consistency 2020-05-12 09:30:44 +02:00
jjaffeux 2123cfc40e UX: slightly better alignement of the avatar img 2020-05-12 09:02:55 +02:00
Joffrey JAFFEUX af11fdca47
FEATURE: displays assignee avatar in button and dropdown (#66) 2020-05-11 19:02:22 +02:00
Martin Brennan b7acd12244
FEATURE: Mark assign notifications as high priority (#67) 2020-05-11 14:06:31 +10:00
jjaffeux c553c039f0 DEV: adds a task action bypassing the modal 2020-05-08 11:53:51 +02:00
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