Joffrey JAFFEUX
88df84bf2b
FIX: theme component setting was not getting updated in the UI ( #8247 )
2019-10-28 10:33:31 +01:00
Krzysztof Kotlarek
ae108b363f
FIX: Hide muted subcategories ( #8239 )
...
That bug was mentioned in [meta](https://meta.discourse.org/t/muting-categories-hides-them-muting-subcategories-should-too/131316 )
Problem is that subcategories are always visible in `/categories` path even if muted.
Categories/subcategories are loaded in at least two places
https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/models/site.js.es6#L146
https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/routes/discovery-categories.js.es6#L46
I discussed that with @jjaffeux and we thought that maybe it would be a good idea to filter that on frontend level
2019-10-25 10:08:13 +11:00
Robin Ward
7b04bb7290
Add event for when a post is flagged
...
This allows plugins to track events such as analytics.
2019-10-24 16:48:18 -04:00
Mark VanLandingham
9592ab57e0
FIX: failing build with prettier ( #8241 )
2019-10-24 10:16:12 -05:00
Mark VanLandingham
da5e9af10a
FEATURE: Add remembering topic list for group pms ( #8235 )
...
* FEATURE: Add remembering topic list for group pms
* added findOrResetCachedBy helper in topic-list
* Created cached-topic-list.js
* Update app/assets/javascripts/discourse/routes/build-private-messages-route.js.es6
Co-Authored-By: Robin Ward <robin.ward@gmail.com>
2019-10-24 09:27:03 -05:00
Bianca Nenciu
690db4fd36
FIX: Show poll voters in Oneboxed posts. ( #7768 )
2019-10-24 14:00:25 +03:00
Vinoth Kannan
40254bae1b
FIX: Do not load group members when user can't see it.
2019-10-24 01:57:29 +05:30
Neil Lalonde
f061aee818
FEATURE: support SCSS in custom email style
...
In the CSS tab of Admin > Customize > Email Style, SCSS can now be used.
2019-10-23 15:42:37 -04:00
Vinoth Kannan
0dcb4bef20
FIX: should not disable topic inputs while creating new topic.
...
31577b21312ac3a09b72aa9b3d21a99776343d5c
2019-10-24 01:04:37 +05:30
Vinoth Kannan
726bf37a12
FEATURE: wiki editors are allowed edit tags for wiki topics.
...
If a wiki editor's TL is greater than 'min trust level to tag topics' site setting then they can edit the tags for any wiki topic.
2019-10-23 23:50:10 +05:30
Vinoth Kannan
31577b2131
FEATURE: wiki editors are allowed edit tags for wiki topics.
...
If a wiki editor's TL is greater than 'min trust level to tag topics' site setting then they can edit the tags for any wiki topic.
2019-10-23 23:35:38 +05:30
Robin Ward
9347108f02
Support for importing jQuery
...
Also remove Ember.Qunit error about Ember.$ for now
2019-10-23 13:25:25 -04:00
Robin Ward
39159ad5e4
FIX: Wizard tests were broken with new loader
2019-10-23 13:15:28 -04:00
Robin Ward
391db25665
FIX: Sortable controller var conflict
2019-10-23 13:08:41 -04:00
Robin Ward
6287eccb35
REFACTOR: Remove Ember.Controller
in favor of import
2019-10-23 13:06:54 -04:00
Robin Ward
e18af18fec
Support and examples for Ember.Object
and Ember.Controller
imports
...
We should stop using global variables and instead import these as
needed.
2019-10-23 12:55:11 -04:00
Robin Ward
0b37a3c235
Additioning Linting fixes
2019-10-23 12:41:58 -04:00
Robin Ward
dd3ace5c77
REFACTOR: Replace Ember.Route
with proper import
2019-10-23 12:39:32 -04:00
Robin Ward
a8a76198b1
REFACTOR: Remove Ember.Component
global variable
...
Use imports instead.
2019-10-23 12:30:52 -04:00
Joffrey JAFFEUX
3db61aa18a
UX: applies correct background to <select> on dark themes ( #8234 )
2019-10-23 17:10:10 +02:00
Penar Musaraj
4fa1ef0945
UX: Improve quoting on iOS
...
Fixes quote usability on iOS when the button is near the right edge of the screen.
2019-10-23 10:44:47 -04:00
Penar Musaraj
ab6a540fc4
UX: fixes regression with iOS composer
...
Fixes a bug introduced in e83c2488a2d9c686fde83cef93878ee4a9d0f119 where dismissing the keyboard in iOS would not minimize the composer.
2019-10-22 23:10:18 -04:00
Kris
d4f1e6d11b
UX: update disabled dropdowns style w/ color variables
2019-10-22 16:32:24 -04:00
Penar Musaraj
2ab6a68629
UX: Standardize tag display in search menu results
...
This allows theme components (like discourse-tag-icons) to apply to tag results in search menu.
2019-10-22 14:19:24 -04:00
Robin Ward
283a0add80
Support for importing @ember/component
and @ember/routing/route
( #8214 )
...
This will allow us to take the first step in updating our modules
to be consistent with example Ember code and to align with Ember CLI.
2019-10-22 09:47:27 -04:00
Mark VanLandingham
e5311ab645
DEV: Import DiscourseRoute rather than Discourse.Route ( #8225 )
...
* DEV: Discourse.Route -> DiscourseRoute with import
* ran prettier on all routes
* prettiered one more file
2019-10-22 09:46:10 -04:00
Kris
b41b12ad71
Add unique class to custom field wrappers ( #8193 )
2019-10-21 12:22:55 -04:00
Kris
56862f61c0
Add group name classes to tag page so groups can be hidden with CSS ( #8118 )
2019-10-21 12:22:19 -04:00
Robin Ward
3085b923f6
Removed MOVED_MODULES
which is 3 years old
2019-10-21 11:59:13 -04:00
Robin Ward
9dcdbcfd5b
Run prettier on the loader
2019-10-21 11:56:15 -04:00
David Taylor
cc56f226b8
FIX: Correct mention autocomplete in new topics in unsecured categories
...
When autocompleting mentions in secure categories, we immediately populate the list with users which have permission to view the category. This logic is applied to unsecured categories as well, but the server returns an empty list of users. This commit teaches the autocomplete to understand empty lists of users without terminating the autocomplete dropdown.
2019-10-21 14:52:54 +01:00
Joffrey JAFFEUX
72822aa93f
FIX: d-button should default type to button ( #8217 )
...
This will prevent unexpected behaviour of d-button being considered as a submit button.
2019-10-21 09:42:19 +02:00
Sam Saffron
98d6cee7c7
FIX: various fixes to draft system
...
- destroyDraft which is called when we cancel a draft is now async,
removing race conditions when you click "reply" to a post and are
already editing. We used to trigger double dialogs for cancelling
drafts which was confusing.
- Remove reply as new topic / reply as pm keys, they are no longer
used and only caused confustion. For example we used to pop up a
warning when you are composing a reply and flick to reply as
new topic
- Remove createTopic key, this was a bug that proliferated. Whenever
creating a topic via the C shortcut or clicking on new topic on full
screen search the correct new topic draft key will be used
consistently
- When abandoning an edit we now say "Are you sure you want to discard
your changes" (instead of abandon your post which is confusing)
2019-10-21 17:24:06 +11:00
Mark VanLandingham
054fbd7846
FEATURE: Remember scroll position in private message lists ( #8212 )
...
* FEATURE: remember position in private message lists
* Unified saving scroll position between topic lists
* added discovery-topics-list template
* ran prettier
* removed dynamic scroll key
* JS cleanup
2019-10-18 13:16:52 -05:00
Joffrey JAFFEUX
2fa3808928
FIX: polyfills forEach support on NodeList for IE11 ( #8213 )
2019-10-18 12:27:51 +02:00
Jarek Radosz
ac06c87b43
DEV: Remove badge-select-controller ( #8207 )
...
* DEV: Remove badge-select-controller
1. The `selectableUserBadges` computed property of `badge-title` was being incorrectly overwritten, which triggered computed-property.override deprecation.
2. The `badge-select-controller` mixin contained properties that were used either by `badge-title` component or `badges/show` controller, but none were being used by both. This change moves properties where they belong, and removes the mixin.
* Update app/assets/javascripts/discourse/controllers/badges/show.js.es6
Co-Authored-By: Robin Ward <robin.ward@gmail.com>
* Improve code brevity
2019-10-18 02:17:05 +02:00
Jarek Radosz
7de3e7b322
DEV: Fix the Function.prototype.on
deprecation ( #8205 )
...
https://deprecations.emberjs.com/v3.x/#toc_function-prototype-extensions-on
2019-10-18 01:49:41 +02:00
Rafael dos Santos Silva
42c2068ada
DEV: fix prettier offense
2019-10-17 17:39:44 -03:00
Rafael dos Santos Silva
f97b6e85da
FIX: Handle encoded slugs for subcategories
2019-10-17 17:02:17 -03:00
Neil Lalonde
85140aa09a
UX: dashboard links to git commits list instead of git comparison
...
Previously the link went to a comparison of the installed commit with
the tests-passed branch. This change will show the list of installed
commits.
2019-10-17 15:08:43 -04:00
David Taylor
d1b86352d4
UX: Make group membership UI clearer ( #8210 )
...
The 'automatically set primary group' checkbox looked like it was associated with the email membership. In fact, it applies to all members who join the group. This commit moves it next to the 'automatic trust level' setting, and puts them both under an 'Effects' heading
2019-10-17 18:05:42 +01:00
Vinoth Kannan
3cdcd093ee
REFACTOR: improve the code readability. ( #8211 )
...
b2f682f35eba0cc3f09588356ecf8d1dd824542f
2019-10-17 22:05:44 +05:30
Mark VanLandingham
bd969332e0
FIX: Display site text overrides for non '_MF' keys ( #8189 )
...
FIX: Transform pluralized keys to `.other`, to check valid interpolation
2019-10-17 18:34:07 +02:00
David Taylor
ecfba0bb37
UX: Ensure GitHub onebox info does not wrap unnecessarily
2019-10-17 11:00:44 +01:00
Sam Saffron
c3d06ef01a
DEV: avoid making direct HTML changes in controllers
...
Followup on d5d8db7f, we prefer not to amend DOM directly from controllers.
2019-10-17 08:43:30 +11:00
Rafael dos Santos Silva
6e9c8fe854
FIX: More encoded slug fixes ( #8191 )
...
* FIX: Do not encode the URL twice
Now that we encode slugs in the server we don't need this anymore.
Reverts fe5na33
* FIX: More places do deal with encoded slugs
* the param is a string now, not a hash
* FIX: Handle the nil slug on /categories
* DEV: Add seeded? method to identity default categories
* DEV: Use SiteSetting to keep track of seeded categories
2019-10-16 17:08:43 -03:00
Penar Musaraj
baf8ae604a
FIX: Correct topic timeline position calculation
...
Fixes calculation for themes with tall custom headers.
2019-10-16 15:01:01 -04:00
Penar Musaraj
c6e255f4e0
UX: Include metadata in composer link modal search results
...
Metadata includes topic status (closed, pinned, solved, etc.) as well as category and tags.
2019-10-16 10:17:27 -04:00
Joffrey JAFFEUX
02250bd91f
DEV: removes one deprecation with app-events:main
2019-10-16 10:50:43 +02:00
Joffrey JAFFEUX
5a543f8abd
FIX: prevents trash button to get focus when submiting input on profile ( #8198 )
...
This is a default behavior for browsers to submit using first button which doesn't have `type="button"` in a form when pressing enter inside an input.
2019-10-16 10:05:46 +02:00