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
b2a033e92b
REFACTOR: use Ruby's sum
2019-06-27 01:54:40 +02:00
134a4c66b7
PERF: limit time spent diffing large blobs of text
...
REFACTOR: s/.length/.size/g
2019-06-27 01:45:52 +02: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
b3ec3fac93
FIX: turbo_rspec doesn't accept these options
2019-06-26 17:05:27 +01:00
68d54d818a
DEV: Add USE_TURBO option to docker rake task ( #7811 )
2019-06-26 11:54:39 -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
463db22928
DEV: Add test.
...
Follow-up to bccd090cedd4f49b9a07958292baed462b8c1a1c.
2019-06-26 16:37:01 +03:00
bccd090ced
SECURITY: Escape email text for posts containing [details].
2019-06-26 16:28:31 +03: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
86d5208b31
Pass data to url method to avoid duplication
2019-06-26 09:01:25 -04:00
ac6f7b3625
Remove notificationType argument from text
2019-06-26 09:01:25 -04:00
a3254b8446
Pull invitee accepted notification behaviour into its own class
2019-06-26 09:01:25 -04:00
7c52ba1431
Pull liked consolidated notification behaviour into its own class
2019-06-26 09:01:25 -04:00
42143a874e
Pull custom notification behaviour into its own class
2019-06-26 09:01:25 -04:00
305562bf66
Pull title logic into its own method
2019-06-26 09:01:25 -04:00
d83147d137
Rename "title" variable to more apt "description"
2019-06-26 09:01:25 -04:00
02deaa4bc6
Pull icon choosing into its own method
2019-06-26 09:01:25 -04:00
36d7abed0b
Pull group message summary behaviour into its own class
2019-06-26 09:01:25 -04:00
396e13aaa7
Pull liked notification behaviour in its own class
2019-06-26 09:01:25 -04:00
bd062fcbef
Export DefaultNotificationItem
2019-06-26 09:01:25 -04:00
04a75b1cb3
Change the way notification items are created
...
Look for the specialised version first, before falling back to the
default. This allows the behaviour to be customised based on the type of
notification.
2019-06-26 09:01:25 -04:00
cdf0cd3ecd
createWidgetFrom
creates a new widget with an arbitrary base class
2019-06-26 09:01:25 -04:00
01a7fd4225
Make attach
optionally take a list of widget names to try
2019-06-26 09:01:25 -04:00
41129f933d
Rename notification-item to default-notification-item
2019-06-26 09:01:25 -04:00
7e70db3fb7
s/notName/notificationName/g
2019-06-26 09:01:25 -04:00
7c9d62c280
FIX: prevents failure when TL was mutated on internal object ( #7808 )
2019-06-26 14:51:45 +02:00
3c64dc3e7d
FIX: do not allow creation of topic if there is no category available for posting ( #7786 )
2019-06-26 16:32:53 +05:30
01de7e1444
FIX: calling action with a string is deprecated ( #7807 )
2019-06-26 12:42:46 +02:00
e64544ae44
icon s/trash/trash-alt ( #7806 )
2019-06-26 12:31:49 +02:00
ea2a9bc4fc
FIX: closes search-menu on escape ( #7804 )
2019-06-26 11:53:39 +02:00
2af4002817
Bump onebox version.
...
- Add a placeholder icon for Twitch onebox preview
- Add CSS for showing fontawesome play icon for placeholder class
2019-06-26 13:40:14 +05:30
39b856dce7
DEV: correct edge case introduced in 333b5a19
...
We need to allow users to edit uncategorized topics out of uncategorized
when for some reason admin just turns it off.
2019-06-26 17:53:29 +10:00
333b5a19b2
FIX: do not include uncategorized_category_id in topic_create_allowed
if posting in uncategorized is disabled
...
Previously users were still allowed to create topic via API even if
uncategorized was disabled.
Not 100% happy with all this special casing, but I guess we have to do
something.
This also splits up a mega spec now that we have fab! into a more easy to
understand structure (I hope)
2019-06-26 17:41:07 +10:00
7e884cce6b
Update translations
2019-06-25 10:57:18 -04:00
557805249d
FIX: Ensure topic exists before making a banner. ( #7781 )
2019-06-25 13:49:29 +03:00
3fd7cf9038
Revert "PERF: Use Oj for serializing JSON. ( #7780 )"
...
This commit broke discourse-prometheus.
This reverts commit b4df8c546654a4e6f0ec6793bb9ed3230506be69.
2019-06-25 11:13:27 +03:00