Neil Lalonde
bd77795d7a
REFACTOR: move support for user card badge images to a plugin discourse-user-card-badges
2018-04-26 13:25:24 -04:00
Sam
56cbfa2611
UX: Require an extra click to open topic draft
...
When there is a topic draft in place instead of showing "+ New Topic"
we will show "+ Open Draft", this allows topic drafts to be much less
intrusive.
Also, fixes draft handling of tags
2018-04-17 14:45:18 +10:00
Régis Hanol
4fb41663b3
SECURITY: prevent XSS when showing diffs
2018-04-16 15:46:32 +02:00
Arpit Jalan
9353ae4b5d
Remove obsolete per topic unsubscribe page.
2018-04-16 16:11:20 +05:30
Arpit Jalan
c28c5083e0
SECURITY: santize tags when creating new topic via URL
2018-04-15 17:28:27 +05:30
Arpit Jalan
48d43b33cc
add client side validation for category minimum_required_tags
2018-04-11 07:17:52 +05:30
Guo Xiang Tan
9df4f7bf8e
UX: Move group delete button to details container.
2018-04-10 14:19:35 +08:00
Joffrey JAFFEUX
bd7100a062
FEATURE: revamp full-page-search UI ( #5703 )
...
This is the first iteration of this revamp, a following iteration will focus on improving the controls in the advanced search sidebar.
2018-04-09 11:51:09 -04:00
Guo Xiang Tan
c82b2dcc24
Remove admin group management pages.
2018-04-09 15:14:50 +08:00
Guo Xiang Tan
4319273cf5
UX: Split up group form into smaller sections.
2018-04-09 15:14:50 +08:00
Neil Lalonde
f6cfff3cea
UX: user preferences allows users to choose which title to use from their badges and groups
2018-04-06 14:34:36 -04:00
Guo Xiang Tan
e36e9de28a
Allow admin to view logs of automatic groups.
2018-04-05 16:31:55 +08:00
Régis Hanol
d5412cff4e
FIX: scrolling was off sometimes
...
Also changed "Jump To Post" to go to the post index in the stream rather than the post number
2018-04-05 10:08:48 +02:00
Guo Xiang Tan
85bcda120a
Basic UX improvements to the group profile management page.
2018-04-05 14:59:04 +08:00
Guo Xiang Tan
e6d07fa6d8
UX: Allow admins to manage automatic groups on group page.
2018-04-04 11:07:11 +08:00
Robin Ward
76d734ea6e
A more extensible way to disable expanding/contracting of user profiles
2018-04-03 14:19:56 -04:00
Joffrey JAFFEUX
61812b52e7
FIX: more conservative refactoring to avoid regressions in customisations
2018-04-03 10:35:22 +02:00
Joffrey JAFFEUX
a64cc9a990
FEATURE: allow users to collapse profile after expanding it
2018-03-29 10:53:57 +02:00
Joffrey JAFFEUX
9260969101
FIX: correctly shows education text for categories
2018-03-29 10:33:44 +02:00
Robin Ward
05dc1f65ab
UX: Editing a shared draft was confusing in the composer
...
Now when you edit a shared draft it looks like creating one, where the
destination category id appears in the dropdown.
2018-03-27 17:11:21 -04:00
Guo Xiang Tan
f6b6ddd73c
REFACTOR: Extract group form into a component.
2018-03-27 19:26:05 +08:00
Guo Xiang Tan
7edab1c0b9
UX: Add groups/custom/new
route for admins to create a new group.
2018-03-27 17:39:05 +08:00
Guo Xiang Tan
2ecd234e27
UX: Consolidation group manangement into a single tab.
2018-03-27 13:34:46 +08:00
Guo Xiang Tan
dcd1d422d1
UX: Allow admins to set users as owners while adding users.
...
https://meta.discourse.org/t/adding-owners-members-ux-is-inconsistent-and-misleading/58084/9
2018-03-26 17:33:50 +08:00
Guo Xiang Tan
35745166b5
UX: New group membership management workflow.
...
https://meta.discourse.org/t/adding-owners-members-ux-is-inconsistent-and-misleading/58084
2018-03-26 16:15:02 +08:00
Régis Hanol
3a58dc0858
Add new 'jumpToPostId' plugin API method
2018-03-24 02:43:39 +01:00
Guo Xiang Tan
7a4b70ef58
UX cleanup changes to 2FA flow.
2018-03-23 11:05:36 +08:00
Guo Xiang Tan
16c6af2ab0
Focus on input when showing 2FA form in login modal.
2018-03-22 21:45:28 +08:00
Guo Xiang Tan
f3b402ffd5
UX: Allow users to filter members on group page.
...
* Only admins are allowed to filter users by email.
2018-03-22 14:02:41 +08:00
Guo Xiang Tan
1cc0961566
FEATURE: Allow admin to manage group owners on group page.
2018-03-22 12:33:42 +08:00
Guo Xiang Tan
0e973ef219
FIX: Group members dropdown not displaying when switching between groups.
2018-03-22 08:01:37 +08:00
Guo Xiang Tan
be866dbe6e
UX: Allow group owners to manage members from group members page.
2018-03-21 18:22:55 +08:00
Guo Xiang Tan
a23509cbf3
UX: Limit the number of group names displayed on user page.
2018-03-21 16:38:33 +08:00
Robin Ward
b9abd7dc9e
FEATURE: Shared Drafts
...
This feature can be enabled by choosing a destination for the
`shared drafts category` site setting.
* Staff members can create shared drafts, choosing a destination
category for the topic when it is published.
* Shared Drafts can be viewed in their category, or above the
topic list for the destination category where it will end up.
* When the shared draft is ready, it can be published to the
appropriate category by clicking a button on the topic view.
* When published, Drafts change their timestamps to the current
time, and any edits to the original post are removed.
2018-03-20 17:15:26 -04:00
Arpit Jalan
dcbd9635f4
UX: indicate active tag sorting method
2018-03-21 00:35:16 +05:30
Guo Xiang Tan
6771df128e
Fix the build.
2018-03-20 18:02:48 +08:00
Guo Xiang Tan
15bcfcd182
UX: Allow users to filter by different group types on groups page.
2018-03-20 17:38:11 +08:00
Neil Lalonde
a9de712eed
FIX: not found message when trying to log in with a link, even though the email with the link was successfully sent
2018-03-19 16:08:10 -04:00
Guo Xiang Tan
05ea034490
UX: Allow groups page to be searchable.
2018-03-19 17:16:51 +08:00
Guo Xiang Tan
0522aabaab
UX: Allow user_count on groups page to be sortable.
2018-03-19 16:15:13 +08:00
Arpit Jalan
e9bc763440
FIX: show only allowed tags on PM tags page and display correct count
...
FIX: tags page should link to user profile we are browsing
2018-03-17 00:17:48 +05:30
Guo Xiang Tan
7e3e09d0ea
Fix group messages style on mobile.
2018-03-16 14:56:10 +08:00
Guo Xiang Tan
fe96ef6ed2
UX: Use topic list for displaying group messages on group page.
...
https://meta.discourse.org/t/group-inbox-on-a-groups-page-mockup/71319
2018-03-16 11:56:40 +08:00
Guo Xiang Tan
a35227918f
UX: Display group topics in a topic list.
2018-03-15 11:37:55 +08:00
Arpit Jalan
b83ba97675
FIX: explicity set username when creating new message via URL
2018-03-14 23:04:18 +05:30
Joffrey JAFFEUX
2d0537b593
FIX: correct messages displayed when reseting password
2018-03-14 16:33:09 +01:00
Joffrey JAFFEUX
fd7308e7f6
FIX: share selected tags between tag-chooser in preferences
2018-03-14 16:01:44 +01:00
Arpit Jalan
7d375690c1
Merge pull request #5667 from techAPJ/pm-tags-page
...
FEATURE: replace PM tags dropdown with a dedicated tags page
2018-03-13 13:08:21 +05:30
Arpit Jalan
24338fbbe8
FEATURE: replace PM tags dropdown with a dedicated tags page
2018-03-13 13:06:58 +05:30
Guo Xiang Tan
1c208ef3f0
FIX: Suspended login error message not showing.
2018-03-13 11:28:59 +08:00
Arpit Jalan
4ad3a258d1
FIX: tag filter was not selected on page load
2018-03-08 20:09:31 +05:30
Arpit Jalan
c29660c8f1
FEATURE: filter personal messages by tags
2018-03-08 14:42:07 +05:30
Guo Xiang Tan
8f5349eaa1
FIX: Only unsubscribe channel if it was subscribed.
2018-03-06 21:39:30 +08:00
Guo Xiang Tan
e09a4a353e
FIX: Incorrectly deleting channel
preventing us from unsubscribing MB.
2018-03-06 19:52:00 +08:00
Guo Xiang Tan
1365bab0d7
FEATURE: Live updates for user's messages page.
...
https://meta.discourse.org/t/group-inbox-messages-not-updated-for-new-posts/38189
2018-03-06 18:15:21 +08:00
Guo Xiang Tan
d9b4b12694
UX: Display warning message about social logins disabled when 2FA is enabled.
2018-03-02 14:22:52 +08:00
Guo Xiang Tan
674239718c
UX: Hide social login buttons when requesting for 2FA token.
2018-03-01 15:52:09 +08:00
Guo Xiang Tan
fb75f188ba
FEATURE: Disallow login via omniauth when user has 2FA enabled.
2018-03-01 15:47:07 +08:00
Arpit Jalan
4010d8d9f9
FEATURE: show "edit message" button on message footer for staff
...
Show "Edit Message" button on personal message footer for staff if PM tagging is enabled.
2018-02-27 14:22:03 +05:30
Guo Xiang Tan
70f14da732
UX: Use 'tel' input type for 2FA token inputs.
2018-02-27 09:30:44 +08:00
Joffrey JAFFEUX
ac701696b3
FEATURE: replaces tag-chooser/tag-group-chooser with select-kit component
...
These component were also the last using select2. As a consequence select2 is removed from Discourse in this commit.
2018-02-26 11:42:57 +01:00
Guo Xiang Tan
4791b39773
UX: Add reset password email button when confirming password before enabling 2FA.
2018-02-23 15:37:17 +08:00
Guo Xiang Tan
e137b7f836
UX: Improve indication of 2FA status in user's preferences.
2018-02-23 10:36:48 +08:00
Guo Xiang Tan
5e60f6b533
UX: Don't disable submit button before transitioning in 2FA flow.
2018-02-23 10:36:48 +08:00
Guo Xiang Tan
dd26bbe868
Merge pull request #5610 from discourse/pm-tags
...
FEATURE: Allow staffs to tag PMs
2018-02-23 07:07:41 +08:00
Joffrey JAFFEUX
6f5acfe783
Login with email/forget password UI refactoring
...
* move button into login modal with social buttons
* adds email link next to login field when filling it
* adds proper validation messages
* improves forgot password flash clearing
* more tests
2018-02-22 08:06:15 +08:00
Vinoth Kannan
2b509eaa91
Merge branch 'master' into pm-tags
2018-02-21 23:55:59 +05:30
Vinoth Kannan
84ce1acfef
FEATURE: Allow staffs to tag PMs
2018-02-21 20:11:46 +05:30
Guo Xiang Tan
14f3594f9f
Review Changes for f4f8a293e7
.
2018-02-21 14:55:49 +08:00
Jeff Wong
f4f8a293e7
FEATURE: Implement 2factor login TOTP
...
implemented review items.
Blocking previous codes - valid 2-factor auth tokens can only be authenticated once/30 seconds.
I played with updating the “last used” any time the token was attempted but that seemed to be overkill, and frustrating as to why a token would fail.
Translatable texts.
Move second factor logic to a helper class.
Move second factor specific controller endpoints to its own controller.
Move serialization logic for 2-factor details in admin user views.
Add a login ember component for de-duplication
Fix up code formatting
Change verbiage of google authenticator
add controller tests:
second factor controller tests
change email tests
change password tests
admin login tests
add qunit tests - password reset, preferences
fix: check for 2factor on change email controller
fix: email controller - only show second factor errors on attempt
fix: check against 'true' to enable second factor.
Add modal for explaining what 2fa with links to Google Authenticator/FreeOTP
add two factor to email signin link
rate limit if second factor token present
add rate limiter test for second factor attempts
2018-02-21 09:04:07 +08:00
Arpit Jalan
b43ac801d1
FIX: show create new topic link in advanced search mode
2018-02-15 17:23:34 +05:30
Erick Guan
03b3e57a44
FEATURE: login by a link from email
...
Co-authored-by: tgxworld <tgx@discourse.org>
2018-02-13 16:14:39 +08:00
Sam
b34b1b6fe3
FIX: invite to message was not allowing groups
...
Previously we were incorrectly checking mentionable instead of messageable
Also fix edge case where multiple groups sharing a name mean that exact match override is not working
Also cleans up params sent to user selector
2018-02-13 13:28:46 +11:00
Robin Ward
2f19588311
FIX: If personal messages are disabled, don't show messages for groups
2018-02-02 16:35:54 -05:00
Robin Ward
68d0d39ab7
FIX: Order the homepage box in the same order as the top menu
...
This is required because "no interface" is the same as showing
the first entry. But when the top menu has changed the first
entry is no longer the same, so it shows the wrong default.
2018-02-02 16:11:28 -05:00
Arpit Jalan
ff0376a80b
rename 'enable_private_messages' to 'enable_personal_messages'
2018-02-01 13:25:29 +05:30
Arpit Jalan
25ec077eca
rename 'min_private_message_{post/title}_length' to 'min_personal_message_{post/title}_length'
2018-02-01 13:25:29 +05:30
Joffrey JAFFEUX
4c19088084
FIX: hides upload link on mobile
2018-01-28 09:48:41 +01:00
Robin Ward
36d836ba40
Link suspensions to the staff logs page
2018-01-26 15:40:03 -05:00
Robin Ward
6b04967e2f
FEATURE: Staff members can lock posts
...
Locking a post prevents it from being edited. This is useful if the user
has posted something which has been edited out, and the staff members don't
want them to be able to edit it back in again.
2018-01-26 14:01:30 -05:00
Régis Hanol
e2d82b882e
FIX: redirect to original URL after social login
2018-01-26 18:52:27 +01:00
Robin Ward
a469c65631
FIX: Missing footer on groups pages
2018-01-23 16:20:53 -05:00
Régis Hanol
5c1eaeca9e
FIX: prevent users from moving whispers to new topic
2018-01-22 17:23:19 +01:00
Kyle Zhao
83c549bd31
FEATURE: grant badges in post admin wrench ( #5498 )
...
* FEATURE: grant badges in post admin wrench
* only grant manually grantable badges
* extract GrantBadgeController mixin
2018-01-22 14:10:53 +11:00
Neil Lalonde
298ee26908
FIX: when deleting a tag, the warning modal has the wrong topic count
2018-01-12 16:35:27 -05:00
Neil Lalonde
4d50feb6bd
FEATURE: add setting to display tags by tag groups
2018-01-12 11:03:02 -05:00
Arpit Jalan
2509bef2c0
FEATURE: show create new topic link on mobile
2018-01-11 10:38:52 +05:30
Arpit Jalan
8ad6d8385b
FIX: show create new topic link when there are no search results
2018-01-10 14:57:32 +05:30
Robin Ward
bf7e0188e5
Extensibility points for user/preferences
2018-01-02 15:46:32 -05:00
Gerhard Schlager
a0b2b3c8a7
FIX: Canceling upload on mobile did not work
2018-01-02 11:26:23 +01:00
Arpit Jalan
89d1107f81
UX: show '{count}+' when not sure about exact search count
2017-12-26 19:50:03 +05:30
Joffrey JAFFEUX
315b9d796d
select-kit refactoring
...
* better test helper
* more reliable tests
* more consistent use of data-value/data-name/title/aria-label everywhere: header and rows
2017-12-22 13:08:12 +01:00
Sam
62a27f9d57
FEATURE: warn if attempting to mention a group with too many members
2017-12-21 16:13:57 +11:00
Sam
252cbd8635
FIX: keyboard shortcut allowed you to open composer on closed topics
2017-12-21 13:09:18 +11:00
Gerhard Schlager
ac7e6dab06
FIX: Refreshing Gravatar didn't work
2017-12-20 20:49:58 +01:00
Régis Hanol
8175740e87
UX: don't shown the 'staff-counters' div when there's no counter
2017-12-16 13:16:23 +01:00
Régis Hanol
50487d6122
FIX: wasn't able to recover a post
2017-12-16 13:04:20 +01:00
Neil Lalonde
e73556f48f
FIX: disable New Topic button if filtered to a tag and a category that you don't have permission to post in
2017-12-15 13:42:29 -05:00
Joffrey JAFFEUX
3090c016d0
FIX: do not display used categories as selectable in categories notifications preferences
2017-12-14 14:40:08 +01:00
Maja Komel
52e38e5527
FIX: save whisper drafts ( #5417 )
2017-12-14 11:35:08 +11:00
Régis Hanol
53bbf08ea1
FIX: wasn't redirected to group inbox
2017-12-13 23:31:20 +01:00
Régis Hanol
c63ecd87f2
FIX: ensure we're always changing 1 post ownership
2017-12-13 22:45:14 +01:00
Maja Komel
0f4ed2e070
display language name in user locale selector - make it consistent with admin ( #5424 )
2017-12-14 08:17:36 +11:00
Régis Hanol
1b4483c942
FEATURE: Added 'select +below' and 'select +all replies' options to selecting posts
2017-12-13 22:12:06 +01:00
Joffrey JAFFEUX
c1c31b99ce
Replaces toolbar popup-menu with select-kit
2017-12-13 10:49:32 +01:00
Robin Ward
cf3ea4f9bd
UX: Use the same 404 page for the unknown
route and exception handler
2017-12-06 15:20:24 -05:00
Robin Ward
410994b7f5
FEATURE: Show a button to Staff for "Moderation History" on posts/topics
...
When clicked, it pops up a modal showing a history of moderation actions
taken on the post or topic.
2017-12-05 15:20:20 -05:00
Arpit Jalan
54f5b4d4e0
FEATURE: log clicks on full page search
2017-12-01 23:21:16 +05:30
Neil Lalonde
bca90381cf
FIX: save drafts of new topics with titles but no body
2017-11-30 15:16:12 -05:00
Vinoth Kannan
704dbd7cfc
FIX: Unable to remove existing user title ( #5386 )
2017-11-30 15:54:38 +01:00
Sam
772301bc65
woops
2017-11-30 12:32:50 +11:00
Sam
bf1f6c7fe4
UX: better help text for composer collapse / discard
...
also: warn on collapsed close if you are to discard content
2017-11-30 12:28:00 +11:00
Régis Hanol
0d34caff85
UX: show error message when no gravatar is associated
2017-11-29 18:09:44 +01:00
Sam
a74ac90bf5
FIX: quote dropped when replying as new topic
2017-11-27 10:08:55 +11:00
Gerhard Schlager
eaa54a5a64
FIX: don't store state of composer's preview in mobile view
2017-11-23 15:22:00 +01:00
Neil Lalonde
6c86e0c94a
FEATURE: remove the featured link by editing the topic
2017-11-22 14:53:35 -05:00
Guo Xiang Tan
a27dd760b9
FIX: Incorrect group path.
2017-11-20 09:55:15 +08:00
Michael Howell
c7d024446e
Cast the numeric keys of USER_HOMES
to numbers ( #5322 )
...
When converting from hard-coded functions to a map,
the key `1` got converted to `"1"`.
This broke the drop-down menu.
2017-11-17 11:01:18 +11:00
Neil Lalonde
b37e40eea9
FEATURE: show read time in last 60 days
2017-11-16 15:46:51 -05:00
Robin Ward
54db283e31
Small code tidy up for user/activity menu
2017-11-16 11:49:14 -05:00
Robin Ward
c2e70a8cc9
FIX: This class is no longer required and leaves the state as hidden
2017-11-15 17:35:24 -05:00
Sam
cb14da4d90
FIX: stop stripping "undefined" from fullpage search
2017-11-13 17:26:02 +11:00
Neil Lalonde
bd8f8ea1f9
FIX: don't show Create Topic button on full search page to users who can't create topics
2017-11-10 15:39:04 -05:00
Michael Howell
38b8d68c68
FEATURE: Allow the user to select a custom home page ( #5268 )
...
* Add user_home configuration option
* Use the new user_home preference to actually show the right home page
* Fix trailing whitespace
* Update user_option_serializer.rb
* Fix JavaScript default homepage tests
* Use an object instead of a giant switch
* Remove trailing whitespace
* Make the default `user_home` set to `null` instead of `0`
* Rename user_home to homepage_id
2017-11-10 06:45:19 +11:00
Régis Hanol
0bb07d395a
REFACTOR: composer to use flexbox
2017-11-08 10:39:26 +01:00
Robin Ward
cd744d58f8
FIX: Lint error
2017-11-07 20:29:41 -05:00
ckeboss
8a8c14c6f7
Fix infinate loading of group posts ( #5296 )
2017-11-07 20:04:21 -05:00
Neil Lalonde
d7880af0bb
FIX: change password form validation should instruct admins to use min password length for admin accounts
2017-11-07 16:14:56 -05:00
Guo Xiang Tan
44eeb20c50
Make eslint happy.
2017-11-02 08:06:45 +08:00
Robin Ward
46b0c01823
FIX: Subcategory filters were not respecting the current category
2017-11-01 16:28:23 -04:00
Robin Ward
0a69f2bc77
REFACTOR: Remove many Discourse.Category.list()
calls
2017-11-01 15:25:35 -04:00
Robin Ward
f57d3c2315
REFACTOR: Groups navigation to a component
2017-11-01 12:43:20 -04:00
Robin Ward
076df104dc
FEATURE: Support filtering of groups page by category if in url
2017-10-31 17:50:06 -04:00
Robin Ward
aee316c6ff
FIX: Unused variable is tripping up linter
2017-10-31 15:51:23 -04:00
Robin Ward
422f990615
REFACTOR: Extract navigation into a component
2017-10-31 15:23:38 -04:00
Sam
fab3e25101
FIX: badge selector showing up for anon
2017-10-30 16:21:31 +11:00
Guo Xiang Tan
c650ef9138
UX: Move disable PM option under notifications in user preferences.
2017-10-26 16:20:58 +08:00
Robin Ward
383191cafc
FIX: You needed to click twice to expand a hidden post
2017-10-20 15:58:14 -04:00
Robin Ward
a9f718fe57
FIX: Custom flags didn't work when flagging a topic
2017-10-19 14:27:38 -04:00
Guo Xiang Tan
25c25ae423
FEATURE: Allow user to leave a PM.
2017-10-19 12:32:55 +08:00
Guo Xiang Tan
79de10b212
FEATURE: Allow users to disable new PMs.
...
https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391
2017-10-19 12:32:55 +08:00
Robin Ward
77652f4387
FIX: Use computed properties instead of manual HTML for buttons
...
This way they receive the proper classes
2017-10-17 11:23:44 -04:00
Robin Ward
5572d1d5f7
Refactor user summary page to use more components
2017-10-13 16:05:40 -04:00
Robin Ward
4d8619f62c
Move topic list extensibility to topic-list
component
2017-10-12 12:03:22 -04:00
Robin Ward
d43fa4d584
Extension points for topic list on discovery page
2017-10-11 14:50:17 -04:00
Guo Xiang Tan
1d0fadd48c
Merge pull request #5227 from majakomel/delete-tag-confirm
...
UX: Improve Delete Tag Confirm Message
2017-10-09 11:26:12 +08:00
Maja Komel
5780596c50
use delete_confirm_no_topics instead of nested no_topics
2017-10-06 16:29:29 +02:00
Maja Komel
3c1e005fea
missing semicolon
2017-10-06 15:42:53 +02:00
Maja Komel
13cc0fd665
replace zero key with no_topics
2017-10-06 15:35:15 +02:00
Maja Komel
789a354570
UX: Delete Tag Warning Improvement
2017-10-06 12:13:37 +02:00