Commit Graph

20339 Commits

Author SHA1 Message Date
9ee2c121c1 FIX: ensures emoji helper is working with custom emojis (#7843) 2019-07-03 09:23:40 +02:00
0733ed3a2b FIX: ensures /t/TOPIC_ID/POST_NUMBER is correctly routing (#7841) 2019-07-03 09:23:23 +02:00
6e3e0685fb DEV: add useBlockMode option for toolbar button text selection
Allows buttons to switch selection to block mode if needed.
2019-07-02 18:02:40 -04:00
c422520b4a FEATURE: Add CSS classes to associated accounts rows 2019-07-02 16:56:15 -03:00
72441e2c7c FIX: page starts at 1 (#7844) 2019-07-02 17:26:23 +02:00
8404921b91 FIX: Remove misplaced outlet 2019-07-02 11:26:40 -03:00
ccb3ba509d FIX: creating new badge is failing on empty SQL query (#7837) 2019-07-02 15:12:53 +05:30
1b45096aa5 UX: improves styling of similar topics results in composer (#7839) 2019-07-02 11:26:43 +02:00
fca2f0f212 FIX: Only show remove timer button to users with permission to do so 2019-07-01 22:17:02 -04:00
f1c67729de Different fix (#7815) 2019-07-02 11:53:16 +10:00
4dcc5f16f1 FEATURE: when under extreme load disable search
The global setting disable_search_queue_threshold
(DISCOURSE_DISABLE_SEARCH_QUEUE_THRESHOLD) which default to 1 second was
added.

This protection ensures that when the application is unable to keep up with
requests it will simply turn off search till it is not backed up.

To disable this protection set this to 0.
2019-07-02 11:22:01 +10:00
dc5eb76551 DEV: Let OmniAuth strategies return auth result. (#7833) 2019-07-01 13:13:11 -03:00
f56d86a852 FIX: use normal title instead of fancy title for prefilled composer 2019-07-01 17:55:24 +05:30
7b52a110b8 DEV: removes DOMTokenList polyfill (#7831)
Creates more issues than it solves especially on IOS, I dont trust it anymore. Will reconsider if this is an issue in the future.
2019-07-01 14:08:38 +02:00
d513c28e3b FIX: Don't send notification email when user isn't allowed to see topic 2019-07-01 14:03:03 +02:00
997250586c FEATURE: prefill title for direct messages from topic
https://meta.discourse.org/t/default-re-title-title-for-direct-messages-from-topic/121413
2019-07-01 17:14:08 +05:30
af58049eeb UX: puts tags and categories on same line in search-menu-results (#7830) 2019-07-01 13:11:43 +02:00
384f5cea05 FIX: ensures static pages are using absolute path (#7828) 2019-07-01 11:25:45 +02:00
11ae5c78db FEATURE: adds infite scroll on admin users list page (#7821) 2019-07-01 11:00:06 +02:00
4f97f85178 DEV: Fix lint. (#7824) 2019-06-28 20:24:09 +02:00
aa9b9e1930 UX: improved mobile positioning of topic timer remove button 2019-06-28 14:09:42 -04:00
5bab4f8007 UX: gives each info its own line in search-menu-results (#7825) 2019-06-28 11:14:38 +02:00
61438c825a fix prettier (#7823) 2019-06-28 09:36:38 +02:00
b2eb0f4ad6 FEATURE: Export any type of report supporting table mode. (#7662) 2019-06-28 08:50:31 +02:00
82f2af8a0d UX: Move link to show tracked topics, simplify translation 2019-06-27 21:36:24 -04:00
27387b0859 Do not collapse quote notifications
This prevents an issue where edits to a post with a quote would trigger push notifications indefinitely.
2019-06-27 18:20:43 -04:00
4ba35472e6 Don't check for second factor when switching to anonymous account (#7803) 2019-06-27 15:01:26 -07:00
a61147d838 FEATURE: displays tags in search menu results when enabled (#7819) 2019-06-27 19:26:14 +02:00
ed936bcb01 FIX: Fix a navigation bug
To reproduce:

1. Visit a url in a new tab such as `/latest?order=views`

2. Click a topic link

3. Click the back button

Before this patch, you would not be sent back to the latest list.

Now, I am somewhat hesitant to delete code like this, but the [original
commit](b2b7f4d905)
explains a situation that I cannot reproduce with the code missing.

I cannot seem to keep the filters as sticky even if I try. At the very
least this is better to commit right now than the currently known broken
situation.
2019-06-27 09:06:10 -04:00
fe870a1e54 DEV: Respond with error 400 to uploads requested via XHR
follow-up to 13f38055
2019-06-27 11:15:35 +02:00
8f7a387aa7 FEATURE: add support for tag group search
The behaviour of #TERM in search has been amended

1. We try category or subcategory slugs
2. We try tags
3. We try tag-groups

The term `hello #my-group` will search for all posts tagged with any of
the tags in the tag group `My Group`

Future work may be introducing a slug cache here or caching it in the table
but the assumption is that the number of tag groups will not be huge
2019-06-27 17:53:26 +10:00
9a2eb5c8cb UX: change icon for video placeholder 2019-06-27 12:27:14 +05:30
5bc5c02af6 FIX: mark topics in sub categories as unread when dismissing parent
Previously we would only dismiss the parent category and leave the
child categories unread
2019-06-27 13:26:48 +10:00
88ef5e55fe FEATURE: add ability to have multiple totp factors (#7626)
Adds a second factor landing page that centralizes a user's second factor configuration.

This contains both TOTP and Backup, and also allows multiple TOTP tokens to be registered and organized by a name. Access to this page is authenticated via password, and cached for 30 minutes via a secure session.
2019-06-26 16:58:06 -07:00
50e4ecc77e UX: hide post is unread tooltip after the post is read (#7813)
Note we can't use `display: none` here because it doesn't work with
animations.
2019-06-26 22:39:57 +03:00
a3bcb8e887 UX: make onebox video placeholder icon grey 2019-06-26 23:40:36 +05:30
168a38dc29 Bump onebox version.
- better Twitch placeholder
- CSS for said placeholder
2019-06-26 23:22:29 +05:30
817661aed9 UX: Require a confirmation if approving a post in a closed topic 2019-06-26 12:21:49 -04:00
14a64e7c4c Move "Hide Post" option up to the top on the review interface
If you agree with the post you are likely to want to hide it.
2019-06-26 11:35:59 -04:00
eedec7d79b FIX: Only include pending/agreed scores in the total score
This should prevent posts from being hidden if a previous flag was
rejected and a new one was added.
2019-06-26 11:21:35 -04:00
c63268467e DEV: prettier 1.18.2 (#7810) 2019-06-26 17:09:52 +02:00
76307611dc UX: new inline button to remove a topic timer (#7790) 2019-06-26 11:08:53 -04:00
13f38055ac SECURITY: XSS in routes
Co-authored-by: Guo Xiang Tan <tgx_world@hotmail.com>
Co-authored-by: David Taylor <david@taylorhq.com>
2019-06-26 16:34:15 +02:00
56b76f31dc fix prettier linting (#7809) 2019-06-26 15:26:02 +02:00
dfde59f631 FIX: provides an emoji helper to replace codes by images (#7802) 2019-06-26 15:11:04 +02:00
65a6e2c860 Change Widget#attach signature
Take a fallback option instead of a list of names
2019-06-26 09:01:25 -04:00
37b8f5d989 Use dasherize instead of replace 2019-06-26 09:01:25 -04:00
d025e188e8 Make the linter happy 2019-06-26 09:01:25 -04:00
70e27641eb Pass data to description to prevent duplication 2019-06-26 09:01:25 -04:00
8c349101c5 Pass data to text method to prevent duplication 2019-06-26 09:01:25 -04:00