Neil Lalonde
2bd44bbf13
WebCrawlerRequest.clear_cache needs to clear user agent list too
2018-03-27 15:11:48 -04:00
Neil Lalonde
7311023a52
Merge pull request #5700 from discourse/crawl-block
...
FEATURE: control web crawlers access with white/blacklist
2018-03-27 15:06:03 -04:00
Neil Lalonde
3fab5267be
fix web crawler stats sorted in reverse
2018-03-27 14:10:39 -04:00
Neil Lalonde
df345d80f9
fix wrong case
2018-03-27 13:53:47 -04:00
Neil Lalonde
4d12ff2e8a
when writing cache, remove elements from the user agents list. also return a message and content type when blocking a crawler.
2018-03-27 13:44:14 -04:00
Joffrey JAFFEUX
15aa712227
fix category-row regressions
2018-03-27 14:11:05 +02:00
Vinoth Kannan
ff9d7a9bfb
FIX: authComplete query param should carry-forward to login page
2018-03-27 17:22:07 +05:30
Arpit Jalan
518f7ba91b
FIX: show private message topic count on admin dashboard reports
2018-03-27 17:10:33 +05:30
Guo Xiang Tan
94deb482ae
Don't show cancel button on edit page.
2018-03-27 19:31:53 +08:00
Guo Xiang Tan
b06104a1da
Missing trust level options on group form.
2018-03-27 19:30:53 +08:00
Guo Xiang Tan
757dd1032d
Incorrect save label for group form.
2018-03-27 19:29:00 +08:00
Guo Xiang Tan
f6b6ddd73c
REFACTOR: Extract group form into a component.
2018-03-27 19:26:05 +08:00
Joffrey JAFFEUX
f81af74ad8
FIX: makes sure category desc is displayed as row title when possible
2018-03-27 12:25:05 +02: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
Gerhard Schlager
558914b986
Fix random spec errors
2018-03-27 11:14:06 +02:00
Vinoth Kannan
e7407d0adc
FEATURE: Webhook for group and category events
2018-03-27 11:53:35 +05:30
Guo Xiang Tan
68ae009f98
Update group navigation link style.
2018-03-27 13:52:28 +08:00
Guo Xiang Tan
2ecd234e27
UX: Consolidation group manangement into a single tab.
2018-03-27 13:34:46 +08:00
Neil Lalonde
f2c060bdf2
FEATURE: option for tags in a tag group to be visible only to staff
2018-03-26 17:05:09 -04:00
Kris
09b9b56091
adding a class to post activity link
2018-03-26 14:04:42 -04:00
Kris
2aca08b75e
Adding data-category-id to category page for mobile
2018-03-26 10:00:43 -04: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
Guo Xiang Tan
3d18cd1d9d
Raise error when timestamp is invalid when creating topic timers.
...
https://meta.discourse.org/t/topic-timer-doesnt-work-for-fa-ir-locale/83702
2018-03-26 11:33:52 +08:00
Guo Xiang Tan
252e58dfe9
FIX: Could not create topic timers for certain locales.
...
https://meta.discourse.org/t/topic-timer-doesnt-work-for-fa-ir-locale/83702/2
2018-03-26 10:51:49 +08:00
Guo Xiang Tan
2f61780a49
Remove file that is no longer used.
2018-03-26 10:27:28 +08:00
Régis Hanol
9d6d8631ad
Revert "FIX: remove scrolling jankiness"
...
This reverts commit b1a799b526 .
Was not working properly on mobile...
2018-03-24 03:53:28 +01:00
Régis Hanol
c5c1d8e180
Add support for the '/p/:post_id' route on the client-side
2018-03-24 02:44:39 +01:00
Régis Hanol
3a58dc0858
Add new 'jumpToPostId' plugin API method
2018-03-24 02:43:39 +01:00
Régis Hanol
f56a746d71
Add baseUri to site model
2018-03-24 02:43:19 +01:00
Régis Hanol
b1a799b526
FIX: remove scrolling jankiness
2018-03-24 02:39:36 +01:00
Blake Erickson
9fdf139235
Add tests for Site Settings import/export
...
- extracted out site settings rake task to a class
- added tests for import and export of site settings
2018-03-23 14:55:17 -06:00
Kevin Elliott
fa0868fc3f
Explicit param permit and assignment cleanup.
2018-03-23 09:59:31 -07:00
Robin Ward
5f19ad9507
FIX: allow destination categories to be set if not at first
2018-03-23 11:33:02 -04:00
Robin Ward
38af67eb73
Update the destination category id when a user changes it
2018-03-23 11:12:56 -04:00
Kris
6e4b8901ce
Removing extra margin on tag-chooser
2018-03-23 10:32:27 -04:00
Sam
62f09af1c2
UX: occasionally getting scrollbar while loading notifications
2018-03-23 18:19:28 +11:00
Guo Xiang Tan
c294798561
Fix alignment of groups filter inputs on FF.
2018-03-23 13:46:02 +08:00
Guo Xiang Tan
3f59ba20ec
Align .control-labels with input field.
2018-03-23 13:42:17 +08:00
Guo Xiang Tan
7a4b70ef58
UX cleanup changes to 2FA flow.
2018-03-23 11:05:36 +08:00
Sam
0db13f62eb
FIX: unable to remove tags from topics in quick save
2018-03-23 13:55:24 +11:00
Kris
803b53f2e3
Adding space before URL click-counter for improved copy & paste-ability ( #5698 )
2018-03-22 21:27:08 -04:00
Arpit Jalan
9a184b355d
Merge pull request #5696 from techAPJ/instagram-aspect-image
...
UX: wrap instagram images with aspect ratio
2018-03-23 04:00:52 +05:30
Neil Lalonde
ced7e9a691
FEATURE: control which web crawlers can access using a whitelist or blacklist
2018-03-22 15:41:02 -04:00
Joffrey JAFFEUX
cbbeedf53b
FIX: fires onExpand/onCollapse when using arrows
2018-03-22 18:35:46 +01:00
Joffrey JAFFEUX
841e2ba723
FIX: prevents multiple search call when destroying multiple tags
2018-03-22 18:11:47 +01:00
Joffrey JAFFEUX
037cc63b91
FIX: minor alignments improvements to select-kit
2018-03-22 17:17:28 +01:00
Arpit Jalan
33c1aeb2ac
UX: wrap instagram images with aspect ratio
2018-03-22 21:35:10 +05:30
Arpit Jalan
4a6fb242bd
UX: correct styling for Instagram onebox
2018-03-22 21:11:47 +05:30
Joffrey JAFFEUX
4f61f5db27
FIX: event is not present here
...
TODO: make event accessible everywhere and in a more consitent way.
2018-03-22 16:17:23 +01: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
62ee332efa
Fix lint.
2018-03-22 21:12:41 +08:00
Guo Xiang Tan
0a567d0176
UX: Add mobile template for group members page.
2018-03-22 20:59:30 +08:00
Joffrey JAFFEUX
d48542796e
FIX: select-kit refactoring
...
- improve mini-tag-chooser keyboard behavior
- all multil select now respond to select all and left/right arrows
- improve events handling
- many minor tweaks
2018-03-22 11:29:55 +01:00
Jeff Atwood
d7c2d2edb8
remove extraneous "click to show" copy
2018-03-22 02:19:57 -07:00
Guo Xiang Tan
fa95699fde
Fix the build.
2018-03-22 14:20:27 +08:00
Arpit Jalan
3a62eba299
bump onebox version
2018-03-22 11:38:01 +05:30
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
bfe38b2118
FIX: limit wasn't correctly applied to Upload.migrate_to_new_scheme.
2018-03-22 10:56:06 +08:00
Guo Xiang Tan
ae6be6e364
Fix alignment of filter inputs on groups page.
2018-03-22 09:45:24 +08:00
Guo Xiang Tan
0e973ef219
FIX: Group members dropdown not displaying when switching between groups.
2018-03-22 08:01:37 +08:00
Arpit Jalan
d96c1058a2
FEATURE: add staff action log for 'restore topic'
2018-03-21 18:04:13 +05:30
Guo Xiang Tan
6381bc6ce1
Improve description for removing a group member.
2018-03-21 18:37:13 +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
Guo Xiang Tan
dda78f2fd0
UX: Improve layout of groups filter on groups page.
2018-03-21 14:22:34 +08:00
Guo Xiang Tan
9f216ac182
FIX: Infinite loading more on groups page.
2018-03-21 09:25:42 +08:00
Robin Ward
651015fb9b
FIX: Linter
2018-03-20 18:07:33 -04: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
scossar
f213dea529
Make sure a post has replies before accessing the reply id
2018-03-20 12:13:41 -07:00
Arpit Jalan
dcbd9635f4
UX: indicate active tag sorting method
2018-03-21 00:35:16 +05:30
Robin Ward
70c41e067b
FIX: Don't apply tags to the plugin outlet in the admin menu pills
2018-03-20 09:54:35 -04:00
Robin Ward
b39fbf7187
A staff member can hide another staff's member's post by flagging
2018-03-20 09:38:23 -04:00
Guo Xiang Tan
d0e7898fa0
Build primary_email association directly in DiscourseSingleSignOn.
2018-03-20 19:36:35 +08:00
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
Guo Xiang Tan
69a53210d3
Improve UserEmail#email validation to use the index.
2018-03-20 10:22:06 +08:00
Kris
42e49f6c7b
Trying a trash icon on mobile composer cancel
2018-03-19 16:35:38 -04: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
Neil Lalonde
4d44024c82
FIX: error when trying to block an IP address. Return a message when IP address matches an existing screened IP address, including ranges.
2018-03-19 14:34:43 -04:00
Neil Lalonde
b9b4d9a8f7
FIX: regression in tag group UI which prevented creating new tags
2018-03-19 10:45:27 -04:00
Guo Xiang Tan
19a93b0e95
UX: Improve groups page on mobile.
2018-03-19 18:48:12 +08:00
Guo Xiang Tan
2b7fb43d84
Fix the build.
2018-03-19 18:47:17 +08:00
Guo Xiang Tan
41b0fbe001
UX: Indicate user's group membership on groups page.
2018-03-19 18:29:30 +08: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
3e32ab1523
UX: css for Instagram onebox
2018-03-19 13:32:36 +05:30
Guo Xiang Tan
c1bf707e7d
PERF: N+1 queries on badges page.
2018-03-19 14:36:09 +08:00
Guo Xiang Tan
9e8d10f711
Fix the build.
2018-03-19 12:34:21 +08:00
Guo Xiang Tan
52b9af10a1
PERF: PG queries for the UserEmail#email column was not using the index.
2018-03-19 11:31:14 +08:00
Arpit Jalan
f053e4cf37
Merge pull request #5682 from techAPJ/allowed-tags-page
...
FIX: show only allowed tags on PM tags page and display correct count
2018-03-17 08:29:00 +05:30
Régis Hanol
89f5c90ce0
FIX: show an error page on click tracking error
2018-03-17 00:33:11 +01:00
Gerhard Schlager
864bdbd9b6
Fix the build
2018-03-16 22:55:42 +01:00
Gerhard Schlager
6c736a1fa4
FIX: Translation overrides for flag types didn't expire cache
2018-03-16 22:10:19 +01:00
Kris
90ab42b9bf
Safari uploading progress indicator missing a space
2018-03-16 16:10:01 -04: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
Neil Lalonde
cc16a64ad1
UX: on topic list page for a tag, show the Create Topic button to admins too
2018-03-16 13:43:25 -04:00
Joffrey JAFFEUX
cb49dc6448
FIX: use right caret for collapse state of tag and category drops
2018-03-16 10:52:15 +01:00
Guo Xiang Tan
215d955e30
UX: Add a back link to groups page on group page.
2018-03-16 16:58:42 +08:00
Guo Xiang Tan
7138f6dd69
Fix incorrect condition while re-routing from group messages.
2018-03-16 16:39:02 +08:00
Guo Xiang Tan
19d6b9cb36
Redirect to group members tab if user cannot see messages tab.
2018-03-16 16:30:08 +08:00
Guo Xiang Tan
c85e1fdb50
Revert "PERF: Query for email was not using index."
...
This reverts commit 65eb046e69 .
2018-03-16 15:31:39 +08:00
Guo Xiang Tan
65eb046e69
PERF: Query for email was not using index.
2018-03-16 15:19:35 +08:00
Guo Xiang Tan
7e3e09d0ea
Fix group messages style on mobile.
2018-03-16 14:56:10 +08:00
Guo Xiang Tan
5fec9a4dfe
Fix incorrect CSS class on group messages.
2018-03-16 13:45:03 +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
937372df02
Merge pull request #5677 from jjaffeux/fix-ruby-warning-keyword
...
FIX: prevents ruby warning with circular reference
2018-03-16 09:31:54 +08:00
Sam
5474635361
add more safety
2018-03-16 11:19:06 +11:00
Joffrey JAFFEUX
d3943b97df
FIX: align suggested messages
2018-03-15 17:51:19 +01:00
Joffrey JAFFEUX
c0a986c181
FIX: prevents ruby warning with circular reference
2018-03-15 15:48:40 +01:00
Sam
c589564f6a
FIX: color schemes not updating when remote saves
2018-03-15 18:26:54 +11:00
Sam
ba15273d3f
FEATURE: maintain preview theme, while previewing
...
This means you can browse around in preview mode without losing the theme.
At any point you can refresh page and maintain the preview theme.
2018-03-15 16:17:22 +11:00
Rafael dos Santos Silva
2097f5330c
FIX: Login redirect path was broken in subfolder installs
2018-03-15 11:49:35 +08:00
Guo Xiang Tan
a35227918f
UX: Display group topics in a topic list.
2018-03-15 11:37:55 +08:00
Blake Erickson
d3f5b4e4b0
FIX: envelope link on suggested topics
2018-03-14 16:04:03 -06:00
Neil Lalonde
5ce8177662
FIX: unable to delete user belonging to a group that grants a trust level
2018-03-14 15:12:11 -04:00
Robin Ward
135195363b
FIX: Not logging old post contents properly
2018-03-14 15:01:36 -04:00
Robin Ward
d31dfe0e84
FIX: Silencing / Suspending a user should not send a hidden message
2018-03-14 14:39:52 -04:00
Arpit Jalan
b83ba97675
FIX: explicity set username when creating new message via URL
2018-03-14 23:04:18 +05:30
Robin Ward
23e690d0c2
Add extensiblity point for discourse-tooltips
2018-03-14 12:46:32 -04:00
Joffrey JAFFEUX
19177c89e8
remove unused const
2018-03-14 16:37:48 +01:00
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
Joffrey JAFFEUX
3ab58ac881
FEATURE: no category description in category-drop for staff or TL > 0
2018-03-14 11:12:57 +01:00
Joffrey JAFFEUX
d2a7a4916a
FIX: do not show emoji menu when : has a letter before
2018-03-14 10:28:57 +01:00
Arpit Jalan
c5fa452f00
UX: set pmView for PM tags page
2018-03-14 13:37:48 +05:30
Michael Brown
1b5549df58
FIX: my sso_overrides_username assumed username was passed
2018-03-13 18:29:11 -04:00
Kris
16d43e3abc
Removing overscroll-y prevention on mobile
2018-03-13 14:40:11 -04:00
Arpit Jalan
b18fec4d5d
UX: move Impersonate to the bottom of page
2018-03-14 00:06:40 +05:30
Robin Ward
31a0c4a9be
FEATURE: Add quote-modified class if a quote has been modified
2018-03-13 13:41:06 -04:00
Kyle Zhao
f7bd05e534
FEATURE: set 'Retry-After' header for 429 responses ( #5659 )
2018-03-13 23:12:41 +08: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
Sam
f11f3f4c5b
remove stray console.log
2018-03-13 17:39:53 +11:00
Guo Xiang Tan
1c208ef3f0
FIX: Suspended login error message not showing.
2018-03-13 11:28:59 +08:00
Sam
8c1d145f0e
FIX: when visiting post on mobile it is not selected
2018-03-13 14:06:08 +11:00
Kris
64e30d799e
UX: Use the full word "cancel" on desktop composer, "X" on mobile.
2018-03-12 22:33:44 -04:00
Guo Xiang Tan
d5c828213f
FIX: Circular references warning in TopicTrackingState.
2018-03-13 08:35:15 +08:00
Neil Lalonde
ab2f3e43eb
FIX: excerpts in summary email are too short when there are images or links
2018-03-12 18:12:09 -04:00
Varun A
5f133e20f2
FEATURE - Prevent unnecessary refreshes with overscroll-behavior-y ( #5662 )
2018-03-12 13:59:19 -04:00
Robin Ward
65ac80b014
FEATURE: Log Staff edits in Staff Action Logs
...
Why? Some edits by staff are not tracked. For example, during the grace
period, or via the flags/silence dialog.
If a staff member is editing someone else's post, it now goes into the
Staff Action Logs so it can be audited by other staff members.
2018-03-12 13:51:40 -04:00
Arpit Jalan
82143a421c
FIX: max topic invitations per day should apply on PM invites as well
...
FIX: do not apply `max topic invitations per day` on email invites
2018-03-12 23:17:58 +05:30
Kris
2cb6fcb3d6
Lighter cancel button in composer
2018-03-12 09:34:11 -04:00
Gerhard Schlager
243ee565dc
Reset widget decorators after each test
2018-03-12 14:22:50 +01:00
Sam
758b9a7dda
FEATURE: prototype of local theme directory watcher
...
(note this will be documented a bit late)
2018-03-12 18:36:06 +11:00
Guo Xiang Tan
74ce2220a7
Make rubocop happy.
2018-03-12 09:48:41 +08:00
Leo McArdle
89f41f8236
FIX: error when group_in_subject enabled but no group in pm
2018-03-11 12:22:11 +00:00
Arpit Jalan
12706c4b29
FEATURE: support markdown rendering for embedded posts
2018-03-11 08:00:48 +05:30
Kris
257950e8bd
UX: Replace composer cancel and upload with icons
2018-03-09 22:29:42 -05:00
Jeff Atwood
9522469f6a
Merge pull request #5664 from dbnicholson/robots-no-uploads
...
Prevent robots from indexing uploads
2018-03-09 13:33:34 -08:00
Michael Brown
3c3d205180
FIX: sso_overrides_username may inappropriately change the username if the case changed
2018-03-09 16:06:55 -05:00
Kris
0f07999c11
FIX: Safari flexbox bug in header dropdowns
2018-03-09 15:58:53 -05:00
Arpit Jalan
aac7796124
FIX: do not show tags with 0 count on /tags page
2018-03-09 20:57:31 +05:30
Dan Nicholson
0fd622e5d1
Prevent robots from indexing uploads
...
Although most user uploads are probably harmless, it's possible someone
has (either maliciously or not) uploaded sensitive information. Prevent
robots from indexing the uploads route.
2018-03-09 05:51:55 -06:00
Gerhard Schlager
dc77cce8d9
FIX: Create notifications for mentions in PMs
2018-03-09 11:04:29 +01:00
Guo Xiang Tan
0e1b896821
Explicitly assign primary_email record when creating a user
...
* This looks like we're doing the same thing but
we're debugging a race condition where a user
can be created without an email record. Therefore,
we prefer the more obvious method of assigning an
association.
2018-03-09 15:59:46 +08:00
Sam
7c0e6b820e
move key so it does not interfere with other errors
2018-03-09 16:42:11 +11:00
Sam
39e679d3cb
FEATURE: allow themes to live in private git repos
...
This feature allows themes sourced from git to live on private
servers, it automatically generates key pairs.
2018-03-09 16:14:38 +11:00
Neil Lalonde
34a0e79bec
FIX: use digest_min_excerpt_length site setting in summary emails
2018-03-08 23:35:10 -05:00
Guo Xiang Tan
a89f3160a5
Add new config to ensure backup/restore connects to PG directly.
...
* In `pg_dump` 10.3+ and 9.5.12+, in
it does a `SELECT pg_catalog.set_config('search_path', '', false)`
which changes the state of the current connection. This is known
to be problematic with Pgbouncer which reuses connections. As such,
we'll always try to connect directly to PG directly during
the backup/restore process.
2018-03-09 10:28:03 +08:00
Sam
9a4a7422f5
FIX: not loading more messages when username has a .
2018-03-09 11:01:46 +11:00
Sam
5ff857d770
remove theme yaml from UI, it only causes troubles
2018-03-09 11:01:46 +11:00
Robin Ward
6385c7fcb3
UX: Don't let topic progress widget dangle when preview is disabled
2018-03-08 16:34:19 -05:00
Arpit Jalan
4ad3a258d1
FIX: tag filter was not selected on page load
2018-03-08 20:09:31 +05:30
Arpit Jalan
4b23634092
FIX: converting topic to message for a second time was broken
2018-03-08 17:59:04 +05:30
Arpit Jalan
0c2be8b775
Merge pull request #5655 from techAPJ/pm-tags-dropdown
...
FEATURE: filter personal messages by tags
2018-03-08 16:30:38 +05:30
Arpit Jalan
a8149f8969
FIX: user should not be able to invite to PM if trust level requirment not met
...
FIX: when personal messages are disabled let user invite to a public topic
2018-03-08 14:59:04 +05:30
Arpit Jalan
c29660c8f1
FEATURE: filter personal messages by tags
2018-03-08 14:42:07 +05:30
Sam
86c00ac6ad
stop using deprecated size()
2018-03-08 15:26:29 +11:00
Simon Cossar
88fdc926d1
Move external_id from UserSerializer to CurrentUserSerializer ( #5658 )
2018-03-07 22:54:31 -05:00
Sam
7a831857fc
remove deprecated method
2018-03-08 14:53:09 +11:00
Neil Lalonde
873feb7b7c
Merge pull request #5654 from tshenry/user-profile-avatar-flair-plugin-outlet
...
FEATURE: Add user-profile-avatar-flair plugin outlet
2018-03-07 17:04:20 -05:00
Régis Hanol
b5b5b68972
Add proper error message when SCSS variable name is invalid when uploading a theme file
2018-03-07 21:37:22 +01:00
Neil Lalonde
1093dacc03
FIX: bulk importers need to create category description topics
2018-03-07 12:10:22 -05:00
Joffrey JAFFEUX
90a1b48503
FIX: correctly allow tag creation if this.site.get("can_create_tag")
2018-03-07 16:06:56 +01:00
Taylor Henry
8c0369e86f
FEATURE: Add user-profile-avatar-flair plugin outlet
...
Adds a plugin outlet in the user profile for avatar flair.
2018-03-07 02:38:08 -08:00
Guo Xiang Tan
e7cc2e6d33
FIX: loadBefore should include current params as well.
2018-03-07 16:57:06 +08:00
Guo Xiang Tan
c6cb7f6693
UX: Add title to user messages page.
2018-03-07 15:24:11 +08:00
Guo Xiang Tan
3045c589f6
FIX: Publish live messages to both team inbox and archive on update.
2018-03-07 14:01:20 +08:00
Guo Xiang Tan
5169be6080
FIX: User archiving message should also publish to sent section.
2018-03-07 11:39:23 +08:00
Guo Xiang Tan
bef35f7be5
FIX: User archive messages should only publish to the user.
2018-03-07 11:28:29 +08:00
Guo Xiang Tan
82619c2445
FIX: Missing messages incoming indicator for mobile.
2018-03-07 10:27:18 +08:00
Neil Lalonde
2e5c18d130
Merge pull request #5652 from majakomel/add-slovenian-locale
...
Add Slovenian locale files
2018-03-06 15:59:01 -05:00
Joffrey JAFFEUX
187fdb9799
FIX: do not show read-only cursor on mini-tag-chooser ( #5653 )
2018-03-06 21:21:24 +01:00
Maja Komel
e2a441ade9
Add Slovenian translations
2018-03-06 20:51:41 +01:00
Robin Ward
81780d8607
Merge remote-tracking branch 'origin/analyze-code-fix'
2018-03-06 13:16:37 -05:00
Gerhard Schlager
07649cd42d
FIX: email_domains_whitelist prevented creation of anonymous users
2018-03-06 18:14:53 +01:00
Robin Ward
c74d10cf34
FIX: Consider live links in <code> as links when counting
2018-03-06 11:46:12 -05:00
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
13764b31ec
Remove unnecessary attribute in topic tracking payload.
2018-03-06 17:37:53 +08:00
Guo Xiang Tan
d576056cff
REFACTOR: Add basic tests for TopicTrackingState#publish_*.
...
* Ensure we don't publish events for PMs.
2018-03-06 17:37:53 +08:00
Guo Xiang Tan
821f3d0c15
REFACTOR: Remove code duplication.
2018-03-06 17:37:53 +08:00
Sam
0134e41286
FEATURE: detect when client thinks user is logged on but is not
...
This cleans up an error condition where UI thinks a user is logged on
but the user is not. If this happens user will be prompted to refresh.
2018-03-06 16:49:31 +11:00
Sam
f0d5f83424
FEATURE: limit assets less that non asset paths
...
By default assets can be requested up to 200 times per 10 seconds
from the app, this includes CSS and avatars
2018-03-06 15:20:39 +11:00
Gerhard Schlager
8e48b339fa
Drop unused tables ( #5630 )
2018-03-05 17:27:30 -05:00
OsamaSayegh
adc46ac56c
UX: Improvements for theme UI ( #5650 )
...
* Don't display "Settings: YAML" in Custom CSS/HTML section
* Don't show the settings tab for remote/imported themes
2018-03-05 17:26:50 -05:00
Robin Ward
0f66a99eb2
Setting to prevent logging details when anonymizing
2018-03-05 14:38:18 -05:00
Arpit Jalan
003b03d939
allow staff to delete user if posts are 5 or less irrespective of delete_user_max_post_age
2018-03-05 23:31:29 +05:30
Kris
62d1ba4fdb
Menu fix for iOS
2018-03-05 11:32:43 -05:00
Joffrey JAFFEUX
057fa049e6
FIX: display keyboard on mobile when focusing mini-tag-chooser
2018-03-05 10:55:20 +01:00
Guo Xiang Tan
2f65393706
REFACTOR: Use Topic#private_message? to reduce duplication.
2018-03-05 15:39:22 +08:00
Guo Xiang Tan
07f1d90b88
FIX: Inviting a group that I am part of creates a notification.
...
https://meta.discourse.org/t/inviting-a-group-to-a-message-does-not-trigger-a-notification-mail/50509/10?u=tgxworld
2018-03-05 13:51:32 +08:00
Guo Xiang Tan
42e0aaed61
FIX: Set first visit PM notification level to group default notification level.
...
https://meta.discourse.org/t/notifications-not-received-for-private-messages-im-invited-to/71577/21?u=tgxworld
2018-03-05 13:39:00 +08:00
Sam
9331b4849d
FEATURE: we need access to settings in theme js
2018-03-05 15:35:41 +11:00
Sam
95555b5ec8
If there are no settings do now show section
2018-03-05 11:11:21 +11:00
Sam
2c25b9ae12
annotate
2018-03-05 11:06:45 +11:00
OsamaSayegh
282f53f0cd
FEATURE: Theme settings (2) ( #5611 )
...
Allows theme authors to specify custom theme settings for the theme.
Centralizes the theme/site settings into a single construct
2018-03-04 19:04:23 -05:00
Arpit Jalan
322618fc34
FIX: capital bbcode tags were broken
2018-03-04 22:10:54 +05:30
Joffrey JAFFEUX
a15b2fdeca
FIX: make it possible to edit tags on topics on mobile
2018-03-04 13:47:25 +01:00
Robin Ward
13eda41ff5
Fix lint errors
2018-03-03 14:34:19 -05:00
Robin Ward
31e3bf6d8d
FEATURE: New "Categories and Top" homepage style
...
Select this option if you want to show top topics on the homepage
instead of latest topics.
2018-03-03 14:26:57 -05:00
Joffrey JAFFEUX
5e323139ae
FIX: makes sure we recompute shouldDisplayCreateRow after request
2018-03-03 11:42:44 +01:00
Kris
6d359ca823
Z-index fix for hidden posts
2018-03-02 22:41:10 -05:00
Robin Ward
b11dd21356
FIX: Translate the hover text or emoji categories
2018-03-02 18:28:06 -05:00
Kris
c684843c53
Improving title selection on badge pages
2018-03-02 16:15:58 -05:00
Neil Lalonde
dda248f5df
FIX: tag input in composer was not respecting tag group rules
2018-03-02 15:56:24 -05:00
Kris
efb0bf6b16
Categories in hamburger menu were misaligned in Firefox
2018-03-02 15:04:55 -05:00
Kris
5e11bc79ff
Fixing some regressions for profile badges
2018-03-02 14:43:54 -05:00
Kris
70acfa47d7
FIX: In some instances expanding hamburger menu broke layout in iOS
2018-03-02 14:13:43 -05:00
Kris
0783f8b9e6
Fixing badge detail positioning
2018-03-02 13:21:36 -05:00
Robin Ward
730201d423
New interface to upsert custom fields
2018-03-02 12:45:52 -05:00
Kris
0ec1dc9237
UX: Improving badge page layout
2018-03-02 12:43:01 -05:00
Neil Lalonde
5833d00739
SECURITY: sanitize topic title when staff is viewing a user's past flagged posts and deleted topics
2018-03-02 11:58:11 -05:00
Arpit Jalan
334ed74346
Merge pull request #5635 from techAPJ/invite-muted
...
FIX: do not allow invite notifications from muted user/topic
2018-03-02 18:10:17 +04:00
Guo Xiang Tan
6b59a2827d
Add more information to SSO user creation logging.
2018-03-02 18:27:15 +08:00
Joffrey JAFFEUX
6d4ff05cf0
FIX: makes sure [999500..999999] is correctly shown as 999k
2018-03-02 11:00:48 +01:00
Guo Xiang Tan
642c60c310
Rename variable so that it is clearer which variable is being referred.
2018-03-02 16:41:02 +08:00
Arpit Jalan
2e202495a3
FIX: do not allow invite notifications from muted user/topic
2018-03-02 12:24:51 +05:30
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
50eb582fb2
Remove cas oauth login method that is no longer used.
2018-03-02 14:22:52 +08:00
Sam
d39d2b9352
FEATURE: whitelist data for themes
2018-03-02 14:52:09 +11:00
Guo Xiang Tan
939180efa8
FIX: Missing 2FA guards when sso is enabled or when local login is disabled.
2018-03-02 10:39:10 +08:00
Sam
e19ae6c55e
FEATURE: disallow groups from being indexed
2018-03-02 13:38:30 +11:00
Sam
185507d072
UX: remove fast scroll which is leading to bugs
2018-03-02 12:58:38 +11:00
Sam
75172024ca
SECURITY: ensure users have permission when moving categories
2018-03-02 12:13:27 +11:00
Régis Hanol
25d80aabce
remove 'puts'
2018-03-02 01:50:24 +01:00
Gerhard Schlager
80e85e0d8f
FIX: Sidekiq job has wrong data when post owner changes within transaction
2018-03-01 18:00:18 +01:00
Gerhard Schlager
79590e4bec
FIX: Merging users shouldn't add more than 1 secondary email
2018-03-01 17:50:13 +01:00
Gerhard Schlager
a7c50039de
FIX: Allow changing post owner even when topic validations fail
2018-03-01 17:31:58 +01:00
Gerhard Schlager
7a2183e8ab
FEATURE: rake task for merging users
2018-03-01 12:28:12 +01:00
Gerhard Schlager
fffd1a6602
FIX: Associated Instagram account was missing at some places
2018-03-01 12:26:40 +01:00
Joffrey JAFFEUX
7ae1c5a663
FIX: emoji search was not finding aliases
2018-03-01 12:11:52 +01:00
Joffrey JAFFEUX
c9cb6920dc
FIX: category drop header padding when using category box style
2018-03-01 11:59:13 +01:00
Joffrey JAFFEUX
460c905dc6
FIX: improves positioning of select-kit body
2018-03-01 11:53:14 +01: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
Guo Xiang Tan
947b6fdf46
FIX: Incorrect rate limit applied to topics invitation flow.
2018-03-01 12:50:00 +08:00
Guo Xiang Tan
5a462b930d
REFACTOR: Prefer exists? over present.
2018-03-01 10:22:41 +08:00
Kris
4b17b39e73
Remove unnedded padding
2018-02-28 15:07:08 -05:00
Kris
f375731278
About page layout improvements
2018-02-28 15:03:12 -05:00
Robin Ward
b283bb2ba7
FIX: Don't include unlisted topic in groups/posts
2018-02-28 14:40:18 -05:00
Kris
6c50ef9b5d
font-sizes on body-pages were too large due to nesting
2018-02-28 13:23:43 -05:00
Guo Xiang Tan
e7a7356986
Remove ancient votes code that is no longer used.
2018-02-28 14:37:22 +08:00
Neil Lalonde
764b6c005c
FIX: don't show Other Tags on /tags if there aren't any to show
2018-02-27 22:30:46 -05:00
Guo Xiang Tan
902c5d11cf
FIX: Don't allow other flag actions after notify_moderator has happened.
...
https://meta.discourse.org/t/receiving-sorry-an-error-has-occurred-during-flagging-step-of-discobot-tutorial/77233/5
2018-02-28 11:27:56 +08:00
scossar
51544047dc
Add external_id to User Serializer
2018-02-28 10:13:27 +08:00
Kris
b832c3d885
Glyph wasn't wrapping properly with long categories
2018-02-27 17:10:02 -05:00
Kris
be63b08c36
Truncate long category names in subcategory boxes
2018-02-27 16:48:20 -05:00
Joffrey JAFFEUX
8ca1b1ab0b
FIX: load tag_groups and not tags
2018-02-27 21:10:57 +01:00
Kris
e32691a3e9
Simplifying category overflow on category pages
2018-02-27 13:11:22 -05:00
Joffrey JAFFEUX
9b680fc45c
FIX: prevents create row to be displayed if term is in displayed list
2018-02-27 18:31:58 +01:00
Joffrey JAFFEUX
ba2f01c0bd
FIX: prevents selected value from hiding one item of the list
2018-02-27 18:31:51 +01:00
Kris
96b4617094
Fixing category title with logo image layout
2018-02-27 10:47:05 -05:00
Gerhard Schlager
c22e56499a
FIX: Allow changing post owner even when validations fail
2018-02-27 15:46:20 +01: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
Joffrey JAFFEUX
410b90dde0
FIX: mini-tag-chooser was not returning a correct list of tags
...
Should also fix an issue where it validates the creation of an existing tag.
2018-02-27 08:47:44 +01:00
Guo Xiang Tan
486bbe9cc2
FIX: Auto re-opened topics should restore category auto close settings.
...
https://meta.discourse.org/t/topic-closed-temporarily-due-to-community-flags-overwrites-category-auto-close-timer/77421
2018-02-27 15:33:31 +08:00
Joffrey JAFFEUX
83e8ab5274
FIX: header icon out of bounds in tag-drop on some browsers
2018-02-27 08:33:06 +01:00
Guo Xiang Tan
519026a31f
Trim attributes that are not useful from WebHookTopicViewSerializer.
2018-02-27 11:28:31 +08:00
Guo Xiang Tan
66d620f7b1
FEATURE: Trigger topic webhook when topic status is updated.
2018-02-27 11:07:37 +08:00
Guo Xiang Tan
104df3126b
UX: Incorrect width for webhook events. Take 2.
2018-02-27 10:34:46 +08:00
Guo Xiang Tan
8d16ca2af2
UX: Incorrect width for webhook events.
2018-02-27 10:32:11 +08:00
Guo Xiang Tan
24f3b78548
Fix incorrect ids for 2FA inputs.
2018-02-27 10:12:22 +08:00
Guo Xiang Tan
70f14da732
UX: Use 'tel' input type for 2FA token inputs.
2018-02-27 09:30:44 +08:00
Robin Ward
8296f493ed
add class to easier targetting
2018-02-26 19:03:21 -05:00
Robin Ward
c7a37f391a
New event when a flag is handled
2018-02-26 18:51:51 -05:00
Kris
382dbfbb8a
Fix for categories with icons not wrapping properly
2018-02-26 17:00:03 -05:00
Neil Lalonde
8f27456acb
UX: Move 'show words' checkbox close to the words in the Watched Words UI
2018-02-26 16:35:52 -05:00
Kris
436d2b57c9
Fixing categories not wrapping properly
2018-02-26 16:33:24 -05:00
Neil Lalonde
3313072957
Remove censored_pattern site setting, which is replaced by watched words
2018-02-26 16:29:27 -05:00
Gerhard Schlager
5ca5817902
FIX: Only likes should change the given daily likes
2018-02-26 22:27:18 +01:00
Kris
e2a524550c
Prevent long category names from breaking topic/category list layouts
2018-02-26 14:21:28 -05:00
Robin Ward
f8856f3d7a
FIX: Anonymous users shouldn't see the link to new in the footer
2018-02-26 13:46:50 -05: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
a9699da672
UX: Specify pattern and maxlength for 2FA input fields.
2018-02-26 18:29:46 +08:00
Guo Xiang Tan
c1f53e1ece
UX: Invited users should watch PM topic once topic has been visited.
...
https://meta.discourse.org/t/notifications-not-received-for-private-messages-im-invited-to/71577/11
2018-02-26 17:58:58 +08:00
Guo Xiang Tan
982e5bae3a
Update annotations.
2018-02-26 15:32:04 +08:00
Guo Xiang Tan
6a88f7db61
Notification created for wrong user after invite.
...
Introduced in c64f09b6b7
2018-02-26 13:21:19 +08:00
Guo Xiang Tan
31242335a6
Revert "Fix the build."
...
This reverts commit 07f928e05e .
2018-02-26 13:08:10 +08:00
Guo Xiang Tan
07f928e05e
Fix the build.
2018-02-26 12:42:55 +08:00
Guo Xiang Tan
c64f09b6b7
REFACTOR: Simplify and DRY Group#invite.
2018-02-26 11:59:07 +08:00
Guo Xiang Tan
3e1afbedc5
FIX: Missing translation for non-admin when editing a group.
...
https://meta.discourse.org/t/text-glitch-on-group-admin-page/77303
2018-02-26 10:11:18 +08:00
Guo Xiang Tan
616d210911
Merge pull request #5614 from nbianca/fix_period
...
Try extracting time period only when the filter is 'top'.
2018-02-26 09:38:33 +08:00
Régis Hanol
0559a4736a
FIX: don't double request when downloading a file
2018-02-24 12:35:57 +01:00
Kris
b731d5d9b5
Removing unneeded and duplicate styles
2018-02-23 21:43:05 -05:00
Kris
bd892199e7
Increasing topic-admin menu width to prevent wrapping on mobile
2018-02-23 13:51:06 -05:00
Kris
de30f3515b
Updating modal headers to flexbox for better alignment
2018-02-23 13:14:32 -05:00
Kris
d001183828
Prevent timestamp modal calendar from overflowing container
2018-02-23 11:44:49 -05:00
Vinoth Kannan
43f0884660
PERF: Remove N+1 queries on topic list page.
2018-02-23 20:05:51 +05:30
Arpit Jalan
709f201bd4
FIX: update group user count when bulk adding users
2018-02-23 14:29:56 +05:30
Guo Xiang Tan
4791b39773
UX: Add reset password email button when confirming password before enabling 2FA.
2018-02-23 15:37:17 +08:00
Sam
a94dc0c731
Revert "FIX: preview theme not working consistently"
...
This reverts commit 845cec3ba0 .
was not a needed change, but was elsewhere
2018-02-23 17:59:00 +11:00
Sam
6f076963f2
FIX: incorrect caching of theme keys
2018-02-23 17:58:13 +11:00
Guo Xiang Tan
4250ab522a
UX: Don't show admin 2FA edit icon on profile of other users.
2018-02-23 13:51:02 +08:00
Sam
845cec3ba0
FIX: preview theme not working consistently
...
Avoid flash, this makes debugging much simpler as well.
Additionally URL now clearly shows you are previewing a theme.
2018-02-23 15:25:35 +11:00
Guo Xiang Tan
1f74509a75
FIX: 2FA prompt incorrectly displayed on admin login page.
2018-02-23 11:05:39 +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
2e2da3a6e2
Update copy for 2FA.
2018-02-23 10:36:48 +08:00
Robin Ward
ee9be65b2c
FIX: Show names when available
2018-02-22 20:06:53 -05:00
Guo Xiang Tan
9f5bc7a5ee
Merge pull request #5605 from nbianca/favorites
...
Added the required hooks for discourse-favorites plugin.
2018-02-23 07:12:09 +08:00
Guo Xiang Tan
18c1d1565c
UX: Fix missing css styles on invite modal.
2018-02-23 07:08:19 +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
Bianca Nenciu
184d521fc9
Added the required hooks for discourse-favorites plugin.
2018-02-22 23:58:53 +02:00
Bianca Nenciu
0e3e5f25a6
Try extracting time period only when the filter is 'top'.
2018-02-22 23:56:37 +02:00
Régis Hanol
0210a7f2bf
FIX: social login buttons were not working
2018-02-22 18:06:28 +01:00
Vinoth Kannan
7cbda949f1
REFACTOR: New spec tests and code improvement
2018-02-22 20:27:02 +05:30
Guo Xiang Tan
862e83287e
Merge pull request #5575 from featheredtoast/tab-index-composer-actions
...
tab index composer actions
2018-02-22 15:16:41 +08:00
Maja Komel
76a2fc3d07
UX: Add og metadata for groups.
...
https://meta.discourse.org/t/onebox-for-groups/79155
2018-02-22 15:03:41 +08:00
Guo Xiang Tan
7bcc0c1da9
FIX: Login buttons not working on sign up modal.
2018-02-22 14:01:07 +08:00
Guo Xiang Tan
ae2d7ba857
Partially revert d170c8fccc to bring back 3df0626aa5.
2018-02-22 13:42:04 +08:00
Arpit Jalan
d170c8fccc
Revert 'Accessibility: focus management in topics'
...
reverts:
- 3df0626aa5
- 3212cdda78
- 59b7760e2e
- bfc1301823
2018-02-22 10:32:37 +05:30
Kane York
bfc1301823
UX: Remove default focus styling from posts & topic list items
...
The styling is superseded by the .selected management
2018-02-22 12:21:23 +08:00
Kane York
59b7760e2e
UX: Make the .selected class follow focus
2018-02-22 12:20:47 +08:00
Kane York
3212cdda78
UX: Use focus as the first selector for J/K navigation
2018-02-22 11:55:36 +08:00
Kane York
3df0626aa5
UX: Apply hover styling to post actions on focus
2018-02-22 11:55:36 +08:00
Guo Xiang Tan
bbb30bedf3
Improve output of SSO verbose logging.
2018-02-22 11:26:13 +08:00
Sam
f4418ae884
PERF: fast docking of timeline so it does not overlap
...
In the past we debounced all dock check this causes situations where
sometimes timeline would not dock in time especially on slow computers
This works around it by performing the dock by hand.
Also there was missing integer casting causing over aggressive re-rendering
2018-02-22 12:52:43 +11:00
Guo Xiang Tan
964624f3ab
FIX: No error displayed when 2FA token is invalid on admin login page.
2018-02-22 09:45:57 +08:00
Guo Xiang Tan
412b298f55
UX: Smaller input field for preferences 2FA form.
2018-02-22 09:07:43 +08:00
Guo Xiang Tan
1b04d881c5
UX: Display lock icon in admin user lists when user has 2FA enabled.
2018-02-22 09:00:09 +08:00
Guo Xiang Tan
edf326a9a5
Fix incorrect translation.
2018-02-22 08:06:37 +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
Sam
720e1965e3
FEATURE: add category suppress from latest
...
In the past we used suppress_from_homepage, it had mixed semantics
it would remove from category list if category list was on home and
unconditionally remove from latest.
New setting explicitly only removes from latest list but leaves the
category list alond
2018-02-22 09:56:35 +11:00
Jeff Wong
d2b518c61c
QR code display fix on dark backgrounds ( #5613 )
...
https://meta.discourse.org/t/2fa-qr-code-not-visible-on-dark-theme/81152?u=awole20
2018-02-21 23:23:47 +01:00
Robin Ward
83d8fa2892
FIX: Allow customized usernames to work in this route
...
Co-authored-by: jjaffeux <j.jaffeux@gmail.com>
2018-02-21 13:37:14 -05:00
Vinoth Kannan
2b509eaa91
Merge branch 'master' into pm-tags
2018-02-21 23:55:59 +05:30
Neil Lalonde
81e873138f
FIX: error when deleting a tag associated with a deleted topic
2018-02-21 12:35:53 -05:00
Régis Hanol
4e7244d8d9
FIX: never open internal links in a new tab when user prefers opening external links in a new tab
2018-02-21 17:51:53 +01:00
Vinoth Kannan
d4b2e840cb
remove unwanted code
2018-02-21 20:19:19 +05:30
Vinoth Kannan
84ce1acfef
FEATURE: Allow staffs to tag PMs
2018-02-21 20:11:46 +05:30
Vinoth Kannan
1446753fd2
FIX: Include deleted topics in the post serializer
2018-02-21 14:31:52 +05:30
Guo Xiang Tan
b16471edfb
FIX: Invalid token error incorrectly displayed on email login page.
2018-02-21 15:46:53 +08:00
Guo Xiang Tan
8964e75ad6
Merge pull request #5612 from discourse/featheredtoast-two-factor-login
...
Featheredtoast two factor login
2018-02-21 15:00:10 +08:00
Guo Xiang Tan
14f3594f9f
Review Changes for f4f8a293e7.
2018-02-21 14:55:49 +08:00
Robin Ward
5c40ae9e63
FIX: Links in quotes should be counted for rate limits
2018-02-20 20:42:01 -05: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
Kris
ce97bdb472
Flag badge too wide in header panels
2018-02-20 17:31:02 -05:00
Kris
677e126fbf
UX: Implementing a box-shadow system, cleaning up existing shadows
2018-02-20 12:18:20 -05:00
Guo Xiang Tan
226ace1643
Update annotations.
2018-02-20 14:28:58 +08:00
Sam
86d12bd44b
FEATURE: search within title using in:title
...
Also
- Significantly improved search ranking, title is treated most strongly
- Adds tag names to the index
- Run search re-indexer more aggressively
- Re-index topic and all posts on category change
2018-02-20 14:41:21 +11:00
Régis Hanol
60ec483caa
FIX: include title in local onebox when linking to a different topic
2018-02-19 22:40:14 +01:00
Arpit Jalan
614b1c8e68
FIX: admin was not able to unblock screened IP address
2018-02-20 00:36:13 +05:30
Arpit Jalan
c419c26f56
FEATURE: new site setting 'max_emojis_in_title'
2018-02-19 18:15:26 +05:30
OsamaSayegh
f3815cd785
FEATURE: New site setting for additional allowed filetypes for staff ( #5364 )
...
* FEATURE: New site setting for additional allowed filetypes for staff
* Problematic variable name
* feedback
* small issues
* fix indentation
* failing tests
* Remove message bus and fix minor issues
* Missed this message bus
2018-02-19 10:44:24 +01:00
Zach Whitehead
afa2b36842
Add class to category link for easy styling ( #5606 )
2018-02-19 10:22:27 +01:00
Leo McArdle
5d9d0fcb4f
FEATURE: add setting which adds group name to PM email subject ( #5475 )
2018-02-19 10:20:17 +01:00
Joffrey JAFFEUX
b3b6373f77
FIX: do not show mail-forward icon if not needed
2018-02-19 09:52:35 +01:00
Arpit Jalan
33df2d6a02
FIX: data export should fill missing dates with zero value
2018-02-18 23:52:09 +05:30
Robin Ward
02093ecbdd
Extensibility: Allow plugins to munge user params
2018-02-16 19:12:02 -05:00
Kris
a2327b4897
login button alignment fix
2018-02-16 17:13:10 -05:00
Kris
35a49a240a
UX: Improving header scalability for large font themes
2018-02-16 15:58:10 -05:00
Kris
67526907cd
Tags should wrap on mobile topic-list
2018-02-15 15:15:42 -05:00
Kris
5de78a719b
Fixing emoji admin page column
2018-02-15 15:07:26 -05:00
Robin Ward
32e8cef0ad
Merge pull request #5596 from discourse/mobile-landscape-timeline
...
UX: Make mobile timeline extra short in landscape
2018-02-15 11:34:03 -08:00
Robin Ward
3faeb4f093
Calculate the heights when we need them
2018-02-15 14:33:20 -05:00
Neil Lalonde
991dfadad7
FIX: CategoryTagStat queries need to exclude PMs with tags
2018-02-15 12:13:42 -05:00
Neil Lalonde
fdd8ce9722
empty category_tag_stats table before running init job
2018-02-15 11:28:25 -05:00
Joffrey JAFFEUX
2cf40096d1
FIX: makes mini-tag-chooser search more efficient
2018-02-15 15:01:19 +01:00
Arpit Jalan
585fc26f8e
FIX: allow discourse app to link directly to upgrade page
2018-02-15 18:20:25 +05:30
Joffrey JAFFEUX
e1883ba828
minor select-kit css improvements
2018-02-15 12:56:20 +01:00
Arpit Jalan
b43ac801d1
FIX: show create new topic link in advanced search mode
2018-02-15 17:23:34 +05:30
hnb-ku
afdc559f4f
FEATURE: Whitelist div[data-theme-*] ( #5598 )
...
* Whitelist div[data-theme-*]
Whitelisting data attributes on <div> elements that match [data-theme-*] allows theme authors to target elements in posts and not have those attributes sanitized.
https://meta.discourse.org/t/79520/16
* Update white-lister.js.es6
2018-02-15 04:32:41 -05:00
Guo Xiang Tan
7902296c11
Oops we should register a service worker as long as it is supported.
2018-02-15 15:02:14 +08:00
Kris
5ab44833ab
UX: Make mobile timeline extra short in landscape
2018-02-14 23:27:06 -05:00
Guo Xiang Tan
9c7d609575
UX: Restore width of composer user selector.
...
* This fixes the build as well as a short width
resulted in the user selector collapsing into
the compressed display.
2018-02-15 11:49:10 +08:00
Guo Xiang Tan
28365f8ae5
PERF: Have nginx cache and serve the service worker file.
2018-02-15 10:50:39 +08:00
Sam
d8b4627fc8
we have to define this for tests to pass
2018-02-15 13:30:34 +11:00
Sam
b5b866aab3
oops
2018-02-15 13:13:31 +11:00
Sam
c89b42c488
PERF: only require the rss library if used
...
Before:
Total allocated: 257909321 bytes (2514134 objects)
Total retained: 39681579 bytes (343387 objects)
allocated memory by gem
-----------------------------------
42875979 rss
retained memory by gem
-----------------------------------
2080188 rss
retained objects by gem
-----------------------------------
13052 rss
After:
Total allocated: 210562047 bytes (2252030 objects)
Total retained: 37433816 bytes (328635 objects)
----
So, 2 less megabytes on boot and 13000 objects stuck in ruby heaps forever.
2018-02-15 13:11:33 +11:00
Robin Ward
a03e7cee63
FIX: Group posts had the wrong paths in subfolders
2018-02-14 20:33:31 -05:00
Guo Xiang Tan
96e5a7da46
Prefer success_Json over custom success JSON payload.
2018-02-15 07:47:35 +08:00
Rafael dos Santos Silva
218c8e8623
Merge pull request #5595 from discourse/new-gfycat-onebox
...
New gfycat onebox
2018-02-14 19:03:28 -02:00
Robin Ward
a3e5a31674
FIX: Allow 404 pages to use the current theme
2018-02-14 15:29:01 -05:00
Kris
dffdff91a6
Fix avatar flair alignment on mobile user profiles
2018-02-14 13:39:30 -05:00
Kris
e85458e1b9
Removing old bootstrap columns
2018-02-14 12:27:34 -05:00
Joffrey JAFFEUX
3ad0266dd8
FIX: better handling of category badge when displaying sub and parent cat
2018-02-14 16:42:20 +01:00
Arpit Jalan
f07b1a5c05
FIX: activate user even if email token is already confirmed
2018-02-14 20:44:48 +05:30
Joffrey JAFFEUX
8ae2c4555a
FIX: do not translate the same string two times when rendering icon label
2018-02-14 12:41:24 +01:00
Joffrey JAFFEUX
23ef5f10e9
FIX: check can_create_tag on create and not on select
2018-02-14 12:20:07 +01:00
Joffrey JAFFEUX
e3774c7bed
FEATURE: displays category badge in {{category-chooser}} header
2018-02-14 11:49:23 +01:00
Joffrey JAFFEUX
e7761db60f
FIX: improves contrast on period-chooser when using dark-theme
2018-02-14 11:16:57 +01:00
Joffrey JAFFEUX
5d00a97ae9
FIX: regression preventing uncategorized badge to be shown
2018-02-14 11:03:33 +01:00
Joffrey JAFFEUX
b0eed424f7
FIX: continue discussion when creating new topic from composer-actions
2018-02-14 10:32:46 +01:00
Joffrey JAFFEUX
480c94d298
minor visual improvements to mini-tag-chooser
2018-02-14 10:26:43 +01:00
Sam
38f4acd55a
FIX: rate limiter text is confusing, should not say daily
...
Also, adds easily parseable JSON so users can figure out
how long to wait when the API is limited. ("extras" "wait_seconds")
2018-02-14 15:29:50 +11:00
Sam
f028ffaf29
SECURITY: correct local onebox category checks
...
Also removes ugly "source_topic_id" from cooked posts
Patch was authored by @zogstrip
Signed-off-by: Sam <sam.saffron@gmail.com>
2018-02-14 10:40:46 +11:00
Joffrey JAFFEUX
548db91c76
FIX: displays an error when reaching tags limit
2018-02-14 00:30:09 +01:00
Gerhard Schlager
5a56746610
FIX: Embedded topic was not found when URL contained query string
2018-02-14 00:28:30 +01:00
Neil Lalonde
22f0b0096d
FEATURE: show avatar flair on user profile page
2018-02-13 17:13:38 -05:00
Robin Ward
556ab8480e
FIX: ESlint
2018-02-13 16:06:40 -05:00
Robin Ward
713993d150
UX: Link post ids in staff action logs to the post
2018-02-13 15:59:10 -05:00
Robin Ward
7348513848
FIX: Include post in staff action logs when silencing a user
2018-02-13 15:59:10 -05:00
Joffrey JAFFEUX
ed114177e7
Mini tag chooser tweaks
2018-02-13 19:41:03 +01:00
Joffrey JAFFEUX
d525a644d2
fix linting
2018-02-13 18:12:30 +01:00
Joffrey JAFFEUX
20123271d2
FIX: override backspaceFromFilter only if defined
2018-02-13 17:48:00 +01:00
Neil Lalonde
20e44b3c14
Revert "FIX: 404 page when clicking a badge notification from before changing username"
2018-02-13 11:39:33 -05:00
Régis Hanol
7d501058d7
FIX: don't grant new user of the month badge to suspended users or based on deleted topics/posts
2018-02-13 17:32:38 +01:00
Joffrey JAFFEUX
6bfc25d895
FEATURE: new {{mini-tag-chooser}} replaces {{tag-chooser}} in composer
2018-02-13 17:23:12 +01:00
Vinoth Kannan
0a95d2a21f
FIX: Upload fails silently if it is bigger than max allowed size
2018-02-13 14:39:25 +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
Guo Xiang Tan
f9280617d0
Remove redundant comment.
2018-02-13 15:58:13 +08:00
Maja Komel
1c27d93dcf
anonymous shadow users are approved on creation if must_approve_users is enabled ( #5569 )
2018-02-13 01:58:38 -05:00
Muhlis Cahyono
cc3cf6588b
FEATURE: Notification API Endpoints for Admins
...
* create/update/delete notification api with external url
* remove external url feature
* Fix Travis CI build error (add new line)
* Fix Travis CI build error
2018-02-13 01:38:26 -05:00
Sam
14d0450bef
FEATURE: Only load service worker for Android
...
TBD an interface for plugin to enable service workers on desktop if they need them
2018-02-13 16:23:36 +11:00
Sam
074d590abd
FIX: stop counting offline page as a page view
2018-02-13 16:19:43 +11: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
Kris
5f8f691e2b
FIX: Border issue with group inputs on high resolution displays
2018-02-12 21:09:40 -05:00
Robin Ward
ae15faeb34
FIX: Allow links from one relative uri to another
2018-02-12 18:27:08 -05:00
Robin Ward
4c9959f795
FIX: Don't allow silenced users to reach TL3
2018-02-12 17:20:11 -05:00
Neil Lalonde
1bafbc8c5c
Merge pull request #5576 from discourse/top-tags
...
PERF: a faster way to count tags used per category
2018-02-12 16:25:18 -05:00
Kris
32116654ec
removing duplicate topic-map desktop/mobile styles
2018-02-12 15:20:14 -05:00
Neil Lalonde
76c309fe6b
PERF: a faster way to count tags used per category
2018-02-12 15:16:47 -05:00
Vinoth Kannan
e700e3e882
FIX: post_destroyed webhook event not fired
2018-02-13 01:36:56 +05:30
Robin Ward
d962d6072e
FIX: Don't auto select ALL topics, only keyboard chosen ones
2018-02-12 13:54:37 -05:00
Robin Ward
7b7f94d7df
FIX: Using cmd-f to search in a topic wasn't restricting to that topic
2018-02-12 13:09:56 -05:00
Kris
44f39ddc86
prevent post-link clicks from being squished by long strings
2018-02-12 11:52:42 -05:00
Rafael dos Santos Silva
4644757785
FEATURE: Style new gfycat onebox
2018-02-12 13:39:52 -02:00
Joffrey JAFFEUX
3d5c4580bd
FIX: makes sure we add ellipsis to action-title
2018-02-12 16:27:24 +01:00
Kris
d30c43e8cc
usercard overflow fix
2018-02-10 21:27:25 -05:00
Kris
3d22ba35bc
usercard website fix
2018-02-09 21:45:38 -05:00
Robin Ward
cee3337357
Don't allow users to auto-hide staff posts
2018-02-09 19:53:58 -05:00
Robin Ward
b31e6e64fb
FIX: After deleting a post, staff can recover it
2018-02-09 19:42:16 -05:00
Robin Ward
569e57f0a9
FIX: Delete the invalid auth cookie even if you hit the rate limit
2018-02-09 19:09:54 -05:00
Robin Ward
2faa4c2f5f
FIX: Don't show personal messages if disabled as a composer action
2018-02-09 16:58:35 -05:00
Kris
56352137ca
UX: Preventing usercard and profile URLs from overflowing
2018-02-09 16:55:43 -05:00
Kris
88a992014b
Default modals were too wide
2018-02-09 15:45:34 -05:00
Kris
597f17bf70
button padding nitpick
2018-02-09 15:41:59 -05:00
Vinoth Kannan
91beedd0ca
FEATURE: Composer HTML pasting ul tag support for MS Word
2018-02-10 01:18:56 +05:30
Kris
1e51be923c
UX: Improving post-link alignment
2018-02-09 12:43:15 -05:00
Kris
6f094ee27e
extra-info-wrapper titles were too short
2018-02-08 20:43:34 -05:00
Robin Ward
5466389f4e
FIX: Consider oneboxes links wrt to min_trust_level_to_post_links
2018-02-08 18:27:40 -05:00
Kris
69bccb9e32
UX: Better alignment of small topic statuses
2018-02-08 17:04:29 -05:00
Jeff Wong
8e49033ed1
tab index composer actions
...
add styling for :focus
2018-02-08 12:16:13 -08:00
Kris
e17e6d2880
Removing unneeded width
2018-02-08 14:10:04 -05:00
Robin Ward
dedeb2deb8
FIX: Don't show the link button in the composer if linking is disabled
2018-02-08 12:56:10 -05:00
Joffrey JAFFEUX
8c89f5704d
FIX: makes sure we display whisper if we don’t have a post
2018-02-08 14:18:53 +01:00
Gerhard Schlager
0ecdf90023
FIX: Validations could prevent moving posts
2018-02-08 13:36:13 +01:00
Gerhard Schlager
8ab6689f43
FIX: Preserve original date when moving first post
2018-02-08 12:55:32 +01:00
Joffrey JAFFEUX
190d208631
FEATURE: improves composer-actions toggle menu
...
* only toggles
* fix a bug with presence
* more tests
* do not duplicate `continuing discussion...` text
* persist state to allow switching between toggles
2018-02-08 11:46:55 +01:00
Robin Ward
209a6cae2c
FIX: Don't show messages setting if messages are disabled
2018-02-07 11:43:22 -05:00
Robin Ward
c0ef6ca01c
UX: Show the footer on the user summary and preferences pages
2018-02-07 11:35:36 -05:00
Gerhard Schlager
8765279c90
FIX: Customizing site texts ignored current locale for _MF keys
2018-02-07 16:57:08 +01:00
Gerhard Schlager
890ffb1eb5
FIX: overriding _MF translations worked only for English
2018-02-07 12:47:15 +01:00
Neil Lalonde
ce26f48f97
FIX: only send up to 100 selected tags in the tag search request to avoid sending a query string that's too long
2018-02-06 17:54:57 -05:00
Joffrey JAFFEUX
cdded801c5
FIX: correctly shows link to post number when editing
2018-02-06 22:17:27 +01:00
Kris
900f37e5a9
UX: Allow history modal to scale down on smaller screens
2018-02-06 15:02:51 -05:00
Sam Saffron
884b9d4b78
PERF: optimize performance of new topics query (home page)
...
This ensures the bypass is always applied to query plan
also, add frozen strings
2018-02-06 12:37:23 -05:00
Joffrey JAFFEUX
b1593c0184
FIX: prevents exception when opening new topic on mobile
...
Repro:
- Visit https://meta.discourse.org/categories , refresh the page
- Navigate to Latest
- Click New Topic
- Error occurs
2018-02-06 14:48:04 +01:00
Kris
e7b732ad95
FIX: Desktop/mobile heatmap colors should be the same
2018-02-05 21:36:35 -05:00
Neil Lalonde
d7e90edeb5
PERF: Tl3Promotions job can limit the number of TL3 candidates by using some simple requirements in the query
2018-02-05 17:54:36 -05:00
Neil Lalonde
648a11a6a1
FIX: size of tags input field of tag group
2018-02-05 15:05:43 -05:00
Simon Cossar
e3de396091
Set text to empty string when null is passed as argument ( #5560 )
2018-02-06 07:05:32 +11:00
Joffrey JAFFEUX
c48761c628
s/select-box-kit/select-kit
...
Definitely remove legacy naming.
2018-02-05 18:25:39 +01:00
Neil Lalonde
8fe61c68a1
FIX: process_post job should update baked_at and baked_version if it rebakes the post
2018-02-05 11:47:04 -05:00
Régis Hanol
130974d58d
FIX: automatically unsilence users
2018-02-05 17:45:47 +01:00
Kris
ad8c2c08a4
fixing link alignment in titles
2018-02-05 10:42:37 -05:00
Joffrey JAFFEUX
bd0a8ae792
FIX: makes scrollbar always on for small dropdowns
2018-02-05 10:51:06 +01:00
Joffrey JAFFEUX
5cd5d5aca5
FIX: prevents a regression where enter wasn't working in inputs
2018-02-05 09:55:58 +01:00
Robin Ward
0776340b29
SECURITY: Prevent robots from indexing more routes
...
These routes could contain sensitive material and should never be
indexed for content.
2018-02-04 13:24:36 -05:00
Kris
86bf6babf8
FIX: Prevent long composer overlapping controls
2018-02-02 22:31:55 -05:00
Kris
cf623e65e0
tag alignment fix
2018-02-02 21:29:51 -05:00
Kris
cd798e49d8
header text wrap fix
2018-02-02 19:33:00 -05:00
Kris
8bac9c7a09
header-extra wrap fix
2018-02-02 19:28:45 -05:00
Kris
9e690bf238
UX: Cleaning up category badge alignment ( #5561 )
2018-02-02 19:03:25 -05: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
Vinoth Kannan
e8559f222c
FIX: After moving the posts topic timestamp should be updated with newest post
2018-02-02 19:30:52 +05:30
Joffrey JAFFEUX
b4aad15267
FIX: simplify styling of category-name when using category-drop/link
2018-02-02 10:31:20 +01:00
Joffrey JAFFEUX
cf592fa35d
remove debugging code
2018-02-02 09:31:47 +01:00
Joshua Rosenfeld
e5655f0b6b
UX: Add specific classes to ip address rows on user admin
2018-02-02 00:40:10 -05:00
Joffrey JAFFEUX
85db6cd2d7
FIX: makes sure we have a content to filter
2018-02-02 02:13:06 +01:00
Joffrey JAFFEUX
a4445b0c1e
FIX: improve dropdown-select-box on mobile
2018-02-02 00:47:12 +01:00
Robin Ward
d31417d3af
FIX: Remove unused import
2018-02-01 18:03:22 -05:00
Joffrey JAFFEUX
ce507b7957
FEATURE: display search on large category-drop and tag-drop
2018-02-01 23:51:29 +01:00
Robin Ward
8ff4104555
Many enhancements to the flagging / suspending interface.
2018-02-01 17:13:02 -05:00
Joffrey JAFFEUX
f7df68c9a3
FIX: makes composer-actions toggling whisper instead of replying
2018-02-01 23:07:37 +01:00
Robin Ward
0156ae486d
Apply extra classes to header avatar
2018-02-01 16:59:10 -05:00
Robin Ward
9f96d59a17
FIX: Unused import
2018-02-01 16:31:21 -05:00
Neil Lalonde
9fa71e198e
FIX: admin reports charts should use same time of day as dashboard numbers
2018-02-01 15:59:39 -05:00
Neil Lalonde
ef2a7ac0f7
FIX: admin reports would sometimes return fewer than 30 days of data, causing current 30 day period counts to be too small and prev30day counts to count the wrong days
2018-02-01 15:50:51 -05:00
Robin Ward
08db10491e
Adds a new plugin API for adding classes to be shown on user avatars
2018-02-01 15:24:26 -05:00
Joffrey JAFFEUX
42399261ba
adds margin to avatar in composer-action-title
2018-02-01 18:41:11 +01:00
Joffrey JAFFEUX
e3301c4869
FIX: max-height auto is not valid
2018-02-01 18:08:55 +01:00
Robin Ward
64ba876ff4
FIX: Don't show "Grant Badge" if badges are disabled
2018-02-01 11:33:48 -05:00
Joffrey JAFFEUX
97ddaeeae8
FIX: use css instead of js to fix select-kit-collection max-height
2018-02-01 16:56:07 +01:00
Joffrey JAFFEUX
9923829402
FEATURE: Menu toggle for different reply modes
...
Allow users to access different reply modes from the composer.
Actions introduced:
- reply_as_new_topic
- reply_as_private_message
- reply_to_topic
- reply_as_whisper/not
2018-02-01 16:42:56 +01:00
Robin Ward
96710754d9
Merge pull request #5540 from discourse/mixed-text-direction-support
...
FEATURE: Mixed text direction support
2018-02-01 07:29:15 -08:00
Joshua Rosenfeld
f85055d653
FIX: Remove activation link from account approved email ( #5548 )
2018-02-01 14:59:37 +01:00
Arpit Jalan
f88b8a8945
rename 'default_email_private_messages' to 'default_email_personal_messages'
2018-02-01 13:25:29 +05:30
Arpit Jalan
49424fd798
rename private to personal
2018-02-01 13:25:29 +05:30
Arpit Jalan
6be536ca50
rename 'max_private_messages_per_day' to 'max_personal_messages_per_day'
2018-02-01 13:25:29 +05:30
Arpit Jalan
7cda3a37af
rename 'private_email_time_window_seconds' to 'personal_email_time_window_seconds'
2018-02-01 13:25:29 +05:30
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
Sam
60ee9a4ccf
make tests a bit happier
2018-02-01 15:56:22 +11:00
Sam
41986cdb2f
Refactor requires login logic, reduce duplicate code
...
This also corrects the positioning in the chain of the check
and removes misuse of prepend_before_action
2018-02-01 15:17:59 +11:00
Sam
ee0d3f15c1
FEATURE: allow better fidelity for auto linkify, disable most tlds based linkify
...
New site settings:
enable_markdown_linkify: which is default on, auto links https:// and http:// and mail://
markdown_linkify_tlds: which allows control of what tlds get autolinked for cases such as www.site.com, default is com|net|gov
2018-02-01 13:22:38 +11:00
Sam
f2e7b74d88
FIX: don't return 200s when login is required to paths
...
When running `ensure_login_required` it should always happen prior to
`check_xhr` cause check xhr will trigger a 200 response
2018-02-01 12:26:45 +11:00
Régis Hanol
4bcf9c5bf3
FIX: only count 'human' users in group.user_count
2018-01-31 21:55:01 +01:00
Régis Hanol
826584b9c1
UX: prevent anons from clearing pins in topic view
2018-01-31 20:34:53 +01:00
Régis Hanol
8c91d418dd
UX: improve semantic of login button for better password managers compatibility
2018-01-31 20:09:59 +01:00
Kris
add641cbbc
UX: Input and search cleanup ( #5546 )
...
* Cleaning up input sizes
* alignment
* more alignment adjustments
2018-01-31 11:44:51 -05:00
Régis Hanol
48f8d9f8a4
UX: prevent anons from clearing pins 📌
2018-01-31 17:13:52 +01:00
Régis Hanol
d233ecbe34
push updates to backups list to client
2018-01-31 12:05:06 +01:00
Régis Hanol
c6fac68ccd
FIX: don't blow up on badly encoding incoming email body
2018-01-30 23:47:58 +01:00
Neil Lalonde
aab2d102ff
FIX: 404 page when clicking a badge notification from before changing username
2018-01-30 15:56:44 -05:00
Vinoth Kannan
10ed4c0078
FEATURE: Composer HTML pasting support for complex table formats
2018-01-31 01:39:11 +05:30
Kris
56987e2290
Profile textarea too short in iOS10
2018-01-30 09:31:18 -05:00
Vinoth Kannan
88c05d7050
Limit the maxLength of the name and description text inputs for custom user fields
2018-01-30 17:04:18 +05:30
Maja Komel
018cb7f36b
add a custom user onebox ( #5542 )
...
* add custom user onebox
* add specs
2018-01-30 11:03:08 +01:00
scossar
41f1e7430c
Refactor code; add tests
2018-01-29 17:42:19 -08:00
Robin Ward
95e0aa059c
UX: The delete button is also a dropdown
2018-01-29 19:15:19 -05:00
Maja Komel
330912e1e5
FIX: allowed href scheme link can start with a + ( #5537 )
...
* allowed href scheme link can start with a +
* allow tel:// links only to start with +
* add missing semicolon
* add test
2018-01-30 11:02:23 +11:00
Sam
f946db4afe
FIX: inline oneboxer min title length of 2
...
also: cache mini onebox misses as well to cut down traffic
2018-01-30 08:40:04 +11:00
Neil Lalonde
d37477b1ef
FIX: show label beside confirm user fields, and fix spacing around them
2018-01-29 16:39:41 -05:00
Kris
2eef9b3295
UX: Adding a sticky footer to the post history modal, removing bootstrap columns
2018-01-29 15:15:50 -05:00
Neil Lalonde
fcc86d5be3
FIX: time read on users directory was not rendering correctly on mobile
2018-01-29 13:31:18 -05:00
Robin Ward
51e327f640
FIX: Remove old text
2018-01-29 13:18:44 -05:00
Robin Ward
73fae6513f
FIX: Missing translation
2018-01-29 13:16:58 -05:00
Régis Hanol
77ac14d475
prevent users with a tiny number of posts to dominate the 'new user of the month' leaderboard
2018-01-29 12:09:17 +01:00
Joffrey JAFFEUX
52fbf9d3ae
FIX: emoji-picker improvements
...
* fix a performance issue on mobile when modifying filtering query, thanks to David Taylor and Jorge Manrubia for the initial finding and solution
* minor refactoring
* better positioning of the picker on mobile
2018-01-29 11:05:35 +01:00
Simon Cossar
4662cc428f
Fix RTL topic-admin-menu-position ( #5497 )
2018-01-29 18:14:36 +11:00
scossar
42970e758e
Use consistent style for string concatenation
2018-01-28 18:45:11 -08:00
Arpit Jalan
1f6adbea5c
FEATURE: log private message views
2018-01-29 08:08:08 +05:30
scossar
caa38aaaad
Add support for mixed text directions
2018-01-28 18:33:55 -08:00
Joffrey JAFFEUX
4c19088084
FIX: hides upload link on mobile
2018-01-28 09:48:41 +01:00
Robin Ward
2d340d1122
FIX: Don't allow username update via update route
...
It's not using the UsernameChanger
2018-01-26 16:53:43 -05:00
Kris
452a6bfa9c
Minor alignment fix for bullet categories
2018-01-26 16:35:49 -05:00
Kris
f587fb7cc7
FIX: Select-kit category dropdown issues in IE11
2018-01-26 15:51:44 -05:00
Robin Ward
36d836ba40
Link suspensions to the staff logs page
2018-01-26 15:40:03 -05:00
Kris
ee155bd4f2
Removing duplicate modal styling
2018-01-26 14:54:15 -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
Kris
76317957ed
UX: Removing some old references to the star feature
2018-01-26 13:05:29 -05:00
Régis Hanol
e2d82b882e
FIX: redirect to original URL after social login
2018-01-26 18:52:27 +01:00
Joffrey JAFFEUX
3d595a52ca
FIX: improves UI state when no extensions are allowed for upload
2018-01-26 18:12:23 +01:00
Joffrey JAFFEUX
56834dbd98
FEATURE: select-kit api to modify collection header
2018-01-26 14:42:24 +01:00
Joffrey JAFFEUX
0eb71cef98
FIX: makes sur allowUncategorized is passed to category-selector
2018-01-26 14:41:30 +01:00
Gerhard Schlager
3fde4c9db7
FIX: Enabling verbose localization for session didn't work
2018-01-25 23:29:53 +01:00
Neil Lalonde
179ecee11e
FIX: featured links are 'undefined' in suggested topics
2018-01-25 14:40:07 -05:00
Arpit Jalan
8b59ce9183
FIX: CTRL+mouse-left-click / CMD+mouse-left-click or mouse-middle-click should open link in new tab
2018-01-25 20:35:39 +05:30
Bruno Perel
6750ff6873
(S)CSS cleanup: 0px => O and removal of duplicated properties ( #5526 )
2018-01-25 09:53:36 -05:00
Gerhard Schlager
b784c1eda4
FIX: Remove all notifications of staged user during sign-up
2018-01-25 14:58:43 +01:00
Gerhard Schlager
d9515c37b3
FIX: Show message from discobot when staged user signs up
2018-01-25 14:58:43 +01:00
Gerhard Schlager
eb52c5469e
FEATURE: Allow plugins to register a new locale
2018-01-25 14:57:41 +01:00
Gerhard Schlager
683be5e555
FIX: Application should not crash when selected locale is missing
2018-01-25 14:57:41 +01:00
Joffrey JAFFEUX
01f9995956
FEATURE: do not restrict categories filtering to only FULL permission type
2018-01-25 12:03:13 +01:00
Joffrey JAFFEUX
b821da80f8
FIX: makes sure allowUncategorized is passed to underlying component
2018-01-25 10:41:10 +01:00
Joffrey JAFFEUX
47bef377f6
FIX: force full width on mobile for cat and tag drops
2018-01-25 09:38:02 +01:00
Kyle Zhao
afaf9fd54c
FIX: mods should be able to grant badges in post wrench ( #5522 )
2018-01-25 13:52:05 +11:00
Neil Lalonde
dc97239040
FIX: censored regex words were replacing other text that shouldn't be censored
2018-01-24 12:33:47 -05:00
Joffrey JAFFEUX
3ad48e0d30
FIX: larger tag-drop
2018-01-24 18:25:26 +01:00
Joffrey JAFFEUX
1d0f3a9816
FIX: tweaks to tag and category drops
2018-01-24 18:16:29 +01:00
Joffrey JAFFEUX
1fd3b5cc4f
FIX: improvements to category-drop when used with a subcategory
2018-01-24 17:41:26 +01:00
Joffrey JAFFEUX
262f795a4b
FIX: better handling of collection height
2018-01-24 16:42:13 +01:00
Kris
a2f78fd778
FIX: alignment for box/bullet tag styles
2018-01-24 10:37:24 -05:00
Vinoth Kannan
4a70248311
UX: Trim selected text while copying to the link building modal
2018-01-24 18:58:54 +05:30
Joffrey JAFFEUX
3a290ee625
FEATURE: replaces category/tag dropdowns by select-kit
2018-01-24 11:48:20 +01:00
Arpit Jalan
5cfcfa7a76
Merge pull request #5523 from angusmcleod/badge_group_edit_bugfix
...
FIX: badge group edit modal controller is missing modal functionality
2018-01-24 12:06:00 +05:30
Arpit Jalan
65e80aba03
FIX: creating new message via link was failing for anon user
2018-01-24 11:45:15 +05:30
Sam
95ac1655bc
revert settings
2018-01-24 13:21:23 +11:00
Angus McLeod
63b29301d8
FIX: badge group edit modal controller is missing modal functionality
2018-01-24 09:33:43 +08:00
Sam
3492a91056
FEATURE: allow site operators to disable emoji shortcuts
2018-01-24 12:21:44 +11:00
Sam
7ba06de0d6
FEATURE: disable service worker for all browsers except for android
...
Service worker is still quite experimental, only enable on android
where it provides many benefits
2018-01-24 12:03:08 +11:00
Sam
c42bb94362
PERF: slow down optimizing images per host
2018-01-24 08:53:17 +11:00
Sam
bfd052a317
PERF: guard so we only create one optimized image per process
...
This protectd sidekiq and other cases where optimized images are created on
demand so they do not dominate the machine.
2018-01-24 08:22:28 +11:00
Robin Ward
a469c65631
FIX: Missing footer on groups pages
2018-01-23 16:20:53 -05:00
Robin Ward
0351565731
Add span to make extensibility easier
2018-01-23 15:45:09 -05:00
Vinoth Kannan
86e142b39f
UX: Copy selected text to the link building modal
2018-01-24 02:02:12 +05:30
Robin Ward
782d75069e
FIX: UX improvements for system messages when PMs are disabled
2018-01-23 13:12:11 -05:00
Kris
cb9524c365
UX: Additional protections to prevent tag nesting exploits in posts
2018-01-23 10:34:37 -05:00
Kris
c3103cb23e
FIX: Users column too wide on tablet
2018-01-23 09:45:46 -05:00
Kris
c8f9e7a9c5
FIX: tag alignment
2018-01-22 21:36:07 -05:00
Kris
3875b204d4
FIX: space below post-actions
2018-01-22 21:26:07 -05:00
Kris
fb2ab3c4d4
UX: White text for social login buttons, regardless of theme
2018-01-22 21:19:38 -05:00
Guo Xiang Tan
80c41a0e59
Merge pull request #5510 from discourse/add-posts-count-to-web-hook-post-serializer
...
Feature: add topic posts count to webhook post serializer
2018-01-23 07:46:59 +08:00
Kris
99cabd071a
UX: Very long tag names should truncate
2018-01-22 17:14:40 -05:00
Sam
2437b0d531
FIX: regression, missing 404 page
2018-01-23 09:00:28 +11:00
Robin Ward
1e77850dff
FIX: Don't link icon to the private messages page if they are disabled
2018-01-22 16:56:25 -05:00
Robin Ward
e52e0f4635
FIX: Disable the keyboard shortcut if private messages are disabled
2018-01-22 16:45:27 -05:00
Kris
a9e0c6a685
FIX: Flags notification badge becomes too narrow when menu is open
2018-01-22 14:02:07 -05:00
scossar
841a988454
Return 0 if there is no topic associated with the post
2018-01-22 09:54:11 -08:00
Joffrey JAFFEUX
f06f7161ea
FIX: category badge when using box style on long category names
2018-01-22 18:26:54 +01:00
Régis Hanol
5c1eaeca9e
FIX: prevent users from moving whispers to new topic
2018-01-22 17:23:19 +01:00
Gerhard Schlager
dde0fcc658
FEATURE: Allow sending invites to staged users
2018-01-22 15:37:18 +01:00
Régis Hanol
f74ac826c5
slightly more meaningful error message
2018-01-22 12:20:53 +01:00
Sam
060e78e884
PERF: reduce memory usage for post alerter
2018-01-22 17:11:52 +11:00
Sam
ce815276d0
Small and big should be limited via rem so it works large font mode
2018-01-22 14:22:30 +11: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
Sam
47058b29d3
FEATURE: emit external_id field with user webhook
2018-01-22 10:09:26 +11:00
Kris
2de1264213
UX: Adjustments for embedded reply collapse button
2018-01-19 16:16:22 -05:00
Robin Ward
5b820ebb62
Allow plugins to extend the post title
2018-01-19 15:30:50 -05:00
Régis Hanol
f674b9e86e
FIX: encode image filename so '[', ']' and '|' doesn't break the markdown
2018-01-19 19:52:03 +01:00
Robin Ward
645c32758a
Extensibility points for poster name
2018-01-19 12:52:46 -05:00
Robin Ward
a8b46df4bd
More extensibility for custom silence/suspend messages
2018-01-19 11:35:19 -05:00
Kris
3cec2394b2
FIX: Margin below topic-map
2018-01-19 11:06:21 -05:00
Robin Ward
a34010e49a
Add some extensibility to posts rendering
2018-01-19 10:22:40 -05:00
Joffrey JAFFEUX
bd5a82cfe7
FIX: makes sure mousedown is stopped only on select-kit element
2018-01-19 15:19:07 +01:00
Arpit Jalan
d24c35012d
FIX: jump to original post when expanded posts are collasped
2018-01-19 18:01:54 +05:30
Arpit Jalan
73dea4e7eb
Merge branch 'embedded-posts'
2018-01-19 12:54:34 +05:30
Arpit Jalan
104859af47
FIX: prevent <big> nesting abuse
2018-01-19 12:42:30 +05:30
Jeff Atwood
7ed41fae2b
Merge pull request #5493 from notriddle/home_logo_h1
...
Change the text-only home logo to an H1
2018-01-18 16:14:36 -08:00
Michael Howell
aa65003087
Mark up the headers in the Categories page ( #5494 )
...
This should cause them to show up in the screenreader's heading map,
allowing non-sighted users to find both sections.
2018-01-18 16:47:50 -05:00
Sam
873624c487
FIX: never flush timings while in progress
...
Also reset last flush counter when we finally get a response from server.
2018-01-19 08:27:29 +11:00
Sam
12872d03be
PERF: run post timings in background
...
This means that if a very large amount of registered users hit
a single topic we will handle it gracefully, even if db gets slow.
2018-01-19 08:27:29 +11:00
Robin Ward
90a8ea617b
Merge pull request #5513 from ckeboss/patch-2
...
Update post-menu.js.es6
2018-01-18 14:11:04 -05:00
ckeboss
beee69e566
Update tense and change actions around.
2018-01-18 11:05:25 -08:00
Kris
f5f163d1ce
FIX: Wrap similar topic titles at narrow widths
2018-01-18 13:57:18 -05:00
ckeboss
1738a85bdc
Update post-menu.js.es6
...
The bookmark ID's were not very clear and not using the same names as the classes. This addresses that.
2018-01-18 10:53:05 -08:00
Kris
23515a68ca
UX: Small adjustments to similar topics popup
2018-01-18 13:52:40 -05:00
Kris
fe5374dd3b
FIX: increasing z-index on topic-avatar
2018-01-18 13:38:27 -05:00
Michael Howell
dff5951fa6
Fix font-up-3 nit
2018-01-17 14:26:35 -07:00
Michael Howell
3fbf731e2d
Fix font-up-3 nit
2018-01-17 14:26:14 -07:00
Robin Ward
34ed6088b9
FEATURE: New modal to show flags received for a user
2018-01-17 15:08:08 -05:00
Neil Lalonde
ec65ae76b9
FIX: don't create new like notifications for deleted topics
2018-01-17 14:36:32 -05:00
Kris
f108bc3715
FIX: Box badges on 404 page not displaying correctly
2018-01-17 13:42:39 -05:00
scossar
2646eb5e1d
Add topic.posts_count to web_hook_posts_serializer
2018-01-17 10:40:21 -08:00
Rafael dos Santos Silva
70c5f6ae17
Merge pull request #5489 from discourse/fix-shared-s3-cdn
...
FIX: Allow shared CDN for s3 and assets
2018-01-17 16:32:11 -02:00
Joffrey JAFFEUX
7eb9f4d9f7
FIX: badge with box mode having incorrect background size
...
This bug was hitting FX and IE
2018-01-17 17:54:51 +01:00
Robin Ward
8d454156b3
Rename css class to something that makes more sense
2018-01-17 11:38:43 -05:00
Neil Lalonde
718e932b44
FEATURE: plugins can send more data to Google Tag Manager
2018-01-17 11:18:17 -05:00
Kris
91ff79a289
UX: User column heading needs a width
2018-01-17 09:54:09 -05:00
Arpit Jalan
e04fb9a877
fix the build
2018-01-17 12:57:33 +05:30
Arpit Jalan
19b36a2d60
missing semicolon
2018-01-17 12:49:52 +05:30
Arpit Jalan
79eb9d7086
FEATURE: show header search results on search log term details page
2018-01-17 12:47:16 +05:30
Kane York
ff91c43087
FEATURE: Keyboard shortcut to refocus composer ( #5506 )
...
It was very annoying to get back to the composer after losing it!
Added to the keyboard shortcuts help dialog, and reshuffled it a bit.
Translation keys were intentionally kept so our translators don't have
to copy paste to update.
This commit also fixes an incidental listener leak.
2018-01-17 17:15:03 +11:00
Sam
b2009d6e32
PERF: bypass theme handling on static routes
2018-01-17 16:33:17 +11:00
Sam
72b592c395
PERF: add frozen string literals to app controller
2018-01-17 16:32:52 +11:00
Sam
b7023da894
PERF: reduce queries required for post timings
...
- also freezes a bunch of strings
- bypass active record for an exists query
2018-01-17 15:50:41 +11:00
Kris
0c01e0b2fe
UX: Implementing a z-index system ( #5507 )
2018-01-16 19:05:12 -05:00
Sam
2d2602edf0
no need to log anything if term is blank
2018-01-17 11:02:53 +11:00
Kris
2f8a8dbb21
UX: Modal; Moving cancel further away from confirm
2018-01-16 17:49:04 -05:00
Kris
92c5bc6ac9
UX: Removing width: auto; in mobile autocomplete so long strings truncate
2018-01-16 17:09:07 -05:00
Kris
2e12c2c352
UX: button styling
2018-01-16 16:06:04 -05:00
Kris
dc5b0e05e2
UX: Styling embedded post collapse button
2018-01-16 15:48:47 -05:00
Robin Ward
d74f609921
Rename key for defer flag -> ignore flag
2018-01-16 14:33:39 -05:00
Sam
d7657d8e47
correct specs, ensure crawler layout only applies to html
2018-01-16 16:28:11 +11:00
Sam
eaca2cb049
bypass loud logging
2018-01-16 15:41:45 +11:00
Kris
4128f36f52
UX: Tag alignment and size in topic titles
2018-01-15 22:56:37 -05:00
Arpit Jalan
6177fb80eb
UX: switch to quartlerly period view for search log term graphs
2018-01-16 07:53:22 +05:30
Neil Lalonde
ce79ec0127
FIX: subfolder: top referred topics report was missing subfolder in links
2018-01-15 17:28:35 -05:00
Arpit Jalan
6fff16a999
FEATURE: add collapse button
2018-01-16 01:07:48 +05:30
Kris
fe907aaf74
UX: increasing contrast on composer elements
2018-01-15 13:37:29 -05:00
Robin Ward
1080748444
Extensibility point for claiming flagged posts
2018-01-15 13:11:11 -05:00
Kris
22849fce96
UX: Line-height should be larger with single-line titles
2018-01-15 11:00:04 -05:00
Kris
53fb02f7fc
UX: increase post meta font size
2018-01-15 10:30:52 -05:00
Joffrey JAFFEUX
b3465b4779
FIX: adds support for selection-indicator
2018-01-15 14:37:18 +01:00
Joffrey JAFFEUX
9122d828e8
remove uneeded line-height
2018-01-15 13:34:07 +01:00
Joffrey JAFFEUX
2ab095612f
FIX: category topic count alignment
2018-01-15 12:43:59 +01:00
Joffrey JAFFEUX
ec2ce8f763
FEATURE: replace period-chooser by a select-kit component
2018-01-15 11:55:16 +01:00
Arpit Jalan
785d063a6b
Merge pull request #5496 from techAPJ/admin-graphs
...
FIX: graphs should go to zero for missing dates
2018-01-15 11:10:29 +05:30
Sam
38c018a84b
FIX: invalid cache for parent category with limit_suggested_to_category
2018-01-15 16:13:29 +11:00
Arpit Jalan
b7ba490df7
FIX: graphs should go to zero for missing dates
2018-01-15 10:16:34 +05:30
Sam
bf68d394f4
PERF: handle debounce in redis cause SQL can be slow
2018-01-15 14:48:28 +11:00
Sam
e3a616764e
PERF: add frozen strings
2018-01-15 12:44:54 +11:00
Michael Howell
333ab59f97
Fix the site header to size 1.5em
2018-01-12 23:35:24 +00:00
Michael Howell
4c31e4c44e
Change mobile site text logo to target <h1>
2018-01-12 23:34:31 +00:00
Michael Howell
66d5b9f74c
Change the text-only home logo to an H1
...
Fixes https://meta.discourse.org/t/77892
2018-01-12 23:34:31 +00:00
Kris
674013129a
UX: Type system rebuild ( #5492 )
2018-01-12 17:27:38 -05: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
ad58a1743b
rename topic_list.tags to topic_list.top_tags
2018-01-12 16:35:27 -05:00
Robin Ward
9d84b4ffe4
Minor extensibility for flagged posts
2018-01-12 16:08:59 -05:00
Robin Ward
3ddc33b07c
Don't swallow errors once they've been popped up
2018-01-12 16:08:59 -05:00
Neil Lalonde
6d68275ef9
don't show tag groups if they're restricted to categories you can't access
2018-01-12 14:25:42 -05:00
Robin Ward
ff2e8c1a51
UX: Don't use a chevron when a dropdown is just an icon
2018-01-12 12:39:42 -05:00
Neil Lalonde
2493648f9c
PERF: calculate topic_counts for tags in an async job so tag queries that include counts are much faster
2018-01-12 11:03:03 -05:00
Neil Lalonde
4d50feb6bd
FEATURE: add setting to display tags by tag groups
2018-01-12 11:03:02 -05:00
Arpit Jalan
a2c561bbde
UX: switch back to line chart
2018-01-12 10:27:23 +05:30
Sam
5bf116e719
warn if missing user option record
2018-01-12 15:43:56 +11:00
Sam
49ed382c2a
FIX: return 429 when admin api key is limited on admin route
...
This also handles a general case where exceptions leak out prior to being handled by the application controller
2018-01-12 14:15:26 +11:00
Rafael dos Santos Silva
b9a343afe7
FIX: Allow shared CDN for s3 and assets
2018-01-12 01:08:15 -02:00
Robin Ward
dd33050e10
Add discourse events for when a user is suspended/silenced
2018-01-11 12:56:45 -05:00
Robin Ward
e904d92b98
FIX: Suspension / Silence reasons were incorrect on save
2018-01-11 10:54:47 -05:00
Neil Lalonde
ec4295fb1c
Merge pull request #5482 from vinothkannans/force_https_check
...
FEATURE: Display force_https warning in admin problems dashboard
2018-01-11 10:39:43 -05:00
Joffrey JAFFEUX
3a7d2da633
FIX: category badges css refactoring/fixes
...
This commit fixes multiple css issues with category badges in select-kit and outside of select-kit. It also contains refactoring of components impacted by those changes.
2018-01-11 13:05:29 +01:00
Joffrey JAFFEUX
3ee7b18886
FIX: disable by default limitMatches
2018-01-11 09:54:39 +01:00
Joffrey JAFFEUX
3ec2024466
select-kit refactoring
...
* improve events naming/handling
* do not explicitly check for true/Fasle
* make sure header is re-computed on toggle
2018-01-11 09:39:51 +01:00
Vinoth Kannan
b96ae14261
FEATURE: Display force_https warning in admin problems dashboard
2018-01-11 12:16:10 +05:30
Arpit Jalan
2509bef2c0
FEATURE: show create new topic link on mobile
2018-01-11 10:38:52 +05:30
Robin Ward
6dad7dfcec
Add extensible classes for components
2018-01-10 14:57:04 -05:00
Robin Ward
e7696ef483
Remove beforeControlModal, it is not as useful as a component
2018-01-10 14:48:34 -05:00
Neil Lalonde
edb3a7f646
FIX: support for watched_words_regular_expressions when censoring words
2018-01-10 14:11:23 -05:00
Robin Ward
213cc2fe51
Add extensibility point for suspension modal
2018-01-10 13:56:39 -05:00
Robin Ward
8bb6856fde
Allow silence details to be overwritten via plugin
2018-01-10 13:19:53 -05:00
Robin Ward
17213887a1
FIX: Allow plugins to override admin component templates
2018-01-10 13:14:43 -05:00
Robin Ward
01726e68ab
Add extensibility for suspension reasons
2018-01-10 12:52:31 -05:00
Arpit Jalan
8ad6d8385b
FIX: show create new topic link when there are no search results
2018-01-10 14:57:32 +05:30
Sam
114294d899
PERF: cache messages so re-opening composer on same topic does not issue a req
2018-01-10 14:39:39 +11:00
Robin Ward
3ed9cbc040
UX: Put the HR in the correct place
2018-01-09 17:48:52 -05:00
Neil Lalonde
8f21c96ea5
FIX: don't downcase watched words on input since it can break the watched_words_regular_expressions setting
2018-01-09 16:51:59 -05:00
Sam
daad2291ba
simplify production switch and serve extra locales from actual site
2018-01-10 08:19:51 +11:00
Neil Lalonde
ad62f1099c
FIX: censored words should support * as wildcard
2018-01-09 15:53:40 -05:00
Vinoth Kannan
61384c8026
Skip CDN for admin locales since it is login required
2018-01-10 01:24:03 +05:30
Arpit Jalan
672888f526
FIX: handle invalid password reset token
2018-01-09 23:48:17 +05:30
Kris
c1cb6053b7
UX: Adding a little space after oneboxes
2018-01-09 13:00:32 -05:00
Jan Suchal
bc56d86a63
Support ruby 2.5.0
2018-01-09 16:03:17 +01:00
Joffrey JAFFEUX
c9921869f1
FIX: adds select-kit api to modify header computed content ( #5476 )
...
This api would allow to simply modify header text or icons, eg:
```
api.modifySelectKit("select-kit")
.modifyHeaderComputedContent((context, computedContent) => {
computedContent.title = "Not so evil";
return computedContent;
});
```
2018-01-09 10:52:32 +01:00
Sam
c9f42506b7
If login is required skip CDN
2018-01-09 17:51:53 +11:00
Sam
6b8320fea6
PERF: use cdn for extra locales
2018-01-09 17:00:42 +11:00
Arpit Jalan
16ce305e53
UX: show bar chart for admin graphs
2018-01-09 11:18:40 +05:30
Guo Xiang Tan
e90187cbf7
Merge pull request #5469 from tgxworld/add_guard_to_prevent_primary_email_from_being_reassigned
...
FIX: Add guard to prevent a primary `UserEmail` from being reassigned.
2018-01-09 13:35:08 +08:00
Sam
ea63abf0f7
bypass mini profiler for locales
...
bypass cdn for now
2018-01-09 11:30:59 +11:00
Sam
b0a7ee1aec
FIX: source admin locale from cdn
2018-01-09 10:27:33 +11:00
Sam
8ff5f5f2ef
FIX: cache admin locale file for 24 hours
2018-01-09 10:23:49 +11:00
Robin Ward
685fc637d5
Improve some user menu code and make the logout button optional
2018-01-08 16:56:56 -05:00
Robin Ward
e244a1a319
Extract category name fields into a component
2018-01-08 15:08:56 -05:00
Vinoth Kannan
e5affdf230
FIX: URI must be ascii only for URI.parse command
2018-01-07 02:31:35 +05:30
Robin Ward
c1ae562389
Add support for app events in plugin api, plus an event for custom html
2018-01-05 16:45:57 -05:00
Joffrey JAFFEUX
642645ba9a
FIX: broken select badge as user title ( #5474 )
...
* FIX: broken select badge as user title
* selected id wasn’t pass to underlying component
* <none> was rendered as an html tag <none></none>
* overriding a badge name wouldn’t work as it was using badge.name and not badge.display_name
* adds a spec to ensure this behavior is correct
2018-01-05 16:58:15 +01:00
Arpit Jalan
ed4b845930
FIX: render error message when backup download fails
2018-01-05 19:46:43 +05:30
Sam
0081de30a5
PERF: conserve memory while rebaking posts
2018-01-05 09:54:42 +11:00
Arpit Jalan
2d0b88410d
Merge pull request #5470 from techAPJ/embed-url-protocol
...
FIX: do not create duplicate topics
2018-01-05 01:38:03 +05:30
Robin Ward
fbd0d47fce
FIX: Don't raise error if I18n key is not found
2018-01-04 14:08:21 -05:00
Arpit Jalan
9030d3ef63
FIX: do not create duplicate topics
...
https://meta.discourse.org/t/duplicate-http-https-topics-are-randomly-created/77190
2018-01-04 23:53:52 +05:30
Guo Xiang Tan
8a3bbcb19a
FIX: Add guard to prevent a primary UserEmail from being reassigned.
2018-01-04 19:40:50 +08:00
Robin Ward
a109397035
Add extensibility point for d-editor
2018-01-03 17:02:57 -05:00
Robin Ward
df163cbf61
Add a deleted-post class to the deleted post action
2018-01-03 13:56:47 -05:00
Robin Ward
dbd2d29abe
Allow the deleted post indicator on a post to be extended.
2018-01-03 13:34:26 -05:00
Arpit Jalan
7ca2e6a80c
fix the build
2018-01-03 17:35:36 +05:30
Arpit Jalan
06e509057e
FIX: handle missing user records
2018-01-03 17:18:13 +05:30
Guo Xiang Tan
ad02437358
FIX: Missing post/topic created web hooks due to race condition.
2018-01-03 17:24:01 +08:00
Guo Xiang Tan
9644569a28
FIX: Wildcard webhooks could send duplicated events.
2018-01-03 17:00:44 +08:00
Kris
73912ebc12
UX: Adjusting color on composer box-shadow
2018-01-02 21:29:16 -05:00
Kris
efc5bc2c55
UX: removing double underline from abbr
2018-01-02 21:06:06 -05:00
Robin Ward
0eba867c8c
Allow menu classes to be targetable by name
2018-01-02 17:01:44 -05:00
Robin Ward
bf7e0188e5
Extensibility points for user/preferences
2018-01-02 15:46:32 -05:00
Robin Ward
4cfea21aa2
UX: Add missing btn-icon class to edit icons
2018-01-02 15:24:36 -05:00
Robin Ward
32b5b04d18
Pass save action to outlet in case we need to save
2018-01-02 15:17:52 -05:00
Robin Ward
891f0cfe52
FIX: Don't display the @mention message if disabled
2018-01-02 14:12:18 -05:00
Gerhard Schlager
a0b2b3c8a7
FIX: Canceling upload on mobile did not work
2018-01-02 11:26:23 +01:00
Arpit Jalan
04b8831cde
UX: for numbers greater than 100k allow 0 precision
2018-01-02 13:27:46 +05:30
Gerhard Schlager
38269c416d
FIX: return regular notification level for categories when not set by user
2017-12-30 20:36:58 +01:00
Arpit Jalan
6ce422feab
FIX: respect 'topic page title includes category' client side
2017-12-30 09:06:02 +05:30
Arpit Jalan
6a38e4336b
FIX: use different variable name for referer record
2017-12-29 23:31:53 +05:30
Vinoth Kannan
f08995c390
Remove unused code lines
2017-12-29 12:32:18 +05:30
Joffrey JAFFEUX
8fd683ab19
select-kit DOM mixin refactoring
...
This commits improves code readability, performance and rendering precision.
2017-12-28 16:12:45 +01:00
Sam
5ad1709dba
PERF: cache service worker for 1 hour
2017-12-28 08:31:01 +11:00
Régis Hanol
f5e170c6b5
FIX: catch all server-side error when uploading a file
...
UX: always show a message to the user whenever an error happens on the server when uploading a file
2017-12-27 16:33:25 +01:00
Maja Komel
2a32536645
grey out disabled badges in admin overview ( #5416 )
...
* gray out disabled badges in admin overview
* fix style
2017-12-27 16:57:21 +11:00
Vinoth Kannan
d18c42abd5
FIX: Ignore if the default localization node is not an object ( #5439 )
2017-12-27 16:53:53 +11:00
David Taylor
f1f2ae594c
Remove wrapper <span> from user nav plugin outlet ( #5455 )
2017-12-27 16:51:39 +11:00
Sam
a9e2fc59c4
FIX: [constructor] bbcode would cause markdown crash
2017-12-27 16:11:30 +11:00
Sam
3937ff0425
FIX: don't preload json on static routes
2017-12-27 14:33:36 +11:00
Sam
c30ccceade
correct params
2017-12-27 13:51:16 +11:00
Sam
0c834515a9
FIX: only attempt old rebakes a maximum of 3 times
2017-12-27 12:44:41 +11:00
Robin Ward
6cffbb4ea4
FIX: Don't show moderation history option to TL4
2017-12-26 17:13:29 -05:00
Arpit Jalan
89d1107f81
UX: show '{count}+' when not sure about exact search count
2017-12-26 19:50:03 +05:30
Régis Hanol
27a368bb70
FIX: SCSS variable regex wasn't working in JS
2017-12-26 11:28:36 +01:00
Vinoth Kannan
688f39447c
Skip tab delimited lists in plain text to table conversion
2017-12-26 15:52:22 +05:30
Joffrey JAFFEUX
f6dc992b0f
FIX: do not apply i18n if already done
2017-12-26 09:51:45 +01:00
Vinoth Kannan
e9cd7af10e
FIX: IE not supporting regex negative lookbehind
2017-12-23 23:44:57 +05:30
Vinoth Kannan
035f96d25f
Allow linked images inside table cells in HTML to Markdown conversion
2017-12-23 22:48:39 +05:30
Kris
a7a0cba45b
UX: Fixing font-size issue on /categories
2017-12-22 22:02:33 -05:00
Kris
e84fb9ba4d
UX: Fixing an issue where category names were too large on /categories
2017-12-22 21:22:12 -05:00
Régis Hanol
779efd9235
FIX: don't set properties on destroyed components
2017-12-22 20:33:33 +01:00
Robin Ward
ea9c1e5cf8
Add extensibility endpoints for clicking on topic list item rows
2017-12-22 14:01:17 -05:00
Vinoth Kannan
3ae9d91d86
UX: Use tight list by default in HTML to Markdown conversion
2017-12-22 21:34:55 +05:30
Vinoth Kannan
ac1e93e82a
Minor fix to correctly trim spaces in HTML to Markdown conversion
2017-12-22 19:05:40 +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
Vinoth Kannan
4935ae4338
Remove unwanted spaces between HTML tags and support Word documents
2017-12-22 09:28:24 +05:30
Kris
e667434bb3
UX: Cleaning up a few admin styles
2017-12-21 17:13:06 -05:00
Kris
fc2f948a39
UX: user menu-panel icons too large
2017-12-21 16:31:45 -05:00
Robin Ward
69a90f31fb
FEATURE: Allow Forums to disable the Backups feature
2017-12-21 15:22:04 -05:00
Kris
9a514e6a26
UX: Fixing mobile post action size
2017-12-21 14:47:58 -05:00
Robin Ward
2908aab0da
Allow extensibility on username route format (non-english usernames)
2017-12-21 14:32:51 -05:00
Kris
dea3e84f18
UX: Reducing number of font-sizes used in common
2017-12-21 12:59:19 -05:00
Gerhard Schlager
7b58afe677
FIX: ProcessPost job failed for posts that have no user
2017-12-21 14:45:59 +01:00
Gerhard Schlager
727a45185d
FIX: regex should behave the same in Ruby and Postgres
2017-12-21 11:26:56 +01:00
Vinoth Kannan
129d924c0d
Dont support single row or column tables in HTML to Markdown conversion
2017-12-21 12:58:57 +05:30
Guo Xiang Tan
6ecf37c482
Improve URL validation to check for a valid host.
...
Parsing a URL with `URI` is not sufficient as the following cases
are considered valid:
URI.parse("http://https://google.com ")
=> #<URI::HTTP http://https//google.com >
2017-12-21 13:50:15 +08:00
Sam
62a27f9d57
FEATURE: warn if attempting to mention a group with too many members
2017-12-21 16:13:57 +11:00
Sam
081959227d
FIX: unicode titles missing when visiting topic from topic list
2017-12-21 15:20:47 +11:00
Kris
7b0f3f4e34
FIX: only staff highlight main post, not embedded replies
2017-12-20 21:26:24 -05:00
Sam
252cbd8635
FIX: keyboard shortcut allowed you to open composer on closed topics
2017-12-21 13:09:18 +11:00
Sam
2423b18839
FIX: links inside quotes not opening in new tab
2017-12-21 13:00:20 +11:00
Sam
6bf3bee473
FIX: when leaving PM tab revert to user scoped search
2017-12-21 12:30:41 +11:00
Sam
e756d02088
FIX: create topic keyboard shortcut not checking permissions
2017-12-21 11:23:57 +11:00
Sam
88a4ec5f1b
FIX: stop forking regular backup jobs
2017-12-21 09:00:48 +11:00
Kris
4bf558f941
UX: Reducing number of overall font sizes
2017-12-20 15:57:49 -05:00
Gerhard Schlager
ac7e6dab06
FIX: Refreshing Gravatar didn't work
2017-12-20 20:49:58 +01:00
Régis Hanol
7f69362d9d
FIX: external links in whisper ended up in a white page
...
FIX: clicking a link in a onebox wasn't properly extracting the post_id
2017-12-20 17:55:15 +01:00
Joffrey JAFFEUX
6e1dd12390
FIX: load tracked/watched/muted categories on screen loading
2017-12-20 16:13:33 +01:00
Vinoth Kannan
ac1d3a761e
Support for table & ol tags for HTML pasting in composer
2017-12-20 19:24:55 +05:30
Gerhard Schlager
86c86a1ddb
FIX: prevent loading of invalid locales from plugins
2017-12-20 12:14:39 +01:00
Philipp Daniels
6a2bce1931
FIX: Data loss on update of single user_field.
...
https://meta.discourse.org/t/api-data-loss-caused-by-changed-behaviour-of-custom-user-field-update/74990
2017-12-20 16:33:23 +08:00
Guo Xiang Tan
87c334c063
Fix randomly failing JS acceptance tests.
2017-12-20 11:04:47 +08:00
Sam
7aa56fc9d9
refinement and test for batch mode on feature_topics
2017-12-20 13:58:05 +11:00
Neil Lalonde
f5a3be750c
PERF: add option to limit how many categories are processed in one call to CategoryFeaturedTopic.feature_topics ( #5446 )
2017-12-20 13:42:29 +11:00
Arpit Jalan
eab66065d1
FEATURE: search log term details page ( #5445 )
2017-12-20 13:41:31 +11:00
Robin Ward
2735914cf6
FIX: ESlint
2017-12-19 17:55:41 -05:00
Kris
d90fc415a1
UX: Reducing number of font sizes used in mobile view
2017-12-19 17:40:08 -05:00
Robin Ward
b3fda0ea86
FIX: details tags broke excerpts
2017-12-19 17:28:55 -05:00
Robin Ward
c1716d41c7
Add some plugin outlets to the user card
2017-12-19 15:04:54 -05:00
Kris
bb2c8b605e
UX: Reducing number of different fonts used in Admin
2017-12-19 13:10:38 -05:00
Vinoth Kannan
6272f35eec
blockquote tag support for HTML pasting in composer
2017-12-19 20:59:55 +05:30
Régis Hanol
24e89b6b38
FIX: validates 'ThemeField' name when used in a SCSS variable
2017-12-19 16:10:44 +01:00
Gerhard Schlager
84c975e3a5
CRLF caused problems with launch script
2017-12-19 13:55:17 +01:00
blokovi
0df1c85fd3
FEATURE: Serbian translation ( #5443 )
2017-12-19 12:26:06 +01:00
Sam
9472821331
Allow plugins to specify custom nav items on mobile
2017-12-19 16:50:25 +11:00
Sam
57a1190b07
FIX: correct issue with search omitting words with multiple dots
...
Previously we used to break up words with dots incorrectly leading to
missing search terms
2017-12-19 16:04:24 +11:00
Sam
e63a2487e3
UX: allow for iPhone X in iOS Hacks
2017-12-19 15:20:06 +11:00
Guo Xiang Tan
30ddc1f222
Don't swallow errors when failing to create message for post action.
2017-12-19 10:58:26 +08:00
Guo Xiang Tan
b39d3a863d
FIX: moderators group wasn't being updated to be messagable by everyone.
...
https://meta.discourse.org/t/custom-flag-not-showing-text/76244
2017-12-19 10:14:56 +08:00
Sam
1abc276451
FIX: properly omit inactive and silenced users from directory
2017-12-19 12:53:59 +11:00
Kris
2d9d43ed1a
UX: Removing px font defintions and replacing with em
2017-12-18 15:49:11 -05:00
Vinoth Kannan
70b6030c74
FIX: IE syntax error in regular expression
2017-12-18 23:03:35 +05:30
Vinoth Kannan
ad41523895
FEATURE: Converting code tags to Markdown while pasting
2017-12-18 22:12:05 +05:30
Joffrey JAFFEUX
133d97402a
FIX: prevents global input width to impact input inside emoji picker filter
2017-12-18 10:48:33 +01:00
Vinoth Kannan
b9f553d45d
REFACTOR: Small improvement in code for Tag.slice method
2017-12-18 13:38:47 +05:30
Vinoth Kannan
0588edbc96
FEATURE: Keep supported HTML tags in HTML to Markdown conversion
2017-12-18 12:48:17 +05:30
Guo Xiang Tan
97ceebb570
SECURITY: Don't pass email backup token to sidekiq as a parameter.
...
* This exposes the token in the Sidekiq dashboard which can be
viewed by an admin and defeats the purpose of using a token
in the download backup email ink.
2017-12-18 11:25:22 +08:00
Sam
433ef4513b
FEATURE: upload images and fonts in themes via hijack
2017-12-18 10:40:10 +11:00
Sam
5e90abfaea
FIX: use hijack for emoji uploads
2017-12-18 10:31:19 +11:00
Vinoth Kannan
b963307f30
FIX: IE compatability issue in clipboard files array
2017-12-17 12:04:16 +05:30
Joffrey JAFFEUX
7f89f8aa3f
FIX: reset scroll position when switching tab in edit category modal
2017-12-16 20:46:22 +01:00
Vinoth Kannan
4f2f42d710
PERF: Better handling of headings in HTML inline pasting
2017-12-17 00:45:21 +05:30
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
Kris
065c155f81
UX: Increasing line-height for headlines in all post content
2017-12-15 11:29:15 -05:00
Guo Xiang Tan
5489cd14c7
Skip validations when fixing Topic#featured_link in onceoff job.
2017-12-15 23:45:07 +08:00
Vinoth Kannan
dc159d7fa6
Grab dimention of the clipboard images
2017-12-15 17:28:38 +05:30
Vinoth Kannan
9cd48207f2
make eslint happy
2017-12-15 17:08:17 +05:30
Vinoth Kannan
236ecec0b0
Skip HTML pasting if image upload available
2017-12-15 16:40:40 +05:30
Guo Xiang Tan
91e84433ff
Take two at fixing JS tests.
2017-12-15 15:46:09 +08:00
Vinoth Kannan
5c3ef7875f
FIX: Inline head tag html pasting
2017-12-15 12:00:17 +05:30
Vinoth Kannan
bfafca42b7
fix eslint and refactor code
2017-12-15 11:07:50 +05:30
Vinoth Kannan
f0497ee9c4
FEATURE: HTML to Markdown conversion using native JavaScript ES6 classes ( #5425 )
2017-12-15 10:28:20 +05:30
Régis Hanol
b91f83eb7d
Ignore auto-quote/reply when counting replies
2017-12-15 00:38:14 +01:00
Sam
f18dda2adc
FEATURE: full rebake of all old posts
...
This limits to 100 post per 15 minutes, so it will take a while.
This will pick up CommonMark and a large amount of onebox fixes.
2017-12-15 10:28:25 +11:00
Régis Hanol
092c976d7c
FIX: prevent 💥 when selecting replies to posts quoting themselves
2017-12-15 00:23:51 +01:00
Régis Hanol
2f792bc59f
FIX: a topic should be visited when you've read everything and there's deleted posts at the end
2017-12-15 00:00:48 +01:00
Robin Ward
4fcf9ece3a
Allow plugins to customize the columns returned by user_actions
...
This is useful if they have a different mechanism for rendering an
avatar and want to include custom columns via the `custom_avatar_column`
plugin function.
2017-12-14 16:52:54 -05:00
Neil Lalonde
3cbaea81bd
Merge pull request #5428 from discourse/fix-pending-users-count
...
FIX: incorrect pending_users_reminder user count
2017-12-14 14:05:37 -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
Joffrey JAFFEUX
5e1545fb7f
FIX: make sure scrollbar don’t appear
2017-12-14 14:23:40 +01:00
Joffrey JAFFEUX
001abfc4cb
Revert "FIX: not permitted theme params when importing theme"
...
This reverts commit 813df1a3fb .
2017-12-14 11:40:14 +01:00
Joffrey JAFFEUX
041deac67a
Revert "FIX: constant lookup error when exporting theme"
...
This reverts commit 1eda8c50f0 .
2017-12-14 11:40:08 +01:00
Joffrey JAFFEUX
813df1a3fb
FIX: not permitted theme params when importing theme
2017-12-14 11:25:58 +01:00
Joffrey JAFFEUX
1eda8c50f0
FIX: constant lookup error when exporting theme
2017-12-14 11:25:11 +01:00
Joffrey JAFFEUX
28a63135b8
FIX: set a default color scheme when creating a new one
2017-12-14 08:21:56 +01:00
Guo Xiang Tan
f2565f6c7e
SECURITY: Any group can be invited into a PM.
2017-12-14 14:57:48 +08:00
Sam
14cfce2827
Merge branch 'master' of github.com:discourse/discourse
2017-12-14 17:17:02 +11:00
Sam
96584403cd
SECURITY: prevent staged accounts from changing email
2017-12-14 17:16:49 +11:00
Guo Xiang Tan
34342ad0d8
FIX: User#user_avatar may be nil.
2017-12-14 13:23:03 +08:00
scossar
11050e5d10
Don't override count value that has been set by query.count
2017-12-13 18:48:46 -08:00
Maja Komel
52e38e5527
FIX: save whisper drafts ( #5417 )
2017-12-14 11:35:08 +11:00
Régis Hanol
5db3d39b05
FIX: Post.reply_ids should also handle quotes
2017-12-14 00:43:48 +01: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
Neil Lalonde
712c9fca1b
sorry rubocop
2017-12-13 15:47:42 -05:00
Neil Lalonde
3f1d6a302e
FIX: links with query params to external sites fail to load if ga universal auto link domains is used
2017-12-13 13:58:44 -05:00
Joffrey JAFFEUX
8001f68c32
FIX: make sure we don’t show scrollbars on toolbar-popup-menu
2017-12-13 19:01:30 +01:00
Joffrey JAFFEUX
e42812fcf7
FIX: make sure new badges have a default type
2017-12-13 10:55:16 +01:00
Joffrey JAFFEUX
c1c31b99ce
Replaces toolbar popup-menu with select-kit
2017-12-13 10:49:32 +01:00
Guo Xiang Tan
d5293aeae2
Clean Topic#slug when SiteSetting.slug_generation_method changes.
...
https://meta.discourse.org/t/removing-the-concept-of-slugs-for-some-languages/26643/24?u=tgxworld
2017-12-13 16:11:07 +08:00
Sam
9d925f6b26
FIX: correctly count participants when more than 24
...
Also cuts out one query for the normal case
2017-12-13 17:19:42 +11:00
Sam
b998efdc94
FIX: do not send mailing list emails to unapproved users
2017-12-13 15:13:17 +11:00
Sam
a393d3bcbb
FIX: ensure staged accounts are always inactive
...
If for any reason active is stored in the user model, clear it out
prior to creating an account
2017-12-13 14:22:16 +11:00
Gerhard Schlager
a7c1b0c81f
FIX: path whitelist for embedded comments didn't work with non-ASCII chars
2017-12-12 20:17:46 +01:00
Gerhard Schlager
e30851e45a
Move escape_uri method to a more suitable place
2017-12-12 20:17:46 +01:00
Robin Ward
5fbfe34356
FIX: Moderation History wasn't working from timeline admin button
2017-12-12 12:21:10 -05:00
Kris
1be32bf4cf
FIX: text indent on twitter oneboxes
2017-12-12 11:17:09 -05:00
Kris
d6a18f72b6
UX: Mobile user profile button adjustment
2017-12-12 10:58:03 -05:00
Kris
55c019f776
UX: Cleaning up staff counters on user profiles
2017-12-12 10:40:16 -05:00
Arpit Jalan
492af81e67
FIX: save registration_ip_address for staged users logging in via social auth
2017-12-12 17:41:16 +05:30
Guo Xiang Tan
e2b64257b3
Fix undefined method for NilClass error.
2017-12-12 18:54:29 +08:00
Régis Hanol
af3c153687
make robocop 🤖 happy
2017-12-12 11:33:35 +01:00
Régis Hanol
62a5b174e1
FIX: wasn't able to use the same username when taking over a staged account
2017-12-12 11:26:00 +01:00
Arpit Jalan
b014540fde
FIX: view was getting rendered twice for rate limiting error
2017-12-12 14:48:58 +05:30
Kris
920571ae07
UX: Making button on advanced search page match input height
2017-12-11 17:15:08 -05:00
Kris
60cd28d5b9
UX: Cleaning up user profiles on mobile
2017-12-11 15:40:04 -05:00
Vinoth Kannan
c17a28f875
Using const instead of var while declaring
2017-12-11 14:26:21 +05:30
Guo Xiang Tan
4bd5acec47
FIX: Topic#featured_link may contain more than a URL.
2017-12-11 16:36:19 +08:00
Arpit Jalan
3c56c9b637
FIX: strip webhook payload_url
2017-12-11 13:48:11 +05:30
Arpit Jalan
3c230d8f97
FIX: 'redirect_to :back' is deprecated
2017-12-11 12:18:19 +05:30
Kris
edd7cb4f0d
UX: Replacing some PX font definitions with EM based units
2017-12-08 17:10:49 -05:00
Robin Ward
b3bdc68639
UX: Add link to "Moderation History" to flagging interface
2017-12-08 15:48:32 -05:00
Vinoth Kannan
fdef4e58f0
Skip markdown table conversion from rich text feature flag setting
2017-12-08 18:30:38 +05:30
Vinoth Kannan
b9c0488687
New site setting to enable or disable rich text pasting
2017-12-08 14:09:39 +05:30
Vinoth Kannan
0a47642003
FIX: Pasted text removing if server unable to parse HTML to Markdown
2017-12-08 13:38:54 +05:30
Sam
cff9b8846d
FIX: rendering %lt;/div noscript in header
2017-12-08 10:30:00 +11:00
Robin Ward
74b9828731
FIX: Remove mentions filters from user and groups
...
Additionally return no data if disabled
2017-12-07 16:29:02 -05:00
Joffrey JAFFEUX
fd99e1ef56
FEATURE: site setting enable_mentions to turn on/off mentions
2017-12-07 16:27:58 -05:00
Kris
3e4f02a180
UX: Removing staff highlight from .name so it only applies to .user-title
2017-12-07 16:10:54 -05:00
Kris
6d5e5629f6
FIX: Choices input layout bug in IE11
2017-12-07 15:49:54 -05:00
Robin Ward
3cf4886d3e
UX: Add a class name to target the embedded post controls
2017-12-07 15:01:34 -05:00
Kris
f7c77171b9
UX: Eliminating a "sweet spot" at 870px viewport where the topic-body exceeds 690px wide
2017-12-07 14:32:31 -05:00
Robin Ward
aeebcef7e2
FIX: Don't show the email from the suspension on the user profile
2017-12-07 13:27:02 -05:00
Robin Ward
4ae1bbaeba
FIX: Only show the full suspension reason on the admin side
2017-12-07 13:27:02 -05:00
Kris
ef0d9d631c
UX: New style for staff highlight
...
Moved highlight to cooked content, also highlighting primary name (with shield) and title (if applicable).
**Before**:

**After**:
<img width="809" alt="screen shot 2017-12-06 at 3 55 31 pm" src="https://user-images.githubusercontent.com/1681963/33724287-09eb66de-db3d-11e7-8e02-0062ed2b8716.png ">
2017-12-07 12:40:39 -05:00
Kris
282633bc97
FIX: New topic composer layout in iOS10
2017-12-07 12:04:39 -05:00
Vinoth Kannan
be848b8a5c
FIX: Image pasted twice when it copied from browser
2017-12-07 21:23:31 +05:30
Vinoth Kannan
5cceb95f92
Improvement in composer HTML pasting
2017-12-07 21:13:09 +05:30
Vinoth Kannan
858cd3a589
Improvement in composer HTML pasting
2017-12-07 21:08:08 +05:30
Arpit Jalan
c168c5895f
Merge pull request #5407 from techAPJ/show-inactive-accounts
...
FEATURE: new site setting show_inactive_accounts
2017-12-07 20:52:37 +05:30
Maja Komel
cce077de56
move /tags/ topics list out of footer ( #5405 )
2017-12-07 15:25:04 +01:00
Arpit Jalan
5003f07b2c
FEATURE: new site setting show_inactive_accounts
2017-12-07 19:22:41 +05:30
Joffrey JAFFEUX
f0ef307d2d
FIX: topic timer offset applied two times
...
timezone offset was calculated and sent from browser to server, it would be applied on utc time generated from '2013-11-22 5:00' format for example and then sent back to browser which would display it thinking it's UTC time using `moment(utc time)` when it's in fact an UTC time we have offseted with the initial user timezone.
This is impossible to automatically test in the current app state. Easiest reproduction is in live browser after setting your timezone to `America/New_York`, when setting a topic timer to later_today, after save, the time under the topic should be off to something roughly equal +1/-1 hour to your timezone offset.
2017-12-07 14:42:58 +01:00
Kyle Zhao
c52f747031
FEATURE: Catalan Translations ( #5404 )
2017-12-07 10:36:25 +01:00
Guo Xiang Tan
c64774f4f8
Remove debugging code.
2017-12-07 06:48:12 +08:00
Régis Hanol
c08d53f2dd
keyValueStore isn't available in test
2017-12-06 23:28:28 +01:00
Kris
4d9f26879b
FIX: Composer preview-area plugin layout
2017-12-06 16:12:52 -05:00
Régis Hanol
ae0acfb1df
FEATURE: live reply indicators at the bottom of topic
2017-12-06 21:58:59 +01:00
Régis Hanol
ea50f823cb
FIX: logging in after an anon ❤️ does not count the ❤️
2017-12-06 21:58:05 +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
e8d5d34755
FIX: Don't show trust level if the API didn't return it
2017-12-06 13:13:51 -05:00
ckeboss
7a093ea5d6
Format username for desktop notifications ( #5403 )
...
FIX: Desktop notifications weren't formatting the username
2017-12-06 12:52:11 -05:00
Kris
f559275b14
FIX: Adjusted the composer preview to avoid odd scroll issue
2017-12-06 11:31:36 -05:00
Vinoth Kannan
7d88cfde0e
Skip paste handling if composer textarea lost focus
2017-12-06 19:36:13 +05:30
Guo Xiang Tan
4531563717
Hide new advanced editor and preview sync behind a hidden site settings.
2017-12-06 12:34:58 +08:00
Kris
da78e75f6f
UX: Mobile post control button color was too specific, overriding solved plugin
2017-12-05 21:07:20 -05:00
Joffrey JAFFEUX
75463e5a91
FIX: correctly print html entity when used in a locale for none
2017-12-05 19:09:12 -05:00
Kyle Zhao
5f318a5241
FEATURE: Replace SimpleRSS with Ruby RSS module ( #5311 )
...
* SPEC: PollFeedJob parsing atom feed
* add FeedItemAccessor
It is to provide a consistent interface to access a feed item's tag
content.
* add FeedElementInstaller
to install non-standard and non-namespaced feed elements
* FEATURE: replace SimpleRSS with Ruby RSS module
* get FinalDestination and download with Excon
* support namespaced element with FeedElementInstaller
2017-12-06 10:45:09 +11: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
Vinoth Kannan
94e9be3b88
Make eslint happy
2017-12-06 01:28:22 +05:30
Vinoth Kannan
8cf7152151
FIX: IE compatability issue in clipboard data types array
2017-12-06 01:02:06 +05:30
Vinoth Kannan
6e054b2572
FEATURE: Convert HTML to Markdown while pasting in composer
2017-12-05 12:23:39 -05:00
Arpit Jalan
daeb7694bc
update annotations
2017-12-05 21:03:20 +05:30
Vinoth Kannan
37948838be
FIX: Global event variable is not compatible with all browsers
2017-12-05 11:27:08 +05:30
Vinoth Kannan
4654f076f5
FIX: Drive spreadsheet table not converting to Markdown table
2017-12-05 11:03:33 +05:30
Kris
a1d880a215
FIX: Broken variable
2017-12-04 20:22:04 -05:00
Kris
4af4081c39
UX: Updating the edit post title layout
2017-12-04 15:29:02 -05:00
Neil Lalonde
b5a967ab43
lint failure
2017-12-04 14:32:01 -05:00
Neil Lalonde
23ea4b6739
FIX: don't create featured link if title includes more than a url
2017-12-04 14:21:08 -05:00
Neil Lalonde
fb08441802
Revert "FIX: don't create featured link if title includes more than a url"
2017-12-04 12:53:12 -05:00
Vinoth Kannan
e14281bdf6
Merge pull request #5393 from vinothkannans/clip-master
...
FEATURE: Paste plain text table as Markdown table
2017-12-04 22:45:07 +05:30
Neil Lalonde
cde42c3f69
FIX: don't create featured link if title includes more than a url
2017-12-04 12:03:41 -05:00
Kris
b55b7c5356
FIX: Removing horizontal scrollbar in category modal
2017-12-04 12:00:34 -05:00
Kris
8eb7518d2a
FIX: Disappearing tag input border on hi-res devices/when scaling
2017-12-04 11:35:02 -05:00
Kris
f1b5227aa6
FIX: Mobile composer layout for PMs
2017-12-04 11:15:10 -05:00
Kris
13840942b9
UX: Fixing code highlighting color issue in dark themes
2017-12-04 10:28:32 -05:00
Vinoth Kannan
ab4c953d82
FEATURE: Paste plain text table as Markdown table
2017-12-04 20:53:42 +05:30
Arpit Jalan
f466791a15
FIX: resolve from URL when using /new-topic route
2017-12-04 17:34:17 +05:30
Arpit Jalan
0e0794dff9
FIX: correct use of invitee vs inviter in email templates
2017-12-04 14:09:48 +05:30
Guo Xiang Tan
e73fbfe265
FIX: Topic#featured_link_root_domain extracts URL before parsing.
2017-12-04 10:00:07 +08:00
Robin Ward
3e83c34785
FIX: Don't include null class when rendering the pinned dropdown
2017-12-03 16:20:35 -05:00
Robin Ward
e80caab247
FIX: Reply to tab was not using the username formatter
2017-12-03 15:49:21 -05:00
Robin Ward
a0da098e6b
UX: Add new classes to make user creation more targetable
2017-12-03 15:03:06 -05:00
Kris
c8ad89afd4
UX: Adjustments to composer uploading message
2017-12-01 22:31:40 -05:00
Kris
d615a37eba
UX: Hiding composer preview reduces width of composer overlay
2017-12-01 22:23:12 -05:00
Jeff Atwood
bcd57d72a9
Merge pull request #5389 from vinothkannans/clip-master
...
FIX: Skip pasting files if plain text available in clipboard
2017-12-01 16:41:39 -08:00
Kris
a43c044b1e
UX: Removing an old font declaration
2017-12-01 16:17:01 -05:00
Neil Lalonde
b35960fc35
FIX: export admin reports to csv would have 0 rows in the csv file
2017-12-01 15:50:36 -05:00
Vinoth Kannan
e2c60ea4b2
FIX: Skip pasting files if plain text available in clipboard
2017-12-02 02:05:11 +05:30
Joffrey JAFFEUX
dbadebacd1
FIX: allows select-kit to search by null value
2017-12-01 20:02:00 +01:00
Kris
29bdf35977
FIX: Composer not properly centered in IE11
2017-12-01 13:58:04 -05:00
Kris
e7725e23ad
FIX: Flexbox composer issue in IE11, bad flex-shrink default
2017-12-01 13:12:25 -05:00
Arpit Jalan
54f5b4d4e0
FEATURE: log clicks on full page search
2017-12-01 23:21:16 +05:30
Kris
af11913314
FIX: Positining of search spinner in tablet-sized viewports
2017-12-01 11:01:03 -05:00
Joffrey JAFFEUX
966dbb9705
FIX: do not give any element focus when creating topic
2017-12-01 13:16:36 +01:00
Guo Xiang Tan
2e860eddc1
Don't sync scroll when input is not scrollable.
...
https://meta.discourse.org/t/composer-preview-scroll-not-syncing-with-editor/74975/14?u=tgxworld
2017-12-01 17:08:03 +08:00
Jeff Atwood
3e42dceaae
"reply to which topic" needs wider buttons
2017-11-30 23:25:32 -08:00
Arpit Jalan
496cd3b4df
Merge pull request #5385 from techAPJ/search-logs-improvements
...
FEATURE: support search click through tracking for user, category and tags
2017-12-01 12:08:38 +05:30
Arpit Jalan
e3925278e2
FEATURE: support search click through tracking for user, category and tags
...
https://meta.discourse.org/t/search-logs-page/73281/11?u=techapj
This commit adds following features:
- support for tracking click through to user, tag and category
- new filter for search type (header, full page)
This commit also removes "most viewed topic" field from search logs page because we are now tracking multiple click through entities, so topic is not a special entity anymore. This also improves query perf. The query now takes `20.5ms` to runs, as opposed to `655.9ms` previously.
2017-12-01 12:04:55 +05:30
Vinoth Kannan
7f2eeaf767
FIX: Password required flag should be cleared whenever clearing the raw password ( #5384 )
2017-12-01 15:19:24 +11:00
Kris
9876f3d0ee
FIX: extraneous mobile CSS, flagged badge color in dropdown
2017-11-30 17:29:29 -05:00
Neil Lalonde
3dd67e9c04
replace 'email' with envelope icon on user card for staged users
2017-11-30 16:55:27 -05:00
Neil Lalonde
bca90381cf
FIX: save drafts of new topics with titles but no body
2017-11-30 15:16:12 -05:00
Robin Ward
dfd309c64f
FIX: The user summary wasn't using the username formatter
2017-11-30 12:17:03 -05:00
Kris
3f8d0c5c94
FIX: Increasing overridden label contrast in settings
2017-11-30 10:13:09 -05:00
Vinoth Kannan
704dbd7cfc
FIX: Unable to remove existing user title ( #5386 )
2017-11-30 15:54:38 +01:00
Vinoth Kannan
1ee48966ca
REVERT: FIX: Password required flag should be cleared whenever clearing the raw password
2017-11-30 16:17:14 +05:30
Vinoth Kannan
1776649b4d
FIX: Password required flag should be cleared whenever clearing the raw password
2017-11-30 13:40:18 +05:30
Guo Xiang Tan
c128e421c4
FIX: Don't run job if topic timer has already been deleted.
2017-11-30 15:26:26 +08:00
Guo Xiang Tan
853b51b519
Add uniqueness validation for SingleSignOnRecord#external_id.
2017-11-30 15:15:52 +08:00
Guo Xiang Tan
f7f743970b
Just use space to prettify SSO verbose error logging.
2017-11-30 15:10:00 +08:00
Guo Xiang Tan
1c2d1682ae
Merge pull request #5328 from tgxworld/reenable_interpolation_keys_check
...
FIX: Re-enable invalid interpolation keys check and allow default key…
2017-11-30 13:04:54 +08:00
Sam
05f5df69b1
UX: Add tooltips for messages and notifications in header
2017-11-30 12:56:54 +11: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
Régis Hanol
1218ead355
UX: preloaded gravatar was appearing on the right instead of the left
2017-11-29 18:07:09 +01:00
Guo Xiang Tan
9fbe1436b6
UX: Replace heuristic solution root domain extraction for topic featured link.
2017-11-29 21:52:41 +08:00
Guo Xiang Tan
8491c5fba5
UX: Replace heuristic solution for extracting root domain.
2017-11-29 16:26:46 +08:00
Guo Xiang Tan
3e9c3f6f13
Fix JS test.
...
* `new Array` doesn't seem to be available in phantomJS yet.
2017-11-29 16:03:00 +08:00
Guo Xiang Tan
5b965ab5d0
Sync editor and preview when preview is updated.
2017-11-29 11:19:04 +08:00
Kris
03eb278034
FIX: Increased composer width to match preview, border width fix ( #5379 )
2017-11-28 21:57:27 -05:00
Guo Xiang Tan
ebc31975e8
Ember.run.schedule -> Ember.run.scheduleOnce.
2017-11-29 10:43:59 +08:00
Guo Xiang Tan
de17a8e856
UX: Sync input and preview when user is typing.
2017-11-29 09:56:15 +08:00
Guo Xiang Tan
4816619ba3
FIX: Editor and preview does not sync when scrolled to the bottom.
2017-11-29 08:38:57 +08:00
Guo Xiang Tan
bb0b7b61d7
FIX: Don't fail silently when updating a record.
2017-11-29 08:01:13 +08:00
Gerhard Schlager
44ee388070
FEATURE: omit images from og and twitter description tags
2017-11-28 21:34:02 +01:00
Robin Ward
04e8b7dffb
UX: Remove another plugin outlet container we don't need
2017-11-28 14:46:17 -05:00
Robin Ward
86df5846c8
Don't use a tag for a couple of topic outlets
2017-11-28 14:42:24 -05:00
Robin Ward
823896d698
FIX: Use parseable date format
2017-11-28 14:16:33 -05:00
Kris
fbc4191195
moving inputs outside of label tag
2017-11-28 14:12:01 -05:00
Robin Ward
23ee3047bf
FIX: Future date input selector was not respecting timezone
2017-11-28 13:44:24 -05:00
Robin Ward
f4b3306bf4
FIX: Link from flagged topics to user was broken
2017-11-28 13:10:30 -05:00
Gerhard Schlager
41e70c410c
FEATURE: replace GUID in image name uploaded from iOS ( #5370 )
2017-11-28 11:05:34 +01:00
Arpit Jalan
f37a1d5976
UX: add tooltip to unique on search logs page
2017-11-28 15:29:35 +05:30
Guo Xiang Tan
1d8b834301
Merge pull request #5369 from vinothkannans/queued
...
FIX: Error if queued post not found while updating
2017-11-28 17:51:05 +08:00
Angus McLeod
8a0d7bb922
Update wizard import to new select-kit style path ( #5375 )
2017-11-28 10:06:05 +01:00
Guo Xiang Tan
110dfbf42f
Uglify doesn't support ES6 yet.
2017-11-28 16:07:27 +08:00
Guo Xiang Tan
7b8699f3be
FIX: Can't load service-worker.js in production.
2017-11-28 15:40:57 +08:00
Jeff Wong
b094894c94
Feature: Add service worker registration method to plugin API
2017-11-28 14:01:41 +08:00
Sam
b3b55e18d1
UX: stop warping tiny onebox images
2017-11-28 12:32:35 +11:00
Sam
ceaadf6246
UX: adjustments for topic title editing
2017-11-28 12:00:18 +11:00
Kris
87c83f102d
small color fix
2017-11-27 18:30:12 -05:00
Kris
d31c8ffa87
small color adjustment ( #5374 )
2017-11-27 18:20:07 -05:00
Sam
5a715b7d55
lint it up
2017-11-28 07:39:24 +11:00
Kris
ada1d6b987
Composer restyle
...
* composer restyle, some input normalization
* style adjustments: spacing, preview background, colors
* small spacing adjustments, removing default iOS input appearance, fixing merge
* small width adjustment
* fixing mobile link modal for small devices
* FIX: more resilient allowInitiatlValueMutation implementation
* Build scrollMap only on scroll.
* FIX: pick date and time was not reseting state
* FIX: removes auto sizing and touchstart support for now
* Revert "FIX: reflects discourse icons naming scheme s/d-icon-*/d-*"
This reverts commit b5ed980235 .
* tweak icon-library generation
* FIX: regression preventing to set number of hours before closing
This commit also adds a full test suite for editing topic timer.
* FIX: makes allowInitialValueMutation more restrictive
* FIX: invite-list expects initial value mutation
* fixing tag input spacing
* minor input cleanup
* bump onebox version
* FIX: avoids test failing at some times of the day
* FIX: various issues when editing category permissions
This commit also adds multiple tests
2017-11-27 15:23:18 -05:00
Joffrey JAFFEUX
49b1df40fc
FIX: various issues when editing category permissions
...
This commit also adds multiple tests
2017-11-27 19:50:04 +01:00
Neil Lalonde
c22f202e10
FIX: missing likes count on top topics in user summary
2017-11-27 13:42:16 -05:00
Robin Ward
36d46df8dc
New setting to show the reply title on the post menu on mobile
2017-11-27 13:21:53 -05:00
Arpit Jalan
2c16240b60
fix the build
2017-11-27 23:18:08 +05:30
Arpit Jalan
bf415f2d40
FIX: youtube playlist videos were not functioning properly in fullscreen
2017-11-27 22:56:44 +05:30
Robin Ward
77f90876d3
REFACTOR: Track manual locked user levels separately from groups
2017-11-27 11:23:44 -05:00
Vinoth Kannan
31aa21b5a4
FIX: Error if queued post not found while updating
2017-11-27 19:25:51 +05:30
Sam
608207b2e5
FEATURE: avatar proxy happens in background
...
This ensures that even if it is slow to download avatars site will
continue to work
Also simplifies hijack pattern
2017-11-27 17:43:24 +11:00
Sam
d5e7691ae9
favicon proxy now uses hijack
2017-11-27 14:51:14 +11:00
Guo Xiang Tan
5805979e88
FIX: Re-enable invalid interpolation keys check and allow default keys to be left out of translation overrides.
...
https://meta.discourse.org/t/bulk-invite-from-file-resets-the-invite-forum-mailer-customized-text/67606/16
2017-11-27 11:00:08 +08:00
Sam
eb428ef54d
FEATURE: uploads are processed a faster
...
Also cleans up API to always return 422 on upload error. (previously returned 200)
Uploads are processed using new hijack pattern
2017-11-27 12:43:35 +11:00
Sam
a74ac90bf5
FIX: quote dropped when replying as new topic
2017-11-27 10:08:55 +11:00
Angus McLeod
4b919cd735
Move queuedForTyping assignment ( #5366 )
2017-11-27 09:43:41 +11:00
Joffrey JAFFEUX
329343be06
FIX: various sizing issues on select-kit
2017-11-26 17:21:39 +01:00
Arpit Jalan
abbb2b28eb
bump onebox version
2017-11-25 15:53:18 +05:30
Neil Lalonde
39d7745dc5
UX: show staged users' email addresses to staff without requiring a button press
2017-11-24 16:11:34 -05:00
Neil Lalonde
510a2a1e0f
remove ancient unused css
2017-11-24 15:42:50 -05:00
Neil Lalonde
6f8f2c494d
FIX: admin strings in plugins should fallback to english when untranslated
2017-11-24 14:11:01 -05:00
Kris
c2da25dd5c
Cleaning up the 404 page ( #5363 )
2017-11-24 12:41:31 -05:00
Guo Xiang Tan
f3f051a344
UX: Composer textarea should always start at the top.
2017-11-24 23:24:37 +08:00
Joffrey JAFFEUX
f2c7f39066
FIX: invite-list expects initial value mutation
2017-11-24 13:32:24 +01:00
Joffrey JAFFEUX
96cdc4e66e
FIX: makes allowInitialValueMutation more restrictive
2017-11-24 13:15:02 +01:00
Gerhard Schlager
b3094e9954
FIX: incoming and outgoing emails got lost when post was moved
2017-11-24 11:45:36 +01:00
Guo Xiang Tan
44333c5de3
REFACTORY: Dry up some composer syncing code.
2017-11-24 14:57:36 +08:00
Sam
e0e99d4bbd
PERF: hijack onebox requests so they do not use up a unicorn worker
2017-11-24 15:31:40 +11:00
Joffrey JAFFEUX
63307c303a
FIX: regression preventing to set number of hours before closing
...
This commit also adds a full test suite for editing topic timer.
2017-11-24 02:48:45 +01:00
Neil Lalonde
3f58b18dab
FEATURE: user card shows staff if a user is staged and lets them check the email address
2017-11-23 16:38:11 -05:00
Arpit Jalan
406ad1a1f2
Merge pull request #5357 from techAPJ/invite-trust-level
...
FIX: invited users were not granted trust level based on their group
2017-11-23 23:42:20 +05:30
Robin Ward
ad07e6e172
FEATURE: group_removes_trust_level setting
...
By default in Discourse, if a group grants a user a particular trust
level that is locked even if they are removed from the group.
With this new setting, when a user is removed from a group their
trust level is set to either the next highest trust level based on group
membership, or they are unlocked and promoted based on the default
mechanisms.
2017-11-23 13:03:24 -05:00
Joffrey JAFFEUX
9208909b26
tweak icon-library generation
2017-11-23 18:24:26 +01:00
Joffrey JAFFEUX
dd5562322b
Revert "FIX: reflects discourse icons naming scheme s/d-icon-*/d-*"
...
This reverts commit b5ed980235 .
2017-11-23 18:24:26 +01:00
Arpit Jalan
3508046e33
FIX: invited users were not granted trust level based on their group
...
https://meta.discourse.org/t/bulk-invites-and-trust-level/73535
If the user enters password when accepting invite they were not granted
trust level based on their group privileges. It was because `password_required` was set to true when creating user record and when the user was updated again when granting trust level the password validation was raising error saying that the password is empty. This commit fetches fresh user record after the user is created so that the user record can be updated successfully.
2017-11-23 22:19:28 +05:30
Gerhard Schlager
39810e4425
FIX: do not move small post actions
2017-11-23 17:25:53 +01:00
Joffrey JAFFEUX
616a0dae4e
FIX: removes auto sizing and touchstart support for now
2017-11-23 15:34:52 +01:00
Gerhard Schlager
eaa54a5a64
FIX: don't store state of composer's preview in mobile view
2017-11-23 15:22:00 +01:00
Joffrey JAFFEUX
5b3ecffbb2
FIX: pick date and time was not reseting state
2017-11-23 15:18:27 +01:00
Guo Xiang Tan
c5745feac6
Build scrollMap only on scroll.
2017-11-23 21:44:09 +08:00
Joffrey JAFFEUX
fe94e7c453
FIX: more resilient allowInitiatlValueMutation implementation
2017-11-23 14:39:26 +01:00
Guo Xiang Tan
ab839d134b
Fix scrollmap included NaN values.
2017-11-23 18:08:43 +08:00
Joffrey JAFFEUX
9f0798682e
FIX: tweak alignment of select-kit in navigation bar
2017-11-23 10:42:39 +01:00
Guo Xiang Tan
486016acea
UX: Improve editor and preview scroll syncing.
2017-11-23 17:02:02 +08:00
Sam
49f97d75b7
FIX: make uploads safe for block that can run later
2017-11-23 17:28:18 +11:00
Sam
d43a54e83a
FIX: use current_user.id in onebox instead of param
2017-11-23 15:32:19 +11:00
Sam
2fe131db9f
UX: handle super tall images in onebox respectfully.
...
Tall images got distorted previously
2017-11-23 14:45:46 +11:00
Neil Lalonde
6c86e0c94a
FEATURE: remove the featured link by editing the topic
2017-11-22 14:53:35 -05:00
Joffrey JAFFEUX
d32c95b6e8
FIX: avoid touch on select-kit causing instant closing of it
2017-11-22 16:36:50 +01:00
Régis Hanol
8a7cbeef00
UX: hide 'dismiss' in notifications dropdown when there are no unread notifications
2017-11-22 15:56:01 +01:00
Régis Hanol
4addc5e329
Add missing contexts when destroying users
2017-11-22 15:43:54 +01:00
Joffrey JAFFEUX
acdfb3ed03
FIX: don’t convert an object using EachProxy to an array
2017-11-22 14:33:04 +01:00
Joffrey JAFFEUX
b14d9529b8
FIX: adds support for name changes tracking
2017-11-22 13:49:45 +01:00
Joffrey JAFFEUX
86b8f6b238
FIX: cast integer on truthy value and not only true
...
allows castInteger="true" to work
2017-11-22 13:40:22 +01:00
Joffrey JAFFEUX
5a992fe5e7
FIX: makes sure keyboard is disabled on mobile
2017-11-22 12:33:07 +01:00
Joffrey JAFFEUX
a3b511f4f5
FIX: simplify keyboard handling
2017-11-22 11:29:30 +01:00
Joffrey JAFFEUX
b2b565c2fb
select-kit initial plugin api implementation (0.8.13)
...
```
api.modifySelectKit("identifier-of-the-select-targeted")
.modifyContent((context, existingContent) => {})
.appendContent(() => {})
.prependContent(() => {})
.onSelect((context, val) => {});
```
2017-11-22 10:34:12 +01:00
Joffrey JAFFEUX
f3db3c7e0b
FIX: future-date-input-row lost datetimes
2017-11-22 08:52:00 +01:00
Sam
a92f61e926
FIX: allow login required sites access to attachements
2017-11-22 10:50:55 +11:00
Joffrey JAFFEUX
761f4afd85
FIX: tab should select and focus next tabindex
2017-11-21 23:28:48 +01:00
Robin Ward
8d98752b57
Allow sites to bootstrap the error page.
...
This will display working dropdowns and such even if the page is a 404.
2017-11-21 16:13:09 -05:00
Robin Ward
be34b796ea
UX: Add targetable class
2017-11-21 14:55:55 -05:00
Neil Lalonde
33feb62673
FIX: times showing as < 1m instead of blank
2017-11-21 14:33:49 -05:00
Neil Lalonde
66e53f449a
UX: Auth complete page/modal has a link to continue to the site to accomodate auth methods that can't automatically redirect to Discourse
2017-11-21 13:56:19 -05:00
Joffrey JAFFEUX
12beb77afa
FIX: make sure the element exists before calling off
...
This commit fixes an issue happening only when running tests under `/qunit` and not with `rake qunit:test`
2017-11-21 19:08:59 +01:00
Robin Ward
7533e5b541
UX: Use date picker on full page search
2017-11-21 12:52:23 -05:00
Joffrey JAFFEUX
7669146897
FIX: force focus input only on expand
2017-11-21 18:23:49 +01:00
Robin Ward
628275fc31
FIX: Some badge routes were still working even with badges disabled
2017-11-21 12:22:44 -05:00
Joffrey JAFFEUX
9444c31918
FIX: makes typing indicator visible when possible
2017-11-21 18:07:10 +01:00
Joffrey JAFFEUX
3dfc0777df
FIX: close on click outside
2017-11-21 17:37:13 +01:00
Joffrey JAFFEUX
00e9805e23
FIX: category descriptions should display html
2017-11-21 17:31:26 +01:00
Joffrey JAFFEUX
2087d011df
FIX: fix bugs with keyboard events
2017-11-21 16:59:03 +01:00
Joffrey JAFFEUX
b5ed980235
FIX: reflects discourse icons naming scheme s/d-icon-*/d-*
2017-11-21 16:01:15 +01:00
Joffrey JAFFEUX
f210e1660d
uses correct path for component connector
2017-11-21 16:00:49 +01:00
Joffrey JAFFEUX
b76154ec36
minor refactoring of component-connector
2017-11-21 15:48:56 +01:00
Joffrey JAFFEUX
5dd890eb3d
FIX: displayCategoryDescription was not working correctly
2017-11-21 15:38:30 +01:00
Joffrey JAFFEUX
b8c95373be
uses right naming for search-advanced-category-chooser component
2017-11-21 14:47:53 +01:00
Arpit Jalan
753a4fc369
UX: make onebox timestamp consistent with header
2017-11-21 16:39:15 +05:30
Joffrey JAFFEUX
39f3dbd945
Introduces select-kit
...
* renames `select-box-kit` into `select-kit`
* introduces `single-select` and `multi-select` as base components
* introduces {{search-advanced-category-chooser}} as a better component for selecting category in advanced search
* improves events handling in select-kit
* recreates color selection inputs using {{multi-select}} and a custom {{selected-color}} component
* replaces category-selector by a component using select-kit and based on multi-select
* improves positioning of wrapper
* removes the need for offscreen, and instead use `select-kit-header` as a base focus point for all select-kit based components
* introduces a formal plugin api for select-kit based components
* introduces a formal pattern for loading and updating select-kit based components:
```
computeValue()
computeContent()
mutateValue()
```
2017-11-21 11:53:09 +01:00
Régis Hanol
c4d0eb802e
FIX: delete upload records when sha is null
2017-11-21 10:20:42 +01:00
Guo Xiang Tan
f7642e076d
REFACTOR: Avoid duplicated logic on server and client.
2017-11-21 17:10:04 +08:00
Régis Hanol
2d48caffdf
FIX: be more lenient when deleting a custom emoji
2017-11-20 23:50:23 +01:00
Neil Lalonde
dcd60dcc8f
FIX: cap posts_read_count in user_stats to 50 posts per topic_entered
2017-11-20 17:15:05 -05:00
Robin Ward
f8164956dd
Add quote and mention support for username formatters
2017-11-20 16:28:03 -05:00
Robin Ward
c53ed61bd3
UX: There were many places where username formatters were not applied
2017-11-20 15:03:13 -05:00
Robin Ward
b9595966d4
FIX: Error applying quotes with blank lines in front
2017-11-20 13:46:19 -05:00
Robin Ward
0a9daba627
FIX: Support for long suspension emails
2017-11-20 12:45:46 -05:00
Neil Lalonde
8496191f0b
UX: better tooltip for read time on user cards
2017-11-20 11:55:22 -05:00
Sam
7e841a0495
FIX: stop counting PMs, deleted topics and whispers in directory and user stats
2017-11-20 16:44:09 +11:00
Guo Xiang Tan
a27dd760b9
FIX: Incorrect group path.
2017-11-20 09:55:15 +08:00
Sam
ff1ce175fc
FIX: sometimes quote button did nothing on Firefox
2017-11-20 11:14:44 +11:00
Gerhard Schlager
92a831bae6
FEATURE: user directory returns staged users during search
2017-11-19 01:17:31 +01:00
Neil Lalonde
6dda87c49b
FEATURE: show topics viewed on user summary
2017-11-17 17:53:30 -05:00
Neil Lalonde
7c6f991313
REFACTOR: remove AgeWord calls from serializers and do it in javascript
2017-11-17 17:53:30 -05:00
Kris
4daaa3544b
mobile topic adjustments
2017-11-17 16:57:25 -05:00
Neil Lalonde
87ec11e298
FIX: more accurate counting of posts read. Skipping to the end of a topic does not count all posts as read in user stats.
2017-11-17 16:08:46 -05:00
Robin Ward
3785429948
FIX: Missing word boundaries when non-regexp
2017-11-17 14:37:31 -05:00
Robin Ward
d755c9c90f
FIX: Allow regular expressions to specify boundaries
2017-11-17 14:13:44 -05:00
Joffrey JAFFEUX
faa597ff90
FIX: avoids view jumping on mobile
2017-11-17 07:31:57 -08:00
Gerhard Schlager
d47fa6653b
do not notify staged users about posts withing mailinglist mirror category
2017-11-17 15:29:14 +01:00
Gerhard Schlager
8f6d35aa59
FEATURE: category setting for mailinglist mirror
2017-11-17 15:29:14 +01:00
Régis Hanol
ddd4ddc020
missing 1px in .posters column when there are 5 posters and OP is most recent poster
2017-11-17 12:42:19 +01: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
Kris
3d145a588f
fixing an inconsistency that was cuasing some theme issues ( #5320 )
2017-11-16 12:44:00 -05:00
Robin Ward
54db283e31
Small code tidy up for user/activity menu
2017-11-16 11:49:14 -05:00
Régis Hanol
678e28794a
FIX: properly handle too large & broken images in posts
2017-11-16 15:45:07 +01:00
Sam
174ab2d93a
minor, ensure ordering of custom fields is consistent
2017-11-16 15:14:10 +11:00
Sam
9c22c68d39
FIX: only save custom fields if they actually change
2017-11-16 15:14:10 +11: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
20fbf81505
FEATURE: Allow plugins to easily add defaults to GlobalSetting
...
usage:
GlobalSetting.add_default("plugin_setting_name", "value")
2017-11-16 08:39:29 +11:00
Kris
fa9efb799c
fixing some button issues on mobile posts
2017-11-15 14:52:33 -05:00
Gerhard Schlager
9207dee69a
FEATURE: escape HTML when cooking plaintext emails
2017-11-15 20:22:11 +01:00
Robin Ward
cef64e8f03
UX: Use no_ember styling for omniauth error page
2017-11-15 14:04:26 -05:00
Robin Ward
9e03b5c69a
FIX: Don't load other locales in test mode
2017-11-15 12:50:20 -05:00
Robin Ward
fc73de9578
Support for finding new locales in plugins
2017-11-15 11:20:04 -05:00
Robin Ward
44081bdf73
FIX: Moderators couldn't delete spammers via flag modal
2017-11-15 10:46:09 -05:00
Vinoth Kannan
cbc0afb399
REFACTOR: Instance methods added to 'PluginStore' model for easy access ( #5315 )
2017-11-15 10:10:20 -05:00
Vinoth Kanan
c025fcffa5
UX: Large image placeholder alignment fix
2017-11-15 18:50:16 +05:30
Arpit Jalan
2e7c61681e
PERF: n+1 query when fetching search_logs
2017-11-15 16:23:57 +05:30
Vinoth Kannan
7b494a65c9
NEW: large image placeholder added in cooked html ( #5291 )
2017-11-15 11:30:47 +01:00
Vinoth Kanan
9ed16343fc
Remove email column from schema information
2017-11-15 15:45:19 +05:30
Gerhard Schlager
0d8ddaf4ab
FIX: notification dropdown was not visible for group archive
...
was causing empty message list when navigation back from group message
2017-11-15 10:17:42 +01:00
Arpit Jalan
ee1f68438e
UX: sort search logs results by unique searches
2017-11-15 12:58:40 +05:30
Sam
813e21d0e8
FIX: current user serializer consistently returns {} for custom_fields
...
Resolves : #5210
2017-11-15 11:55:37 +11:00
OsamaSayegh
4c4410225e
UX: cap likes 2 ( #5237 )
2017-11-15 11:28:54 +11:00
Arpit Jalan
3831663fea
FEATURE: search logs page ( #5313 )
2017-11-15 11:13:50 +11:00
Robin Ward
7ecc15cad1
FIX: Expansion of user posts was broken
2017-11-14 17:07:12 -05:00
Robin Ward
d07ebf9d4c
UX: Support for custom error pages and headers in plugins
2017-11-14 16:31:44 -05:00
Robin Ward
1c56e1c063
Support for HTML builders on the no-ember view
2017-11-14 16:04:27 -05:00
Robin Ward
0e2b9d3c10
UX: Make flag dropdown actions more clear
2017-11-14 15:44:16 -05:00
Robin Ward
77594ab107
UX: Add class for targeting
2017-11-14 14:42:42 -05:00
Robin Ward
971e302ff2
FEATURE: Support an end date for user silencing
2017-11-14 13:20:19 -05:00
Robin Ward
52480d554a
UX: Support for custom 404 pages
2017-11-14 11:57:17 -05:00
Joffrey JAFFEUX
680696fc04
Replaces delete flag modal by a dropdown
2017-11-14 07:55:08 -08:00
Gerhard Schlager
4be8f17e66
FIX: counting invites didn't work
...
PostgreSQL reported the following error:
"for SELECT DISTINCT, ORDER BY expressions must appear in select list"
2017-11-14 11:40:07 +01:00
Régis Hanol
ba2209f7d7
FIX: always clean up uploads with no sha1
2017-11-14 10:56:10 +01:00
James Kiesel
ddff25d7ff
Fix placeholder for show more images ( #5312 )
2017-11-14 09:46:31 +01:00
Sam
4b42a0abc9
FIX: add error for suspended users attempting to login via sso
2017-11-14 16:52:00 +11:00
Sam
47e4c9bb46
FIX: import/export theme should work with uploads
2017-11-14 16:30:23 +11:00
Sam
075a458489
FIX: child theme component vars not resolved in parent
2017-11-14 15:22:59 +11:00
Joffrey JAFFEUX
e0bee3a3bc
FIX: mutate value if numeric in enums
2017-11-13 18:51:19 -08:00
Kris
a9fd42f91c
fixing category delete modal background color
2017-11-13 17:09:20 -05:00
Robin Ward
55e5cfcc67
UX: Collapse button displayed in the wrong place
2017-11-13 12:29:18 -05:00
Gerhard Schlager
d3baae5365
removes whitespaces and uses scope
2017-11-13 15:23:24 +01:00
Régis Hanol
7370adeae3
FIX: don't delete uploads referenced in drafts or queued posts when using the short_url
2017-11-13 15:01:31 +01:00
Sam
38c103c75e
correct spec
2017-11-13 18:09:24 +11:00
Sam
8a66446849
FEATURE: add overflow-y auto to Markdown tables
2017-11-13 17:52:15 +11:00
Sam
cb14da4d90
FIX: stop stripping "undefined" from fullpage search
2017-11-13 17:26:02 +11:00
Sam
281e430a89
UX: expand parent category in full screen search results
2017-11-13 16:56:20 +11:00
Sam
dfe9f70747
UX: warn that something must be selected with safe mode
2017-11-13 15:59:51 +11:00
Sam
232311aa8c
FIX: missing short image resolution on queued posts
2017-11-13 12:08:11 +11:00
Sam
3ac7d041ae
UX: generic onebox treats all square images as avatars and renders them smaller
2017-11-13 11:21:19 +11:00
Arpit Jalan
be1bc2706b
FIX: redirect /admin/users to Admin Users List
2017-11-12 14:53:32 +05:30
Joffrey JAFFEUX
4af7881cb7
FIX: removes clip causing UI glitches on safari
2017-11-11 12:16:00 -08:00
Joffrey JAFFEUX
0f0b2907a7
FIX: makes fixed positioning more resilient
2017-11-11 11:46:26 -08:00
Joffrey JAFFEUX
9219786a24
FIX: makes sure fixed positioning is correctly applied and removed
2017-11-11 10:33:37 -08:00
Jeff Atwood
d7dbda1503
Merge pull request #5302 from awesomerobot/master
...
bringing mobile topic statuses to parity with desktop
2017-11-10 13:56:32 -08:00
Kris
9716e3ddf3
bringing mobile topic statuses to parity with desktop
2017-11-10 16:45:06 -05:00
Robin Ward
94764399ae
Delete unused files
2017-11-10 16:02:46 -05:00
Robin Ward
75dad26fa5
Rename confusing action name
2017-11-10 16:02:46 -05: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
Robin Ward
1f14350220
Rename "Blocked" to "Silenced"
2017-11-10 14:10:27 -05:00
Neil Lalonde
ec3d800492
add option to force DirectoryItem.refresh_period! to run even if user directory is disabled
2017-11-10 12:30:22 -05:00
Neil Lalonde
9dc9ca4ac0
FIX: be consistent with how first posts in topics are counted. do like DirectoryItem.refresh_period :all
2017-11-10 12:18:25 -05:00
Régis Hanol
5135f73933
actually use -very-low color
2017-11-10 17:57:02 +01:00
Régis Hanol
482982dce8
UX: fix user bio & category topic template editors
2017-11-10 17:52:08 +01:00
Gerhard Schlager
31e2385316
FEATURE: do not send notification emails to users who are included in the To and CC header of an incoming email
2017-11-10 17:44:20 +01:00
Robin Ward
32be3f98c9
UX: Widget options to disable FAQ and About
2017-11-10 10:54:15 -05:00
Régis Hanol
6cd69529a8
UX: change composer button text to 'whisper' when whispering
2017-11-10 14:18:19 +01:00
Sam
0b905e24ed
should not have changed this
2017-11-10 09:13:00 +11:00
Robin Ward
c53ddb7723
FIX: Sometimes viewing a user's action logs would reset to view all
2017-11-09 15:35:12 -05:00
Neil Lalonde
16ff2a4715
FIX: topic counts after converting topic to/from public and private
2017-11-09 15:33:44 -05:00
Joffrey JAFFEUX
6d3ed966cd
FEATURE: replace admin flags modal by a select-box
2017-11-09 12:33:36 -08:00
Kris
a62457bf29
fixing the input color issue on mobile ( #5299 )
2017-11-10 07:03:19 +11:00
Sam
90351348ec
FIX: checkUsername, delete and dismissBanner not working with users with .
2017-11-10 07:01:43 +11: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
Robin Ward
162932114e
UX: Add an outlet to the user admin page
2017-11-09 14:18:30 -05:00
Joffrey JAFFEUX
0da529010a
FEATURE: support for multi-combo-box
2017-11-09 10:57:53 -08:00
Robin Ward
3093074398
UX: Include the flagged person's username on the flagged post
2017-11-09 13:18:33 -05:00
Robin Ward
6e2853da53
UX: Make flagged topics details button more clear
2017-11-09 13:03:35 -05:00
Robin Ward
1fb409e521
FIX: Use offset to calculate eyeline, which is safer than position
2017-11-08 16:34:57 -05:00
Robin Ward
e527294904
UX: Allow collapsing of group posts after they've been expanded
2017-11-08 16:34:57 -05:00
Neil Lalonde
2aadc42662
FEATURE: show read time on user cards
2017-11-08 15:25:56 -05:00
Neil Lalonde
3940e95227
better way to show dismiss link based on notifications widget state
2017-11-08 11:20:39 -05:00
Neil Lalonde
7134b11673
better tooltip on the dismiss link
2017-11-08 10:45:41 -05:00
Arpit Jalan
b21d5d3633
FIX: SSO email match should be case insensitive
2017-11-08 20:37:41 +05:30
Régis Hanol
0bb07d395a
REFACTOR: composer to use flexbox
2017-11-08 10:39:26 +01:00
Guo Xiang Tan
6def5a344a
Let's be more aggressive with purging old WebHookEvent records.
2017-11-08 14:15:34 +08:00
Guo Xiang Tan
6090994cdf
FEATURE: Retain the latest 30 days of WebHookEvent records by default.
2017-11-08 14:11:01 +08:00
Guo Xiang Tan
ed16cba77f
REFACTOR: Raise error if email token fails to create.
2017-11-08 12:02:33 +08:00
Guo Xiang Tan
9abeaa4719
Revert "Validates presence of UserEmail#user_id in AR."
...
This reverts commit 0dec3269d8 .
2017-11-08 11:54:18 +08:00
Guo Xiang Tan
0dec3269d8
Validates presence of UserEmail#user_id in AR.
2017-11-08 11:43:41 +08:00
Guo Xiang Tan
4bb454d889
FIX: JSON custom fields incorrectly being converted to an array.
...
https://meta.discourse.org/t/custom-fields-simultaneous-save-with-json-becomes-an-array/73647
2017-11-08 11:17:37 +08: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
Sam
fc7dca58fe
UX: oneboxes with avatars now display consistently
...
Onebox avatar size is reduced to 60px
Also fixes regression with some oneboxes not cooking after post
2017-11-08 11:50:01 +11: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
Sam
3f2105db85
UX: iOS 11 modals now hide all background
...
This fixes issues where login looks very buggy on iOS
see also: https://meta.discourse.org/t/ios-11-makes-discourse-buggy/71140/7
2017-11-08 07:31:45 +11:00
Neil Lalonde
234f0262b8
UX: use down chevron button instead of "show more" text to link to full list of notifications
2017-11-07 13:48:55 -05:00
Neil Lalonde
814502f7bb
FEATURE: add a Dismiss link to user menu that dismisses all notifications
2017-11-07 10:41:21 -05:00
Guo Xiang Tan
9355f92f78
Add more verbose SSO logging.
2017-11-07 19:38:36 +08:00
Guo Xiang Tan
95c891cf11
Raise error if sso record fails to create.
2017-11-07 18:38:38 +08:00
Rafael dos Santos Silva
bf82b34f10
FIX: Remove scope in SW register, avoid duplicated SWs
2017-11-07 01:05:30 -02:00
Guo Xiang Tan
b3237d37f0
Drop unused email column from users table.
2017-11-07 10:12:33 +08:00
Neil Lalonde
7eb5f78343
UX: increase max length of topic titles in summary email html by 40 characters
2017-11-06 10:00:01 -05:00
Guo Xiang Tan
abdfac9cb5
FIX: Allow group members to freely exit group option incorrectly disabled.
...
https://meta.discourse.org/t/cannot-check-allow-members-to-leave-group-freely-when-group-is-configured-to-allow-users-to-send-membership-requests-to-group-owners/73400
2017-11-06 10:30:58 +08:00
Robin Ward
4e618aa08f
UX: Missing element id
2017-11-04 10:15:16 -04:00
Robin Ward
7847002f90
UX: Add more classes for customization purposes
2017-11-04 10:03:15 -04:00
Jeff Atwood
138e8dc3e3
Merge pull request #5288 from awesomerobot/master
...
fixing the "me" color in the directory
2017-11-03 14:27:55 -07:00
Robin Ward
43d025b312
FIX: All groups were redirecting to posts
2017-11-03 17:09:30 -04:00
Kris
acbf265cc1
fixing the "me" color in the directory
2017-11-03 17:07:56 -04:00
Robin Ward
6b466cd1b4
UX: Dynamic margins on flexbox categories-and-latest
2017-11-03 16:09:43 -04:00
Robin Ward
2097c60cc0
UX: Wrap columns on categories/latest if the browser is too small
2017-11-03 15:50:16 -04:00
Robin Ward
2f0c9793f1
FEATURE: Allow multiple html builders to be registered via plugins
2017-11-03 11:32:32 -04:00
ckeboss
93633865d9
Adds primary user group as a class to quote ( #5285 )
...
* Adds primary user group as a class to quote
This feature addition will add the class `group-PRIMARY_USER_GROUP` to
the quote `aside`. `PRIMARY_USER_GROUP` will be the primary user group
of the user being quoted. This is similar to the class that is added to
a `topic-post`.
* Remove trailing whitespace
* Fix avatar in test
* Address PR comments
* Fix trailing whitespace
2017-11-03 09:51:40 -04:00
Guo Xiang Tan
d320f4840d
FIX: Unable to invite groups that are not public visible into pms.
...
https://meta.discourse.org/t/inviting-groups-broken-in-head/73346/6
2017-11-03 21:40:33 +08:00
Sam
56412adad5
FEATURE: custom setting for large square site icon
...
This icon is used for android splash screen
2017-11-03 16:19:31 +11:00
Neil Lalonde
c7d7cb940c
FIX: dashboard posts report was including posts in daily data, but not in totals
2017-11-02 18:46:28 -04:00
Neil Lalonde
24af9b7d97
FIX: when a topic is deleted, update the post count stats of all user who replied
2017-11-02 18:05:23 -04:00
Robin Ward
51e74cb66e
UX: Plugin outlet for group nav
2017-11-02 15:52:04 -04:00
Robin Ward
e700068b17
UX: Convert Group Posts to Flexbox
2017-11-02 14:47:17 -04:00
Robin Ward
5a55ce65f3
UX: Hide category badge colors if the style is none
2017-11-02 12:50:24 -04:00
Gerhard Schlager
d85ac97dc6
FIX: clicking on button label didn't close popup
2017-11-02 17:11:25 +01:00
Guo Xiang Tan
edf4af608e
FIX: Better match when searching for groups.
2017-11-02 10:20:14 +08:00
Guo Xiang Tan
ab2a5cef38
FIX: Can't edit membership request template on group page.
2017-11-02 08:51:43 +08: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
a931d7ba56
UX: Add new targetable class in staff-action-logs
2017-11-01 16:05:00 -04:00
Robin Ward
0a69f2bc77
REFACTOR: Remove many Discourse.Category.list() calls
2017-11-01 15:25:35 -04:00
Robin Ward
fdb342f0f0
Add a plugin outlet before the group content
2017-11-01 14:25:28 -04:00
Robin Ward
f57d3c2315
REFACTOR: Groups navigation to a component
2017-11-01 12:43:20 -04:00
Neil Lalonde
7dc3671490
FEATURE: remove obsolete settings ga_tracking_code and ga_domain_name. Use ga_universal_tracking_code and ga_universal_domain_name instead.
2017-11-01 11:41:51 -04:00
Arpit Jalan
6d8976e949
UX: support onebox labels
2017-11-01 15:44:52 +05:30
Joffrey JAFFEUX
9c5ad4648f
FIX: improves icon alignment
...
the mobile icon has a higher height than other icons, given we want a total 30px height and we apply a 5px top and bottom padding, the icon can be at most 20px height
2017-10-31 23:14:14 -07:00
Rafael dos Santos Silva
3c8b376e4a
FIX: Coalesce properly logos for the mobile manifest
2017-11-01 02:28:09 -02:00
Rafael dos Santos Silva
32b3847d52
FIX: Update mobile logo resolution
...
This makes Discourse compliant with latest Google PWA requirements,
so we get the App Install banner back.
Should bump our Lighthouse PWA Audit score to 11/11.
2017-11-01 01:51:51 -02:00
Robin Ward
076df104dc
FEATURE: Support filtering of groups page by category if in url
2017-10-31 17:50:06 -04:00
Neil Lalonde
e7d8f5f9c8
FIX: support /my routes with subfolders
2017-10-31 16:02:32 -04:00
Robin Ward
aee316c6ff
FIX: Unused variable is tripping up linter
2017-10-31 15:51:23 -04:00
Robin Ward
882cc9f992
Support appending a category id to a navigation item dynamically
2017-10-31 15:42:12 -04:00
Robin Ward
422f990615
REFACTOR: Extract navigation into a component
2017-10-31 15:23:38 -04:00
Neil Lalonde
d753adab84
FIX: badge description links broken on subfolder
2017-10-31 15:18:52 -04:00
Sam
1bd9e64a36
FIX: offline controller regression
2017-10-31 15:44:50 +11:00
Sam
9197feefb8
UX: onebox images no longer cause jiggle
...
This stops pages from "jiggling" while oneboxes download.
see: http://cssmojo.com/aspect-ratio-using-custom-properties-and-calc/
2017-10-31 13:50:58 +11:00
Sam
7c5a71e929
DEV: allow queue_jobs = false in dev
...
your mileage may vary
2017-10-31 13:50:58 +11:00
Guo Xiang Tan
85c749d6e4
Fix eslint.
2017-10-31 08:34:13 +08:00
Penar Musaraj
bd1616d3d9
Add offline route and service worker to fix Android app install banner ( #5217 )
...
* set up static offline.html route and service worker for Android Web App Banner
* add viewport meta tag to offline view for android app banner
* add i18n support for offline.html pages, cleanup
* fix html syntax, add page title, remove license for service-worker.js
2017-10-31 10:46:48 +11:00
Robin Ward
d955af5960
FEATURE: Allow widgets to call _super() when reopened
2017-10-30 16:14:39 -04:00
Neil Lalonde
a5afc08363
FIX: html links in text part of summary email
2017-10-30 15:43:01 -04:00
Robin Ward
528eac5a07
UX: Various admin class and structure improvements for styling
2017-10-30 14:50:43 -04:00
Neil Lalonde
28bc5ac10a
FIX: link to about page on subfolder
2017-10-30 14:34:12 -04:00
Neil Lalonde
fec5691064
FIX: unsubscribe links in summary emails were missing subfolder
2017-10-30 14:28:43 -04:00
Robin Ward
a0dd75ba88
FEATURE: New API to create a custom formatter for displaying usernames
...
This is not exhaustive right now, but a good start and we can add to
it over time.
2017-10-30 13:27:08 -04:00
Robin Ward
e02ad4249e
FIX: In case that category is nil it should not throw an error
2017-10-30 11:59:13 -04:00
Robin Ward
00bc79439a
FIX: Couldn't disagree with "notify moderator" flags
2017-10-30 10:52:00 -04:00
Régis Hanol
6b344e8a20
Revert "UX: semantic form on login modal"
...
This reverts commit f2219138e1 .
2017-10-30 15:05:29 +01:00
Joffrey JAFFEUX
43920827ed
FIX: makes sure the combo-box selects the first value
2017-10-30 01:28:11 -07:00
Joffrey JAFFEUX
71cea12ee2
Revert "[FIX] Makes sur we always have a selectedGroup"
...
This reverts commit 9406eee179 .
2017-10-30 01:14:38 -07:00
Joffrey JAFFEUX
9406eee179
[FIX] Makes sur we always have a selectedGroup
2017-10-30 00:20:44 -07:00
OsamaSayegh
55095bc44e
FEATURE: Use ACE for badge queries ( #5269 )
...
* FEATURE: Use ACE for badge queries
* Forgot disabled
* When disabled, cursor should be `not-allowed`
* Tests + prefix custom attribute with `data-`
2017-10-30 18:07:49 +11:00
Sam
fab3e25101
FIX: badge selector showing up for anon
2017-10-30 16:21:31 +11:00
Guo Xiang Tan
0abc5f90cd
FIX: Broken link in new user of the month post.
2017-10-30 13:11:29 +08:00
Guo Xiang Tan
ddd07773da
FIX: Don't hardcode the path into translations.
2017-10-30 12:47:34 +08:00
Neil Lalonde
bf00ab5d4a
FIX: grant admin on subfolder
2017-10-27 16:46:02 -04:00
Robin Ward
fbd5f1e411
REFACTOR: Rename store:main to service:store so we can inject it
2017-10-27 13:59:45 -04:00
Régis Hanol
f2219138e1
UX: semantic form on login modal
...
cf. https://meta.discourse.org/t/improve-semantics-of-orphaned-form-elements-such-as-buttons/72936
2017-10-27 19:14:25 +02:00
Vinoth Kannan
0a7035e5d3
REFACTOR: searchData constant included in search-menu widget
2017-10-27 10:29:55 -04:00
Jeff Atwood
b1ec4e17d9
Merge pull request #5271 from awesomerobot/master
...
updating banner style, fixes banner on dark themes
2017-10-26 21:50:58 -07:00
Arpit Jalan
33f0d80ed5
UX: better title on search page
2017-10-27 09:13:04 +05:30
Kris
4e2b85bb7f
updating banner style, fixes darker themes
2017-10-26 22:39:27 -04:00
Robin Ward
530624d438
FIX: Couldn't agree with a custom flag type
2017-10-26 14:41:11 -04:00
Robin Ward
764cf7e3a5
FEATURE: Add longer suspension defaults
...
Also refactors and DRYs up the future input date data a lot
2017-10-26 14:16:35 -04:00
Guo Xiang Tan
c650ef9138
UX: Move disable PM option under notifications in user preferences.
2017-10-26 16:20:58 +08:00
Guo Xiang Tan
f1615c2148
Merge pull request #5263 from tgxworld/improve_pattern
...
REFACTOR: Always validate email by default.
2017-10-26 14:34:09 +08:00
Rafael dos Santos Silva
a173511681
Merge pull request #5259 from discourse/groups_in_sso_provider
...
Add groups to the SSO provider payload
2017-10-25 23:02:53 -02:00
Rafael dos Santos Silva
5d5268a82b
Feature: Group handling
2017-10-25 22:49:17 -02:00
Joffrey JAFFEUX
443573a62f
[FIX] prevents click on select-box from reaching parent elements
2017-10-25 13:47:23 -07:00
Joffrey JAFFEUX
1612818e2b
[FIX] assign a value when an array of numbers is given
2017-10-25 08:55:16 -07:00
Guo Xiang Tan
defea6245c
REFACTOR: Always validate email by default.
2017-10-25 13:48:34 +08:00
Sam
0d816302e2
Explicitly avoid all readonly protection and scoping
2017-10-25 13:31:44 +11:00
Sam
877b7be579
FIX: in readonly mode don't double count pages
2017-10-25 13:19:43 +11:00
Neil Lalonde
d9a9ad3edb
FIX: rendering of block style tags in search results
2017-10-24 17:55:30 -04:00
Neil Lalonde
2c15e9c6fe
FIX: search couldn't find tags from before 2017-08-25
2017-10-24 17:55:05 -04:00
Robin Ward
5f47a4807b
FIX: Read time was not displaying the unit
2017-10-24 13:46:59 -04:00
Robin Ward
edaf5b60dc
UX: Remove triple css class
2017-10-24 12:31:20 -04:00
Guo Xiang Tan
ad9553ff86
Merge pull request #5238 from discourse/jomaxro-patch-1
...
Add div to login-required text
2017-10-24 17:04:18 +08:00
Robin Ward
dfdf12c92f
UX: Don't hardcore height for margins below a title
2017-10-23 16:08:43 -04:00
Robin Ward
f6f3b8ecc9
UX: Make admin user list easier to style
2017-10-23 16:06:05 -04:00
Robin Ward
23dce88f5f
FIX: Removed a line by accident, broke tests
2017-10-23 14:49:14 -04:00
Robin Ward
6f04bff28c
UX: Give a class name to the container of the #bulk-select
2017-10-23 14:07:52 -04:00
Robin Ward
89a1b34480
FIX: Show the deleted icon if the quote expands a deleted topic
2017-10-23 13:41:41 -04:00
Robin Ward
48314d04f7
FIX: Groups were not being displayed in the map of private messages
2017-10-23 13:14:16 -04:00
Guo Xiang Tan
d5e369d6cf
Fix weird Rubocop error.
2017-10-23 12:30:28 +08:00
Guo Xiang Tan
19f3b81161
Revert "FIX: always trigger the ':user_updated' event"
...
This reverts commit 519b70ea46 .
https://meta.discourse.org/t/creating-a-topic-or-a-post-sends-the-user-updated-webhook/71643
2017-10-23 11:44:22 +08:00
Guo Xiang Tan
e91a631978
REFACTOR: DRY up code and add better test coverage.
2017-10-23 11:16:14 +08:00
Sam
87e4c2a90f
allow for missing header in tests
2017-10-23 11:04:24 +11:00
Arpit Jalan
dbfd43c854
UX: show title in search results
2017-10-22 18:12:06 +05:30
Joffrey JAFFEUX
2fe2c1bfb9
[FIX] Better header height computation
...
Prevents the select-box to think there's enough space above (very common when using customised header).
2017-10-20 14:03:26 -07:00
Joffrey JAFFEUX
07929be817
[FIX] restore legacy combobox to ensure compatibility
...
TODO: Remove once all select2 instances are replaced.
2017-10-20 13:49:09 -07:00
Joffrey JAFFEUX
ae1e4de286
[FIX] better control on value mutation
2017-10-20 13:40:56 -07: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
20e7c0307a
UX: Buttons needn't have a block style in this modal
2017-10-20 13:55:42 -04:00
Robin Ward
e9159e49f3
FEATURE: Site Setting to determine whether flags defaults to topics
2017-10-20 12:37:20 -04:00
Arpit Jalan
cafbf506cc
better error message when confirming email change
2017-10-20 20:58:00 +05:30
Arpit Jalan
804b4f32f8
better error message when API authentication fails
2017-10-20 20:05:34 +05:30
Joffrey JAFFEUX
df4102466c
[FIX] Prevents multiple rows from being selected
2017-10-20 07:34:29 -07:00
Robin Ward
0927d75743
UX: Better flex for the bulk actions modal
2017-10-20 10:33:24 -04:00
Robin Ward
e00d330579
FIX: Defer wasn't working on all flag types
2017-10-20 10:04:55 -04:00
Joffrey JAFFEUX
671af2690e
[FIX] Improves select positioning with direction=rtl in a modal
2017-10-20 07:01:04 -07:00
Joffrey JAFFEUX
21af7d7755
[FIX] Caret not showing in topic-footer-mobile-dropdown
2017-10-20 06:41:00 -07:00
Joffrey JAFFEUX
fd7af2e146
[FIX] dropdown tracking not showing in groups
2017-10-20 05:34:10 -07:00
Guo Xiang Tan
989280a222
FIX: Don't rotate session in reaodnly mode.
2017-10-20 17:15:28 +08:00
Régis Hanol
62156885ec
UX: remove 🔥 heading and ruler button from composer toolbar
2017-10-20 10:59:31 +02:00
Gerhard Schlager
4205c1ad2b
FIX: postprocessing ignored cook method
2017-10-20 10:26:45 +02:00
Joffrey JAFFEUX
aa134294cc
[FIX] Improves positioning of select-box
2017-10-19 18:39:46 -07:00
Joffrey JAFFEUX
4d041d5b87
[FIX] Fix wizard spec
...
This commit introduces a mutation on input value given to select-box-kit when value is empty. The refactoring required to avoid this would be too heavy atm, but ultimately we would want to avoid this.
2017-10-19 17:34:56 -07:00
Joffrey JAFFEUX
42162c38b3
fix linting
2017-10-19 15:24:21 -07:00
Joffrey JAFFEUX
63c63c1bfd
Skip wizard tests
...
awaiting fixes on select-box-kit
2017-10-19 15:18:01 -07:00
Joffrey JAFFEUX
d77ef05ee1
Fix broken tests
2017-10-19 14:32:37 -07:00
Robin Ward
aad5118aa9
FIX: Post Action Type 6 is not a notify type
2017-10-19 17:13:55 -04:00
Robin Ward
552b66a2ff
Add a helper for the user-select vendor prefix CSS
2017-10-19 15:54:19 -04:00
Joffrey JAFFEUX
ae1743c61f
[WIP] select-box-kit refactoring
2017-10-19 12:51:08 -07:00
Robin Ward
a9f718fe57
FIX: Custom flags didn't work when flagging a topic
2017-10-19 14:27:38 -04:00
Robin Ward
7cfb8ed5c1
FIX: You can't notify a user on a flag topic
2017-10-19 14:11:31 -04:00
Robin Ward
838568cbc3
Refactor flag types for more customization
2017-10-19 13:55:23 -04:00
Gerhard Schlager
1cae875146
FIX: topic link extraction shouldn't fail when the parsed URL has no path
2017-10-19 15:26:37 +02:00
Gerhard Schlager
3cd73cdf18
FIX: fancy topic title must fit into column
2017-10-19 14:34:30 +02:00
Guo Xiang Tan
22ba70fb01
Merge pull request #5226 from tgxworld/allow_user_to_disable_private_messages
...
FEATURE: Allow users to disable new PMs.
2017-10-19 16:46:18 +08:00
Guo Xiang Tan
5b9ddaf972
FIX: Topic#fancy_title should not write in readonly mode.
2017-10-19 16:07:03 +08: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
Régis Hanol
c838f43a75
let's not generate an error when logging errors...
2017-10-18 23:14:13 +02:00
Arpit Jalan
f50d447881
FIX: render secure category topics in RSS if the user can view the topics
2017-10-18 14:23:30 +05:30
Sam
7f9b0f5e60
try moving shortcut to ctrl+alt+f
2017-10-18 12:20:45 +11:00
Robin Ward
69920b7e60
UX: More flag modal improvements. Remove !important class
2017-10-17 11:37:30 -04: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
62b260b3f9
UX: Improve markup for flag modal
2017-10-17 10:44:52 -04:00
Guo Xiang Tan
b54eb8f53c
FIX: Set PG connect_timeout to 5 seconds.
...
* 30 seconds is alittle too long.
2017-10-17 12:32:41 +08:00
Neil Lalonde
2db66072d7
SECURITY: signup without verified email using Google auth
2017-10-16 13:51:41 -04:00
Robin Ward
80d0c6df7c
Use a user-stat for the read time too
2017-10-16 13:18:52 -04:00
Robin Ward
fb2e581b26
FIX: Headings must begin with heading-- to avoid some griefing
2017-10-16 11:53:47 -04:00
Sam
229a10e142
Missed a whitelist, compensate for strict classes
2017-10-16 10:46:01 +11:00
Sam
7af1bf32d5
UX: switch global search trigger to ctrl+alt+s
...
Otherwise it conflicts with firefox
2017-10-16 10:01:17 +11:00
Sam
9cb088e3f6
FIX: restrict classes allowed for img tag in Markdown
2017-10-16 09:34:30 +11:00
Joshua Rosenfeld
64e5532b90
Add div to login-required text
2017-10-15 14:45:24 -04:00
Robin Ward
30bb3b4a86
Include category for summary topics
2017-10-13 16:29:56 -04:00
Robin Ward
5572d1d5f7
Refactor user summary page to use more components
2017-10-13 16:05:40 -04:00
Robin Ward
f73a3cc0d4
Don't include suspended_at or suspended_till unless suspended
2017-10-13 12:17:54 -04:00
Kris
dc2d9f05dc
removing scale-color, first pass
2017-10-13 11:57:10 -04:00
Robin Ward
c2a8b95e83
FIX: Don't show the up arrow to jump to posts in different topics
2017-10-13 11:56:44 -04:00
Neil Lalonde
c53f41f4f2
FIX: don't flag watched words when rebaking posts
2017-10-12 15:34:22 -04:00
Robin Ward
c383cf82a7
Pass hideCategory through to the plugin outlet
2017-10-12 12:22:41 -04:00
Robin Ward
4d8619f62c
Move topic list extensibility to topic-list component
2017-10-12 12:03:22 -04:00
Arpit Jalan
97395ebb66
FIX: SSO avatar downloads were broken
...
cc @tgxworld
2017-10-12 12:12:04 +05:30
Guo Xiang Tan
4e89d3f778
Only refresh site settings once on initialization.
2017-10-12 14:12:18 +08:00
Régis Hanol
f7282e4ecd
use force_https site setting when adding scheme for downloading schemaless images locally
2017-10-12 00:06:24 +02:00
Régis Hanol
4e78abb537
let's try 3 times to download images locally
2017-10-11 23:11:44 +02:00
Robin Ward
c9b5ef9f58
Typo'd name of jump-bottom
2017-10-11 15:47:18 -04:00
Robin Ward
d43fa4d584
Extension points for topic list on discovery page
2017-10-11 14:50:17 -04:00
Robin Ward
8a8d3a3a7e
Allow currentUser to be passed into raw templates automatically
2017-10-11 12:21:24 -04:00
Robin Ward
ba5635f3fc
UX: break-all looks a bit weird. Removing for now.
2017-10-11 11:32:53 -04:00
Gerhard Schlager
c0bb97b5cb
FIX: delete staged users when the incoming email is rejected
2017-10-11 16:17:01 +02:00
Guo Xiang Tan
9dcb11f553
Fix the build.
2017-10-11 17:45:19 +08:00
Guo Xiang Tan
09721090a3
FIX: Ensure that we revert back to default connection after running jobs.
2017-10-11 17:17:03 +08:00
Robin Ward
faa4c4e5f7
FIX: Sort icons were not showing up
2017-10-10 10:54:43 -04:00
Robin Ward
14b1736c74
Include currentPath in the below-site-header plugin outlet
2017-10-09 13:58:43 -04:00
Arpit Jalan
a2183c3f1d
SECURITY: verify that inviter can invite new user to a topic
2017-10-09 15:59:41 +05:30
Guo Xiang Tan
59aeb0bc56
FIX: Sidekiq hot reloading wasn't working in dev.
...
https://meta.discourse.org/t/webhooks-sidekiq-issue-on-dev-instance/71129
* Remove code that is no longer required as well.
2017-10-09 18:23:25 +08: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
Guo Xiang Tan
a6f2533d38
SECURITY: Fix XSS on unsubscribed page.
2017-10-09 09:04:46 +08:00
Guo Xiang Tan
6fe604b93e
Revert "SECURITY: Fix XSS on unsubscribed page."
...
This reverts commit 190558db9d .
2017-10-09 09:03:07 +08:00
Guo Xiang Tan
190558db9d
SECURITY: Fix XSS on unsubscribed page.
2017-10-09 08:59:03 +08:00
Sam
4ea87b5ab8
Merge branch 's3_refactor'
2017-10-09 10:27:52 +11:00
Robin Ward
4da4f986ee
FIX: Clicking on quote button was tricky
2017-10-06 21:29:16 -04:00
Robin Ward
193244f8c1
Convert quote button to use d-icon
2017-10-06 15:45:43 -04:00
Robin Ward
494ad1e9de
Convert quote controls to use d-icon
2017-10-06 15:42:24 -04:00
Robin Ward
f4decf9193
The quote-other-topic class has been removed
2017-10-06 15:16:06 -04:00
Régis Hanol
8d14d55fc5
make rubocop happy
2017-10-06 16:48:11 +02:00
Régis Hanol
3bdd8f57c1
FIX: invited staged users would sometimes not get notified of replies
2017-10-06 16:37:28 +02: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
Sam
70bb2aa426
FEATURE: allow specifying s3 config via globals
...
This refactors handling of s3 so it can be specified via GlobalSetting
This means that in a multisite environment you can configure s3 uploads
without actual sites knowing credentials in s3
It is a critical setting for situations where assets are mirrored to s3.
2017-10-06 16:20:01 +11:00
Guo Xiang Tan
4ba5e678d8
Require dependencies to enable live reload in dev for Sidekiq.
2017-10-06 11:39:00 +08:00
Guo Xiang Tan
d67f0b39ae
Update annotations.
2017-10-06 11:13:01 +08:00
Guo Xiang Tan
3efde2618d
UX: Do not display non-human users on group page.
...
https://meta.discourse.org/t/members-of-groups-staff/71437
2017-10-06 10:35:40 +08:00
Guo Xiang Tan
8b71a0e49f
UX: Restore missing border at the end of topic list.
2017-10-06 08:27:03 +08:00
Robin Ward
5822c64bdc
FIX: If you can manage a post you can wiki it
2017-10-05 17:47:52 -04:00
Robin Ward
2ae06e6fd0
More customization for menu items
2017-10-05 17:00:23 -04:00
Robin Ward
0c84352386
Add support for transformations
2017-10-05 16:24:58 -04:00
Robin Ward
7df73c94a0
Add a hook to decorate extra buttons
2017-10-05 14:35:06 -04:00
Guo Xiang Tan
5dc4b469be
Remove unused code for Redis Sentinel.
2017-10-05 14:53:03 +08:00
Guo Xiang Tan
b0557c6692
UX: Allow users to remove a remind me topic timer.
2017-10-05 11:50:08 +08:00
Neil Lalonde
f5a2ed99b0
FIX: deleting category background images sometimes has no effect
2017-10-04 17:04:37 -04:00
Régis Hanol
4771b0a99f
FIX: user fields in invite signups were broken
2017-10-04 23:04:24 +02:00
Robin Ward
cf4e6e2f5b
FIX: deletePost action was incorrect called delete
2017-10-04 16:12:18 -04:00
Régis Hanol
e212435545
FIX: redirect to top wasn't working
2017-10-04 22:08:41 +02:00
Robin Ward
4aa30cba2e
Extensibility for Post manage menu
2017-10-04 15:53:06 -04:00
Robin Ward
6d0bf287b5
Allow more extensibility for the post menu buttons
2017-10-04 15:53:06 -04:00
Robin Ward
abdb334823
UX: Allow for customization of the heart icon
2017-10-04 11:07:59 -04:00
Guo Xiang Tan
1310181664
FIX: Adding a public topic timer deletes a private topic timer.
2017-10-04 16:31:40 +08:00
Sam
ebdf8d6718
remove uneeded code
2017-10-04 15:05:58 +11:00
Sam
14310d2eee
UX: title in JS must match title on Server
...
Corrects title flashing with incorrect value on front page reloads
2017-10-04 15:04:42 +11:00
Kyle Zhao
0342324b47
FEATURE: support regex in rake post:remap ( #5201 )
2017-10-04 11:47:53 +11:00
Robin Ward
2ce6e0bb07
UX: Perform icon replacements before calling icon renderer
2017-10-03 15:38:59 -04:00
Neil Lalonde
1faae3c765
rename forgot_password_strict to hide_email_address_taken
2017-10-03 15:28:31 -04:00
Neil Lalonde
e47f5cedd2
FEATURE: forgot_password_strict setting also prevents reporting that an email address is taken during signup
2017-10-03 15:28:30 -04:00
Robin Ward
cc4a102b26
UX: Allow customization on header dropdown sizes
2017-10-03 15:24:18 -04:00
Robin Ward
c72ceb1f2d
An option to not display categories in the hamburger
...
This is mostly useful if your site has very few categories.
2017-10-03 14:39:56 -04:00
Robin Ward
4b7256d2e4
FIX: d-header in common is z-index: 1001
2017-10-03 14:31:25 -04:00
Robin Ward
4fbe4218c4
FIX: Header primary color was too dark in dark mode
2017-10-03 13:01:05 -04:00
Régis Hanol
daf1dda700
FIX: username autocomplete in assign modal wasn't working
2017-10-03 12:49:45 +02:00
Guo Xiang Tan
a5b7d34fe2
Merge pull request #5199 from xrav3nz/poll-feed-integration-test
...
TEST ONLY: PollFeed integration test
2017-10-03 14:33:22 +08:00
Guo Xiang Tan
a966f2134c
Merge pull request #5215 from gschlager/email_templates
...
Add specs for EmailTemplatesController
2017-10-03 14:30:19 +08:00
Guo Xiang Tan
3e53dbcade
UX: Only include tag hashtag postfix when necessary.
...
https://meta.discourse.org/t/links-to-tags-not-working-in-final-post-unless-autocompleted/69884/6?u=tgxworld
2017-10-03 13:54:50 +08:00
Guo Xiang Tan
81c0092326
Revert "FIX: not serving non brotli cdns from cdn_url"
...
This reverts commit eaa896d8ee .
2017-10-03 10:52:28 +08:00
Sam
eaa896d8ee
FIX: not serving non brotli cdns from cdn_url
...
(this means that access control allow origin could break)
2017-10-03 11:20:08 +11:00
Robin Ward
1022535c2b
UX: Add a two week suspension timeframe
2017-10-02 15:23:58 -04:00
Robin Ward
56793d6853
FIX: Better flagging CSS on mobile
2017-10-02 15:14:07 -04:00
Robin Ward
f7c967b754
Add forever to the suspension dropdown
2017-10-02 15:04:22 -04:00
Arpit Jalan
469c6776c6
FIX: exporting admin dashboard reports were broken
...
http://eileencodes.com/posts/actioncontroller-parameters-now-returns-an-object-instead-of-a-hash/
2017-10-02 19:30:23 +05:30
Gerhard Schlager
5bb326a452
Add specs for EmailTemplatesController
2017-10-02 14:53:27 +02:00
Guo Xiang Tan
8140e54675
FIX: More fixes for Group#mentionable and Group#messageable feature.
2017-10-02 17:45:58 +08:00
Guo Xiang Tan
91c5f928c2
FIX: Group#mentionable and Group#messageable not fully working.
2017-10-02 16:50:58 +08:00
Guo Xiang Tan
4ae3a4e89e
UX: Label should toggle checkbox.
...
https://meta.discourse.org/t/clicking-label-for-automatically-set-as-primary-group-doesnt-toggle-setting/71086/2
2017-10-02 16:07:53 +08:00
OsamaSayegh
79f3d299a1
Don't allow category definition topics to be converted to PMs ( #5216 )
2017-10-02 10:04:58 +02:00
Kyle Zhao
ac666ddf17
PollFeed: check 'content:encoded' for content first
2017-10-02 01:16:11 -04:00
Guo Xiang Tan
0f2c5f5fc9
FIX: Don't raise error when trying to download avatar from URL.
2017-10-02 12:59:41 +08:00
Guo Xiang Tan
974836962d
Fix invalid method call.
2017-10-02 12:50:22 +08:00
Guo Xiang Tan
4e07bbfbbf
FIX: Only allow intergers for page params.
2017-10-02 10:45:54 +08:00
Guo Xiang Tan
77ea063751
FIX: Missing attribute.
2017-10-02 10:24:37 +08:00
Eleanor Demis
ac04f5e0cc
update response error when deleting tags ( #5213 )
2017-09-30 16:31:32 +02:00
Guo Xiang Tan
4eeb6014f4
Don't raise an error if user has been destroyed.
2017-09-30 09:09:40 +08:00
Neil Lalonde
d5d66e969e
FIX: js error when logging in using another Discourse site as sso provider
2017-09-29 14:02:45 -04:00
Robin Ward
2c2fe7eee4
FIX: Remove unused mixin
2017-09-29 11:09:25 -04:00
Robin Ward
00b190af75
Revert "A safe way to create class variables in a multisite environment."
...
The approach taken by this interface was flawed. We need a better
solution.
2017-09-29 11:06:12 -04:00
Guo Xiang Tan
a370d7c7fd
FIX: Compatibility between Client and Server routing.
...
mend
2017-09-29 10:34:50 -04:00
Robin Ward
c1f174f554
FIX: Okay, try going back to the old way. Too many exceptions.
2017-09-29 10:19:35 -04:00
Robin Ward
0caf6a0f7d
Support for HTML values in widget hbs templates
2017-09-29 09:56:14 -04:00
Régis Hanol
f6c484881b
FIX: wasn't able to save watched/tracked/muted categories/tags
2017-09-29 13:09:48 +02:00
Arpit Jalan
689f949fdb
Merge pull request #5209 from techAPJ/has-messages
...
FIX: update group.has_messages field weekly
2017-09-29 09:12:26 +05:30
Arpit Jalan
d64853dfa0
FIX: update group.has_messages field weekly
2017-09-29 08:23:07 +05:30
Sam
05dd97ffe0
correct iPad sizing
2017-09-29 11:49:10 +10:00
Guo Xiang Tan
6baea9948b
Revert "fix the build"
...
This reverts commit 8b74c7d325 .
2017-09-29 08:57:06 +08:00
Robin Ward
df81d109e5
The ability to attach attrs when embedding widgets
2017-09-28 16:08:43 -04:00
Robin Ward
01c6224ca5
Include the currentRouteName in the page change event
2017-09-28 14:31:20 -04:00
Robin Ward
954013a45c
Use appEvents for page tracking so widgets can listen to it easily
2017-09-28 14:20:32 -04:00
Neil Lalonde
c7aa354ee8
UX: round instead of ceil for time gaps
2017-09-28 14:11:37 -04:00
Robin Ward
34f98f362f
Add a plugin hook to specify a class on the body of the document
2017-09-28 13:17:09 -04:00
Joshua Rosenfeld
ca3d6921a0
Add group name css target
2017-09-28 11:43:52 -04:00
Robin Ward
7df349afd6
Allow reopened widgets to use hbs templates
2017-09-28 11:13:30 -04:00
Robin Ward
132cbac600
Split out header contents for easier customization
2017-09-28 10:46:07 -04:00
Régis Hanol
8b74c7d325
fix the build
2017-09-28 15:50:01 +02:00
Régis Hanol
cd6dff58dd
FIX: add user option/profile fields that were not permitted
2017-09-28 14:59:53 +02:00
Sam
b2575a8ce3
improve keyboard height detection
2017-09-28 21:25:03 +10:00
Guo Xiang Tan
d79fee9ff3
Fix undefined method for Nil class error.
2017-09-28 17:38:53 +08:00
Guo Xiang Tan
5d53eefcab
Fix broken test.
2017-09-28 16:09:58 +08:00
Sam
cfed431ef2
More height hacks for iPhone
2017-09-28 18:06:00 +10:00
Guo Xiang Tan
30fa5379ce
Merge pull request #5195 from henrik/patch-1
...
100.years.ago -> Time.at(0)
2017-09-28 15:47:06 +08:00
Guo Xiang Tan
5f1c29e424
FIX: Display json response when Discourse::InvalidAccess is raised for
...
non json requests.
2017-09-28 15:31:16 +08:00
Guo Xiang Tan
373fd8990e
PERF: N+1 when generating not found page.
2017-09-28 15:31:16 +08:00
Sam
d36d5ba8ac
Correct iPad fudge factors for keyboard size detection
2017-09-28 17:26:54 +10:00
Sam
8ecf313a81
FIX: correctly raise errors when downloads fail
...
This corrects an issue where we are hitting Gravatar for 404 over and over
Also ensures file download properly reports errors
2017-09-28 16:35:43 +10:00
Guo Xiang Tan
4319d8a142
FIX: Missing template error when rendering topics#show error message.
2017-09-28 11:06:44 +08:00
Sam
b80320da5e
no verbose logging for failed downloads of gravatars
2017-09-28 11:32:26 +10:00
Régis Hanol
3a75242c38
add more logs to pull hotlinked images
2017-09-28 01:00:13 +02:00
Régis Hanol
dd07094bd7
bump log level to debug download issues
2017-09-27 23:26:07 +02:00
Robin Ward
41c3941c4c
FEATURE: Support regular expressions for watched words
2017-09-27 15:48:57 -04:00
Robin Ward
fa41913ba5
FIX: Don't count private content in New User of the Month
2017-09-27 15:03:24 -04:00
Régis Hanol
6a7920ad75
FIX: wasn't able to change default theme
2017-09-27 20:05:31 +02:00
Robin Ward
7578d8fc44
Add a DiscourseEvent for when a topic is closed
2017-09-27 14:00:53 -04:00
Robin Ward
3e13becf33
A safe way to create class variables in a multisite environment.
...
This should allow plugins to set class variables that will not
stomp on other plugins.
2017-09-27 13:00:47 -04:00
Arpit Jalan
6700aed8ab
fix typo
2017-09-27 22:17:19 +05:30
Gerhard Schlager
1a37812625
FIX: show error message when keys are missing in email template
...
FIX: log email template changes in the Staff Log
2017-09-27 13:50:04 +02:00
Sam
a311dd06fe
UX: mess with iPad and iPhone sizing to compensate for keyboard
...
iOS still has no mechanism for figuring out how big the keyboard is, so
we fudge it.
2017-09-27 16:50:28 +10:00
Guo Xiang Tan
2568312475
FIX: Use exact patht to ensure we always redirect with the right format.
2017-09-27 11:55:06 +08:00
Joshua Rosenfeld
fbfc4de3eb
Move staged below active
2017-09-26 16:46:37 -04:00
Régis Hanol
af01e62b14
FIX: wasn't allowed to set a user's title anymore
2017-09-26 20:13:24 +02:00
Régis Hanol
28c54b42c5
FIX: wasn't able to update user options anymore
2017-09-26 20:00:10 +02:00
Robin Ward
460ed3c8cf
Revert "Allow NotFound to specify an optional Location for the resource"
...
This reverts commit 4ae66c9e01 .
2017-09-26 12:58:24 -04:00
Régis Hanol
e687a1e8e3
UX: visited style wasn't applied to PM on mobile
2017-09-26 18:13:32 +02:00
Robin Ward
06072b3d99
UX: Pending Posts at the bottom of topics looked wonky
2017-09-26 10:27:24 -04:00
Robin Ward
451340d058
UX: Round up dates
2017-09-26 10:13:34 -04:00
Robin Ward
9e17fd8907
FIX: Support for menu glyphs that are optional
2017-09-26 09:50:43 -04:00
Robin Ward
faa37c3070
FIX: Missing "no activity" message.
2017-09-26 09:37:53 -04:00
Robin Ward
85eae96a11
UX: Cancel button looked ugly on post warning modal
2017-09-26 09:23:50 -04:00
Robin Ward
4ae66c9e01
Allow NotFound to specify an optional Location for the resource
2017-09-26 09:10:18 -04:00
Guo Xiang Tan
367fb1c524
FIX: Onebox fails on encoded URL.
...
https://meta.discourse.org/t/onebox-breaks-if-theres-chinese-text-in-url/67364
2017-09-26 18:34:54 +08:00
Guo Xiang Tan
69e170efe8
Require right dependency.
2017-09-26 17:28:53 +08:00
Jeff Atwood
fda65a52ea
Merge pull request #5204 from discourse/web-share
...
FEATURE: Use new WebShare API on supported platforms
2017-09-26 02:16:54 -07:00
Guo Xiang Tan
6f5051861c
Remove unused option.
2017-09-26 14:47:38 +08:00
Guo Xiang Tan
5d37f8673b
PERF: Only send down suggested payload when loading last chunk.
2017-09-26 14:42:27 +08:00
Guo Xiang Tan
c37598ddbc
Merge pull request #5200 from gschlager/embed
...
FIX: do not escape already escaped chars in URL
2017-09-26 09:07:57 +08:00
Rafael dos Santos Silva
796e1d4c17
FEATURE: Use new WebShare API on supported platforms
2017-09-25 19:15:28 -03:00
Robin Ward
b0eab6756d
UX: Weird alignment issue on flags
2017-09-25 16:29:48 -04:00
Robin Ward
7eeb5188bf
FIX: Broken word wrapping on flags page
2017-09-25 16:22:40 -04:00
Robin Ward
073b74cf3f
FIX: Linting and broken test
2017-09-25 13:11:41 -04:00
Robin Ward
cb78ffd328
<<<<<<< HEAD
...
=======
>>>>>>> FEATURE: Add ability to claim topics on flagged topics page
Bump Plugin API version
2017-09-25 12:28:01 -04:00
Robin Ward
d1ebc62065
The ability to display errors on flagging actions.
2017-09-25 12:28:01 -04:00
Robin Ward
e809996c2a
Allow modifyClass to operate on optional classes.
...
This is useful if you want to modify an admin class that might not be
present for regular users.
2017-09-25 12:28:00 -04:00
Robin Ward
09ed2ed749
Add Suspend User to flags page
2017-09-25 12:28:00 -04:00
Robin Ward
079f108ceb
UX: Improve interface for flagging with many flaggers
2017-09-25 12:28:00 -04:00
Robin Ward
64fae87470
FIX: Object.assign is not fully supported
2017-09-25 12:28:00 -04:00
Robin Ward
8323e22d0c
Rename auto-update-input to more accurate future-date-input
2017-09-25 12:28:00 -04:00
Robin Ward
6bce3004d9
UX: Nicer selection of suspend duration
2017-09-25 12:28:00 -04:00
Robin Ward
677b016387
Send a suspension message via email to a user
2017-09-25 12:26:41 -04:00
Robin Ward
2a56cf8bb6
Tests + Refactoring for Suspension Modal
2017-09-25 12:26:06 -04:00
Robin Ward
6e48884274
Extract out common "cancel" link functionality from modals
2017-09-25 12:25:15 -04:00
Robin Ward
4020409bbf
Add support for suspension message
2017-09-25 12:25:14 -04:00
Robin Ward
daceeb9700
Refactor user suspension modal
2017-09-25 12:25:14 -04:00
Robin Ward
561fa7d0cd
FEATURE: Site Setting to hide suspension reason on the public profile
2017-09-25 12:25:14 -04:00
Robin Ward
d7c37d9369
Add front end service for staff controls
2017-09-25 12:25:14 -04:00
Robin Ward
5cf50f0034
Adjust flagged posts to use the store
2017-09-25 12:25:14 -04:00
Robin Ward
5fd3b6615b
Remove some Discourse.Site constants
2017-09-25 12:25:14 -04:00
Robin Ward
cc1a461254
Convert flags admin to flexbox
2017-09-25 12:25:14 -04:00
Robin Ward
1af4acbb3d
Add tests to flagged topics
2017-09-25 12:25:14 -04:00
Robin Ward
5e69217793
Add filtering support to flags
2017-09-25 12:25:14 -04:00
Robin Ward
be0eb0a554
Refactor flagged posts into components
2017-09-25 12:25:14 -04:00
Robin Ward
40eba8cd93
FEATURE: View flags grouped by topic
2017-09-25 12:25:14 -04:00
Robin Ward
bbbd974487
REFACTOR: Convert admin flagged posts to a component
2017-09-25 12:25:14 -04:00
KAJATIGER
3d2ded5d14
adding a tagName field
2017-09-25 19:22:50 +05:30
KAJATIGER
e868956412
adding a button at a new plugin outlet location in backup#index
2017-09-25 19:22:50 +05:30
Guo Xiang Tan
4e5e7dc736
FIX: Fix ActiveRecord API that was removed in Rails 5.1.
2017-09-25 16:16:37 +08:00
Guo Xiang Tan
88555f32cf
Improve specs.
2017-09-25 13:49:00 +08:00
Guo Xiang Tan
e542884b00
FIX: Incorrect notification state being published.
2017-09-25 13:48:59 +08:00
Guo Xiang Tan
23b787e0a6
Require dependency otherwise it causes Sidekiq to lock up in development.
2017-09-25 13:48:59 +08:00
Guo Xiang Tan
77d4c4d8dc
Fix all the errors to get our tests green on Rails 5.1.
2017-09-25 13:48:58 +08:00
Gerhard Schlager
6f6b47f096
FIX: do not escape already escaped chars in URL
2017-09-22 17:36:44 +02:00
Gerhard Schlager
1a435414d5
FIX: handle URL encoded email addresses
2017-09-22 14:26:06 +02:00
Leo McArdle
68d7c08f4d
pass model to user-preferences-account plugin outlet
2017-09-20 21:59:43 -04:00
Joffrey JAFFEUX
2a17684546
FIX: do not display uncategorized as a possible parent category
2017-09-20 20:47:50 +02:00
Gerhard Schlager
87b4246c14
FIX: notify about whispered reply
2017-09-19 15:51:10 +02:00
Henrik Nyh
77cc33b231
100.years.ago -> Time.at(0)
...
A bit more robust ;)
2017-09-19 08:48:50 +01:00
Gerhard Schlager
a5408650bd
FIX: composing a message to a group via URL didn't work
2017-09-18 17:04:12 +02:00
Joffrey JAFFEUX
81def3b8b4
FIX: regression preventing display of custom emojis in the picker
2017-09-18 09:38:18 +02:00
Régis Hanol
efbbf3167e
remove debugger
2017-09-16 01:33:37 +02:00
Régis Hanol
8ed318c4fe
display 'similar to' earlier when composing a post
2017-09-16 01:03:29 +02:00
Jeff Atwood
dd101e4f1d
Merge pull request #5189 from discourse/jomaxro-patch-1
...
Add CSS targets to nav pills
2017-09-15 12:01:41 -07:00
Robin Ward
e4e27a4b83
New API for replacing an icon
2017-09-15 13:54:47 -04:00
Robin Ward
ad77634854
FIX: More CSS regressions with notifications in non-english
2017-09-15 13:24:43 -04:00
Joshua Rosenfeld
38057be0c1
Add CSS targets to nav pills
2017-09-15 10:54:10 -04:00
Joffrey JAFFEUX
5acf3504bf
minor changes to emoji-picker
...
- refactoring of globals
- removing autofocus, causing issues on mobile
- improve unbinding of listeners
2017-09-15 16:03:28 +02:00
Régis Hanol
8b7089c126
UX: topic links were all grey to anonymous users (regarding of their visited state)
2017-09-15 12:12:39 +02:00
Neil Lalonde
0bcde4b4f4
UX: reduce height of textarea for flags of type "Something Else" on small mobile devices
2017-09-14 15:18:57 -04:00
Robin Ward
38064c5776
FIX: Broken notifications in non-english locales
2017-09-14 14:26:31 -04:00
Régis Hanol
797936d2c5
FIX: don't leak whisper count in user card
2017-09-14 20:08:16 +02:00
Neil Lalonde
39adf2588a
FIX: don't mute topics when dismissing unread
2017-09-14 14:02:55 -04:00
Joffrey JAFFEUX
7f69ace112
FIX: makes sure select-box is under header and over avatar on mobile
2017-09-14 19:59:32 +02:00
Joffrey JAFFEUX
562e48dfb7
adds a dsl to simplify testing of the select-box
2017-09-14 19:50:32 +02:00
Neil Lalonde
16fe7aa307
FEATURE: automatically handle flags and posts that have been waiting in a queue for a long time. Flags will be deferred. Posts waiting for approval will be rejected. Control how old the records need to be with the auto_handle_queued_age site setting.
2017-09-14 12:01:06 -04:00
Robin Ward
42aea15070
Add some container DIVs for easier styling
2017-09-14 11:54:42 -04:00
Robin Ward
cb8918d034
It's bad practice to have body be the parent of everything
2017-09-14 11:24:14 -04:00
Robin Ward
8c2d6118ff
Remove some of the last few fa-icon helpers
2017-09-14 11:20:36 -04:00
Robin Ward
b2ffaf93a3
Use icon helpers for notification dropdown
2017-09-14 11:20:36 -04:00
Gerhard Schlager
f3d3129113
FIX: Use default locale for edit reason when owner of post gets changed
2017-09-14 17:17:37 +02:00
Gerhard Schlager
efef422416
FIX: Use default locale for moderator post when posts are moved
2017-09-14 17:17:37 +02:00
Arpit Jalan
4e49b3b140
FIX: do not create new email token if there already exists a confirmed one
2017-09-14 10:52:29 +05:30
Régis Hanol
7aa0d044de
FIX: link to sub-categories in group activity feed wasn't working
2017-09-13 23:14:46 +02:00
Joffrey JAFFEUX
7a4ddc2bb1
FIX: makes state of select-box more resilient to model changes
2017-09-13 18:44:40 +02:00
Régis Hanol
d9465bac13
add 'staged' column to user export
2017-09-13 18:09:11 +02:00
Régis Hanol
a6fc42753c
FIX: don't include last_wiki_edit when there's no revision
2017-09-13 17:46:58 +02:00
Régis Hanol
0096ee40da
FIX: only show participants the user can see
2017-09-13 17:14:03 +02:00
Robin Ward
e5db126a8e
FIX: Small fixes to enable better testing of components
2017-09-13 10:33:36 -04:00
Joffrey JAFFEUX
b537bf1ba4
FIX: better alignments of categories/tags in .topic-category
2017-09-13 16:24:36 +02:00
Jeff Atwood
11cc8ff52d
Merge pull request #5181 from vinothkannans/image-placeholder-styling
...
UX: Placeholder images color changed & tootip added
2017-09-13 02:49:34 -07:00
Vinoth Kannan
6e9671c2c3
UX: Placeholder images color changed & tootip added
2017-09-13 15:16:38 +05:30
Joffrey JAFFEUX
3713278a4b
FIX: reason paragraph styling broken on mobile
2017-09-13 10:24:02 +02:00
Joffrey JAFFEUX
64c154d9df
FIX: prevents click on select-box to close timeline-container on mobile
2017-09-13 10:00:10 +02:00
Guo Xiang Tan
26c6447161
Fix bugs in profiling scripts leading to incorrect results.
2017-09-13 15:33:59 +08:00
Neil Lalonde
7181fce71e
remove unused file pending_flags_mailer.rb
2017-09-12 18:00:51 -04:00
Neil Lalonde
beea5cac48
FIX: send the queued posts reminder as a message to moderators instead of an email to the contact_email
2017-09-12 18:00:51 -04:00
Neil Lalonde
6831efe2e9
FIX: no notification was being sent when a post is hidden by community flags
2017-09-12 15:43:44 -04:00
Robin Ward
9b3b39d8a2
FIX: Users should be able to activate their emails even if unapproved
...
Note in discourse `active` means "Email is active" - they still can't
login until approved
2017-09-12 15:04:39 -04:00
Leo McArdle
104d97695d
FIX: don't activate un-confirmed email on omniauth authentication ( #5176 )
2017-09-12 17:36:17 +02:00
Robin Ward
c097fbbdff
FIX: Don't append .no-results if there's nothing to display
2017-09-12 11:19:17 -04:00
Robin Ward
bc613e1df5
Adjust nesting of search divs
2017-09-12 11:14:13 -04:00
Robin Ward
171d9e5aed
SECURITY: Prevent users from updating to blacklisted email domains
2017-09-12 10:11:08 -04:00
Régis Hanol
85ef3696de
UX: show date of last edit on wiki topics
2017-09-12 15:37:47 +02:00
Guo Xiang Tan
51e1c0b6ce
Revert "FIX: Move check to right serializer."
...
This reverts commit 793f933b6b .
2017-09-12 18:11:08 +08:00
Guo Xiang Tan
793f933b6b
FIX: Move check to right serializer.
2017-09-12 17:52:13 +08:00
Guo Xiang Tan
d3a409456f
PERF: Bypass AR and execute SQL directly.
2017-09-12 17:52:13 +08:00
Joffrey JAFFEUX
c06c88b479
cleaner title attribute for select-box
2017-09-12 01:36:58 +02:00
Joffrey JAFFEUX
18114c7bdb
Revert "FIX: pinned-button sometimes not shown when unpinned is null"
...
This reverts commit 01f0b56331 .
2017-09-12 01:03:16 +02:00
Joffrey JAFFEUX
b875d17e1f
fix linter error
2017-09-11 23:51:42 +02:00
Joffrey JAFFEUX
2c284874b4
FIX: icon showing as null
2017-09-11 22:47:47 +02:00
Joffrey JAFFEUX
01f0b56331
FIX: pinned-button sometimes not shown when unpinned is null
2017-09-11 20:04:07 +02:00
Darren Lee
90dd1609eb
FIX: memoization in PostAnalyzer.raw_mentions ( #5172 )
...
Due to a missing 's' when assigning the computed value to @raw_mentions, the raw_mentions function in PostAnalyzer would never retrieve a memoized value.
2017-09-11 20:01:24 +02:00
Neil Lalonde
d7d9923b8e
FIX: display email validation error messages
2017-09-11 13:22:14 -04:00
Joffrey JAFFEUX
e924920bec
uses select-box for pinned-button
...
This commit also moves more logic in dropdown-select-box instead of
duplicating it for notifications-options and pinned-options
2017-09-11 19:14:22 +02:00
Régis Hanol
f1639bf4f5
make eslint happy
2017-09-11 16:49:09 +02:00
Régis Hanol
5a51953c8e
UX: '.visited' wasn't applied in categories view and suggested topics
2017-09-11 16:42:51 +02:00
Robin Ward
81e576ae37
FIX: Missing color on queued posts dropdown
2017-09-11 09:47:16 -04:00
Joffrey JAFFEUX
2708243584
FIX: makes sure the select-box doesn’t go over header
2017-09-11 11:23:46 +02:00
Joffrey JAFFEUX
b2dcb51e48
adds missing spacing around links in reason text
2017-09-11 10:42:53 +02:00
Joffrey JAFFEUX
7f9220a2cd
minor select-box fixes
...
- select row when using tab
- makes sure tab order is correct
- highlight first row when filtering
2017-09-11 00:38:32 +02:00
Joffrey JAFFEUX
cf624bead0
FIX: cross browser issues on safari and edge
2017-09-10 22:25:31 +02:00
Joffrey JAFFEUX
6d6fe7b3a9
adds more specificity to .dropdown-select-box
2017-09-10 20:57:34 +02:00
Robin Ward
238557883f
FIX: queued posts had a red background
2017-09-10 14:26:55 -04:00
Robin Ward
87b4615eee
FIX: Bookmark icon was not coloured on mobile
2017-09-10 14:14:52 -04:00
Robin Ward
8e7e43a2d0
FIX: Duplicate class name
2017-09-10 14:09:29 -04:00
Joffrey JAFFEUX
4b558638c8
FEATURE: improves keyboard handling of select-box
...
- arrow keys
- escape key
2017-09-10 19:12:03 +02:00
Joffrey JAFFEUX
a11eec47bb
FIX: display localised title when using notifications-button
2017-09-10 11:38:52 +02:00
Joffrey JAFFEUX
bba26e48a0
FIX: positioning issues with notifications-button
2017-09-10 11:36:57 +02:00
Joffrey JAFFEUX
1f8695b16a
fix broken build
2017-09-09 20:58:37 +02:00
Joffrey JAFFEUX
950b9e9eaf
FIX: keeps as much as possible the same api for select-box components
2017-09-09 20:29:07 +02:00
Robin Ward
e6d3bbfa1d
FIX: Categories admin menu was missing
2017-09-09 09:21:43 -04:00
Joffrey JAFFEUX
8c3f7d9bbc
FIX: select-box width was incorrect on mobile
2017-09-09 02:41:31 +02:00
Joffrey JAFFEUX
753bf72921
FIX: adds correct spacing between footer buttons
2017-09-09 02:28:51 +02:00
Joffrey JAFFEUX
253672f3fa
makes notification-options design more compliant with existing design
2017-09-09 01:53:10 +02:00
Joffrey JAFFEUX
ab700d86ba
lighter icon color for categories-admin-actions
2017-09-09 01:52:36 +02:00
Joffrey JAFFEUX
a9aa11d7c4
use d-icon names
2017-09-09 01:48:03 +02:00
Joffrey JAFFEUX
5b9819f4ed
minor fixes to select-box
2017-09-09 00:49:33 +02:00
David Taylor
1def49cf6c
SECURITY: Only publish PM reply messagebus notifications to allowed users
2017-09-08 14:12:15 -07:00
Joffrey JAFFEUX
1d52231f42
FIX: css regression on category-dropdown-button
2017-09-08 21:28:28 +02:00
Joffrey JAFFEUX
cf6fb7622e
Replaces all notification-options like dropdowns with select-box
2017-09-08 20:47:39 +02:00
Robin Ward
f13776e550
UX: Move .visited to entire row, not just the link to a topic
2017-09-08 13:54:41 -04:00
Guo Xiang Tan
b7ac33464f
Reduce number of Redis calls.
2017-09-08 20:12:53 +08:00
Joffrey JAFFEUX
661ae38a03
FIX: makes sure we only autocomplete valid emoji tones
2017-09-08 09:42:13 +02:00
Arpit Jalan
6d35b62238
add image type attribute to icon link tag
2017-09-08 12:48:30 +05:30
Guo Xiang Tan
5d4221fbe1
PERF: Avoid calling expensive PostGuardian#can_see_post? multiple times.
...
Before
```
Your Results: (note for timings- percentile is first, duration is second
in millisecs)
---
topic_admin:
50: 19
75: 19
90: 21
99: 27
topic:
50: 56
75: 62
90: 64
99: 99
timings:
load_rails: 1262
ruby-version: 2.4.1-p111
rss_kb: 198432
pss_kb: 136612
virtual: physical
architecture: amd64
operatingsystem: Ubuntu
memorysize: 15.59 GB
kernelversion: 4.10.0
physicalprocessorcount: 1
processor0: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
rss_kb_9877: 327892
pss_kb_9877: 263671
rss_kb_9946: 325468
pss_kb_9946: 261671
rss_kb_10153: 326456
pss_kb_10153: 262657
```
After
```
Your Results: (note for timings- percentile is first, duration is second
in millisecs)
---
topic_admin:
50: 18
75: 18
90: 20
99: 28
topic:
50: 41
75: 42
90: 46
99: 49
timings:
load_rails: 1201
ruby-version: 2.4.1-p111
rss_kb: 187936
pss_kb: 123596
virtual: physical
architecture: amd64
operatingsystem: Ubuntu
memorysize: 15.59 GB
kernelversion: 4.10.0
physicalprocessorcount: 1
processor0: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
rss_kb_26478: 342360
pss_kb_26478: 276696
rss_kb_26547: 340368
pss_kb_26547: 275930
rss_kb_26747: 338964
pss_kb_26747: 274466
```
2017-09-08 14:07:24 +08:00
Arpit Jalan
164a388dcc
Merge pull request #5120 from LeoMcA/new-topic-redirect-loop
...
FIX: redirect loop for new users visiting /new-topic using full screen login
2017-09-08 08:53:24 +05:30
Robin Ward
f6fb94d31f
UX: Flags lost their red color on dropdown
2017-09-07 16:22:31 -04:00
Leo McArdle
e183600563
FIX: redirect loop for new users visiting /new-topic using full screen login
2017-09-07 21:02:41 +01:00
Arpit Jalan
a9737e2813
Merge pull request #5133 from guoyunhe/patch-1
...
bbcode find close tag loop end condition
2017-09-08 00:04:30 +05:30
Joffrey JAFFEUX
d2d1c29f48
FIX: topic-notifications was taking too much space on mobile
2017-09-07 20:13:32 +02:00
Joffrey JAFFEUX
3c0a9d4d19
FIX: topic-notifications taking too much space in timeline
2017-09-07 19:55:56 +02:00
Joffrey JAFFEUX
5054065e81
FIX: broken spec
2017-09-07 19:18:27 +02:00
Robin Ward
afc075d93b
UX: Convert bookmark icon from CSS to a proper icon using our helper
2017-09-07 11:41:19 -04:00
Robin Ward
0ba789de17
Allow for customization of header dropdown icons
2017-09-07 11:18:59 -04:00
Robin Ward
8e88bf019f
Add span to various labels so they can be targetted
2017-09-07 11:10:11 -04:00
Joffrey JAFFEUX
70d0e175a2
FIX: default select-box-row should be aligned vertically
2017-09-07 17:03:48 +02:00
Joffrey JAFFEUX
0374dc1a0e
FIX: keys were incorrectly set to category
2017-09-07 16:56:38 +02:00
Joffrey JAFFEUX
633d2fde45
removes select-box minWidth property
...
Using css offers more flexibility
2017-09-07 16:56:16 +02:00
Joffrey JAFFEUX
ca58a8228c
minor css fixes on select-box
2017-09-07 16:56:00 +02:00
Joffrey JAFFEUX
d04aa5c7af
FIX: component height computation was wrong
2017-09-07 16:55:36 +02:00
Leo McArdle
0ce9098339
add admin-user-details plugin outlet ( #5141 )
2017-09-07 16:17:27 +02:00
David Taylor
7d350d0d75
Revert plugin js changes ( #5139 )
...
* Revert "Add disabled_plugins to preloadstore for login_required anonymous users (#5134 )"
This reverts commit b840170f8d .
* Revert "Do not load javascripts for disabled plugins (#5103 )"
This reverts commit a14ab48829 .
2017-09-07 15:15:29 +02:00
Joffrey JAFFEUX
dd27c0c80e
FIX: supports emojis in pinned topic excerpt
2017-09-07 11:06:04 +02:00
Guo Xiang Tan
4d840d10db
PERF: Reduce number of Redis hits per requests.
2017-09-07 13:34:27 +08:00
Robin Ward
a1957b7723
FIX: Stop moving notifications on large screens
2017-09-06 17:35:35 -04:00
Régis Hanol
8a935a4b5f
FEATURE: new badges when visiting the forum for 10, 100 and 365 consecutive days
2017-09-06 22:35:08 +02:00
Joffrey JAFFEUX
0fca5ed533
FIX: stricter check on presence of notification_level_change
...
When `notification_level_change` was `0` it was evaluating to false
2017-09-06 19:59:23 +02:00
Robin Ward
825452df76
Refactor header CSS for composability
2017-09-06 11:34:10 -04:00
Robin Ward
777f024b8c
Clean up weird indentation
2017-09-06 11:34:10 -04:00
Joffrey JAFFEUX
ccf5005feb
FEATURE: uses select-box for topic-notifications-button component
...
- Introduces ComponentConnector to use a component inside a widget
- Use css to set size of components instead of properties
- Smarted positionning
- Style tweaks
2017-09-06 16:58:00 +02:00
David Taylor
b840170f8d
Add disabled_plugins to preloadstore for login_required anonymous users ( #5134 )
2017-09-06 12:18:58 +02:00
David Taylor
a14ab48829
Do not load javascripts for disabled plugins ( #5103 )
...
* Do not load javascript for disabled plugins
* Appease rubocop
2017-09-06 10:06:47 +02:00
Guo Yunhe
7d29ccf207
bbcode find close tag loop end condition
...
Only break loop when close tag has been found. Otherwise, keep searching until the end of string.
2017-09-06 09:13:57 +03:00
Guo Xiang Tan
8463b676df
Revert "Activate mini-profiler when in profiling env."
...
This reverts commit d61109388c .
2017-09-06 11:26:03 +08:00
Guo Xiang Tan
d61109388c
Activate mini-profiler when in profiling env.
2017-09-06 11:19:20 +08:00
Guo Xiang Tan
672b7cb9a5
Require missing dependency.
2017-09-05 09:39:56 +08:00
Guo Xiang Tan
7786c6c6f2
Remove duplicated scope.
2017-09-05 09:15:06 +08:00
Robin Ward
51ffbf1c1f
FIX: Remove duplicate event typo
2017-09-04 15:39:58 -04:00
minusfive
fd91e53e68
Cleaned, de-duplicated/DRYed and organized discourse.css (common, mobile and desktop)
2017-09-04 10:56:28 -07:00
Robin Ward
db929e58fc
FIX: Don't allow staff to approve users with unverified emails
2017-09-04 12:55:39 -04:00
Robin Ward
be1cce503c
FIX: Don't bind events in defaultState
2017-09-04 11:48:36 -04:00
Joffrey JAFFEUX
afe6f46b03
merges after_save
2017-09-04 13:40:11 +02:00
Joffrey JAFFEUX
caedefd675
FIX: correctly resets user_themes template
...
This commit adds tests for this behaviour and also adds support for
reseting cache when updating a theme name and destroying a theme.
2017-09-04 13:27:58 +02:00
Arpit Jalan
3b7128102c
FIX: disable follow in topic summary links
...
https://meta.discourse.org/t/links-in-popular-links-appear-without-nofollow/68974
2017-09-04 16:21:12 +05:30
Guo Xiang Tan
5c1143cd55
Add missing test case for PostController#timings.
2017-09-04 16:36:02 +08:00
Arpit Jalan
ebbdd4fe0f
FIX: error when rebaking posts
2017-09-02 22:22:29 +05:30
Robin Ward
dfe347fb1d
FIX: Wizard tests don't need Discourse defined
2017-09-01 12:26:42 -04:00
Robin Ward
c6ff387ce9
Use more semantic names for various tracking icons
...
This way they can be replaced by plugins without conflicting with other
icons. For example `circle` is used in some places that doesn't
represent `tracking`.
2017-09-01 12:14:58 -04:00
Sam Saffron
46ebd0ee40
correct spec and allow for zero allowed iframes
2017-09-01 12:08:55 -04:00
Robin Ward
cb56dcdf2e
FIX: Use proper iconNode when compiling virtual dom templates
2017-09-01 11:20:33 -04:00
Vinoth Kannan
0fb7831749
FEATURE: Add placeholders to broken and large image files ( #5113 )
2017-09-01 10:26:13 -04:00
Sam Saffron
e283e6aea0
FEATURE: allowed_iframes site setting for allowing iframes
...
This allows you to whitelist custom iframes if needed in posts
2017-09-01 10:15:44 -04:00
minusfive
b3b6eeff97
Ensure css applies to .user-main > .about icons regardless of tag
2017-09-01 06:32:27 -07:00
minusfive
611d62e4a5
Cleanup, deduplicate, debug user css, separated user-info component css
2017-09-01 06:32:27 -07:00
Robin Ward
dffb1fc4ee
FEATURE: Use Glimmer compiler for widget templates
...
Widgets can now specify a template which is precompiled using Glimmer's
AST and then converted into our virtual dom code.
Example:
```javascript
createWidget('post-link-arrow', {
template: hbs`
{{#if attrs.above}}
<a class="post-info arrow" title={{i18n "topic.jump_reply_up"}}>
{{fa-icon "arrow-up"}}
</a>
{{else}}
<a class="post-info arrow" title={{i18n "topic.jump_reply_down"}}>
{{fa-icon "arrow-down"}}
</a>
{{/if}}
`,
click() {
DiscourseURL.routeTo(this.attrs.shareUrl);
}
});
```
2017-09-01 09:28:16 -04:00
Arpit Jalan
66f2925348
SECURITY: do not include links from whispers in topic summary map
...
https://meta.discourse.org/t/staff-whispers-links-in-whispers-showing-up-publicly-in-topics-summary/69134?u=techapj
2017-08-31 23:44:54 +05:30
Robin Ward
ef0f346eec
Add custom style for header buttons
2017-08-31 12:10:54 -04:00
Joffrey JAFFEUX
56468582ee
FIX: visual regressions on title-wrapper
2017-08-31 15:08:09 +02:00
Joffrey JAFFEUX
0957ac9ee2
FIX: minor css tweaks to title-wrapper
2017-08-31 11:16:08 +02:00
Joffrey JAFFEUX
84e992363c
FIX: use maximum z-index for select-box when expanded
2017-08-31 00:55:05 +02:00
Robin Ward
75b2aa2edd
Better support for inline modals
2017-08-30 17:52:49 -04:00
Robin Ward
a48abc6556
Tweaks for better modal distinction between fixed/inline
2017-08-30 17:38:49 -04:00
Robin Ward
6361618188
fixed-modal is a better name
2017-08-30 15:52:29 -04:00
Robin Ward
3d95bac3fb
Migrate away from #discourse-modal to .d-modal
2017-08-30 15:29:51 -04:00
Robin Ward
8fcd5af5b1
UX: Use a template for the d-modal component
2017-08-30 15:20:49 -04:00
Robin Ward
64bb0f9f05
Add a class to target the sugested topics message
2017-08-30 13:50:39 -04:00
Robin Ward
3aed047b7e
UX: Add another div to aid in styling via flexbox
2017-08-30 13:43:56 -04:00
minusfive
5fd4970602
Cleanup nav-stacked .active state styles, remove unnecessary nesting
2017-08-30 09:14:56 -07:00
minusfive
8781c6bfcb
Removed unnecessary outer link-tos from admin/settings|watched-words navs
2017-08-30 09:14:56 -07:00
Joffrey JAFFEUX
746c5927e1
Replaces remaining {{category-chooser}} by {{category-select-box}}
...
To achieve replacement, this commit also adds support for:
- clearSelectionLabel which will allows to unselect any chosen category
- select-box inside a modal
- fixes minor css positioning issues
Note: {{category-chooser}} will be removed in the next weeks.
2017-08-30 17:04:17 +02:00
Guo Xiang Tan
0a53c589c4
Fix linting.
2017-08-30 15:36:45 +08:00
Sam
9a861c1b43
Correct previous commit
...
Selector was way too wide
2017-08-29 16:51:57 -04:00
Sam
5cdb486332
UX: large topic creation area on mobile
...
This refines the iOS hack and allows for height 100%
on the composer
Also removes annoying box shadows
2017-08-29 15:45:02 -04:00
Sam
c705159d22
Remove email column from user table
2017-08-29 11:50:56 -04:00
Sam
b3fd091379
annotate stuff
2017-08-29 10:48:22 -04:00
Joffrey JAFFEUX
98c6c7e35a
FIX: css regression on select-box
2017-08-29 15:52:38 +02:00
Joffrey JAFFEUX
cb4f690937
uses new select-box for quick topic edit
2017-08-29 15:15:17 +02:00
Joffrey JAFFEUX
dcc5f93344
FIX: disable highlighting when no value set on select-box
2017-08-29 14:32:23 +02:00
Joffrey JAFFEUX
21c4e38eec
clean select-box css
2017-08-29 14:31:03 +02:00
Joffrey JAFFEUX
f101fec19c
FIX: improves uncategorized support for category-select-box
2017-08-29 12:48:26 +02:00
Joffrey JAFFEUX
861dbe3b51
select-box refactoring
...
- more flexibility (allows custom title)
- less re-render
- more robustness
2017-08-29 12:25:54 +02:00
Joshua Rosenfeld
e3e6fd6ea0
FIX: Only show topic timer to staff
2017-08-28 23:49:30 -04:00
Sam
50203794e6
FIX: staged users should get emails on must_approve_users sites
2017-08-28 17:32:07 -04:00
Sam
41e7bdff38
FIX: don't refresh notifications in a tight loop
2017-08-28 16:52:00 -04:00
Sam
9f0f086b3e
FEATURE: allow API to mark accounts as approved on creation
2017-08-28 15:36:46 -04:00
Bianca Nenciu
fa69e0dd77
Improved metadata for tags. ( #5067 )
2017-08-28 13:11:34 -04:00
Leo McArdle
fd2cd63b08
FIX: make /new-topic redirect survive full screen login ( #5105 )
2017-08-28 12:40:31 -04:00
Bianca Nenciu
6bc74ceb50
Split alias levels in mentionable and messageable levels. ( #5065 )
...
* Split alias levels in mentionable and messageable levels.
* Fixed some tests.
* Set messageable level to everyone by default.
* By defaults, groups are not mentionable or messageable.
* Made staff groups messageable by the system.
2017-08-28 12:32:08 -04:00
David Taylor
ce2250d7aa
Add avatar-flair plugin outlet for user card ( #5104 )
2017-08-28 12:26:42 -04:00
minusfive
d70ecf1c53
Simplify user-nav styles to facilitate theming
2017-08-28 09:24:41 -07:00
Bianca Nenciu
bb3a5910d7
Support for sending PMs to email addresses ( #4988 )
...
* Added support for sending PMs to email addresses.
* Made changes after review.
* Added settings validator.
* Fixed tests.
2017-08-28 12:07:30 -04:00
Joffrey JAFFEUX
b83c0747d9
FIX: select-box improvments
...
- more tests for category-select-box
- allows to clear selection
- fix positioning on safari
- focus on click
- do not display uncategorized if not allowed in settings
- fix component state impacting other specs
- better texts
- higher category-select-box on mobile
2017-08-28 14:34:04 +02:00
Arpit Jalan
be972912cb
FIX: do not show full name field when accepting invite if full names are disabled
...
https://meta.discourse.org/t/require-password-for-trusted-user-invites/13750/58?u=techapj
2017-08-27 12:15:32 +05:30
Robin Ward
a77ede05e2
FIX: Don't re-render if you find composer messages after destroying
2017-08-26 00:41:24 -04:00
Robin Ward
b93f491035
Add option for button type under posts
2017-08-26 00:00:52 -04:00
Robin Ward
27b10a709b
Revert "FIX: Un-revert the btn class added to the topic post menu"
...
This reverts commit aa07d23caa .
2017-08-25 23:50:00 -04:00
Joffrey JAFFEUX
5d12db1fb5
FIX: html not showing in select-box header
2017-08-26 02:44:36 +02:00
Joffrey JAFFEUX
918f5045b4
FEATURE: display subcategories when filtering on parent name
2017-08-26 02:01:34 +02:00
Joffrey JAFFEUX
2efb39289c
FIX: select-box fragile specs
2017-08-26 01:24:17 +02:00
Robin Ward
aa07d23caa
FIX: Un-revert the btn class added to the topic post menu
2017-08-25 17:08:34 -04:00
Joffrey JAFFEUX
296ea6c7b1
FIX: castInteger on initial value
2017-08-25 22:41:35 +02:00
Robin Ward
7f16323ba4
REVERT: btn class looked ugly, let's revert for now
2017-08-25 16:06:56 -04:00
Neil Lalonde
398604ac71
FEATURE: set purge_unactivated_users_grace_period_days to 0 to disable purging unactivated users
2017-08-25 15:20:06 -04:00
minusfive
d911d3ff6e
Namespaced Sass color brightness function to avoid conflict w/CSS filter
2017-08-25 11:10:11 -07:00
Joffrey JAFFEUX
14f06c2740
select-box minor fixes
2017-08-25 19:56:57 +02:00
Robin Ward
075cc1a8bb
FIX: some button classes
2017-08-25 13:44:28 -04:00
Robin Ward
493fd707f8
UX: Add missing btn class to flat-button
2017-08-25 13:16:18 -04:00
Robin Ward
4e9c4f0768
Add option to collapse buttons in post menu
2017-08-25 13:11:53 -04:00
Robin Ward
324b02a830
Add option to move the poster name in with the avatar
2017-08-25 13:11:53 -04:00
Neil Lalonde
ea969d1ed0
FEATURE: add Thai language
2017-08-25 12:33:09 -04:00
Neil Lalonde
2c56f8df7c
FEATURE: show tags in search results
2017-08-25 11:52:59 -04:00
minusfive
cdcc5d6174
Extracted/DRYed user-stream-item component CSS from user.css into own files
...
- Renamed 'stream-item' component to 'user-stream-item'
- Replaced generic 'item' class with clearer 'user-stream-item' class
- Retained 'item' class for backward compatibility, marked as 'DEPRECATED'
- Extracted CSS pertaining 'user-stream-item' component to component CSS files
- Removed unnecessary duplication from 'user-stream-item' CSS
- Removed unnecessary nesting from 'user-stream-item' CSS
2017-08-25 08:38:27 -07:00
Joffrey JAFFEUX
bbd428fb94
FIX: more consistent filter from keyboard on select-box
2017-08-25 01:48:32 +02:00
minusfive
8a06d3d312
Fix + remove unnecessary indentation, dead code, cleanup user.css
2017-08-24 14:46:01 -07:00
Jeff Atwood
c8ce3c6dee
make composer edu panel close button more visible
2017-08-24 13:49:33 -07:00
minusfive
512858c2e7
Removed no-longer-used styles from group.scss
2017-08-24 10:07:36 -07:00
minusfive
c01dc26ea6
Add no-content message for user/activity/replies, fix no-content display
2017-08-24 09:51:39 -07:00
Joffrey JAFFEUX
f3388043db
FIX: avoids select-box being over composer popup
2017-08-24 18:49:35 +02:00
minusfive
cdf0fefe8c
Removed icons + no-glyph classes from /user sub-navs, normalized indentation
2017-08-24 09:41:27 -07:00
Joffrey JAFFEUX
39a89419b6
uses select-box for theme selection on user profile
2017-08-24 18:33:01 +02:00
Joffrey JAFFEUX
d05df4a337
FIX: better headerText handling on select-box
2017-08-24 18:31:33 +02:00
Robin Ward
a6251f717b
Convert user card buttons to {{d-button}} components
2017-08-24 12:23:08 -04:00
Joffrey JAFFEUX
9c446fcb4d
FIX: modify select-box orientation when composer resizes
2017-08-24 17:14:55 +02:00
Joffrey JAFFEUX
21d6c7f6b3
FIX: duplicated categories in select-box
2017-08-24 16:54:10 +02:00
Joffrey JAFFEUX
d52048ad34
Revert "Revert "FEATURE: improves select-box to support category selection on new topic""
...
This reverts commit 1d90f6016a .
2017-08-24 16:04:47 +02:00
Guo Xiang Tan
0531ef2e20
Fix calling exists? on Arrays.
2017-08-24 09:56:07 +09:00
Guo Xiang Tan
4b4169c8fd
Merge pull request #5053 from fantasticfears/session-controller
...
Spec for local auth check
2017-08-24 09:42:54 +09:00
Guo Xiang Tan
91d3929f52
Merge pull request #5078 from lelelelemon/master
...
change count>0 to exists
2017-08-24 09:24:42 +09:00
Guo Xiang Tan
027b999828
Merge pull request #5071 from LeoMcA/remove_duplicated_without_posts
...
FIX: removed the duplicated staged users without posts
2017-08-24 09:23:36 +09:00
junwen yang
8124f26a6e
change count>0 to exists
2017-08-23 22:54:51 +00:00
minusfive
38eef177d4
Cleanup & debug .nav-stacked styles
2017-08-23 13:58:41 -07:00
Robin Ward
950c9e50ac
Add wrapper div to aid in styling
2017-08-23 14:47:09 -04:00
Sam
f766ea4257
Correct short url decoding for sha1s leading with zero
...
This was picked up cause we had a flaky test!
2017-08-23 11:08:18 -04:00
Joffrey JAFFEUX
1d90f6016a
Revert "FEATURE: improves select-box to support category selection on new topic"
...
This reverts commit 7b4e302677 .
2017-08-23 16:33:03 +02:00
Leo McArdle
3986367f3f
update pr based on review
2017-08-23 14:55:34 +01:00
Joffrey JAFFEUX
7b4e302677
FEATURE: improves select-box to support category selection on new topic
2017-08-23 15:08:19 +02:00
Sam
8dfb1be4d1
FEATURE: unlisted *only* means not listed in topic lists
...
Remove security by obscurity feature that tries for exact slug match
If you need to hide a topic from users either move to a secure category
or convert to a PM
2017-08-22 17:53:54 -04:00
Neil Lalonde
224796a7d4
FIX: wrongs counts on tags with deleted topics
2017-08-22 16:55:05 -04:00
Sam
d7a2584c6e
FEATURE: image uploads now have short urls
...
Shorten all image uploads to use short urls, this is the client
side implementation.
2017-08-22 16:40:08 -04:00
Robin Ward
605653a369
Add classes to small action buttons
2017-08-22 14:49:14 -04:00
Robin Ward
cbe17be40e
Remove unused small action component
2017-08-22 14:39:57 -04:00
Robin Ward
7e8766cee8
UX: Move buttons into the nav section of the topic map
2017-08-22 14:20:18 -04:00
Joffrey JAFFEUX
a3e9819158
FEATURE: allows to disable automaticPositioning of emoji-picker ( #5074 )
...
Usage:
{{emoji-picker automaticPositioning=false}}
2017-08-22 19:41:02 +02:00
Sam
ce8030716f
FIX: broken badge show page
2017-08-22 13:28:02 -04:00
Sam
bcf7dc38c2
FEATURE: server side support for upload:// markdown
...
This allows uploads to be specified using short sha1 hash instead of full
URL
Client side change is pending
2017-08-22 11:46:23 -04:00
Leo McArdle
be1df3ba75
FIX: transfer posts by duplicated staged users to original
2017-08-22 09:58:51 +01:00
Arpit Jalan
b00747fd49
FIX: do not create topic link reflection for unlisted topics
2017-08-22 14:28:01 +05:30
Guo Xiang Tan
29a9e0c4d2
Fix the build.
2017-08-22 15:52:24 +09:00
Guo Xiang Tan
bc3e43b496
FIX: Topic timers being incorrectly trashed!.
...
https://meta.discourse.org/t/temporary-timed-closure-of-topic-not-re-opening-topic/67877
2017-08-22 15:23:09 +09:00
Guo Xiang Tan
87994a86ce
FIX: Don't set topic timer for close topics when changing category.
...
https://meta.discourse.org/t/moving-a-topic-after-closure-reopens-topic/67659/4
2017-08-22 12:54:34 +09:00
Robin Ward
3a3dca32a3
FIX: Move before post count outlet inside the link
2017-08-21 20:40:35 -04:00
Robin Ward
8bd7cfedfd
Convert suggested topics to a component
2017-08-21 17:03:38 -04:00
Sam
2f0c6c99e0
FIX: ip lookup not working
...
Also add a powered by line so it is clear this makes an external service call
2017-08-21 14:18:49 -04:00
Joffrey JAFFEUX
c264348fcb
FIX: avoids user-selector having no width
2017-08-21 18:55:44 +02:00
Guo Xiang Tan
93fe76fc02
Make eslint happy.
2017-08-21 21:56:22 +09:00
Kyle Zhao
1a32de722b
last attempt at fixing user page layout
...
drop the width setting on the right column *completely* so it can
adjust on it own
https://meta.discourse.org/t/long-words-not-wrapping-in-user-activity-page/68181
2017-08-18 17:28:50 -04:00
Sam
5c80d4bcdd
UX: move close button to bottom and add esc hint.
2017-08-18 15:40:34 -04:00
Bianca Nenciu
e976b98efc
Show the select badge button only once. ( #5064 )
2017-08-18 14:00:20 -04:00
minusfive
77469cfb88
Unnest top level selectors from body
2017-08-18 13:00:26 -04:00
Robin Ward
286bc7db33
Revert "fixes overflowing div width on user activity page"
...
This reverts commit 375153ce57 .
2017-08-18 10:43:42 -04:00
Jeff Atwood
d84f105288
Merge pull request #5060 from xrav3nz/fix-user-activity-word-wrap-take-2
...
fixes overflowing div width on user activity page
2017-08-17 22:48:52 -07:00
Kyle Zhao
375153ce57
fixes overflowing div width on user activity page
...
detailed explanation: https://meta.discourse.org/t/long-words-not-wrapping-in-user-activity-page/68181/8?u=xrav3nz
2017-08-18 01:01:09 -04:00
Bianca Nenciu
ac8bc04ad7
Set user title from the badge view ( #5049 )
...
* title info under notification
* create badge-title as component
* display available titles, close button
* remove visual feedback when grant new badge
* Made changes after review.
* Some minor fixes.
2017-08-17 16:32:37 -04:00
Sam
c2a6616035
Correct erratic spec failure
2017-08-17 15:26:31 -04:00
Sam
0c4527323e
FIX: queues posts broken for multiple posts
2017-08-17 14:47:09 -04:00
Robin Ward
4b0dcd64eb
FIX: Footer message was missing the class
2017-08-17 14:40:14 -04:00
Sam
9246bc3400
support up button from first result
2017-08-17 13:32:30 -04:00
Sam
889b99552a
FEATURE: allow ctrl+shift+s to open search
2017-08-17 12:57:08 -04:00
Sam
dc4d5677eb
FEATURE: use a when search result is focused to add to composer
2017-08-17 12:39:43 -04:00
Jen
d29fc781fb
trigger for other backup choices
2017-08-17 10:34:24 -04:00
Jen
b5823a3b03
add event for other backup choices
2017-08-17 10:34:24 -04:00
Mudasir Raza
84c83afd35
Allow optional import_mode param for posts in api ( #4952 )
2017-08-17 07:53:04 -04:00
Kyle Zhao
43e2c91845
fixes word wrap issue on user activity page ( #5056 )
...
By default, the width of a table and its cells are adjusted to fit
the content. Thus, longer words are not wrapped and lead to a
wider width.
2017-08-17 08:52:50 +02:00
Régis Hanol
629810bd07
FIX: when registering custom_field types, ensure we're casting them before checking for equality
2017-08-16 23:04:40 +02:00
Sam
304379d436
FEATURE: up/down arrow will highlight search result
...
Then you can use enter to visit result.
2017-08-16 14:14:55 -04:00
Robin Ward
b78958fbfc
Silence CSS logging in development - it's way too noisy
2017-08-16 10:59:56 -04:00
Sam
c68999e128
annotate models
...
WARNING annotators out there, be to run bin/annotate on RAILS_ENV=test on a clean db
2017-08-16 10:38:11 -04:00
Sam Saffron
56f7b4e01e
PERF: reindex search data without loading large post counts
2017-08-16 08:18:59 -04:00
Erick Guan
6e59149a77
FIX: rebuild index when engine replaced ( #5021 )
2017-08-16 07:38:34 -04:00
Erick Guan
c7a101476e
Spec for local auth check
2017-08-16 11:01:00 +02:00
Guo Xiang Tan
b77aa29e71
Merge pull request #5013 from LeoMcA/alternate-emails-phase-1.5
...
FIX: add additional email to tests and clean up resulting mess
2017-08-16 16:19:28 +09:00
Guo Xiang Tan
ed851dbfff
FIX: Avoid publishing a gigantic payload.
...
* Certain sites have way too many categories.
2017-08-16 11:38:30 +09:00
jomaxro
1219ae685b
Add specific class to site description on /about
2017-08-15 19:48:57 -04:00
Joffrey JAFFEUX
cad6107624
refactors select-box
...
Note: this commit also now uses select-box for mobile topics controls
2017-08-16 00:41:56 +02:00
Neil Lalonde
d506e577a5
FEATURE: if full search returns no results, show google search form
2017-08-15 16:46:41 -04:00
Robin Ward
4085c40e50
Minor CSS changes
2017-08-15 13:17:25 -04:00
Kyle Zhao
c3249f6e93
FEATURE: add full editing access to queued posts ( #5047 )
...
For pending new topics: the body of the post, title, categories
and the tags are editable.
For pending new replies: only the body is applicable and thus
editable
DISCUSSION: https://meta.discourse.org/t/66754
2017-08-15 12:44:05 -04:00
Erick Guan
1146772deb
Fix: unlinked topic search model ( #5044 )
2017-08-15 11:46:57 -04:00
Neil Lalonde
130ae2cd4b
FEATURE: add Latvian language
2017-08-15 11:40:00 -04:00
Arpit Jalan
b354099252
FEATURE: add custom open graph tag for ignoring canonical url
2017-08-15 19:24:20 +05:30
Sam
6002f2ca4a
FIX: not splitting words correctly for search tokenizer
2017-08-14 16:19:39 -04:00
Neil Lalonde
94d8f6d734
FIX: digest emails should not include posts that are still in the edit grace period
2017-08-14 12:47:33 -04:00
Robin Ward
e568be04e8
Refactor footer message to use a component
2017-08-13 16:06:26 -04:00
Robin Ward
f4839da047
More consistent container class names for styling
2017-08-13 15:49:57 -04:00
Arpit Jalan
de642e0b0e
Merge pull request #5042 from davidtaylorhq/login-required-404
...
SECURITY: Do not show latest/top topics on 404 for login_required sites
2017-08-13 23:36:24 +05:30
Robin Ward
0c2d20a523
Split out latest-topic-list-contents component
2017-08-13 13:19:27 -04:00
Robin Ward
8ccde140e5
Convert latest-topic-list to components and remove nested tables
2017-08-13 12:45:26 -04:00
David Taylor
37300d6777
SECURITY: Do not show latest/top topics on 404 for login_required sites
2017-08-13 19:02:44 +03:00
Joffrey JAFFEUX
9e475860e0
theme color select-box should be filterable
2017-08-13 14:53:07 +02:00
Joffrey JAFFEUX
482924b161
FEATURE: initial implementation of an ember native select
2017-08-13 14:34:50 +02:00
Bianca Nenciu
7213e02dee
FIX: Scroll position is tracked on search page
2017-08-13 14:24:29 +02:00
Régis Hanol
75e4f7f896
Shorten some very long lines
...
Prevent warnings from already defined constants when reloading
2017-08-12 04:18:04 +02:00
Régis Hanol
c2061aae3d
Add new 'post_moved' event
2017-08-12 04:12:09 +02:00
Régis Hanol
4f09a5a7a5
Add 'Post.permitted_create_params' to allow plugins to add new params when creating a post
2017-08-12 04:10:45 +02:00
Régis Hanol
962db8c759
Add 'beforeCreate' hook in rest model
2017-08-12 04:08:40 +02:00
Régis Hanol
13e9d2867a
Add current user's primary group name class to the composer body
2017-08-12 04:06:23 +02:00
Régis Hanol
19b7658dc3
Add 'primary_group_name' to CurrentUserSerializer
2017-08-12 04:05:16 +02:00
Neil Lalonde
9813f9f0f8
FIX: more cases of case sensitive group membership in sso
2017-08-11 18:09:29 -04:00
Robin Ward
c2016e2bc6
Revert "Fix up some markup to making styling latest categories easier"
...
This reverts commit 2589b59f39 .
2017-08-11 17:08:58 -04:00
Robin Ward
2589b59f39
Fix up some markup to making styling latest categories easier
2017-08-11 16:49:15 -04:00
Arpit Jalan
51f9c23e48
UX: add a divider line between regular user fields and custom user fields
...
https://meta.discourse.org/t/differentiate-user-fields-on-signup-form-better/66427/2?u=techapj
2017-08-11 17:46:40 +05:30
Bianca Nenciu
117417848e
Remove like on change of ownership. ( #5038 )
2017-08-11 09:55:00 +02:00
Guo Xiang Tan
f2539a86d0
Merge pull request #5036 from tgxworld/another_pass_at_removing_duplicated_users
...
FIX: Staged users were incorrectly created multiple times with same e…
2017-08-11 12:30:28 +09:00
Neil Lalonde
15a74d6d3e
FIX: don't enforce newuser_spam_host_threshold on private messages
2017-08-10 17:19:08 -04:00
Robin Ward
e6398bac21
Accept no arguments for NavItem options
2017-08-10 15:16:52 -04:00
Neil Lalonde
3c538270e4
UX: placeholder text in watched word input field
2017-08-10 11:25:17 -04:00
Régis Hanol
05a74d2534
FIX: navigation item counters weren't updating properly
2017-08-10 12:22:15 +02:00
Guo Xiang Tan
793eccf6c5
FIX: Staged users were incorrectly created multiple times with same email.
2017-08-10 18:56:15 +09:00
Guo Xiang Tan
b84e87dedd
FIX: Don't raise an error if URL timesout.
2017-08-10 12:58:56 +09:00
Guo Xiang Tan
a849959915
Fix missing parameter.
2017-08-10 11:15:51 +09:00
Guo Xiang Tan
b404a4b97c
Merge pull request #5034 from tgxworld/fix_staged_primary_email
...
FIX: Staged users are still missing primary email.
2017-08-10 10:30:51 +09:00
Robin Ward
c3051b89c0
Allow explicit hover and active buttons
2017-08-09 16:39:43 -04:00
Neil Lalonde
ca1609c821
FIX: user directory didn't update stats of users with no recent activity
2017-08-09 15:57:42 -04:00
Robin Ward
53e6ccf17b
Allow reloading of translation keys for plugins in development mode
2017-08-09 13:58:20 -04:00
Neil Lalonde
197944edaa
UX: when staff change their email address, show a message saying an email has been sent to their current address, not their new one
2017-08-09 13:43:01 -04:00
Robin Ward
5ba3a2bd9d
Allow route maps to access site easily
2017-08-09 11:49:18 -04:00
Guo Xiang Tan
705f75dd8c
Merge pull request #5032 from xrav3nz/ux-hide-options-in-adv-search
...
UX: exclude irrelevant search filters for anonymous users
2017-08-09 18:21:44 +09:00
Guo Xiang Tan
90d7dd1f05
FIX: Ensure that post action moderation post uses the site's default locale.
...
https://meta.discourse.org/t/a-post-in-looking-for-someone-to-customize-discourse-to-create-a-forum-site-requires-staff-attention/67468/5?u=tgxworld
2017-08-09 18:20:20 +09:00
Arpit Jalan
e993d53260
FIX: handle missing parent category when exporting user archive
...
https://meta.discourse.org/t/download-my-posts-failed/67613?u=techapj
2017-08-09 14:37:21 +05:30
Arpit Jalan
bf2c35aa99
FEATURE: add RSS feed for badge pages
2017-08-09 13:43:49 +05:30
Guo Xiang Tan
49c6959dfc
Adjust width for membership request input field.
2017-08-09 16:05:20 +09:00
Guo Xiang Tan
898c6ba037
Merge pull request #5033 from tgxworld/reason_when_requesting_to_join_a_group
...
FEATURE: Force user to enter reason when requesting for group members…
2017-08-09 15:54:21 +09:00
Guo Xiang Tan
a9613163b5
FEATURE: Force user to enter reason when requesting for group membership.
2017-08-09 15:45:28 +09:00
Guo Xiang Tan
0bc690ed11
FIX: Staged users are still missing primary email.
2017-08-09 12:03:49 +09:00
Neil Lalonde
c4b49fbabe
send args to user-preferences-nav plugin outlet
2017-08-08 17:30:10 -04:00
Kyle Zhao
cea2a9fe53
UX: exclude irrelevant search filters for anonymous users
...
On the advanced search page, filters like "I've read", "I'm watch
-ing", etc, are irrelevant to anonymous users and should be hidden
2017-08-08 15:25:40 -04:00
Régis Hanol
15fa27a1ff
Add warning when using the 'modifyClass' plugin API after it's been cached in the container
2017-08-08 20:07:35 +02:00
Arpit Jalan
e36a20660d
FIX: handle topics without excerpt for meta description tag
2017-08-08 22:17:05 +05:30
Régis Hanol
d182f0f2d1
Add support for preloaded custom_fields on Group
2017-08-08 15:45:27 +02:00
Régis Hanol
76a217c4bc
add support for classNames binding in Navigation Item
2017-08-08 15:44:31 +02:00
Robin Ward
6ecb7cdff4
UX: Support for none style of category badge
2017-08-07 12:49:19 -04:00
Régis Hanol
4bfb049054
Add new 'group-edit' plugin outlet
2017-08-07 18:16:54 +02:00
Régis Hanol
770efee25f
Add support for disabled attribute to the d-checkbox component
2017-08-07 18:16:43 +02:00
Robin Ward
2e4b3e9b06
Don't include all html builders on client and server side
2017-08-07 11:29:35 -04:00
Régis Hanol
4c306f9f49
New 'topic:current-post-changed' application event
2017-08-07 15:56:08 +02:00
Régis Hanol
125cc356f3
FIX: don't break the site when adding a navigation item without a 'name' field
2017-08-07 10:45:35 +02:00
Régis Hanol
ce7d97a9a8
move title computed property back to nav-item so it can be overriden in a plugin
2017-08-07 09:53:03 +02:00
Guo Xiang Tan
f496302c2c
order scope is ignored when using find_each.
2017-08-07 11:46:18 +09:00
Guo Xiang Tan
3f24ed2b3e
Can't revert due to incompatibility of new site setting types.
...
Revert "Revert "FEATURE: Site settings defaults per locale""
This reverts commit 439fe8ba24 .
2017-08-07 10:43:09 +09:00
Guo Xiang Tan
439fe8ba24
Revert "FEATURE: Site settings defaults per locale"
...
This reverts commit 468a8fcd20 .
2017-08-07 10:31:50 +09:00
Régis Hanol
4b53fe3cc7
new 'addNavigationBarItem' plugin api
2017-08-05 02:23:35 +02:00
Régis Hanol
e958500735
extract 'timeline-controls' and 'timeline-footer-controls' widgets
2017-08-05 01:22:01 +02:00
Leo McArdle
a7b7fe335f
FIX: allow an admin to click on blank errors ( #5027 )
...
* FIX: allow an admin to click on blank errors
* i18nlize strings
* what would a rails master do?
2017-08-04 20:04:26 +02:00
Robin Ward
a3ef814245
UX: Show proper HTML for category preview in site settings
2017-08-04 13:56:27 -04:00
Robin Ward
58d452fc41
FIX: Site setting previews were not rendering
2017-08-04 13:48:02 -04:00
Régis Hanol
3c0de22bf0
FIX: wasn't able to remove a user's primary group
2017-08-04 18:13:20 +02:00
Régis Hanol
519b70ea46
FIX: always trigger the ':user_updated' event
...
We don't always use the UserUpdated class to update a user's record
2017-08-04 18:12:10 +02:00
Régis Hanol
c26ba890bd
prevent N+1 when loading custom emojis
2017-08-04 17:04:59 +02:00
Leo McArdle
99527af38a
FIX: show rejected emails with unrecognized errors ( #5026 )
...
Although 407a23663d will send rejection
messages for unrecognized errors, sometimes processing the email will
raise an error which has a blank message.
This commit:
1. Shows rejected emails which have already been processed and contain
a blank error in /admin/email/rejected
2. Replaces new blank error messages with the error type
2017-08-04 16:20:44 +02:00
Guo Xiang Tan
40fc6c429a
Merge pull request #5018 from discourse/wekbit-embedded-referer
...
FIX: First load of embed comments would always fail on WebKit
2017-08-04 14:12:26 +09:00
Robin Ward
2589b17cb7
Add wrapper divs with classes to the topic footer button area
2017-08-03 15:59:26 -04:00
Robin Ward
82230a1830
Support forcing badge styles
2017-08-03 14:55:36 -04:00
Arpit Jalan
2d95b9dfbf
FIX: prevent Cloudflare from obfuscating emails
...
https://support.cloudflare.com/hc/en-us/articles/200170016-What-is-Email-Address-Obfuscation-
2017-08-03 15:06:13 +05:30
Guo Xiang Tan
a47e297508
Merge pull request #5019 from tgxworld/more_resiliency_to_readonly_redis
...
Fix Redis command errors when trying to start app with a readonly Redis.
2017-08-03 06:34:36 +09:00
Robin Ward
edc7fae0b0
FIX: The ellipsis should be a flat-button
2017-08-02 17:30:40 -04:00
Sam
5942ad83c0
Skip inline onebox for domain only
2017-08-02 17:27:58 -04:00
Rafael dos Santos Silva
57a214e920
FIX: First load of embed comments would always fail on WebKit
2017-08-02 17:43:31 -03:00
Sam
902be91a5a
FEATURE: CTRL+/ to trigger search even from composer
2017-08-02 16:26:03 -04:00
Sam
a4e1920604
FIX: inline oneboxer not applying to lists
2017-08-02 16:10:08 -04:00
Erick Guan
468a8fcd20
FEATURE: Site settings defaults per locale
...
This change-set allows setting different defaults for different locales.
It also:
- Adds extensive testing around site setting validation
- raises deprecation error if site setting has the default property based on env
- relocated site settings for dev and tests in the initializer
- deprecated client_setting in the site setting's loading process
- ensure it raises when a enum site setting being set
- default_locale is promoted to `required` category.
- fixes incorrect default setting and validation
- fixes ensure type check for site settings
- creates a benchmark for site setting
- sets reasonable defaults for Chinese
2017-08-02 12:24:19 -04:00
Neil Lalonde
3de45ce0cd
FIX: use case insensitive group name search when applying group rules from SSO
2017-08-02 11:30:37 -04:00
Guo Xiang Tan
33e22cf598
Add back Admin::GroupsController#index route for now.
...
* The endpoint is being used by discourse_api.
2017-08-03 00:24:23 +09:00
Neil Lalonde
be30d4510a
FIX: change email success message container was too narrow
2017-08-02 10:50:18 -04:00
Neil Lalonde
47fa536f46
FIX: plugin outlet in user preferences nav needs to be li tag
2017-08-02 10:05:11 -04:00
Guo Xiang Tan
9bc3038728
Fix Redis command errors when trying to start app with a readonly Redis.
2017-08-02 21:33:56 +09:00
Guo Xiang Tan
1c80c233cf
FIX: Adding group owners returns 400 error.
2017-08-02 19:18:41 +09:00
Régis Hanol
e43799134c
fix the regexp used to valide user's website
2017-08-02 10:19:24 +02:00
Benjamin Elijah Griffin
d471ad08c6
Website RE validator without a 10 char limit on TLD.
2017-08-01 23:37:28 -07:00
Jeff Atwood
3538b63305
FIX: on desktop, anon topic reply btn too far over
2017-08-01 16:47:52 -07:00
Robin Ward
53e78edbef
Silence ESLint
2017-08-01 17:26:49 -04:00
Robin Ward
8dd7c0c984
UX: Convert buttons to d-button
2017-08-01 17:24:06 -04:00
Robin Ward
75d10a4098
UX: Add consistent classes to buttons
2017-08-01 17:24:06 -04:00
Robin Ward
513b7bf706
REFACTOR: DRY up New Topic button code
2017-08-01 15:04:07 -04:00
Guo Xiang Tan
bd0efb8525
Fix the build.
2017-08-01 17:57:26 +09:00
Guo Xiang Tan
1197750e7d
PERF: Allow plugins to preload custom fields for topics in CategoryList.
2017-08-01 17:27:28 +09:00
Matt Palmer
67882ec37d
Hunt-and-kill a few more mis-encoded params
...
https://meta.discourse.org/t/tags-does-not-work-with-cyrillic/67217/6?u=mpalmer
2017-08-01 18:03:44 +10:00
Matt Palmer
7ee861f457
FIX: Return a UTF-8 string in tag notifications
...
https://meta.discourse.org/t/tags-does-not-work-with-cyrillic/67217
2017-08-01 16:27:52 +10:00
Neil Lalonde
fa3c240e8b
Merge pull request #4981 from dmacjam/fix_limited_search_results
...
FIX: limited search results
2017-07-31 20:23:57 -04:00
Leo McArdle
836dee1120
FIX: add additional email to tests and clean up resulting mess
2017-07-31 22:27:29 +00:00
Neil Lalonde
ec85b41078
UX: Move watched words to the Logs section of admin
2017-07-31 17:06:50 -04:00
Robin Ward
ce27783da4
UX: Add new plugin outlet before reply count
2017-07-31 16:50:25 -04:00
Neil Lalonde
7c1d7fb423
Merge branch 'master' into fix_limited_search_results
2017-07-31 15:55:31 -04:00
Erick Guan
f1eccd113c
Replace rmmseg gem for cppjieba_rb since better dictionary ( #5006 )
...
* Rename locale to ts config in search module to make it clear
* Replace rmmese-cpp for cppjieba_rb
2017-07-31 15:28:48 -04:00
Arpit Jalan
6c997b65d9
optimize enqueuing activation email code
2017-07-31 22:57:39 +05:30
Arpit Jalan
0b01d0e95d
FIX: staff cannot manually activate accounts after 48 hours has elapsed
...
https://meta.discourse.org/t/staff-cannot-manually-activate-invited-accounts-after-48-hours-has-elapsed/66292/14?u=techapj
2017-07-31 22:24:09 +05:30
Neil Lalonde
5d528f0d15
Merge pull request #4958 from dmacjam/search_posts_by_filetype
...
FEATURE: Search posts by filetype
2017-07-31 11:55:34 -04:00
Neil Lalonde
4a5907b116
Merge branch 'master' into search_posts_with_images
2017-07-31 10:44:41 -04:00
Robin Ward
31deebc8e6
FIX: Extra < character after icon refactor
2017-07-31 10:18:56 -04:00
Arpit Jalan
2e2b5e28aa
FIX: add slight delay when enqueuing activation email
2017-07-31 16:52:07 +05:30
Jakub Macina
f8edf2636c
Fix rspec tests for search pagination.
2017-07-31 12:16:23 +02:00
Guo Xiang Tan
83bb042311
FIX: Group#visibility_level isn't shown in admin group edit page.
2017-07-31 16:34:22 +09:00
jomaxro
65c4e81bb2
Add placeholder text to group member add field
2017-07-30 23:52:46 -04:00
Guo Xiang Tan
24e0e000b9
FIX: Always validate presence of user's primary_email.
2017-07-31 11:47:29 +09:00
Robin Ward
307311fdb1
Add class to admin wrench button
2017-07-28 16:38:10 -04:00
Robin Ward
15fa514791
Add classes to notification dropdown buttons
2017-07-28 16:35:14 -04:00
Robin Ward
67556e6381
REFACTOR: Category / Tag Dropdown headers had extra classes
2017-07-28 16:19:33 -04:00
Robin Ward
e4c2b5e430
REFACTOR: CSS improvements to improve targetting and remove !important
2017-07-28 15:52:57 -04:00
Sam
a13d146251
Correct post deletion spec so it is async
2017-07-28 10:50:18 -04:00
Sam
64d54bc549
FIX: when quoting add a newline
...
so **highlight** > quote
Does not end like:
[quote]
test
[quote]~
2017-07-28 10:49:49 -04:00
Sam
ae68795d82
FIX: deleting own post results in error
2017-07-28 10:14:11 -04:00
Guo Xiang Tan
4620dfe92d
FEATURE: Add group settngs to allow users to leave a group freely.
...
https://meta.discourse.org/t/split-join-leave-freely-setting-on-groups/65565
2017-07-28 15:00:25 +09:00
Guo Xiang Tan
5012d46cbd
Add rubocop to our build. ( #5004 )
2017-07-28 10:20:09 +09:00
Robin Ward
ff4e295c4f
FIX: Notifications dropdown had incorrect spacing
2017-07-27 19:22:19 -04:00
Sam
4f574e7c93
FEATURE: support inline bbcode blocks eg: [quote]test[/quote]
2017-07-27 17:55:17 -04:00
Robin Ward
c3b7419a08
UX: Remove hidden from the #discourse-modal when the modal is shown
2017-07-27 17:14:41 -04:00
Robin Ward
1b1fd64639
FIX: Badge icons disappeared
2017-07-27 16:57:26 -04:00
Robin Ward
41afd9c818
Bump Plugin API version for icon api
2017-07-27 15:13:03 -04:00
Robin Ward
6dfa3625df
REFACTOR: Replace fa-* in SCSS with d-icon-*
2017-07-27 15:09:30 -04:00
Robin Ward
5b590b9637
REFACTOR: Replace some fa-* uses with helpers
2017-07-27 14:55:41 -04:00
Robin Ward
d0c41a578e
Rename {{fa-icon}} to {{d-icon}} so it can be more generic
2017-07-27 14:55:41 -04:00
Neil Lalonde
68b3dd43ce
fix intermittent failing tests, some watched word refactoring
2017-07-27 12:27:01 -04:00
Robin Ward
5cfc2d8972
Run wizard specs in docker:test
2017-07-27 11:29:18 -04:00
Robin Ward
32c9ad6f7f
FIX: Wizard was broken
2017-07-27 10:48:31 -04:00
Guo Xiang Tan
75374c76b3
UX: Display button to message group on group page.
...
https://meta.discourse.org/t/make-it-easier-to-send-a-message-to-groups/65065
2017-07-27 17:51:25 +09:00
Guo Xiang Tan
4d25d61e9c
UX: Change group membership requests icons on groups pages.
...
https://meta.discourse.org/t/make-it-easier-to-send-a-message-to-groups/65065
2017-07-27 16:24:15 +09:00
Guo Xiang Tan
2442bba131
UX: Better group creation workflow.
...
* Owners and users can now be added to a group during creation.
https://meta.discourse.org/t/you-cannot-allow-membership-requests-without-any-owners/64760/3
2017-07-27 16:12:42 +09:00
Guo Xiang Tan
fd95c971ec
REFACTOR: Better variable name.
2017-07-27 16:10:53 +09:00
Robin Ward
e87125b63c
FEATURE: Plugins can overwrite and add support for new icons
2017-07-26 13:21:17 -04:00
Neil Lalonde
24cb950432
FEATURE: Watched Words: when posts contain words, do one of flag, require approval, censor, or block
2017-07-26 11:01:09 -04:00
David Taylor
27539e15e1
Allow whitespace around % scaler in markdown image syntax ( #5000 )
2017-07-26 10:54:20 -04:00
Neil Lalonde
ea0e90b2b0
Merge branch 'master' into search_posts_with_images
2017-07-26 10:15:55 -04:00
David Taylor
febd7621ea
Qunit plugin rake tasks ( #4985 )
...
* Allow running specific plugin tests using ENV variables
* Add a `rake plugin:qunit` task to match the existing `rake plugin:spec` task
* Improve docker.rake to allow running specific plugin qunit tests
* Purge cache before and after qunit tests
* Stop module auto-loader trying to auto-load tests
* Use URL query parameters to pass config into Qunit, avoiding caching issues
* Oops, searchParams doesn’t work in phantomJS. Parse the URL manually.
* Escape ampersands before passing URL to phantomJS, otherwise multiple parameters go wrong
2017-07-26 09:07:46 -04:00
Guo Xiang Tan
917d186303
REFACTOR: Reduce number of queries sent to the DB.
2017-07-26 17:20:00 +09:00
Guo Xiang Tan
3a46ea8bad
Sanitize SQL arguments to prevent injections.
2017-07-26 17:20:00 +09:00
Guo Xiang Tan
f9627f4533
UX: Don't show empty user list for groups without members.
2017-07-26 16:11:06 +09:00
Guo Xiang Tan
b59dfb86f4
UX: Include group name in email when group is invited to a PM.
...
https://meta.discourse.org/t/xyz-invited-you-to-a-message-but-really-invited-a-group-im-in/65996
2017-07-26 15:51:44 +09:00
Guo Xiang Tan
93130b15e3
Fix invalid CSS syntax.
2017-07-26 10:38:34 +09:00
Guo Xiang Tan
e3ac6585bd
FIX: Search by topic_id should not be restricted by SiteSetting.min_search_term_length.
2017-07-26 09:52:39 +09:00
cpradio
feb423d07a
Update ul padding/margin to match ol.
...
https://meta.discourse.org/t/numbers-cut-off-in-long-list/59856/16?u=cpradio
2017-07-25 18:54:28 -04:00
Sam
ec2506c32b
Merge pull request #4996 from ryantm/patch-2
...
safely call html_safe on category description
2017-07-25 15:34:07 -04:00
Sam
17d56a4cb7
FEATURE: use Markdown for image pasted in as opposed to IMG tags
2017-07-25 15:11:38 -04:00
Neil Lalonde
d8c27e3871
Merge branch 'master' into search_posts_by_filetype
2017-07-25 14:41:20 -04:00
Ryan Mulligan
f3f7dd02d1
safely call html_safe on category description
...
The `categories.description` column is not modified as "not null", so it is possible for the description to be nil. This changes the code not call html_safe on nil.
2017-07-25 11:40:02 -07:00
Sam
0d66a41753
Merge pull request #4989 from begrif/html-safe-category-desc
...
Stop Rails from escaping the HTML in this description.
2017-07-25 13:41:30 -04:00
Robin Ward
f2e592c1ab
UX: Apply btn-flat class to flat buttons on posts
2017-07-25 12:00:19 -04:00
Robin Ward
3152eabbb0
UX: Use flat button style for bulk selection
2017-07-25 12:00:19 -04:00
Robin Ward
5da848088a
UX: Refactor composer buttons into flat buttons
2017-07-25 12:00:19 -04:00
Régis Hanol
d67fe4c674
FIX: block all emails associated to a user when destroying their record
2017-07-25 17:44:46 +02:00
Guo Xiang Tan
601064a95a
Remove stray debugger.
2017-07-25 22:51:47 +09:00
Guo Xiang Tan
bdf1be65a3
FIX: Broken topic invite button.
2017-07-25 22:48:10 +09:00
Jakub Macina
2d45b3fc6d
Add infinite loading to full page search.
2017-07-25 15:33:25 +02:00
Joffrey JAFFEUX
8556d3c27f
FIX: emoji-picker do not reload all everything when changing diversity
2017-07-25 12:23:38 +02:00
Joffrey JAFFEUX
22c5fb20b4
FIX: emoji-picker broken and skipped specs
2017-07-25 12:23:38 +02:00
Régis Hanol
c7c93e7159
FEATURE: new 'strip image metadata' site setting
2017-07-25 11:48:39 +02:00
Guo Xiang Tan
6c0a29698b
Fix JS tests failing when running in RAILS_ENV=test.
...
Fixes the following error:
```
phantomjs /home/tgxworld/work/discourse/vendor/assets/javascripts/run-qunit.js http://localhost:60099/qunit
2017-07-25 16:27:41 +0900: Rack app error handling request { GET /stylesheets/desktop.css }
<Errno::ENOENT: No such file or directory @ rb_sysopen - /home/tgxworld/work/discourse/tmp/stylesheet-cache/desktop.css>
/home/tgxworld/work/discourse/app/controllers/stylesheets_controller.rb:65:in `write'
/home/tgxworld/work/discourse/app/controllers/stylesheets_controller.rb:65:in `show_resource'
/home/tgxworld/work/discourse/app/controllers/stylesheets_controller.rb:9:in `show'
```
2017-07-25 16:31:31 +09:00
awesomerobot
3905d6bc0d
mildly lighter @mention
2017-07-24 22:26:14 -04:00
Jeff Atwood
df653a2350
Merge pull request #4991 from awesomerobot/master
...
fixing @mention color
2017-07-24 18:33:00 -07:00
awesomerobot
3dd79b3b3a
fixing @mention color
2017-07-24 21:11:14 -04:00
Benjamin Elijah Griffin
4f77ca72a3
Stop Rails from escaping the HTML in this description.
2017-07-24 17:15:15 -07:00
Sam
4da98cdcfe
FIX: allow bbcode to be unquoted for default
2017-07-24 18:36:17 -04:00
Neil Lalonde
25097deb39
FIX: saving profile preferences removes name in account preferences
2017-07-24 13:13:50 -04:00
Sam
40abcfc2f5
FIX: smart quote edge case with quotes
2017-07-24 12:21:49 -04:00
Sam Saffron
045a2abcec
FEATURE: remove the timecop gem
...
We should only have one way of mocking time, misuse of timecop
was causing build stability issues
2017-07-24 12:11:10 -04:00
Robin Ward
5dd56a41d9
Merge branch 'master' into master
2017-07-24 12:01:48 -04:00
Neil Lalonde
b5a375c70a
FIX: oops, real fix for change email instructions
2017-07-24 11:15:55 -04:00
Neil Lalonde
1f1d84c378
FIX: wrong position for change email instructions
2017-07-24 11:14:36 -04:00
Guo Xiang Tan
6b17178533
Validate uniquness of api_key.
2017-07-24 21:46:08 +09:00
Joffrey JAFFEUX
d9696c98c3
FIX: broken spec
2017-07-24 13:59:36 +02:00
Joffrey JAFFEUX
995d253030
FIX: improves efficiency
2017-07-24 12:42:54 +02:00
Guo Xiang Tan
1b0750d7ef
Merge pull request #4983 from tgxworld/group_owners_can_invite_users_to_groups
...
Group owners can invite users to groups
2017-07-24 16:21:19 +09:00
Guo Xiang Tan
6593f0355f
FIX: Exclude www in topic map links.
...
https://meta.discourse.org/t/topic-popular-links-panel-domain-extraction-doesnt-handle-country-tlds/60156/38?u=tgxworld
2017-07-24 10:14:33 +09:00
Guo Xiang Tan
887c3b66f5
Revert "UX: Don't try to figure out root domain."
...
This reverts commit 7690cc6ca5 .
2017-07-24 09:40:57 +09:00
Régis Hanol
65ab5f58fe
FIX: keep newlines between paragraphs when quoting a post
2017-07-23 15:25:28 +02:00
David Taylor
2ddf365e3a
Fix user stats colour for dark themes
2017-07-22 23:48:31 +01:00
Joffrey JAFFEUX
f68e711fb2
FIX: makes emoji filter case insensitive
2017-07-22 22:48:22 +02:00
Jeff Atwood
bc9270defb
filetype comparison needs to be case insensitive
2017-07-22 13:18:15 -07:00
Joffrey JAFFEUX
e2e0221dd7
FIX: make sure there are meaningful titles on the picker
2017-07-22 17:32:12 +02:00
Robin Ward
bc3a32385c
FIX: Empty lines should be selected for block quotes
2017-07-21 16:32:29 -04:00
Sam
9b4f5710e6
api cleanup for before / after rules
2017-07-21 16:12:11 -04:00
Joffrey JAFFEUX
bb35d9fc07
FIX: do not restore scroll on successive click on the same first emoji
2017-07-21 21:42:23 +02:00
Robin Ward
2f8f2aa1dd
FEATURE: Whitelists for inline oneboxing
2017-07-21 15:41:47 -04:00
Arpit Jalan
9727977fef
Fix the build.
2017-07-22 00:34:39 +05:30
Joffrey JAFFEUX
8c17596aa5
FIX: keep scroll position when adding first recent emoji
2017-07-21 20:57:17 +02:00
Joffrey JAFFEUX
cdefb58018
FIX: emoji-picker filtering false positive
2017-07-21 20:42:34 +02:00
Arpit Jalan
6d09fbde44
UX: use down chevron icon to expand "show more links.."
2017-07-22 00:10:37 +05:30
Régis Hanol
fff5e2c3a5
Merge pull request #4984 from LeoMcA/unrecognized-error-email
...
FEATURE: send rejection email for unrecognized errors
2017-07-21 20:40:18 +02:00
Robin Ward
574681dc47
FIX: Show emoji in inline oneboxes
2017-07-21 14:24:48 -04:00
Joffrey JAFFEUX
c2db2c5c78
FIX: do not store scroll position in local storage
2017-07-21 20:18:32 +02:00
Joffrey JAFFEUX
d5f53da43f
FIX: filtered emojis now correctly include custom emojis
2017-07-21 19:46:40 +02:00
Joffrey JAFFEUX
e36d9f55c3
replaces links/imgs by buttons in the emoji-picker
2017-07-21 19:42:50 +02:00
Joffrey JAFFEUX
54e0075a3e
use the EMOJI_VERSION constant
2017-07-21 19:42:49 +02:00
Leo McArdle
407a23663d
FEATURE: send rejection email for unrecognized errors
2017-07-21 18:26:52 +01:00
Sam
e1ce47a901
Pass the full CommonMark spec
2017-07-21 13:20:52 -04:00
Robin Ward
aa5b8a5749
REFACTOR: Merge onebox and inline onebox code paths
2017-07-21 13:12:30 -04:00
Leo McArdle
ddc0134b48
add DiscourseEvent triggers necessary to update a user's permissions before they're notified
2017-07-21 11:03:54 -04:00
Guo Xiang Tan
2a17f1ccd7
FIX: Group owners should be able to invite users to their groups.
...
https://meta.discourse.org/t/group-owner-cannot-send-an-invite-to-a-group/60617/12
2017-07-21 23:48:25 +09:00
Joffrey JAFFEUX
c7f2b0fe58
tweaks to copy and styles
2017-07-21 14:19:04 +02:00
Joffrey JAFFEUX
79c8b505e8
FIX: faster successive loading of emojis
2017-07-21 14:18:02 +02:00
Joffrey JAFFEUX
1ce1953ee1
FIX: makes sure we don’t track when clicking on recent emojis
2017-07-21 13:35:55 +02:00
Joffrey JAFFEUX
c906bd3f22
emoji-picker refactoring
2017-07-21 13:35:29 +02:00
Joffrey JAFFEUX
1ca0c33802
FIX: dot not close emoji-picker when click is inside picker
2017-07-21 12:01:39 +02:00
Joffrey JAFFEUX
0c9ea1aaf2
reduce emoji loading threshold
2017-07-21 11:46:34 +02:00
Jakub Macina
44bd8f3837
Add info about more results to full-page search frontend.
2017-07-21 09:35:04 +02:00
Robin Ward
657e592a39
FIX: Oneboxes were not being previewed
2017-07-20 17:12:54 -04:00
Jeff Atwood
18d1ff0c0a
Merge pull request #4980 from cpradio/fix-ol-margin-padding
...
Fix ol margin/padding so it displays ordered lists without cutting them off.
2017-07-20 13:58:17 -07:00
Robin Ward
3882722195
FEATURE: Inline (Mini) Oneboxing
...
see:
https://meta.discourse.org/t/mini-inline-onebox-support-rfc/66400?source_topic_id=66066
2017-07-20 15:38:04 -04:00
Sam
44fb2a2833
DEV: support multiple capture groups for text post process
2017-07-20 15:33:44 -04:00
Joffrey JAFFEUX
d7a20c8e93
FIX: Object.assign is not supported in all browsers
2017-07-20 20:27:59 +02:00
Joffrey JAFFEUX
ac6413f456
FIX: broken specs
2017-07-20 20:08:11 +02:00
Sam
1096dcd602
correct bbcode parsing edge case
2017-07-20 13:02:40 -04:00
Sam
0791d740a6
FIX: only highlight exact word matches in results
...
- also fixes phrase highlighting
2017-07-20 12:26:46 -04:00
Jakub Macina
e5ee4ccc48
Add pagination and checking for more results to search.
2017-07-20 18:12:34 +02:00
Jakub Macina
7b40de5ac4
Add attribute to grouped search results for more available posts.
2017-07-20 18:07:13 +02:00
Sam
911ffbb98c
Correct mention edge cases
...
@sam. was not correctly detected as a mention
2017-07-20 11:52:38 -04:00
Joffrey JAFFEUX
a9ab3f9ef0
FIX: emoji-picker positioning glitches on few edge cases
2017-07-20 17:03:45 +02:00
cpradio
8101b630f2
Fix ol margin/padding so it displays ordered lists without cutting them off.
...
https://meta.discourse.org/t/numbers-cut-off-in-long-list/59856
2017-07-20 11:03:04 -04:00
Joffrey JAFFEUX
a5a3651cf3
FIX: improves emoji-picker handling of its different states
...
- closing modal with escape
- using modal less frequently
- closing the picker by clicking anywhere
2017-07-20 16:08:25 +02:00
Régis Hanol
bf6c3b7017
FIX: don't error out when an unsubscribe key isn't associated to a user anymore
2017-07-20 12:24:24 +02:00
Leo McArdle
d0b027d88d
FEATURE: phase 1 of supporting multiple email addresses
2017-07-20 11:22:27 +09:00
Joffrey JAFFEUX
739794f0cb
resets img src before changing it
2017-07-19 23:24:50 +02:00
Joffrey JAFFEUX
26a7ae3750
increase time needed to load section in emoji-picker
2017-07-19 23:20:27 +02:00
Joffrey JAFFEUX
d27f744d16
refactor async code of the emoji-picker
2017-07-19 22:54:58 +02:00
Joffrey JAFFEUX
ce982d9935
enforce that emoji-picker is not active by default
2017-07-19 22:54:57 +02:00
Joffrey JAFFEUX
bb7241ccc2
simplify emoji-picker recent usage logic
2017-07-19 22:54:56 +02:00
Joffrey JAFFEUX
0112b9aa43
FIX: emoji-picker works with dark theme
2017-07-19 22:54:56 +02:00
Joffrey JAFFEUX
f32950a475
unbind div-resizing event
2017-07-19 22:54:55 +02:00
Joffrey JAFFEUX
bd0607b15b
makes emoji-picker position more dynamic
2017-07-19 22:54:55 +02:00
Joffrey JAFFEUX
d2581bbf21
FIX: make sure the emoji picker is hidden
2017-07-19 22:54:54 +02:00
Joffrey JAFFEUX
d238de87a4
FIX: infinite rebinding when filtering emojis
2017-07-19 22:54:53 +02:00
Joffrey JAFFEUX
d1f2b981b5
scope .section-group to .emoji-picker
2017-07-19 22:54:52 +02:00
Joffrey JAFFEUX
69a52cca83
improve emoji picker filter style
2017-07-19 22:54:52 +02:00
Joffrey JAFFEUX
8620662ac7
do not display clear on windows
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
a1de26d614
more consistent positioning
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
81c1cc4f22
should be a const
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
33c1ce8d55
better scroll/touch handling on mobiles
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
b3454b535f
refactoring
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
4ef52d5e88
correctly hide the picker
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
8d91e7d493
pixel perfect position
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
2322118d4f
es-lint
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
c99a5bce8f
faster tests
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
b83f430ef0
better positioning on mobile devices
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
8cf7e614d9
move picker at top of the screen on mobile
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
9956a58df0
uses es6 shorthands
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
0b98bfe1dc
function is not needed
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
7739b2f53e
reduces element search scope
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
d992ef24ce
emphasizes it's a jquery object
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
b5c5c9c883
formating
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
6ebdf86ec1
storing scroll position every 100 ms should be enough
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
9a4dcd1a1c
es-lint
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
bd0e5b91c0
function is not needed
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
f4c20472d2
refactoring
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
80ff685148
disable modale escape for now
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
60c0b5f0d2
bind hover only on desktop
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
38be969727
do not apply touch start hack on emojis
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
89573e3427
simplifying code
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
03508b72b9
clarification
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
6a4d74d9f8
performance/memory optimizations
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
2a0dcedb3d
fixes regression
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
9664fd7302
fixes es-lint errors
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
6de258d4cf
FEATURE: Introduces new emoji-picker
2017-07-19 16:48:23 +02:00
Guo Xiang Tan
87a1ff15fd
Treat URL as loaded when loading script with tag.
2017-07-19 10:25:13 +09:00
Sam
c7b0764089
correct more edge cases with new engine
2017-07-17 17:44:48 -04:00
Sam
8921058c67
FIX: medium URL with @ incorrectly handled as mention
...
Also:
- remove unused code
- rename bbcode_ruler to bbcode.ruler
- add md.core.textPostProcess.ruler to apply at end of chain (excluding links)
2017-07-17 17:44:48 -04:00
Robin Ward
29d529020b
UX: Allow site settings to display as textareas if they like
2017-07-17 16:38:26 -04:00
Robin Ward
cdb3706025
Track clicks on topics in search results
2017-07-17 15:42:32 -04:00
Robin Ward
21e02d6969
Include the search_log_id in search results
2017-07-17 12:10:32 -04:00
Sam Saffron
d0c5205a52
Feature: Change markdown engine to markdown it
...
This commit removes the old evilstreak markdownjs engine.
- Adds specs to WhiteLister and changes it to stop using globals
(Fixes large memory leak)
- Fixes edge cases around bbcode handling
- Removes mdtest which is no longer valid (to be replaced with
CommonMark)
- Updates MiniRacer to correct minor unmanaged memory leak
- Fixes plugin specs
2017-07-17 11:41:34 -04:00
Guo Xiang Tan
2ddf2e0e95
FIX: Concurently loading deferred loading of a script incorrectly resolves the promise.
2017-07-17 14:41:46 +09:00
Guo Xiang Tan
d613f3f559
Fix guard against concurrently loading of assets.
2017-07-17 13:04:30 +09:00
Guo Xiang Tan
c5401a0927
Log errors when trying to load a markdown-it-bunlde.js.
2017-07-17 11:21:57 +09:00
awesomerobot
c29b7aa65d
initial pass at color simplification
2017-07-14 21:43:35 -04:00
Robin Ward
610728a70f
FIX: Don't include images in the topic map top links
2017-07-14 16:37:41 -04:00
Robin Ward
6b6ad9391b
Clean up job for search logs
2017-07-14 14:30:58 -04:00
Robin Ward
97e211f837
FEATURE: Log Search Queries
2017-07-14 14:30:58 -04:00
Neil Lalonde
951fd1219d
FIX: set a max height for the tag input field
2017-07-14 12:00:35 -04:00
Guo Xiang Tan
9792e03c63
FIX: Group name was being reverted to non-localized version.
...
https://meta.discourse.org/t/localized-staff-group-names-changed/65360/16
2017-07-14 14:15:33 +09:00
Neil Lalonde
3ebd8838af
FEATURE: cross-domain tracking for Google universal analytics
2017-07-13 15:21:44 -04:00
Sam
79a084dd58
Revert "remove old markdown engine work-in-progress"
...
This reverts commit ee470b5317 .
2017-07-12 18:10:51 -04:00
Sam
bcbb9f208d
Revert "Integrate new engine, correct old specs"
...
This reverts commit f1b38ba4fb .
2017-07-12 18:10:07 -04:00
Sam
d609f8a53c
Revert "correct more specs"
...
This reverts commit 40bcc6bbdc .
2017-07-12 18:10:05 -04:00
Sam
40bcc6bbdc
correct more specs
2017-07-12 17:44:40 -04:00
Sam
f1b38ba4fb
Integrate new engine, correct old specs
...
corrects edge cases with
- full quotes
- [url] with nested tags
- engine overrides
- onebox applying to non http srcs
2017-07-12 17:44:40 -04:00
Sam Saffron
ee470b5317
remove old markdown engine work-in-progress
2017-07-12 17:44:40 -04:00
Neil Lalonde
24db001bfa
FIX: user card contents can go up out of the bounds of the card when user has a title and full name
2017-07-12 16:16:59 -04:00
Arpit Jalan
76981605fa
FIX: don't raise error when inviting existing user to private topic via email
...
https://meta.discourse.org/t/inviting-existing-user-to-a-private-topic-message-via-email-shows-error-message/65994
2017-07-12 21:51:21 +05:30
Jakub Macina
677267ae78
Add onceoff job for uploads migration of column extension. Simplify filetype search and related rspec tests.
2017-07-12 17:19:27 +02:00
Régis Hanol
a6dff79c2c
change log level to info when failing to download a hotlinked image
2017-07-12 11:06:28 +02:00
Sam
98e03b04b5
Don't depend on imports for md extensions
2017-07-11 16:48:25 -04:00
Sam
5d139e461c
FIX: multi option poll not working (new engine)
2017-07-11 14:43:34 -04:00
Sam
3f950a756a
FEATURE: support image dimensions via Markdown image
2017-07-11 12:13:03 -04:00
Robin Ward
1163c086a3
FIX: Missing model binding
2017-07-11 11:19:49 -04:00
Arpit Jalan
3fb1c21dd5
Fix the build.
2017-07-11 19:26:33 +05:30
Sam
9840e4285d
Merge pull request #4962 from nbianca/add_composer_events
...
Added events to show and hide the preview pane.
2017-07-11 08:26:25 -04:00
Arpit Jalan
35fb45749d
FIX: remove unneeded code
2017-07-11 13:21:41 +05:30
Guo Xiang Tan
31932813b7
FIX: Wait for CSS transition to end before attempting to focus.
...
https://meta.discourse.org/t/tab-should-work-after-edit-title-or-using-hotkeys/65792
2017-07-11 15:26:57 +09:00
Guo Xiang Tan
3ff9133f85
FIX: Only trigger callback for parent transition events.
...
* This fixes a bug where multiple requests were being
made to the server whenever the composer is opened.
2017-07-11 15:09:22 +09:00
Guo Xiang Tan
f529cb1674
Remove validation for invalid interpolation keys.
...
* Our codebase currently supports custom interpolations keys that are
not present in the original translation. The proper fix should
be to make `TranslateOverride` aware of such keys.
2017-07-11 11:12:11 +09:00
Guo Xiang Tan
c5b1317a15
Remove code that is no longer being used.
2017-07-11 11:11:51 +09:00
Bianca Nenciu
375eb290b9
Made changes as per review.
2017-07-10 23:28:35 +01:00
Bianca Nenciu
1e7f0fd8f1
Added events to show and hide the preview pane.
2017-07-10 20:23:56 +01:00
Robin Ward
31f7640335
FIX: Allow discourse app to link directly to wizard
2017-07-10 14:31:58 -04:00
Robin Ward
dcdd5baf54
FIX: Only show search if there are more total posts than the chunk size
2017-07-10 13:46:50 -04:00
Sam
ba9898c5a9
FIX: smarter newline handling for <img> tags on line alone
...
Run all of pretty text spec on new engine
2017-07-10 12:22:15 -04:00
Régis Hanol
c66b9dcdbd
add 'us-east-2' S3 region
2017-07-10 15:36:38 +02:00
Arpit Jalan
3b1b00a869
FIX: invited user should not be able to redeem invite as admin
2017-07-10 07:47:37 +05:30
Robin Ward
f1a6449e4b
SECURITY: Remove disposable invite feature
2017-07-07 20:24:39 -04:00
Sam
9fb180f839
we don't want that console.log
2017-07-07 16:38:52 -04:00
Sam
6f09df0deb
FIX: don't create tags autolinks inside links (new engine)
2017-07-07 13:04:25 -04:00
Sam
436b894f7a
FIX: mention not working after a newline (new engine)
2017-07-07 11:06:50 -04:00
Robin Ward
fa2eb8dab1
UX: Reply button was offset improperly when anonymous
2017-07-06 15:05:45 -04:00
Jakub Macina
8c445e9f17
Fix backend code for searching by a filetype as a combination of uploads and topic links. Add rspec test for extracting file extension in upload.
2017-07-06 19:19:31 +02:00
Jakub Macina
f0a674d620
Add extraction of upload extension. Add rspec test for search of post
...
with upload by extension.
2017-07-06 19:16:07 +02:00
Guo Xiang Tan
e92acb4c40
FIX: Jobs::PullHotlinkedImages#is_valid_image_src returns true for a generic string.
2017-07-06 18:31:15 +09:00
Régis Hanol
405672f8e6
Merge pull request #4957 from jjaffeux/google-classic
...
FIX: s/google_blob/google_classic
2017-07-06 10:29:40 +02:00
Guo Xiang Tan
b49579d9a7
FIX: Disable topic status info when no category has been selected.
2017-07-06 17:08:29 +09:00
Joffrey JAFFEUX
6fd44b1efd
FIX: s/google_blob/google_classic
2017-07-06 09:05:15 +02:00
Guo Xiang Tan
f6491ee125
FIX: Select topic timer's category by default in edit modal.
2017-07-06 16:01:57 +09:00
Robin Ward
c53eeaaa68
REFACTOR: Remove requirejs calls
2017-07-05 17:24:27 -04:00
Robin Ward
754c1e5438
Upgrade to Babel 6
2017-07-05 15:25:23 -04:00
Joffrey JAFFEUX
fcc50edeef
FIX: do not override 🦗 with :cricket_bat_and_ball:
2017-07-05 18:51:25 +02:00
Joffrey JAFFEUX
76a55fd138
FIX: adds new emojis into correct groups
2017-07-05 16:24:53 +02:00
Guo Xiang Tan
061aa261da
Log site name when logging to Logster in Jobs::PullHotlinkedImages.
2017-07-05 10:34:24 +09:00
Guo Xiang Tan
4e8b80c157
Remove unnecessary ensure block.
2017-07-05 10:21:42 +09:00
Neil Lalonde
fcb2f68565
FIX: duplicate topics and posts in summary email because user has muted tags and topics contain multiple tags
2017-07-04 16:12:10 -04:00
Robin Ward
df213639f1
UX: Allow CTRL+ENTER to save topic title edits
2017-07-04 14:23:57 -04:00
Neil Lalonde
3964929c75
FIX: summary email excludes all untagged topics if user has muted some tags
2017-07-04 12:52:25 -04:00
Robin Ward
35ff5d6796
FIX: Naving to root URL was broken
2017-07-04 12:44:53 -04:00
Sam
43ecfb016a
Merge pull request #4950 from jjaffeux/use-emoji-db
...
FEATURE: emoji generation now uses emoji-db
2017-07-04 09:01:13 -04:00
Joffrey JAFFEUX
a71c75367e
FEATURE: emoji generation now use emoji-db
...
- unicode 10
- emoji 5.0
- support for google_blob and facebook_messenger sets
2017-07-04 14:08:47 +02:00
Arpit Jalan
c243861b17
FIX: do not show "Send Activation Email" button if must_approve_users setting is enabled
...
https://meta.discourse.org/t/error-when-pressing-send-activitation-email-when-must-approve-users-setting-is-enabled/65408
2017-07-04 14:00:50 +05:30
Sam
d2ba543ed3
correct case where %20 decoded as space in auto link
...
correct case where onebox is not applied when url is decoded
2017-07-03 16:32:53 -04:00
Sam
340a3ee5cb
correct spec to handle not null visibility_level
2017-07-03 16:03:26 -04:00
Sam
45c3ad5f91
FIX: stop highlighting single l which is used for sorting
2017-07-03 15:45:15 -04:00
Sam
845170bd6b
FEATURE: add support for group visibility level
...
There are 4 visibility levels
- public (default)
- members only
- staff
- owners
Note, admins and group owners ALWAYS have visibility to groups
Migration treated old "non public" as "members only"
2017-07-03 15:26:57 -04:00
Sam
c79418d334
DEV: Move RTL into lib where it belongs
2017-07-03 15:26:57 -04:00
Arpit Jalan
984778d3ac
FIX: handle moving first post to a closed/archived topic
2017-07-03 21:21:20 +05:30
Arpit Jalan
72c92b0f4e
FIX: include canonical meta tag on category pages
2017-07-03 13:25:22 +05:30
Arpit Jalan
d3ee5752b8
remove unneeded condition from invite model
2017-07-01 21:50:34 +05:30
Arpit Jalan
4fb9269642
FEATURE: optimize invite js code
2017-07-01 19:11:39 +05:30
Robin Ward
566cf31c66
UX: Always show topic progress on mobile
2017-06-30 16:19:19 -04:00
Sam
0650c8dbab
optimize rule lookup
...
we have tons of bbcode rules, might as well speed them up
2017-06-30 15:19:16 -04:00
Robin Ward
0ba39109a0
FIX: Make omit_default_port the global default
2017-06-30 12:43:26 -04:00
Robin Ward
46a3b30021
FIX: omit the default port in the Host header
2017-06-30 12:36:02 -04:00
Sam
a55e679563
support wrap function in bbcode rules
2017-06-30 12:21:01 -04:00
Sam
5c89a37ceb
FIX: log when push notifications fail
2017-06-30 10:45:53 -04:00
Arpit Jalan
16d356ab4e
FEATURE: resending invite should include original custom message
...
https://meta.discourse.org/t/will-resent-invite-include-original-custom-message/64699
2017-06-30 18:13:33 +05:30
Sam
c1580b9d36
attempt to fix push notifications
2017-06-30 08:40:43 -04:00
Sam
ca40c1725c
add support for a wrap function in bbcode replace
2017-06-29 16:43:57 -04:00
Sam
d941ed90d6
support for bbcode [code] blocks
2017-06-29 16:04:10 -04:00
Sam
de50d8cd35
Support for [email] [url] [img] bbcodes
2017-06-29 14:00:09 -04:00
Arpit Jalan
e7b9b1312e
FEATURE: remove all invites
...
https://meta.discourse.org/t/remove-all-invitations-button-for-the-admin-panel/65207
2017-06-29 22:30:10 +05:30
Sam
c6b83f4714
Correct logic so hashtags are properly ignored in links
2017-06-29 12:48:20 -04:00
Robin Ward
6ff7bf7505
REFACTOR: Use component for cook-text to improve async workflow
2017-06-29 12:14:27 -04:00
Arpit Jalan
aa1a68b979
UX: do not show "Message" button on user's own profile page/card
2017-06-29 14:27:00 +05:30
Guo Xiang Tan
5e156fbe85
FIX: Group.search should look up Group#full_name too.
...
https://meta.discourse.org/t/mentioning-group-by-full-name-doesnt-work/63437/3
2017-06-29 16:37:59 +09:00
Guo Xiang Tan
7b35c55a1e
FIX: Display Google search form when 404 page is rendered by Ember.
2017-06-29 14:37:24 +09:00
Régis Hanol
e12601b850
Merge pull request #4946 from jjaffeux/emoji-picker-fixes
...
Emoji picker fixes
2017-06-29 00:30:55 +02:00
Joffrey JAFFEUX
65fd92b991
Fixes glitch on iOS safari
2017-06-29 00:27:16 +02:00
Joffrey JAFFEUX
6e1a06d07f
Uses es6 object literal shorthand
2017-06-29 00:27:02 +02:00
Robin Ward
25cecd5d25
FIX: Topic Entrance wasn't showing up on some suggested topics
2017-06-28 17:38:01 -04:00
Guo Xiang Tan
ad4694cdcd
Revert "FIX: Can't cook queued posts when markdown-it is enabled."
...
This reverts commit 5ff563cddd .
2017-06-29 06:14:36 +09:00
Robin Ward
284570a5ae
FIX: Don't show the admin menu if the progress bar is hidden
2017-06-28 16:31:55 -04:00
Sam
0e391a72a1
use custom whitelister for tables
2017-06-28 16:08:29 -04:00
Robin Ward
f7b686117b
UX: Add a span to d-button so text can be hidden via CSS
2017-06-28 15:46:09 -04:00
Robin Ward
f6222ff225
FIX: Populate the Email Digest preview with the current username
2017-06-28 15:38:57 -04:00
Sam
6200d7d6ab
correct bug where only a single poll per topic worked
2017-06-28 15:36:19 -04:00
Sam
cfbda863e8
implement unicode emoji replacements
2017-06-28 13:47:30 -04:00
Sam
301731ef24
make cook-text async friendly
2017-06-28 11:29:34 -04:00
Joffrey JAFFEUX
560dfe74af
Adds support for skin tones in emoji picker
2017-06-28 15:07:05 +02:00
Guo Xiang Tan
a2349b99b6
FIX: Plugin outlet should be wrapped under d-editor-preview-wrapper.
2017-06-28 17:52:38 +09:00
Régis Hanol
173307de10
Merge pull request #4944 from nbianca/preview_plugin_outlet
...
Removed useless element (div).
2017-06-28 10:14:38 +02:00
Bianca Nenciu
2bf8b5706f
Removed useless element (div).
...
{{plugin-outlet}} already wraps everything.
2017-06-28 11:04:41 +03:00
Sam
d4dbcca91b
Merge pull request #4942 from nbianca/preview_plugin_outlet
...
Added plugin outlet near editor's preview.
2017-06-27 17:34:31 -04:00
Sam
fed57be9ed
style table in preview as well
2017-06-27 17:26:33 -04:00
Sam
4c5109ff5b
FEATURE: site setting for Markdown typographer
...
It ships anyway with markdown.it so we might as well expose it
2017-06-27 16:50:13 -04:00
Sam
0d62420cbe
Space prior to onebox stops onebox resolution
2017-06-27 16:16:17 -04:00
Sam
232de90607
explicit autolink should not be oneboxed
2017-06-27 15:34:16 -04:00
Sam
91a91d57f0
FIX: when quoting always ensure we are on a new line
2017-06-27 13:59:17 -04:00
Sam
e2f57a154b
FIX: blockquote button implementation
...
Previously clicking on blockquote in the middle of sentence
would result in incorrect formatting
2017-06-27 13:32:20 -04:00
Neil Lalonde
bca678ee5a
FIX: mentions in category boxes are too big
2017-06-27 10:54:43 -04:00
Sam
0e0092d738
corrected a parsing edge cases for bbcode blocks
2017-06-27 10:07:06 -04:00
Jeff Atwood
38950cdc10
add missing span tags to new topic btn
2017-06-27 02:47:10 -07:00
Arpit Jalan
70781749cd
UX: add unique class to "most liked" section on user summary page
2017-06-27 14:49:52 +05:30
Guo Xiang Tan
5ff563cddd
FIX: Can't cook queued posts when markdown-it is enabled.
2017-06-27 12:24:52 +09:00
Robin Ward
10358811a1
UX: Don't hide the reply button by default
2017-06-26 17:35:28 -04:00
Régis Hanol
aa69f78fed
let's not use progressing rendering on images
2017-06-26 23:19:48 +02:00
Sam
21f7ac1f25
correct spec, require closing tag for bbcode blocks
2017-06-26 16:51:55 -04:00
Rafael dos Santos Silva
43ecbc86d4
FEATURE: Use current table styles for markdown-it tables
2017-06-26 16:56:46 -03:00
Sam
8967d50dc2
Clean up sanitization code
...
- remove html table test, this is soon to be deprecated
- move sanitization tests into pretty text.rb
- fix up whitelister so it makes a copy of options
2017-06-26 15:21:47 -04:00
Robin Ward
4f27259e27
UX: Make the edit wiki button more prominent
2017-06-26 14:34:59 -04:00
Sam
e9f55adb3a
FEATURE: add table support
2017-06-26 13:25:05 -04:00
Robin Ward
bf592c0ee7
FIX: Wrench would incorrectly on wide browsers with composer up
2017-06-26 13:17:58 -04:00
Sam
df5ee0cfc1
correct onebox rendering so it fills in cached
...
the onebox plugin needs to pull in the actual cached onebox
and bypass the whitelister for onebox content
2017-06-26 13:09:58 -04:00
Robin Ward
c6408550cd
Add a little contrast between the wrench and progress bar
2017-06-26 12:32:20 -04:00
Neil Lalonde
eee00b5bb5
UX: include a link to change email preferences at the bottom of summary emails as an alternative to unsubscribing
2017-06-26 12:27:22 -04:00
Sam
81eb3218b2
FEATURE: used strict sanitizer by default
...
This amends it so sanitize always uses the most strict sanitizer
by default, if it needs to be "widened" to use more options then
you need to pass it more options.
2017-06-26 11:27:30 -04:00
Bianca Nenciu
81dc1f039d
Added plugin outlet near editor's preview.
2017-06-26 12:13:27 +03:00
Guo Xiang Tan
7ed9fbb415
FIX: Use default parameter in method.
2017-06-26 11:14:13 +09:00
Guo Xiang Tan
1ab60d83df
PERF: Terminate scheduled job earlier if badge is not enabled.
2017-06-26 10:13:58 +09:00
Neil Lalonde
69b2d64334
FIX: letter avatars in quotes on subfolders installs are broken
2017-06-23 17:12:13 -04:00
Sam
da5ccd2000
correctly hunt for console.log
2017-06-23 15:24:20 -04:00
Robin Ward
34867a6e07
UX: Support for displaying wrench alongside progress bar
2017-06-23 14:39:18 -04:00
Sam
814c8804d4
correct text highlighting for no highlight
2017-06-23 14:35:46 -04:00
Sam
05e5a740a6
FEATURE: consistent bbcode inline and block rulers
2017-06-23 12:01:33 -04:00
Sam
234694b50f
Feature: CommonMark support
...
This adds the markdown.it engine to Discourse.
https://github.com/markdown-it/markdown-it
As the migration is going to take a while the new engine is default
disabled. To enable it you must change the hidden site setting:
enable_experimental_markdown_it.
This commit is a squash of many other commits, it also includes some
improvements to autospec (ability to run plugins), and a dev dependency
on the og gem for html normalization.
2017-06-23 12:01:33 -04:00
Sam
6048ca2b7d
Merge pull request #4941 from jjaffeux/emoji-ordering
...
Emoji ordering
2017-06-23 12:00:16 -04:00
Joffrey JAFFEUX
7c68949e04
Emoji ordering
...
This commit uses
http://www.unicode.org/emoji/charts/emoji-ordering.html to generate an
automatic ordering of emojis. We also don't have to maintain a full
emoji list for groups but only sub sections.
2017-06-23 17:51:13 +02:00
Régis Hanol
a682ef5266
calendar should overflow in the 'Feature this topic' modal
2017-06-23 17:51:04 +02:00
Régis Hanol
73a4a05c5b
make eslint happy again
2017-06-23 16:06:32 +02:00
Régis Hanol
a9c0df0b58
FIX: always try to convert PNG to JPG when pasting an image
2017-06-23 12:13:48 +02:00
Jeff Atwood
bfd892bbbc
better responsive layout for new topic btn
2017-06-23 01:52:09 -07:00
Jeff Atwood
8c9e24e9b0
override desktop styles for mobile topic admin
2017-06-23 00:59:53 -07:00
Guo Xiang Tan
6cc174ca82
PERF: Fetch users in batches in grant anniversary badge job.
2017-06-23 16:54:35 +09:00
Jeff Atwood
c1c778f1e5
move mobile topic admin button to bottom
2017-06-23 00:36:50 -07:00
Guo Xiang Tan
cbedc1a2ca
FIX: Notification backdrop does not display when user menu has been toggled.
...
https://meta.discourse.org/t/first-pm-spotlight-does-not-work-with-welcome-message-delay/64927/16?u=tgxworld
2017-06-23 11:35:06 +09:00
Robin Ward
5fda2b84e1
FIX: If the progress bar is docked, set the progress to 100%
2017-06-22 14:43:15 -04:00
Robin Ward
b22df9f166
FIX: Double header rendering issues, redux
2017-06-22 12:50:46 -04:00
Régis Hanol
6e5c59e5ec
FIX: image orientation wasn't properly working
2017-06-22 16:53:49 +02:00
Régis Hanol
a916f6b0c8
remove some warnings with already declared constants
2017-06-22 12:55:58 +02:00
Régis Hanol
2e7753c27f
User 'FileHelper.is_image?' to check wether a link is poiting to an image
2017-06-22 12:54:42 +02:00
Guo Xiang Tan
80e348d226
PERF: Speed up slow tests in our test suite.
...
Before
```
Finished in 7 minutes 23 seconds (files took 4.15 seconds to load)
7145 examples, 0 failures, 10 pending
```
After
```
Finished in 6 minutes 12 seconds (files took 4.41 seconds to load)
7145 examples, 0 failures, 10 pending
```
2017-06-22 11:23:31 +09:00
Robin Ward
1a02f5154f
FIX: Dirty keys should become to a widget, not global
2017-06-21 14:27:08 -04:00
Robin Ward
287cb4bfc5
FEATURE: Allow truncated group posts to be expanded
2017-06-21 12:56:38 -04:00
Robin Ward
32756060bb
REFACTOR: Remove unused component
2017-06-21 12:32:56 -04:00
Robin Ward
d09bed0d76
FIX: Some stream items don't have post_id, so expand by topic id / post number
2017-06-21 12:27:39 -04:00
Guo Xiang Tan
4c98bd9d5f
FIX: Can't update status_type of topic timers.
...
https://meta.discourse.org/t/topic-timers-internal-error-500/64805
2017-06-21 15:31:15 +09:00
Guo Xiang Tan
dd85c1098b
Remove comment that is no longer valid.
2017-06-21 14:10:30 +09:00
Jeff Atwood
0dd1d736c8
user stream UI should match time color
2017-06-20 17:19:53 -07:00
Robin Ward
a289ae67e1
FEATURE: Expand truncated posts in the user stream
2017-06-20 15:45:41 -04:00
Robin Ward
ae7734707e
REFACTOR: Merge different templates from rendering user stream items
2017-06-20 15:45:41 -04:00
Guo Xiang Tan
fa35137d3a
PERF: Reduce allocations in Emoji.unicode_replacements.
...
```
MemoryProfiler.report { Emoji.unicode_replacements }.pretty_print
```
Before:
```
Total allocated: 2032131 bytes (30219 objects)
Total retained: 798059 bytes (10734 objects)
allocated memory by gem
-----------------------------------
1270762 discourse/app
690149 2.4.1/lib
48764 activesupport-4.2.8
11405 bootsnap-1.0.0
5266 logster-1.2.7
2473 hiredis-0.6.1
2056 redis-3.3.3
840 discourse/lib
240 activerecord-4.2.8
176 thread_safe-0.3.6
```
After:
```
Total allocated: 1715713 bytes (22449 objects)
Total retained: 797985 bytes (10737 objects)
allocated memory by gem
-----------------------------------
957250 discourse/app
690028 2.4.1/lib
48764 activesupport-4.2.8
11445 bootsnap-1.0.0
2745 hiredis-0.6.1
2624 redis-3.3.3
1473 logster-1.2.7
928 discourse/lib
280 activerecord-4.2.8
176 thread_safe-0.3.6
```
2017-06-20 13:50:37 +09:00
Guo Xiang Tan
40ef5c4f14
PERF: Reduce memory allocation by Emoji.unicode_replacements.
...
Calling `Emoji.tonable_emojis` fetches from the cache but creates
a giant array each time it is called.
```
MemoryProfiler.report { Emoji.unicode_replacements }.pretty_print
```
Before:
```
Total allocated: 16560770 bytes (246364 objects)
Total retained: 784793 bytes (10624 objects)
allocated memory by gem
-----------------------------------
10224581 activesupport-4.2.8
3504241 hiredis-0.6.1
1449466 discourse/app
679314 2.4.1/lib
419592 discourse/lib
226720 redis-3.3.3
56680 activerecord-4.2.8
176 thread_safe-0.3.6
```
After:
```
Total allocated: 2127703 bytes (30556 objects)
Total retained: 798099 bytes (10735 objects)
allocated memory by gem
-----------------------------------
1270762 discourse/app
690149 2.4.1/lib
106977 bootsnap-1.0.0
48764 activesupport-4.2.8
5266 logster-1.2.7
2473 hiredis-0.6.1
2056 redis-3.3.3
840 discourse/lib
240 activerecord-4.2.8
176 thread_safe-0.3.6
```
2017-06-20 13:10:44 +09:00
Robin Ward
394efb3290
FIX: Docking of progress component on iOS was a bit off
2017-06-19 15:53:51 -04:00
Neil Lalonde
14256e11e7
FIX: topic list wrapping under category list on some screens
2017-06-19 15:23:32 -04:00
Arpit Jalan
34126eb9e0
optimize 'hide help button' code
2017-06-19 22:20:09 +05:30
Jakub Macina
eaf46431d4
Add extraction of file extension in TopicLink and related rspec tests.
2017-06-19 17:09:54 +02:00
Jakub Macina
bf002e0873
Add extraction of image_url for oneboxed images. Fix search by images filter name.
2017-06-19 15:18:02 +02:00
Arpit Jalan
2bf2d506bf
UX: hide help button after click
2017-06-19 16:27:31 +05:30
Arpit Jalan
ee1f3a4b25
UX: make font size consistent on password reset modal
2017-06-19 16:09:29 +05:30
Arpit Jalan
74e6717b40
FEATURE: offer help on forgot password modal
2017-06-19 14:05:45 +05:30
hosnas
4d62f41fbc
RTL digest emails
...
Allows RTL digest emails.
For this to work, I have done the following major additions:
1- adding appropriate direction to body and tables
2- making text-direction compatible with rtl
3- making float, padding, and margin tags compatible with rtl
2017-06-16 15:20:20 +04:30
Arpit Jalan
77e886ec90
UX: move optional to the description text for the password field
2017-06-16 15:32:15 +05:30
Guo Xiang Tan
d82dbd565b
FIX: Remove dependency on rest-client.
2017-06-16 09:42:41 +09:00
Guo Xiang Tan
b5ec241716
FIX: Validate interpolation keys used in translation overrides.
...
https://meta.discourse.org/t/discobot-translation-missing-error/64429/6?u=tgxworld
2017-06-16 08:54:48 +09:00
Robin Ward
6ab4692431
FEATURE: Add a user's primary group class name to the body tag
2017-06-15 14:25:39 -04:00
Robin Ward
cc525b1a8d
Upgrade QUnit to latest version
2017-06-15 10:12:07 -04:00
Robin Ward
8ae445766f
Upgrade Ember to 2.13
2017-06-15 10:12:07 -04:00
Guo Xiang Tan
b5249fb4ca
FIX: Send request membership PM to last 5 active group owner.
2017-06-15 11:37:09 +08:00
Neil Lalonde
b98a930364
Merge pull request #4896 from dmacjam/multiple-tags-logical-and-search
...
FEATURE: Advanced search supports logical AND of multiple tags
2017-06-14 14:39:23 -04:00
Régis Hanol
d6c63cc5b2
FIX: user's default group should only be set once
...
Setting a user's default groups based on their email address should only be done once, ie. when they confirm their email address.
Previously we were doing this everytime we'd save a user record 🤷
2017-06-14 19:20:18 +02:00
Joffrey JAFFEUX
353d059133
Explains sort/reverse of emoji replacements
2017-06-14 17:54:52 +02:00
Sam
93778500c3
Merge pull request #4929 from jjaffeux/fixes-emojits-not-getting-converted
...
Improves native emoji conversion
2017-06-14 11:44:32 -04:00
Joffrey JAFFEUX
95e1843d33
Improves native emoji conversion
2017-06-14 17:42:52 +02:00
Régis Hanol
31b8477d8b
use obj.prop syntax rather than obj[prop] syntax
2017-06-14 17:08:42 +02:00
Régis Hanol
f77e6c8fc6
Merge pull request #4928 from jjaffeux/transform-native-emojis-to-names
...
Transforms native emojis to valid names
2017-06-14 15:43:09 +02:00
Joffrey JAFFEUX
ab6086bce9
Transforms native skin toned emojis to valid names
2017-06-14 15:35:37 +02:00
Régis Hanol
04e175bc06
Merge pull request #4925 from jjaffeux/adds-tones-to-clear-cache
...
Makes sure we clear tonable_emojis cache
2017-06-14 14:56:41 +02:00
Régis Hanol
1ceb64500f
Merge pull request #4926 from jjaffeux/fixes-mouse-three
...
Uses computer_mouse as base name
2017-06-14 14:55:48 +02:00
Joffrey JAFFEUX
df75df7169
missing semicolon
2017-06-14 14:47:53 +02:00
Joffrey JAFFEUX
fa508042ff
Makes sure we clear tonable_emojis cache
2017-06-14 11:11:02 +02:00
Joffrey JAFFEUX
252c811dae
Uses computer_mouse as base name
2017-06-14 11:10:09 +02:00
Régis Hanol
f943efe1a9
remove use of soon-to-be-deprecated 'Discourse.SiteSettings' (cc @eviltrout)
2017-06-14 10:02:13 +02:00
Régis Hanol
493ab9d10e
Merge pull request #4923 from jjaffeux/fixes-automobile-emoji-not-displayed
...
Fixes automobile being an alias now
2017-06-14 09:25:10 +02:00
Guo Xiang Tan
2fdf9068eb
FIX: Create notification for group users when group has been invited.
...
https://meta.discourse.org/t/inviting-a-group-to-a-message-does-not-trigger-a-notification-mail/50509
2017-06-14 14:53:49 +09:00
Joffrey JAFFEUX
03f3612884
Fixes automobile being an alias now
2017-06-14 07:50:36 +02:00
Robin Ward
867cefc492
Ember.K was deprecated, so let's remove it.
2017-06-13 15:59:48 -04:00
Robin Ward
74858fd450
FIX: Don't show emoji selector when ending a line with a colon
2017-06-13 14:25:31 -04:00
Joffrey JAFFEUX
299339a373
Fixes emoji name to code missing tones
2017-06-13 14:10:26 -04:00
Robin Ward
13f89a53a3
FIX: Autocomplete wasn't showing up for PM user selection
2017-06-13 13:23:27 -04:00
Arpit Jalan
34996b4eff
FIX: show invite validation error message in response
2017-06-13 22:41:53 +05:30
Sam
826f332766
Merge pull request #4901 from jjaffeux/emoji-5.0
...
Emoji next
2017-06-13 11:12:41 -04:00
Régis Hanol
5d63a7f4a6
FIX: pull hotlinked images even when they have no extension
2017-06-13 13:27:05 +02:00
Guo Xiang Tan
a5d3abc9b6
FIX: Create group membership request on behalf of user.
2017-06-13 17:49:21 +09:00
Guo Xiang Tan
c5caa9cf71
Revert "FIX: Disable request membership button if user does not have sufficient trust level."
...
This reverts commit 5f441a2614 .
2017-06-13 17:49:21 +09:00
Arpit Jalan
baf635c06e
UX: better accept invite page on mobile
2017-06-13 07:27:22 +05:30
Régis Hanol
5f6c859744
missing semicolon
2017-06-12 23:01:38 +02:00
Régis Hanol
54e8fb0d89
FEATURE: new 'allow_staff_to_upload_any_file_in_pm' site setting
2017-06-12 22:41:29 +02:00
Neil Lalonde
16475bae89
padding below suggested topics on mobile
2017-06-12 15:46:10 -04:00
Robin Ward
2ff850d446
FIX: If forcing a refresh, don't return a onebox preview
2017-06-12 14:05:59 -04:00
Neil Lalonde
0b41046238
don't force SiteSetting.title into meta title tag
2017-06-12 13:50:50 -04:00
Robin Ward
bd70656b90
FIX: Oneboxing root domains could stop previewing
2017-06-12 12:13:29 -04:00
Arpit Jalan
b9c94aa234
FEATURE: add required user fields to invite accept form
...
UX: make "accept invitation" page consistent with sign up modal
2017-06-12 20:43:07 +05:30
Blake Erickson
9b8bf9c18c
reverting add readonly to site settings
...
see this commit for more details:
2ffddfb32c (commitcomment-22480952)
2017-06-12 06:53:57 -06:00
Guo Xiang Tan
eab3562864
Merge pull request #4905 from tgxworld/strip-zero-width-chars-from-search-term
...
FIX: Strip zero-width characters from search terms.
2017-06-12 18:01:02 +09:00
Guo Xiang Tan
5994c85ea9
FIX: Raise the right error when email params is missing.
2017-06-12 17:48:32 +09:00
Guo Xiang Tan
e888369f51
UX: Don't send emails for discobot notifications.
2017-06-12 17:00:27 +09:00
Arpit Jalan
6e37f09b19
UX: add email to '/email/unsubscribed' page
2017-06-10 09:51:12 +05:30
Blake Erickson
2ffddfb32c
add Enable read-only to Settings page
2017-06-09 16:07:02 -06:00
Jeff Atwood
5ff986129a
copyedit to unsubscribe email
2017-06-09 00:27:24 -07:00
Arpit Jalan
1c0bbcd580
UX: show user email when unsubscribing
2017-06-09 09:20:24 +05:30
Robin Ward
8e2e962b1a
FIX: Replace /my/ URLs before fixing the prefix
2017-06-08 16:21:54 -04:00
Robin Ward
d92c938491
FIX: Don't raise an error cleaning up uploads if a path is nil
2017-06-08 14:31:58 -04:00
Régis Hanol
038454bde2
FIX: always confirm emails when SSO says so
2017-06-08 01:05:33 +02:00
Régis Hanol
e8f0771dc9
FIX: the 'clean_up_uploads' jobs would delete images used in site settings
...
when they were entered using absolute URLs, with the CDN or simple a different format than the one used in the database
2017-06-07 22:53:15 +02:00
Robin Ward
54bb2a6bc2
FIX: Don't redirect to wizard when resetting password
2017-06-07 12:36:52 -04:00
Guo Xiang Tan
5794ff53a1
FIX: Copy custom fields when moving first post of a topic.
...
https://meta.discourse.org/t/transfer-poll-votes-when-moving-a-topic-into-an-existing-one/63678
2017-06-07 19:04:48 +09:00
Guo Xiang Tan
684b05f510
FIX: Strip zero-width characters from search terms.
2017-06-07 18:19:47 +09:00
Guo Xiang Tan
2cad739262
FIX: Better error message when username change fails.
...
https://meta.discourse.org/t/500-error-on-username-edit/64064
2017-06-07 10:45:53 +09:00
Guo Xiang Tan
da736f70a4
Merge pull request #4845 from vinothkannans/download-onebox-images
...
FEATURE: pull onebox images
2017-06-07 09:55:04 +09:00
Neil Lalonde
7dfbb5a395
UX: don't hide the subcategory filters when subcategories are listed below
2017-06-06 17:38:59 -04:00
Neil Lalonde
6aa0823bf4
FIX: lounge category security settings won't be reset after an upgrade
2017-06-06 16:57:21 -04:00
Robin Ward
00f06b8086
UX: Show column headers on user topic lists
2017-06-06 16:07:47 -04:00
Vinoth Kannan
209383faab
FEATURE: pull onebox images
2017-06-06 18:51:58 +05:30
Robin Ward
63c32b6b21
FIX: Don't animate the progress bar unless scrolling
2017-06-05 15:38:40 -04:00
Robin Ward
02ab2706df
FIX: Timeline was wrong sometimes on iPad
2017-06-05 15:23:37 -04:00
Robin Ward
79763a6b97
FIX: If a topic is really long, show the timeline
2017-06-05 13:11:25 -04:00
Joffrey JAFFEUX
2aae6cfdbe
look for aliases in Emoji.lookup_unicode
2017-06-05 18:53:11 +02:00
Neil Lalonde
a922db6158
FIX: set max width and prevent wrapping on composer submit button on mobile
2017-06-05 12:25:20 -04:00
Jakub Macina
23d67d2100
Add includes image choice to advanced search ui.
2017-06-05 18:00:15 +02:00
Neil Lalonde
d78956c0c5
FIX: topic flagged message squeezed into a small column
2017-06-05 11:23:23 -04:00
Joffrey JAFFEUX
ab8a1a377c
fixes eslint errors
2017-06-05 15:50:15 +02:00
Joffrey JAFFEUX
05f8b5b72e
white_sun_small_cloud is an alias
2017-06-05 15:31:24 +02:00
Joffrey JAFFEUX
ba07ae67fb
prefer const over let
2017-06-05 14:35:27 +02:00
Joffrey JAFFEUX
f8e5cbd81a
prefer const when not reasigned
2017-06-05 14:33:52 +02:00
Joffrey JAFFEUX
64336a8c75
Emoji 5.0 support
2017-06-05 14:06:23 +02:00
Guo Xiang Tan
ac6c1acbed
FIX: Groups that do not have any owners should not allow membership requests.
2017-06-05 10:02:37 +09:00
Arpit Jalan
a10c939775
FIX: do not show website name on TL0 profile
2017-06-04 18:30:28 +05:30
Arpit Jalan
2518c6156d
UX: add more glyphs on /about page
2017-06-03 08:03:25 +05:30
Arpit Jalan
44cf0bdf9e
UX: add admin/moderator icon on /about page
2017-06-03 01:05:26 +05:30
Sam
b4060778d9
FIX: you should always be allowed to see actions you created
2017-06-02 14:24:06 -04:00
Robin Ward
007873af3c
FIX: Don't run in testing mode
2017-06-02 12:42:00 -04:00
Robin Ward
62e6108756
FIX: Improper error message
2017-06-02 12:37:03 -04:00
Jakub Macina
eaec35d230
Fix tag related advanced search tests into one context. Fix dynamic locale and select clause in search by all tags. Fix separator for all tags to plus sign.
2017-06-02 12:39:07 +02:00
Guo Xiang Tan
af3dc4e537
FIX: Publish group's categories to user when adding user to group.
...
https://meta.discourse.org/t/joining-a-group-doesnt-take-effect-unless-the-browser-is-hard-refreshed/57357/11?u=tgxworld
2017-06-02 17:38:14 +09:00
Guo Xiang Tan
5f441a2614
FIX: Disable request membership button if user does not have sufficient trust level.
2017-06-02 16:06:25 +09:00
Sam
a7fc93acac
FIX: post mover not clearing reply_to_user_id
2017-06-01 18:00:14 -04:00
Sam
e050308f36
FIX: don't allow moderators to save category tracking settings
2017-06-01 15:26:05 -04:00
Guo Xiang Tan
2ee144c27f
FEATURE: Add DiscourseEvent trigger when a user logs in.
...
* Also adds a event trigger when user logs in for the first time.
2017-06-01 17:44:49 +09:00
Robin Ward
e66fa82f3a
FIX: Don't load JS via SCRIPT tag in QUnit mode
2017-05-31 15:31:24 -04:00
Robin Ward
f8fa25a042
FIX: Be smart about refreshing the topic title when editing the OP
2017-05-31 11:13:16 -04:00
Guo Xiang Tan
b0dd05fdc6
FIX: Inherit topic auto close when changing topic's category.
2017-05-31 17:40:21 +09:00
Guo Xiang Tan
2302493c64
PERF: N+1 query in search when plugin loads custom fields in TopicListItemSerializer.
2017-05-31 09:54:10 +09:00
Robin Ward
76aa651ad4
FIX: Posts weren't cloaking properly
2017-05-30 15:34:00 -04:00
Neil Lalonde
872928bbc1
add loading arg for plugin outlet discovery-list-container-top
2017-05-30 14:30:47 -04:00
Robin Ward
9be782acf6
FIX: Rerender posts when selecting replies
2017-05-30 12:50:31 -04:00
Sam
607998af33
FEATURE: dropdown to filter staff action logs
2017-05-30 11:25:42 -04:00
Neil Lalonde
75c3e7b63c
css tweaks to admin user page on mobile
2017-05-29 14:13:33 -04:00
Jakub Macina
2927b45ff2
Add checkbox to contain all tags in advanced search and change separators according its state.
2017-05-29 19:12:07 +02:00
Arpit Jalan
a0acce174c
Merge pull request #4888 from techAPJ/invite-full-name
...
FEATURE: require name when accepting invite if 'full name required' setting is enabled
2017-05-29 22:21:32 +05:30
Arpit Jalan
d2c2139da8
FEATURE: require name when accepting invite if 'full name required' setting is enabled
2017-05-29 21:46:43 +05:30
Neil Lalonde
847d831555
FIX: docking position of topic progress at bottom of topic on mobile
2017-05-29 12:14:45 -04:00
Sam
a7e65d98a9
FIX: mutex to avoid race condition with double notify
2017-05-26 17:04:40 -04:00
Robin Ward
81c18fc0bd
UX: Add link to the user's preferences page next to the avatar
2017-05-26 15:00:49 -04:00
Sam
aa24bcbcc9
correct annotation
2017-05-26 09:04:54 -04:00
Sam
0aed2533ac
Revert unread optimisation, has too many edge cases
2017-05-26 09:04:13 -04:00
Guo Xiang Tan
e57d2f5cb8
FIX: Don't do anything if avatar url returns an invalid status code.
2017-05-26 13:02:40 +08:00
Sam Saffron
7d59ff67b8
adjust qurey to include messages, once everything is read
...
then mark first_topic_unread_at to be current time
2017-05-25 18:40:32 -04:00
Robin Ward
39e1948174
FIX: If the error is 401 unauthorized or such, just do nothing
2017-05-25 15:42:05 -04:00
Robin Ward
b584264d82
FIX: Don't show "resend email" option when user approval is on
2017-05-25 15:29:05 -04:00
Sam
29fac1ac18
PERF: improve performance of unread queries
...
Figuring out what unread topics a user has is a very expensive
operation over time.
Users can easily accumulate 10s of thousands of tracking state rows
(1 for every topic they ever visit)
When figuring out what a user has that is unread we need to join
the tracking state records to the topic table. This can very quickly
lead to cases where you need to scan through the entire topic table.
This commit optimises it so we always keep track of the "first" date
a user has unread topics. Then we can easily filter out all earlier
topics from the join.
We use pg functions, instead of nested queries here to assist the
planner.
2017-05-25 15:07:30 -04:00
Robin Ward
6eb6c25816
FIX: Keep the flash when redirecting for login_required
2017-05-25 14:10:15 -04:00
Robin Ward
ca965f83c3
Revert "FIX: If login is required, redirect to the /login route instead of root"
...
This reverts commit 8a8dec550b .
2017-05-25 14:04:28 -04:00
Robin Ward
8a8dec550b
FIX: If login is required, redirect to the /login route instead of root
2017-05-25 13:35:15 -04:00
Neil Lalonde
f8584e28d7
UX: improved layout of flag handling UI on mobile
2017-05-24 15:52:29 -04:00
Robin Ward
f481708348
FIX: Sometimes the duplicate link text made no sense
2017-05-24 14:07:29 -04:00
Robin Ward
0a08c18a14
FIX: Don't rate limit gravatar downloads
2017-05-24 13:54:26 -04:00
Robin Ward
cdbe027c1c
Refactor FileHelper to use keyword arguments.
2017-05-24 13:54:26 -04:00
Robin Ward
87ac758f05
FIX: Don't raise an error when the upload can't be retrieved
2017-05-24 13:54:26 -04:00
Sam
e8c89b4535
Merge pull request #4865 from chrisgavin/login-button-fix
...
Fix the padding on the login and register buttons.
2017-05-24 12:41:07 -04:00
Neil Lalonde
4266828c62
FIX: incorrect margins on buttons in modals on mobile
2017-05-24 11:57:26 -04:00
Sam
d0f84aa14e
FIX: missing to_i which breaks selector component for anon
2017-05-24 11:39:10 -04:00
Robin Ward
b78b010757
FIX: Fixes to grant new user of the month badge
2017-05-24 11:36:24 -04:00
Neil Lalonde
0756602dfa
UX: h1, h2, etc css reset should give them a bottom margin
2017-05-24 10:38:25 -04:00
Neil Lalonde
c9028f517a
UX: headings in banners had no margins
2017-05-23 11:25:40 -04:00
Neil Lalonde
9edc490d3f
FIX: remove memoized values in jobs
2017-05-22 16:26:30 -04:00
Robin Ward
b23fc2bf84
Helper to find the final destination for a URL
2017-05-22 15:52:41 -04:00
Neil Lalonde
f350dd4fd1
FIX: possible data leaking from one site to another in multisite in PendingFlagsReminder
2017-05-22 15:18:13 -04:00
Arpit Jalan
decb432740
FIX: fill date input with default date range
2017-05-22 21:54:28 +05:30
Robin Ward
773445b8df
FIX: Topic Crawling should only crawl HTTP/S urls
2017-05-22 11:57:20 -04:00
Guo Xiang Tan
08c36fa968
REFACTOR: Clean up some code associated with topic timers.
2017-05-22 18:10:29 +08:00
Guo Xiang Tan
604aaf8686
FIX: N+1 query in suggested topics list.
2017-05-22 18:05:38 +08:00
Guo Xiang Tan
238a156300
FIX: TopicTimestampChanger should not allow timestamps in the future.
2017-05-22 16:03:49 +08:00
Guo Xiang Tan
4382a0bb07
Rename PostTimestampChanger -> TopicTimestampChanger.
2017-05-22 15:01:33 +08:00
Jeff Atwood
393c060047
use moon glyph to denote "later today"
2017-05-19 17:02:00 -07:00
Robin Ward
ea9f93dcc5
FIX: Don't crawl non-http/s links
2017-05-19 16:57:41 -04:00
Neil Lalonde
558a274187
UX: flag custom message description is too close to textarea on mobile
2017-05-19 16:08:28 -04:00
Robin Ward
908433a7a0
SECURITY: Validate the entity when downloading a CSV
2017-05-19 16:00:51 -04:00
Neil Lalonde
0a8e16d049
UX: show short flag descriptions in the flag modal on mobile
2017-05-19 15:35:10 -04:00
Neil Lalonde
c0c6cb8124
mobile like count css rules being ignored
2017-05-19 11:10:18 -04:00
Neil Lalonde
3681b350cd
FIX: new topics alert wasn't covering the entire topic list column headings
2017-05-19 11:05:38 -04:00
Jeff Atwood
387cad693e
"next month" doesn't need time fidelity
2017-05-18 23:29:37 -07:00
Guo Xiang Tan
e93535e239
Add "Next month" to topic timer selection options.
2017-05-19 14:09:53 +08:00
Guo Xiang Tan
8ab9f30bbd
FIX: User can't remove bookmark from a deleted post.
2017-05-19 12:25:12 +08:00
Arpit Jalan
870c584e25
Merge pull request #4876 from techAPJ/upload-error
...
FIX: better uploads error page
2017-05-19 07:24:15 +05:30
Jeff Atwood
ef2811f39a
simplify time formats for set topic timer
2017-05-18 17:14:07 -07:00
Neil Lalonde
5e88794a65
remove box-shadows around radio buttons and checkboxes on mobile
2017-05-18 18:04:47 -04:00
Neil Lalonde
fa77bbf04f
FIX: mobile modal close button position, mobile layout of radio buttons and checkboxes
2017-05-18 17:08:52 -04:00
Robin Ward
ed4b2b6d8d
FIX: Don't incluide a trailing <br> in the bio excerpt
2017-05-18 16:40:07 -04:00
Neil Lalonde
3065b7db4c
FIX: label positioning on mobile forms
2017-05-18 16:38:35 -04:00
Neil Lalonde
c2579c5916
FIX: layout of buttons and modals on mobile
2017-05-18 16:11:52 -04:00
Robin Ward
1ef43c33d8
Don't pre-minifiy autoellipsis
2017-05-18 15:16:15 -04:00
Arpit Jalan
1fd8e426f2
FIX: better uploads error page
2017-05-18 23:29:37 +05:30
Neil Lalonde
dbb814ec6a
FIX: allow pasting links into title field that are longer than the max title length
2017-05-18 12:32:47 -04:00
Régis Hanol
13e489b4ca
replace the upload type whitelist with a sanitizer
2017-05-18 12:13:13 +02:00
Arpit Jalan
8e5b0c79ae
FIX: allow images to be uploaded in wizard
2017-05-18 13:53:23 +05:30
Sam
2a5a01af2e
improve error on theme upload, add gif to allowed uploads
2017-05-17 16:29:09 -04:00
Neil Lalonde
a0f03936ff
FIX: saving invisible primary group field that you don't belong to
2017-05-17 12:46:50 -04:00
Robin Ward
f8c503186e
FIX: If there's an error downloading, don't raise it
2017-05-17 12:38:18 -04:00
Robin Ward
9090c7b05b
FIX: Admin groups editor was showing extra page when exactly 50 records
2017-05-17 11:50:17 -04:00
Robin Ward
6d5fe73422
FIX: Sometimes the topic timeline wasn't docking
2017-05-17 11:05:58 -04:00
Guo Xiang Tan
e4d557cdb9
Partially revert 92118dd1d1.
2017-05-17 21:42:31 +08:00
Jeff Atwood
db06dd8032
remove labels from tag edit buttons in header
2017-05-17 01:18:31 -07:00
Guo Xiang Tan
92118dd1d1
FIX: Use observer to rerender widget instead.
2017-05-17 10:29:50 +08:00
Robin Ward
5d494cf158
FIX: Broken back button on account URLs
2017-05-16 17:21:52 -04:00
Sam
68df8f4427
FIX: only trigger notification level change if it actually changes
...
avoids double ajax call every time notification level changes
2017-05-16 16:52:39 -04:00
Robin Ward
733b0009cb
FIX: Don't memoize the currentUser in case some plugins use it too early
2017-05-16 16:35:18 -04:00
Sam
763f156d91
FIX: require re-activation if SSO changes email and updates it
2017-05-16 16:18:18 -04:00
Sam
4424fd81b8
add a tiny bit of extra protection
2017-05-16 16:08:42 -04:00
Sam
4b449914b8
FIX: admins could never remove self from messages
2017-05-16 16:06:24 -04:00
Sam
6ddd8d9166
FIX: when entering topics "tracking" would not be set
...
There was a timing issue when subscribing to messages for topics.
Old flow:
- We generate JSON for topic
- We subscribe to messages for topic
New flow:
- We keep track of last id in the topic message bus channel
- We generate JSON
- We subscribe to messages for topic starting at saved message id
This ensures that there is complete overlap for message consumption
and that there are no cases where an update may go missing due to timing
2017-05-16 15:04:21 -04:00
Neil Lalonde
7821400141
FEATURE: staff can set a timer to remind them about a topic
2017-05-16 14:49:50 -04:00
Leo McArdle
59922ce0a4
FEATURE: remove table wrapping posts in notification emails
2017-05-16 10:37:53 -04:00
Robin Ward
941adca958
FIX: If you refresh New, clear the incoming topics text
2017-05-15 16:57:09 -04:00
Sam
c40ac5abe6
FIX: resize events for ace were not triggered correctly
2017-05-15 16:10:07 -04:00
Sam
7a4e825671
we should use fancy title if available
2017-05-15 15:45:29 -04:00
Sam
be8dd403df
FEATURE: use fancy title in notifications
2017-05-15 15:38:30 -04:00
Robin Ward
f7c46df804
FIX: Only mark all as rendered after *everything* is rendered
2017-05-15 15:12:10 -04:00
Sam
f114d63de4
correctly pick the selected theme based on what is loaded
2017-05-15 14:34:24 -04:00
Robin Ward
bd0bb879e5
FIX: Don't count likes from system users in the new user of the month
2017-05-15 13:14:32 -04:00
Sam
e1dd543a93
FEATURE: allow users to select theme on single device
2017-05-15 12:48:16 -04:00
Robin Ward
a0c936dadb
UX: Take header height into account when positioning the timeline
2017-05-15 12:08:42 -04:00
Sam
44d7fe89ed
FIX: unescape emoji in pretty title
...
This makes emoji in title consistent, it is later escaped back when needed
2017-05-15 10:28:05 -04:00
Guo Xiang Tan
dfc9a27dc4
FIX: Quote button broken on windows.
2017-05-15 08:26:48 +08:00
Robin Ward
42de1cc977
FIX: Don't warn if the link is in the post you are editing
2017-05-12 20:05:30 -04:00
Neil Lalonde
dd0c34c4b9
move background photo user prefs to be lower in the profile tab
2017-05-12 15:43:21 -04:00
Sam
ff6b9aee47
no opacity rule for btn-primary
2017-05-12 15:11:44 -04:00
Sam
baf011cbf6
annotate models
2017-05-12 14:47:08 -04:00
Robin Ward
a9d5d2aee6
UX: Fix improper aspect ratio for xkcd oneboxes
2017-05-12 13:21:44 -04:00
Sam
b92b654ea3
FIX: collapse mobile nav on outside click
2017-05-12 13:15:04 -04:00
Sam
3113a6a18a
FIX: hide theme selector if only 1 theme
2017-05-12 12:50:56 -04:00
Sam
2d96a0785d
FEATURE: theme selection is now global per-user
2017-05-12 12:41:34 -04:00
Robin Ward
b301b69d00
FIX: Don't warn users about duplicate links for:
...
- The original post
- If the post is older than (x) (Two Weeks for now)
2017-05-12 12:37:02 -04:00
Sam
ee71786057
PERF: we do not need to ship down the total number of unread
...
Total number of unread notification from the beginning of time
is not an interesting number
2017-05-12 11:11:38 -04:00
Sam
e232f87cde
PERF: avoid query as admin
...
As admin no need to query categories over and over
2017-05-12 11:09:41 -04:00
Chris Gavin
fca166524b
Fix the padding on the login and register buttons.
2017-05-12 09:51:48 +01:00
Guo Xiang Tan
8eecd42856
FIX: Delete topic timer after completion.
2017-05-12 10:28:51 +08:00
Guo Xiang Tan
e63614024d
FIX: Users can't request to join group due to alias level restriction.
...
https://meta.discourse.org/t/request-to-join-group-not-working/62371
2017-05-12 09:26:26 +08:00
Neil Lalonde
55b61e9bea
rename topic_status_update to topic_timer
2017-05-11 18:27:53 -04:00
Robin Ward
92d63b59a7
FIX: Videos were missing from expanded quotes
2017-05-11 16:54:32 -04:00
Robin Ward
f3c535b945
PERF: Dirty checking was broken and re-rendering too often
2017-05-11 16:22:15 -04:00
Robin Ward
ea0ecb67f3
UX: Move delete button to end and mark it as dangerous
2017-05-11 16:22:15 -04:00
Sam
52ae63d5d7
FIX: when searching PMs also search group PMs
...
Users belonging to a group could not search for PMs unless explicitly added
to the PM unless admin
2017-05-11 15:59:03 -04:00
Pat David
aa009dd2b5
Add @embeddable_css_class from embed_controller
2017-05-11 15:16:16 -04:00
Pat David
18de62b015
Add get_embeddable_css_class to assist multi-site embed styling
...
If present, pass embeddable_host.class_name to view for inclusion
on the <html> element as a class for targeted styling.
2017-05-11 15:16:16 -04:00
Pat David
4bf8548dc5
Add embed class name setup for embeddable hosts
2017-05-11 15:16:16 -04:00
Robin Ward
5bbc477baa
UX: Better looking bulk actions modal
2017-05-11 14:48:06 -04:00
Neil Lalonde
1019bbda46
FEATURE: set a timer to delete a topic
2017-05-11 12:52:29 -04:00
Robin Ward
21238692d9
Remove unused file
2017-05-11 12:36:57 -04:00
Robin Ward
3ade46de0b
FIX: Don't send system message for new user of the month if disabled
2017-05-11 11:33:16 -04:00
Robin Ward
006b35d2f3
FIX: Don't redirect for users/account-created path
2017-05-11 11:04:45 -04:00
Arpit Jalan
f4b2677a19
FEATURE: ask for confirmation before resending all invites
2017-05-11 18:07:28 +05:30
Guo Xiang Tan
ce9fe213fd
FIX: Can't quote last paragraph.
2017-05-11 16:49:46 +08:00
Arpit Jalan
8c337ecf82
FIX: allow uploading of category logo and background
2017-05-11 12:48:54 +05:30
Régis Hanol
214939bb87
freeze array constants
2017-05-11 09:08:59 +02:00
Régis Hanol
4b7be137cb
don't generate errors if 'upload_id' is invalid
2017-05-11 09:07:04 +02:00
Régis Hanol
9641d2413d
REFACTOR: upload workflow creation into UploadCreator
...
- Automatically convert large-ish PNG/BMP to JPEG
- Updated fast_image to latest version
2017-05-11 00:16:57 +02:00
Sam
a5c4ddd334
oops my linter is not running automatically
2017-05-10 16:09:33 -04:00
Sam
2e13c2453b
FIX: maximize css editor not working
2017-05-10 15:47:11 -04:00
Sam
04b5516bf2
improve upload functionality
2017-05-10 15:47:11 -04:00
Sam
bc0b9af576
FEATURE: support uploads for themes
...
This allows themes to bundle various assets
2017-05-10 15:47:11 -04:00
Sam
f709899a1d
Allow theme field object model to support uploads
2017-05-10 15:46:42 -04:00
OsamaSayegh
26209354e3
Don't hardcode code button index and remove the for loop and use .some()
2017-05-10 14:53:54 -04:00
osamasayegh
2f8b1e33f4
FEATURE: bulk relist
2017-05-10 14:53:54 -04:00
Robin Ward
f7e8bc6216
UX: Tweak explanations for multiple_grant and allow_title
2017-05-10 14:39:23 -04:00
Robin Ward
4db76796b9
FEATURE: Setting to poll feeds more frequently
2017-05-10 14:30:12 -04:00
Neil Lalonde
5be7a2dad4
FIX: invalid html in notification emails when template has been customized
2017-05-10 14:01:26 -04:00
Guo Xiang Tan
41fb76cc66
Don't rescue all errors.
2017-05-10 09:12:44 +08:00
Robin Ward
907f6cd76b
FIX: Select2 retina icons were broken
2017-05-09 15:51:39 -04:00
Robin Ward
a1baf73956
FIX: Better error message for when your bookmark rate limit is exceeded
2017-05-09 15:42:55 -04:00
Robin Ward
ae15b10cf8
FIX: The keyboard shortcut to bookmark the first post wasn't refreshing
2017-05-09 15:37:36 -04:00
Robin Ward
6e4ba8a33e
Catch RSS Parsing errors
2017-05-09 15:07:06 -04:00
Robin Ward
c2bf525a06
Make CloseTopic a no-op just in case
2017-05-09 15:02:05 -04:00
Robin Ward
24e1892d28
Silence logs for OptimizedImage failures
2017-05-09 14:59:46 -04:00
Robin Ward
ba1868b051
FIX: There are still jobs enqueued for CloseTopic
2017-05-09 14:58:37 -04:00
Robin Ward
da92f35e08
Don't log a gravatar failure that is a socket error
2017-05-09 14:44:53 -04:00
Robin Ward
bcf1a9d43f
We don't need to log when we can't download a Gravatar
2017-05-09 14:43:39 -04:00
Robin Ward
6fdbd29882
FIX: Dismiss all button was not updating the UI
2017-05-09 13:46:26 -04:00
Arpit Jalan
e6e0025326
FIX: handle BOM in bulk import CSV file
2017-05-09 22:38:07 +05:30
Sam Saffron
c2829dce22
FIX: base sql vanishes after badge creation
2017-05-09 09:25:57 -04:00
Arpit Jalan
94683b33b8
FIX: sanitize bulk invite error log
2017-05-09 17:41:59 +05:30
Robin Ward
afe04b8bbb
FIX: Possible 500 error if category saved incorrectly
2017-05-08 15:17:58 -04:00
Robin Ward
4f6e5fed2a
We don't need to raise an error when no post is present. Just noop.
2017-05-08 15:08:29 -04:00
Robin Ward
7a0501c0c0
UX: Wrap really long titles on user stream pages
2017-05-08 14:45:34 -04:00
Robin Ward
96c59c5b82
FIX: Don't notify or return flags on system users
2017-05-08 13:13:35 -04:00
Sam
a7471fe85f
FIX: page scroll lock not clearing properly on chrome
...
For some reason Chrome renamed "mousewheel" to "wheel"
2017-05-08 09:50:07 -04:00
Sam
257c0dea70
Merge pull request #4852 from tgxworld/pull_the_plug_on_daily_mailing_list
...
Remove daily mailing mode option as it doesn't scale.
2017-05-08 09:10:46 -04:00
Arpit Jalan
e89d0a6b20
FIX: importing a theme via file was broken
2017-05-08 12:03:24 +05:30
Jeff Atwood
cfb30bca80
UX: simplify delete gap style
2017-05-05 17:06:13 -07:00
Jeff Atwood
27e52bc66d
user page stats too "buttony"
2017-05-05 15:36:13 -07:00
Neil Lalonde
b7322b05a0
FIX: some changes in composer affect all visible text editors
2017-05-05 12:59:45 -04:00
Neil Lalonde
3edea3d226
automatically unpin topics setting doesn't need its own section
2017-05-05 10:25:02 -04:00
Régis Hanol
8bc47d0bae
fix build (cc @tgxworld)
2017-05-05 13:13:49 +02:00
Guo Xiang Tan
e61959e6a8
FIX: CustomEmoji may contain an invalid upload_id.
...
https://meta.discourse.org/t/white-screen-after-deleting-custom-emoji/61608
2017-05-05 14:53:38 +08:00
Guo Xiang Tan
2b21e5ea7e
UX: Display translated group name for automatic groups.
2017-05-05 14:34:47 +08:00
Guo Xiang Tan
71a266b673
Remove daily mailing mode option as it doesn't scale.
...
https://meta.discourse.org/t/daily-updates-option-for-mailing-list-mode/45029/14?u=tgxworld
2017-05-05 12:21:50 +08:00
Guo Xiang Tan
50c8ae2c10
Load user records in batches.
2017-05-05 10:57:31 +08:00
Robin Ward
777f1f0f47
FIX: Return a 404 if the auth session is not present
2017-05-04 15:35:24 -04:00
Sam Saffron
c182dcc64c
FEATURE: add .admin-interface class to BODY when in admin
...
removes some dead code as well
2017-05-04 15:13:32 -04:00
Neil Lalonde
66cc4fff2c
fix style of custom field labels on dropdowns and confirm
2017-05-04 14:08:15 -04:00
Sam
4ebbad991e
FIX: properly clean up related color schemes on delete
2017-05-04 14:03:17 -04:00
Robin Ward
81326f85e5
FIX: Regression when clicking on post date
2017-05-04 13:51:02 -04:00
Neil Lalonde
c576e49230
fix blank name field
2017-05-04 13:45:16 -04:00
Robin Ward
55ca5df96b
FIX: If the host can't be extracted don't raise an error
2017-05-04 13:26:37 -04:00
Robin Ward
1768c45a33
FIX: If we can't proxy to a CDN due to HTTP error, render blank
2017-05-04 12:42:46 -04:00
Robin Ward
57a2042ef6
FIX: Quiet server side errors for requesting json for account-created
2017-05-04 12:30:13 -04:00
Robin Ward
b3165f8435
FIX: If badges are disabled don't show "Top Badges" on summary view
2017-05-04 12:14:32 -04:00
Neil Lalonde
c98601129b
Move name, avatar, and title fields from profile tab to account tab
2017-05-04 12:04:07 -04:00
Robin Ward
de0d13e4ef
FIX: Badge filtering was always to the currentUser
2017-05-04 11:58:56 -04:00
Neil Lalonde
f4c09e9e90
fix select input widths regression in user preferences
2017-05-04 11:25:22 -04:00
Arpit Jalan
0bdced165a
UX: change timestamp button on mobile was hidden behind date selector
2017-05-04 18:47:25 +05:30
Guo Xiang Tan
58edd203a9
SECURITY: XSS issue in share popup if invalid link is passed in.
2017-05-04 10:33:59 +08:00
Guo Xiang Tan
94c8410521
FIX: Show share popup only for valid buttons.
2017-05-04 10:31:09 +08:00
Robin Ward
b3908a1d7f
FIX: The user might be anonymous
2017-05-03 18:39:02 -04:00
Robin Ward
60693240e1
FIX: Filter badges to user on their badges page too
2017-05-03 17:58:59 -04:00
Guo Xiang Tan
3eb920e2b0
Merge pull request #4841 from fantasticfears/webhook-ping
...
add event name for ping webhooks in the header
2017-05-04 04:54:40 +08:00
Neil Lalonde
7f09bc9a09
Merge pull request #4849 from discourse/prefs
...
User preferences in tabs
2017-05-03 16:53:26 -04:00
Neil Lalonde
389a0e1a1c
FIX: emails should use default theme colors
2017-05-03 14:35:13 -04:00
Robin Ward
b705634ee1
FIX: If you have a badge, filter to you when clicking on it
2017-05-03 13:35:20 -04:00
Robin Ward
09cb61b533
FIX: Jumping to a post that doesn't exist should jump to closest
2017-05-03 13:24:30 -04:00
Neil Lalonde
8bcfea3b0d
new outlets for plugins
2017-05-03 11:41:01 -04:00
Sam
342ef5f81a
FEATURE: out-of-the-box dark/light user selectable themes
2017-05-03 11:31:33 -04:00
Robin Ward
81190f5d66
FIX: Redirect away from account-created if you're logged in
2017-05-03 11:18:01 -04:00
Robin Ward
12fb20fe1b
FEATURE: Allow users to resend/update email from confirmation page
2017-05-03 11:18:01 -04:00
Robin Ward
b381372184
Use Ember.js for the /u/account-created path so we can add controls
2017-05-03 11:18:01 -04:00
Arpit Jalan
86f1cc8c92
FIX: don't apply max_emails_per_day_per_user on critical emails
2017-05-03 17:07:39 +05:30
Guo Xiang Tan
982e3d04f6
PERF: Allow memory to be freed instead of fetching all the objects into memory at once.
...
```
MemoryProfiler.report do
Jobs::UserEmail.new.execute(type: :mailing_list, user_id: user.id)
end.pretty_print
```
Before:
```
Total allocated: 180096119 bytes (1962025 objects)
Total retained: 2194 bytes (16 objects)
allocated memory by gem
-----------------------------------
66979096 activerecord-4.2.8
43507184 nokogiri-1.7.1
43365188 mail-2.6.4
5960201 activesupport-4.2.8
5056267 discourse/lib
4835284 rack-mini-profiler-0.10.1
3825817 arel-6.0.4
2186088 i18n-0.8.1
1719330 discourse/app
```
After:
```
Total allocated: 161935975 bytes (1473940 objects)
Total retained: 2234 bytes (17 objects)
allocated memory by gem
-----------------------------------
45430264 activerecord-4.2.8
43568627 nokogiri-1.7.1
43430754 mail-2.6.4
11233878 rack-mini-profiler-0.10.1
5260825 activesupport-4.2.8
5054491 discourse/lib
2186088 i18n-0.8.1
1822494 arel-6.0.4
```
2017-05-03 17:01:57 +08:00
Arpit Jalan
cdce060a38
FIX: don't apply max emails per day per user to forgot password
2017-05-03 14:02:37 +05:30
Neil Lalonde
2503241ce5
FEATURE: rebuild user preferences page to use tabs
2017-05-02 16:52:18 -04:00
Sam
946f25098f
Refactor theme fields so they support custom theme defined vars
...
This paves the way to allowing themes to specify uploads and so on.
2017-05-02 16:02:14 -04:00
Arpit Jalan
77a8cae094
FIX: rescue specific errors on invite failure
2017-05-02 15:13:33 +05:30
Erick Guan
9f8a917d65
add event name for ping webhooks in the header
2017-05-02 08:13:23 +02:00
Guo Xiang Tan
f5b11cb429
PERF: Don't allocate extra array.
2017-05-02 11:54:23 +08:00
Robin Ward
3736b440cb
FIX: Quoting an expanded first post would force it to reload the cooked
2017-05-01 15:01:35 -04:00
Neil Lalonde
0722ffadf1
Remove site settings enforce_global_nicknames and discourse_org_access_key
2017-05-01 14:53:16 -04:00
Neil Lalonde
ca224ed8e9
FIX: pending flags message should go to moderators group, not staff
2017-05-01 14:53:16 -04:00
Sam
556ef4cfbd
FIX: case sensitive unconditional add of exact match in user search
2017-05-01 14:37:16 -04:00
Robin Ward
dfe1174137
FIX: The dates for retroactive anniversary badges were wrong
2017-05-01 12:06:18 -04:00
Arpit Jalan
9e9ead0954
FIX: incorrect label for top topics dropdown on mobile when filtering
2017-05-01 16:43:23 +05:30
Jeff Atwood
a4815047c0
purge scheduler_stats every 1 month instead of 3
2017-04-28 15:05:15 -07:00
Robin Ward
f05f1a24d3
Change Anniversary badge to be multiple grant, once per year
2017-04-28 14:22:54 -04:00
Neil Lalonde
bb82e0a041
FIX: theme preview from preferences wasn't working
2017-04-28 14:01:57 -04:00
Neil Lalonde
b193ae2d15
FIX: missing link in unsubscribe text of summary emails
2017-04-28 10:37:52 -04:00
Robin Ward
cb8f91ca21
FIX: Scrolling offset was broken when entering some topics
2017-04-27 16:22:25 -04:00
Robin Ward
5774a9a2c8
Revert offset calculation, was working poorly.
2017-04-27 12:20:32 -04:00
Robin Ward
a545117d2e
FIX: Forgot to clear out a topic excerpt
2017-04-27 11:49:39 -04:00
Robin Ward
2efe0442bf
FIX: Messed up i18n key
2017-04-27 11:45:59 -04:00
Guo Xiang Tan
304ace926e
FIX: Raise right response when post_action does not exist.
2017-04-27 17:29:53 +08:00
Guo Xiang Tan
e4b9f72f9e
FIX: Force the right encoding when handling email.
2017-04-27 16:51:54 +08:00
Guo Xiang Tan
7873a2efb7
Merge pull request #4843 from tgxworld/disable_post_min_length_for_pm
...
FEATURE: Disable minimum post length check when in PM with non human …
2017-04-27 16:35:19 +08:00
Guo Xiang Tan
59b906ab0d
FEATURE: Disable minimum post length check when in PM with non human users.
...
https://meta.discourse.org/t/discourse-narrative-bot-beta-feedback/58621/65?u=tgxworld
2017-04-27 16:00:22 +08:00
Guo Xiang Tan
85d9342ff0
Merge pull request #4836 from tgxworld/fix_clean_up_staged_users_job
...
FIX: Clean up unused staged users job not completing.
2017-04-27 15:41:46 +08:00
Arpit Jalan
b755279cf0
remove unneeded code
2017-04-27 08:47:47 +05:30
Arpit Jalan
e3f82140d8
more readable code for filtering username/email when bulk adding to group
2017-04-27 08:43:28 +05:30
Arpit Jalan
b41d96fac1
FIX: properly initialize hashes
2017-04-27 02:56:14 +05:30
Arpit Jalan
9b0ecdaf7e
Merge pull request #4839 from techAPJ/bulk-add-group
...
FEATURE: provide more details when performing a bulk add to group
2017-04-27 02:39:57 +05:30
Arpit Jalan
285c167fae
FEATURE: provide more details when performing a bulk add to group
2017-04-27 01:37:51 +05:30
Robin Ward
30ebaf6b6a
Update FontAwesome to 4.7.0
2017-04-26 15:16:30 -04:00
Robin Ward
cd4f0393a8
Add a title tag to the search results page
2017-04-26 15:02:07 -04:00
Robin Ward
bf9c4a7828
FEATURE: secure_email site setting to prevent data going out in email
2017-04-26 13:05:56 -04:00
Guo Xiang Tan
fe0a7d97ca
Fix incorrect class name.
2017-04-26 18:12:51 +08:00
Guo Xiang Tan
b00886f5c1
Remove sidekiq-statistic gem.
...
* We don't really use it and there is an on-going issue
with the gem not expiring keys in a Redis list which
hasn't been fully resolved.
https://github.com/davydovanton/sidekiq-statistic/issues/73
2017-04-26 14:54:47 +08:00
Guo Xiang Tan
daa97c40ce
FIX: Clean up unused staged users job not completing.
2017-04-26 10:51:36 +08:00
Guo Xiang Tan
1f6418f907
Track error message in SchedulerStats.
2017-04-26 01:34:25 +08:00
Arpit Jalan
aeead60036
FIX: make TopicEmbed trashable
2017-04-25 18:40:39 +05:30
Régis Hanol
64787e7fa4
Merge pull request #4831 from gdpelican/image-gallery
...
FEATURE: Use image gallery functionality in magnific
2017-04-25 09:39:10 +02:00
James Kiesel
48c0f3faf3
Use image gallery feature of magnific
...
commit cc7061e9458d04dd02aad9c02ba3a89306e0fae7
Author: James Kiesel <james.kiesel@gmail.com>
Date: Tue Apr 25 11:21:08 2017 +0900
;
commit 9233be7e432daff605812e6b49042f69d348b6e7
Author: James Kiesel <james.kiesel@gmail.com>
Date: Tue Apr 25 10:01:26 2017 +0900
Don't break if $elem is undefined
commit 598a694c070c86df8d9f5ffa1ed84e2f8756e65f
Author: James Kiesel <james.kiesel@gmail.com>
Date: Tue Apr 25 04:51:14 2017 +0900
.
commit 1711685a33ccd236011f54d3e652991728530b3a
Author: James Kiesel <james.kiesel@gmail.com>
Date: Tue Apr 25 04:34:11 2017 +0900
;
commit 81703f36c0593250aeac3418fde86660fd307092
Author: James Kiesel <james.kiesel@gmail.com>
Date: Tue Apr 25 04:12:37 2017 +0900
Use image gallery functionality in magnific
2017-04-25 11:23:15 +09:00
Guo Xiang Tan
6f7c6b0fd0
FIX: Incorrect error raised.
2017-04-25 09:59:01 +08:00
cpradio
d69122c385
UX: Change banner close button to be floated to the right
2017-04-24 20:51:02 -04:00
Régis Hanol
0d66529d2b
PostReply doesn't have a primary key, so no luck here
2017-04-24 23:14:01 +02:00
Régis Hanol
1787c45b38
PERF: don't load all replies in memory when moving posts
2017-04-24 23:00:32 +02:00
Régis Hanol
8fe0bbb238
REFACTOR: improve Notification.ensure_consistency SQL query readability
2017-04-24 23:00:27 +02:00
Régis Hanol
301dd139ae
PERF: faster Group.refresh_automatic_group & Group.ensure_consistency
2017-04-24 23:00:21 +02:00
Régis Hanol
3d406b047c
PERF: much faster Badge.ensure_consistency
2017-04-24 22:59:49 +02:00
Robin Ward
f41ab98e86
FIX: Scrolling to the bottom was still a bit weird with no suggested
2017-04-24 16:36:43 -04:00
Robin Ward
62966b1023
FIX: Remove duplicate route warning, it's just a noop now
2017-04-24 13:36:05 -04:00
Robin Ward
4e1f8ec72b
FIX: Without suggested topics jumping to a post had the wrong offset
2017-04-24 13:21:50 -04:00
Guo Xiang Tan
423f2ab228
FIX: Processing incoming email should be done in a background job.
2017-04-24 13:57:28 +08:00
Arpit Jalan
1f5089e474
FIX: handle invite error in wizard
2017-04-21 20:07:04 +05:30
cpradio
20c2c66dd4
FEATURE: Add normal as a preference for topic subscription state when replying to a topic
2017-04-20 22:33:10 -04:00
Rafael dos Santos Silva
e922623da8
FIX: User Admin screen on mobile style was off
2017-04-20 23:18:01 -03:00
Guo Xiang Tan
8b2e3bf5f1
FIX: Topic title should be included in post webhook payload.
2017-04-21 10:04:21 +08:00
Sam
aec73d4003
correct the spec again
2017-04-20 17:41:35 -04:00
Sam
a9b953ac5a
FIX: on create you could not add a theme component
2017-04-20 17:37:13 -04:00
Sam
dcf9459b7c
staff should track
2017-04-20 17:32:05 -04:00
Sam
5365973c0a
FIX: detection of error changed, so you can clear errors
2017-04-20 16:55:18 -04:00
Neil Lalonde
703e6faf54
Revert "remove important from extra-info-wrapper color"
2017-04-20 16:27:10 -04:00
jomaxro
b3eef0513f
Remove console logging
2017-04-20 16:08:16 -04:00
Sam
7a9eee1b71
FEATURE: default notification level for group messages
...
also fixes it so staff can amend other user's group notification level
2017-04-20 15:47:35 -04:00
Neil Lalonde
05efa7ce68
simplify last_notified_id
2017-04-20 15:26:28 -04:00
Arpit Jalan
5d9d2cf287
FIX: do not explicitly show email of flagger / flagged user
2017-04-20 22:09:30 +05:30
Sam
dfe3c162cc
move stylesheet after js
2017-04-20 12:34:50 -04:00
Neil Lalonde
3d32158893
remove important from extra-info-wrapper color
2017-04-20 11:53:41 -04:00
Sam
81c08fe451
missing badge count in dark theme
2017-04-20 11:52:06 -04:00
Sam
bbed29ba57
correct font preloading
2017-04-20 11:18:37 -04:00
Sam
8628a57f4e
FIX: colors picker not working with CDN
2017-04-20 11:04:23 -04:00
Guo Xiang Tan
94c7be3ca6
Merge pull request #4824 from tgxworld/fix_optimize_image_timeout
...
Fix optimize image timeout
2017-04-20 15:53:43 +08:00
Arpit Jalan
ea26c56631
FIX: redirect to login page for anonymous user when profiles are hidden
2017-04-20 13:00:45 +05:30
Guo Xiang Tan
2af1b9e93c
Add time out when optimizing images.
2017-04-20 15:21:43 +08:00
Guo Xiang Tan
5c39c8f24b
UX: Improve the way users set timers for TopicStatusUpdate.
2017-04-20 14:25:45 +08:00
Sam
7eabb90b71
FEATURE: added error messages for bad theme CSS / JS
2017-04-19 16:46:46 -04:00
Neil Lalonde
3835e16cf7
FIX: New implementation of the "notify about flag after" setting. Only notify about new flags since the last notification. Send a private message to staff. Mention the 3 most active moderators in the message so they get notification emails.
2017-04-19 16:17:45 -04:00
Sam
0930db221f
FIX: destroying color scheme could remove wrong item from UI
2017-04-19 15:31:21 -04:00
Sam
c5ee448713
FEATURE: Only show overridden option for theme css
...
also fixes bad styling of mobile glyph
2017-04-19 15:24:00 -04:00
Sam
c76d780675
FEATURE: show a paintbrush for color schemes
2017-04-19 11:06:21 -04:00
clapmyhands
5d28a1ac0d
UX: Make abondon post confirmation button red.
2017-04-19 21:54:58 +08:00
Arpit Jalan
5fa5c18a48
use notification_levels methods for specifying normal notification level
2017-04-19 16:17:24 +05:30
cpradio
2dccaff25d
FIX: Correct behavior of auto-notification state updating to exclude when the topic already has a state of normal/muted
2017-04-19 06:29:35 -04:00
Rafael dos Santos Silva
d9ba168420
FIX: Show solved status on category with featured topics view too
2017-04-19 00:54:13 -03:00
Rafael dos Santos Silva
8d3ebfd2ac
FIX: Show topic status on category view
2017-04-19 00:41:07 -03:00
Neil Lalonde
e7b0ce1334
FIX: add white space in discourse-tags so tags can wrap
2017-04-18 17:09:46 -04:00
Sam
0a67d859d5
correct watcher so it handles color scheme changes correctly
2017-04-18 16:48:15 -04:00
Sam
bbeb69ddc9
FIX: sort theme by lower case theme name
2017-04-18 15:43:38 -04:00
Sam
8ffb918824
FIX: add more consistent gutter to ace editor
...
old css hack had issues when line number was higher than 10
2017-04-18 15:43:22 -04:00
Sam
8ee2a500bc
FEATURE: add hamburger extensibility
2017-04-18 15:18:03 -04:00
Robin Ward
8b8ee2ad61
Pass a context in when using a HTML builder
2017-04-18 12:35:35 -04:00
Sam Saffron
a19c02f0d3
FEATURE: allow copying of color schemes to clipboard
2017-04-18 09:37:55 -04:00
Arpit Jalan
1c23aedccf
FIX: always send password reset email when accepting invite if password is not set
2017-04-18 14:37:06 +05:30
Guo Xiang Tan
60f1169077
REFACTOR: Reduce repetition in code.
2017-04-18 17:03:49 +08:00
Guo Xiang Tan
03762e2828
Merge pull request #4818 from OsamaSayegh/ui/groups-heading-admin-page
...
The "Groups" section's heading on user admin page was visible to mods
2017-04-18 16:12:33 +08:00
Arpit Jalan
8dea70d354
Revert "FIX: User website allows new TLDs"
2017-04-18 13:18:51 +05:30
Rafael dos Santos Silva
4289dbe3e5
FIX: User website allows new TLDs
2017-04-18 00:30:37 -03:00
Robin Ward
1363988cd7
Support for an HTML builder that can create dynamic HTML
2017-04-17 17:32:55 -04:00
Sam
3ccd5eacb4
prefer multiline \A \z
2017-04-17 16:57:37 -04:00
Sam
86904e9cd6
FIX: better error handling for theme import
2017-04-17 16:55:53 -04:00
Sam
5e3a0846f7
FEATURE: allow themes to share color schemes
2017-04-17 15:56:24 -04:00
osamasayegh
3e048d686e
The "Groups" section's heading on user admin page was visible to mods
...
Since moderators can't manage a user groups, they shouldn't see the Groups heading on the user admin page.
## Before:

## After:

2017-04-17 21:53:30 +03:00
jomaxro
7b708e5cf2
Disable browser auto-complete for messages
2017-04-17 14:24:09 -04:00
Sam
b43d2e42f4
missing spots
2017-04-17 12:30:20 -04:00
Sam
81ebe853d1
missed a few spots
2017-04-17 12:05:23 -04:00
Sam
5dd752877e
FEATURE: try adding some preload hints for chrome
2017-04-17 11:52:43 -04:00
jloh
5f47603b07
FIX: increase host_must_be_valid regex for .technology TLD
...
.technology is 11 chars long and wasn't being matched previously
2017-04-15 21:06:51 +10:00
Arpit Jalan
0954367bf4
FIX: send activation email when accepting invite if password is set
2017-04-15 14:59:50 +05:30
Guo Xiang Tan
04016f0dec
Support Ruby 2.4.
2017-04-15 12:29:00 +08:00
cpradio
4dc4c5bebc
FIX: Update auto_notification to also update the subscription state when replying if the current state is less than the state being requested
2017-04-14 15:44:42 -04:00
Sam
ed2e62f845
correct environment handling for test mode
2017-04-14 14:00:46 -04:00
Sam
873a07a625
trigger a stylesheed update
2017-04-14 13:36:49 -04:00
Sam
def7348777
FIX: display custom sections with default theme
...
also cleans up mechanism for previewing themes, cleans up naming,
gets rid of old janky "preview_style", secures local theme key
2017-04-14 13:35:12 -04:00
Arpit Jalan
fe29fe71c5
FIX: embedding comments was broken
2017-04-14 08:14:22 +05:30
Sam
809fbb25ce
FIX: blanking theme field was not properly removing it
2017-04-13 17:24:15 -04:00
Sam
9927489f4e
FEATURE: auto focus text editor when editing themes
2017-04-13 16:21:46 -04:00
Sam
43e4fc03ef
FIX: clicking on themes while editing left a blank screen
2017-04-13 15:49:46 -04:00
Sam
3f4f0b32a9
FIX: path wizard showing with no style
2017-04-13 15:22:39 -04:00
Sam
37d4dd4a4b
use scss mode instead of css mode
2017-04-13 12:05:27 -04:00
Sam
ee950b419f
correct transitioning to theme CSS editing
2017-04-13 11:09:31 -04:00
Sam
679b6548e6
FIX: order child themes by name
2017-04-13 10:51:44 -04:00
Sam
e61be7af13
FIX: improve dark theme styling in header for tags
2017-04-13 10:39:36 -04:00
Arpit Jalan
ef093b1610
Merge pull request #4807 from techAPJ/email-token-social
...
FIX: confirm email token for user created via social login
2017-04-13 16:18:15 +05:30
Guo Xiang Tan
3d76fb9c2c
FIX: Don't show category options for reports that can't be scoped to a category.
2017-04-13 17:10:55 +08:00
Arpit Jalan
7fb17b83c4
FIX: confirm email token for user created via social login
2017-04-13 14:15:32 +05:30
Guo Xiang Tan
bda20cc44a
FIX: Don't enqueue topic status update job if topic is deleted.
2017-04-13 12:02:35 +08:00
Guo Xiang Tan
ee449b0dd5
Improve SSO verbose log when user record is invalid.
2017-04-13 11:39:26 +08:00
Guo Xiang Tan
72c16967e6
FIX: Check for reserved usernames before hitting DB.
2017-04-13 11:32:20 +08:00
Guo Xiang Tan
57788200ec
REFACTOR: Add User.reserved_username?.
2017-04-13 10:44:26 +08:00
Neil Lalonde
07d596ea05
FIX: handle expanding quotes from deleted posts by rendering a trash icon
2017-04-12 16:48:47 -04:00
Neil Lalonde
2916b45666
multiplier should not have been changed
2017-04-12 14:48:30 -04:00
Neil Lalonde
d34dd4ed4f
FIX: pasting link into composer with a topic template will onebox the link after the template
2017-04-12 14:48:30 -04:00
Neil Lalonde
8395569b05
FIX: Topic.similar_to error when Search is not loaded
2017-04-12 14:48:30 -04:00
Sam
d0fa8cda76
correct issue where no selected theme would force incorrect selection
2017-04-12 13:00:25 -04:00
Sam
7f2a80bbc8
correct theme selector expiry selection
2017-04-12 11:59:47 -04:00
Sam
a7ed8a0310
correct theme importer to support embedded.scss
2017-04-12 11:30:16 -04:00
Sam
a3e8c3cd7b
FEATURE: Native theme support
...
This feature introduces the concept of themes. Themes are an evolution
of site customizations.
Themes introduce two very big conceptual changes:
- A theme may include other "child themes", children can include grand
children and so on.
- A theme may specify a color scheme
The change does away with the idea of "enabled" color schemes.
It also adds a bunch of big niceties like
- You can source a theme from a git repo
- History for themes is much improved
- You can only have a single enabled theme. Themes can be selected by
users, if you opt for it.
On a technical level this change comes with a whole bunch of goodies
- All CSS is now compiled using a custom pipeline that uses libsass
see /lib/stylesheet
- There is a single pipeline for css compilation (in the past we used
one for customizations and another one for the rest of the app
- The stylesheet pipeline is now divorced of sprockets, there is no
reliance on sprockets for CSS bundling
- CSS is generated with source maps everywhere (including themes) this
makes debugging much easier
- Our "live reloader" is smarter and avoid a flash of unstyled content
we run a file watcher in "puma" in dev so you no longer need to run
rake autospec to watch for CSS changes
2017-04-12 10:53:49 -04:00
Dean Taylor
1a9afa976d
FEATURE: Add AWS S3 EU (London) "eu-west-2" region
2017-04-12 10:38:17 -04:00
Arpit Jalan
30a8c5cca2
FIX: render emoji in topic title
2017-04-12 10:38:17 -04:00
Guo Xiang Tan
5cb64810cd
FIX: Changing notification level in topic footer buttons was not updating timeline.
2017-04-12 14:54:03 +08:00
Guo Xiang Tan
7cb389a235
Add DiscourseEvent trigger when user's topic notification level changes.
2017-04-12 11:56:50 +08:00
Guo Xiang Tan
66a7b0c30b
FIX: Add web hook DiscourseEvents in initializer.
2017-04-12 11:55:49 +08:00
Neil Lalonde
e5a50a3c98
FIX: rtl locale support for category box style
2017-04-11 15:04:27 -04:00
Arpit Jalan
82dfe4c5d5
FIX: disable browser autocomplete for change-owner modal
2017-04-11 20:43:30 +05:30
Arpit Jalan
8fb41bf5fb
FIX: update timestamp when resending invite
2017-04-11 20:02:32 +05:30
Guo Xiang Tan
73180c8a19
FIX: Private message can be set to publish in the future.
2017-04-11 20:44:25 +08:00
Guo Xiang Tan
aadf4805a5
FIX: Topic status update not being deleted once it has been executed.
2017-04-11 10:32:13 +08:00
Régis Hanol
db77640634
FIX: grant first reply by email job was *brokenated*
2017-04-10 22:11:29 +02:00
Régis Hanol
f0778c50bf
UX: add href to badge title
2017-04-10 21:39:19 +02:00
Arpit Jalan
b3761653b3
FIX: render emoji in title tag on topic page
2017-04-11 00:25:22 +05:30
Arpit Jalan
028eb8c05a
FIX: render emoji in topic title
2017-04-10 23:36:30 +05:30
Neil Lalonde
3957540dd1
FIX: convert emoji to unicode in topic titles in emails
2017-04-10 13:15:25 -04:00
Sam Saffron
0013a23dc1
SECURITY: prefer render plain/html to render text where possible
2017-04-10 08:01:42 -04:00
Arpit Jalan
e7c2f5fd96
UX: show check mark glyph on 'Dismiss New' button on mobile
2017-04-08 10:13:32 +05:30
Robin Ward
40cee37bcc
FIX: Don't insert topic status messages unless the status changes
2017-04-07 17:10:43 -04:00
Robin Ward
28c59d754b
FIX: Don't update cooked when a like is received.
2017-04-07 15:18:38 -04:00
Robin Ward
616e1dcd16
FIX: Topic Timeline was impossible to close if you used the back button
2017-04-07 14:37:05 -04:00
Robin Ward
397e850fba
FIX: Allow replaceState to run on iOS.
...
Removes a test for unsupported versions.
2017-04-07 11:30:24 -04:00
Guo Xiang Tan
9663a74445
FIX: Ensure username param is valid in NotificationsController.
2017-04-07 17:32:52 +08:00
Guo Xiang Tan
fad04aad6c
Missing association.
2017-04-07 17:05:58 +08:00
Régis Hanol
93556bb950
Merge pull request #4793 from rcgordon/smtp-fast-rejection
...
Added an API to ask if an incoming email should be dropped at the SMTP level.
2017-04-07 09:59:52 +02:00
Guo Xiang Tan
ae1d6e7421
Fix incorrect method usage.
2017-04-07 15:52:08 +08:00
Guo Xiang Tan
71501feaf3
Improve validation for TopicStatusUpdate.
2017-04-07 15:32:00 +08:00
Guo Xiang Tan
cd59db5aa3
UX: Allow topic to be published to the same category when unlisted.
2017-04-07 15:32:00 +08:00
Guo Xiang Tan
690d2f4bd3
UX: Publish topic changes when topic is published.
2017-04-07 15:32:00 +08:00
Guo Xiang Tan
48a9860f07
FIX: Publish topic to a category should unlist it as well.
2017-04-07 13:58:52 +08:00
Neil Lalonde
708f65f740
FIX: web crawlers getting 404 on category pages
2017-04-06 14:52:06 -04:00
Ryan C. Gordon
888d1512ec
Corrected indentation.
2017-04-06 01:49:34 -04:00
Guo Xiang Tan
8e794070d2
Fix incorrect method name.
2017-04-06 13:45:59 +08:00
Guo Xiang Tan
9bc6a60503
Merge pull request #4765 from ElTipejoLoco/show_tracked_topics_link
...
FEATURE: Add "Show tracked topics" to User Prefs
2017-04-06 12:34:10 +08:00
Guo Xiang Tan
0d67b507dc
Merge pull request #4788 from davidtaylorhq/user_seen_event
...
Add a user_seen DiscourseEvent for plugins to hook into
2017-04-06 12:32:16 +08:00
Guo Xiang Tan
e0e06c2992
Merge pull request #4794 from tgxworld/nuke_old_auto_close_jobs
...
FIX: Add onceoff job to remove old auto close topic sidekiq jobs.
2017-04-06 12:29:42 +08:00
Arpit Jalan
f960505359
FIX: translate badge metadata title
2017-04-06 09:57:52 +05:30
David Rodríguez
934bff43d9
FIX: Copy post actions when moving a topic.
2017-04-06 12:16:22 +08:00
Aashaka Shah
402eaaa773
FEATURE: add og tags to metadata in individual badges page
2017-04-06 09:32:53 +05:30
Guo Xiang Tan
5943543ec3
FIX: Improve checks for non-human users.
2017-04-06 11:29:34 +08:00
cpradio
aeb169bd0e
FIX: Do not show User Cannot See Mention dialog when crafting a new topic or a new message
...
Use the model/composer topic.id to determine what users cannot be mentioned and what message to show as a warning.
2017-04-06 11:20:30 +08:00
Ryan C. Gordon
c51af13338
smtp_should_reject API: use better approach to find user email.
2017-04-05 23:10:36 -04:00
Ryan C. Gordon
a51c191a66
Make Email::Receiver.check_address() into a class method.
2017-04-05 23:10:36 -04:00
Ryan C. Gordon
e15d11df18
Added an API to ask if an incoming email should be dropped at the SMTP level.
...
This lets an SMTP server optionally decide if it should reject a mail without
passing it on to Discourse at all, possibly before even reading the
email's payload, to prevent spam-induced backscatter and save resources.
This just does the bare minimum sanity checking that could prevent obvious
backscatter. For legit errors from legit users, Discourse will still send a
much more pleasant reply email.
2017-04-05 23:10:36 -04:00
Guo Xiang Tan
e8eaffbd72
FIX: Add onceoff job to remove old auto close topic sidekiq jobs.
2017-04-06 10:52:13 +08:00
Robin Ward
40ab2e5667
FEATURE: Let users update their emails before confirming
...
This allows users who entered a typo or invalid email address when
signing up an opportunity to fix it and resending the confirmation
email to that address.
2017-04-05 16:44:49 -04:00
Régis Hanol
d1c79372d7
fix permalinks serializer with subfolder setups
2017-04-05 18:45:01 +02:00
Sam Saffron
cd39049262
SECURITY: do not send push notifications to suspended users
2017-04-05 08:28:24 -04:00
Bianca Nenciu
9065df76ad
FEATURE: Change name from admin page.
...
https://github.com/discourse/discourse/pull/4770
2017-04-05 17:40:27 +08:00
Arpit Jalan
c43c78cb8a
FIX: do not add order param to user list unless required
2017-04-05 13:57:34 +05:30
Robin Ward
3839206317
FIX: Return JSON errors for by-external if JSON requested
2017-04-04 16:22:14 -04:00
Robin Ward
17f2974d0a
SECURITY: Confirm new administrator accounts via email
2017-04-04 15:59:01 -04:00
Guo Xiang Tan
a248ebde3c
Allow custom empty label for category-chooser.
2017-04-04 17:19:55 +08:00
Guo Xiang Tan
69661be500
FIX: Don't raise an error if TopicStatusUpdate has been deleted.
2017-04-04 14:29:47 +08:00
Guo Xiang Tan
406d721f11
Fix NilClass error in UsersController.
2017-04-04 14:17:45 +08:00
Guo Xiang Tan
aca972c08b
FIX: Skip validations when updating group mentions.
2017-04-04 14:13:18 +08:00
Guo Xiang Tan
7f1c474e5b
FIX: Selections getting deselected on FireFox.
2017-04-04 13:06:07 +08:00
Guo Xiang Tan
ad44d2a400
Merge pull request #4790 from tgxworld/add_publish_to_topic_status_update
...
FEATURE: Allow admins to schedule a topic to be published in the future.
2017-04-04 11:18:53 +08:00
Guo Xiang Tan
f4758a4c4d
FEATURE: Allow admins to schedule a topic to be published in the future.
2017-04-04 11:16:05 +08:00
Robin Ward
ebe232da47
Weigh staff votes more for New User of the Month badges
2017-04-03 16:52:31 -04:00
Robin Ward
0829671963
FIX: Nested quotes weren't rendered properly with BBCode
2017-04-03 14:38:30 -04:00
Robin Ward
a13a8dc96c
FIX: Safeguard to not award NewUserOfTheMonth if it hasn't been a month
2017-04-03 13:26:51 -04:00
Robin Ward
3d64f33d40
Require at least two likes to get the "New User of the Month" badge
2017-04-03 13:03:28 -04:00
Régis Hanol
15268657f4
Requiring it once is more than enough ;)
2017-04-03 12:12:36 +02:00
Régis Hanol
916ba945fe
Merge pull request #4787 from jomaxro/patch-1
...
Mobile CSS for deleted topics is inconsistent with desktop CSS
2017-04-03 10:13:06 +02:00
Guo Xiang Tan
9ab5f17610
FIX: Broekn translation on topic-status-info component.
2017-04-03 10:31:40 +08:00
Guo Xiang Tan
5cf75c67df
FIX: Callback undefined error when topic has been deleted.
2017-04-03 09:06:15 +08:00
Jeff Atwood
3b64aeaf21
loosen new user of the month criteria slightly
2017-03-31 16:33:50 -07:00
David Taylor
03373a0e84
Add a user_seen DiscourseEvent for plugins to hook into
2017-03-31 23:30:59 +01:00
Robin Ward
e4b1376146
Change New User of the Month Badge to use trust level rather than age
2017-03-31 16:56:58 -04:00
Robin Ward
a8d3779f0b
Update New User of the Month badge to require 4 posts in 2 topics
2017-03-31 16:52:00 -04:00
Robin Ward
fc7fa4c0ad
Rename "Rookie of the Month" to "New User of the Month"
2017-03-31 16:30:30 -04:00
Robin Ward
e6f6bd34d8
Send the user a notice when they've received rookie of the month
2017-03-31 15:06:31 -04:00
Robin Ward
893e93dfbe
New badge, Rookie of the Month, for two new high quality users.
2017-03-31 15:06:31 -04:00
Robin Ward
f42b6054e6
FIX: Class names should be dasherized, not underscored
2017-03-31 13:17:12 -04:00
Robin Ward
62be121328
FIX: On long browsers, you could get a double title
2017-03-31 13:00:52 -04:00
jomaxro
d5d5cfc2f4
Mobile CSS for deleted topics is inconsistent
...
with desktop css - mobile targets a less specific class
2017-03-31 12:48:32 -04:00
Arpit Jalan
2418daeb63
FIX: check if post exists in topic
2017-03-31 18:02:14 +05:30
Guo Xiang Tan
7690cc6ca5
UX: Don't try to figure out root domain.
2017-03-31 17:24:24 +08:00
Guo Xiang Tan
04edbea693
UX: Remove width on .auto-update-input.
2017-03-31 17:13:50 +08:00
Guo Xiang Tan
78d87a79eb
UX: Improve .modal-header style on mobile.
2017-03-31 16:47:49 +08:00
Guo Xiang Tan
0bbad5040a
topic-status-info component wasn't updated when topic is closed/opened.
2017-03-31 15:58:26 +08:00
Guo Xiang Tan
b6e9871b4b
Update Topic#closed client side when closing/opening a topic temporarily.
2017-03-31 15:05:00 +08:00
Guo Xiang Tan
ed577fbff8
FEATURE: Pause a topic instead of permanently closing when flag threshold is reached.
2017-03-31 14:35:05 +08:00
Guo Xiang Tan
2fa82ba4ff
UX: Update copy for topic status update UI.
2017-03-31 12:06:55 +08:00
Guo Xiang Tan
beba481bc8
UX: Update copy to remove a topic status update.
2017-03-31 11:54:20 +08:00
Guo Xiang Tan
7cf2528f18
UX: Copy changes for auto topic status update.
2017-03-31 11:45:10 +08:00
Guo Xiang Tan
34b7bee568
FEATURE: Allow admin to auto reopen at topic.
...
* This commit also introduces a `TopicStatusUpdate`
model to support other forms of deferred topic
status update in the future.
2017-03-31 11:14:18 +08:00
jomaxro
6fb255957c
Move watching-first-post to notification-options
...
Also remove extra classes from scss, made targeting watching-first-post different from all other notification states
2017-03-30 18:37:51 -04:00
jomaxro
495c11e633
Remove watching-first-post from user SCSS
...
Move to notification-options.scss
2017-03-30 18:33:24 -04:00
Robin Ward
14410b71fb
Convert server side paths to use /u/
2017-03-30 10:23:24 -04:00
Robin Ward
45a257815a
Convert front end paths from /users/ to /u/
2017-03-30 10:23:24 -04:00
Robin Ward
6b976433c9
Support for both /users/ and /u/ paths
2017-03-30 10:23:24 -04:00
Guo Xiang Tan
99abbc2e2d
UX: Order custom emojis by name.
2017-03-30 13:24:18 +08:00
Guo Xiang Tan
a818fa9831
FIX: Show stats of the last 30 days be default for admin reports.
...
* `1.month.ago + 1.month` uses the calendar month for calculations
such that `1.month.ago` from the 30th of March 2017 will give
us the 28th of February 2017. Adding one month ahead from
28th February 2017 will be 28th of March 2017.
2017-03-30 09:48:10 +08:00
James Kiesel
47182d3441
Remove stray reference to additionalPanels
2017-03-30 08:16:00 +09:00
Robin Ward
16087009a9
Merge pull request #4783 from bekicot/allow-to-order-search-results-by-the-topic-creation-date
...
Allow to order search results by the topic creation date
2017-03-29 16:52:09 -04:00
Neil Lalonde
8742f5176f
FIX: tags and topic links rendered outside of page header
2017-03-29 16:48:53 -04:00
Yana Agun Siswanto
47c1cc95dd
Refactor setSearchTerm, to be reused on noSortQ
2017-03-30 03:22:49 +07:00
Yana Agun Siswanto
cd2d2f16e5
Allow to order search results by the topic creation date
...
based on: https://meta.discourse.org/t/allow-to-order-search-results-by-the-topic-creation-date/38544
2017-03-30 01:18:38 +07:00
Robin Ward
3914f746b8
FIX: Missing semicolon
2017-03-29 13:03:35 -04:00
Robin Ward
b240437b6f
Merge pull request #4777 from gdpelican/add-header-panels
...
Allow plugins to add panels to header more easily
2017-03-29 12:53:08 -04:00
James Kiesel
3b55ceffb3
Use local var for additionalPanels
2017-03-29 08:52:50 +09:00
Robin Ward
86f11955cf
FIX: Clicking on the title was doubling up the title
2017-03-28 17:05:07 -04:00
Robin Ward
f3540332a8
FIX: Topic title wasn't showing properly when entering lower in topics
2017-03-28 16:28:26 -04:00
Arpit Jalan
322ed7124e
UX: add a link to bulk invite howto
2017-03-28 23:44:13 +05:30
Arpit Jalan
4812417192
FIX: do not add user to group based on email domain unless email is confirmed
2017-03-28 15:02:40 +05:30
Guo Xiang Tan
bace6af404
Nuke extra whitespace.
2017-03-28 16:50:35 +08:00
Guo Xiang Tan
874d151c05
REFACTOR: Allow radio-button component to be disabled.
2017-03-28 16:45:54 +08:00
Arpit Jalan
8bf12502bd
Merge pull request #4780 from techAPJ/send-statistics
...
FEATURE: Send anonymized usage statistics to Discourse if "Discourse Hub" can't reach the site
2017-03-28 10:02:05 +05:30
Arpit Jalan
f3cd5f61c5
FEATURE: Send anonymized usage statistics to Discourse if Discourse Hub can't reach the site
2017-03-28 09:07:23 +05:30
Robin Ward
1d478a97db
FIX: Email Previewing was not showing in Firefox
2017-03-27 14:41:51 -04:00
Neil Lalonde
20400cb33f
add category colour to left side of box style
2017-03-27 14:40:59 -04:00
Neil Lalonde
899a747e68
FIX: use consistent heading style in the category box styles
2017-03-27 14:11:01 -04:00
Neil Lalonde
249eedd45c
categories page on mobile uses categories with featured topics
2017-03-27 13:55:39 -04:00
Neil Lalonde
6e847bb297
FEATURE: mobile support for row and box category styles
2017-03-27 13:55:39 -04:00
Robin Ward
27a73c73f9
FIX: Error when calculating geometric mean of 0 for read timings
2017-03-27 12:45:34 -04:00
Robin Ward
243b5756ee
Adds a keyboard shortcut (shift+u) for jumping back to the last read post
2017-03-27 11:23:06 -04:00
Robin Ward
60975fcc18
Remove the "unread" timeline section
2017-03-27 11:07:27 -04:00
Robin Ward
2fedf1c668
FIX: jQuery include was incorrect for finish-installation
2017-03-27 10:29:25 -04:00
Arpit Jalan
3378e2d49f
FIX: update topic fancy title when updating category name
2017-03-26 12:29:53 +05:30
James Kiesel
c99883cf65
SEMICOLONS ;.;
2017-03-25 21:44:28 +13:00
James Kiesel
a4127a8f71
Add addAdditionalHeader widget to pluginApi
2017-03-25 21:33:55 +13:00
Neil Lalonde
0083602ddd
Revert "FEATURE: mobile support for row and box category styles"
2017-03-25 00:38:56 -04:00
Guo Xiang Tan
7c17966171
FEATURE: Include email in User webhook.
...
https://meta.discourse.org/t/should-the-email-address-of-a-new-user-be-included-in-the-webhook/59255
2017-03-25 08:23:01 +08:00
Robin Ward
80edb4cebc
FIX: Clciking the home logo wasn't refreshing categories views
2017-03-24 16:30:00 -04:00
Robin Ward
276d139624
Experimental: Show a blue bar for unread ahead of you
2017-03-24 11:58:50 -07:00
Robin Ward
6875007366
Respect modifier keys when clicking on links
2017-03-24 11:35:16 -07:00
Neil Lalonde
708efad96d
FIX: links in hamburger menu on subfolder installs
2017-03-24 10:31:17 -04:00
Régis Hanol
747f4812e4
fix custom emoji support when using subfolder
2017-03-24 02:09:39 +01:00
Régis Hanol
823e50b099
make eslint happy
2017-03-24 01:27:15 +01:00
Régis Hanol
5d9cba5581
quotes should keep new lines
2017-03-24 01:07:32 +01:00
James Kiesel
9f969b402e
More stylistic fixes
2017-03-24 09:56:54 +13:00
James Kiesel
569785c555
Add semicolon
2017-03-24 09:48:51 +13:00
James Kiesel
d073f582eb
Allow plugins to add panels to header more easily
2017-03-24 09:19:25 +13:00
Robin Ward
65081a9193
FIX: Issue with double title showing up
2017-03-23 16:16:50 -04:00
Neil Lalonde
33ed064e59
FEATURE: mobile support for row and box category styles
2017-03-23 16:03:27 -04:00
Robin Ward
cacf48fdb5
Experimental: Try adding a darker color in the timeline for unread
2017-03-23 15:49:47 -04:00
Robin Ward
d161422002
UX: Be more optimistic about showing topic titles while entering topics
2017-03-23 13:53:49 -04:00
Robin Ward
6f230945c2
UX: Clear the header when navigating to a new topic
2017-03-23 13:19:59 -04:00
Neil Lalonde
8f436bf736
replace gets with arguments
2017-03-23 12:42:37 -04:00
Guo Xiang Tan
3ef82bb32c
SECURITY: CSRF vulnerabilities in Admin::BackupsController.
2017-03-23 10:29:35 +08:00
Neil Lalonde
11ce73b8ed
FEATURE: category setting for default top period
2017-03-22 16:54:18 -04:00
Robin Ward
0c46f51412
Use unminified resize to make debugging easier
2017-03-22 16:39:18 -04:00
Robin Ward
f97a6598aa
Use the same jQuery in prod and dev, avoid minimizing twice
2017-03-22 15:48:37 -04:00
Sam
8e5e3b5af8
FIX: sso provider require return_sso_url
2017-03-22 09:08:38 -04:00
Régis Hanol
67eb754c3c
remove duplicate emoji translation
2017-03-22 12:07:17 +01:00
Régis Hanol
ccd4832726
Add 'slight_smile' emoji translations
2017-03-22 10:17:10 +01:00
Arpit Jalan
786fd6bbd2
Merge pull request #4774 from techAPJ/email-prefix
...
FIX: use email prefix only in subject
2017-03-22 14:18:50 +05:30
Arpit Jalan
295cf8839e
FIX: better error message when invited user already exists
2017-03-22 13:55:28 +05:30
Guo Xiang Tan
e8fc8f0bb6
Update annotations.
2017-03-22 14:26:53 +08:00
Robin Ward
1cd14ef3aa
FIX: Site Settings weirdness with back button
2017-03-21 16:13:19 -04:00
Robin Ward
874e8900af
Display email address in SSO error message.
2017-03-21 15:37:46 -04:00
Robin Ward
aeaf5075bf
Custom errors for when Email is invalid via SSO
2017-03-21 15:23:38 -04:00
Robin Ward
52d78294cc
Render a layout when there's an SSO error
2017-03-21 15:23:38 -04:00
Arpit Jalan
7f207fd411
Merge pull request #4771 from techAPJ/user-summary-tab
...
FEATURE: make summary as first tab on user page
2017-03-21 23:14:07 +05:30
Arpit Jalan
ec2a66d1f0
FEATURE: make summary as first tab on user page
...
https://meta.discourse.org/t/custom-user-fields-show-on-activity-but-not-summary-page/59196/3?u=techapj
2017-03-21 23:12:28 +05:30
Neil Lalonde
2836d548fb
Category boxes with feature topics will show pins and locks as bullet for pinned and closed/archived topics
2017-03-21 12:23:19 -04:00
Arpit Jalan
1853a4852c
FIX: use email prefix only in subject
2017-03-21 20:29:57 +05:30
Arpit Jalan
df246c79b6
FEATURE: add user profile fields in user list export
2017-03-21 15:51:52 +05:30
Arpit Jalan
82c0f5f587
Merge pull request #4767 from techAPJ/activate-account
...
FIX: send activation email if user have unconfirmed email address
2017-03-21 09:44:23 +05:30
Arpit Jalan
7c3ae50dcd
FIX: send activation email if user have unconfirmed email
2017-03-21 09:41:50 +05:30
Guo Xiang Tan
0cfc4db868
Merge pull request #4769 from gsambrotta/admin-users-list-style
...
add style to show admin/users header as clickable
2017-03-21 10:07:05 +08:00
Sam Saffron
b94c7b4902
missing disposition
2017-03-20 17:07:32 -04:00
Sam
652b2d7199
remove redundent header setting
2017-03-20 16:08:18 -04:00
Sam
c106ca6778
FEATURE: fallback asset path for multi host setups
2017-03-20 15:59:17 -04:00
Neil Lalonde
9c03456e75
Category description in sub-category boxes is truncated after height 6em, customizable with CSS
2017-03-20 15:43:49 -04:00
Neil Lalonde
e96d875bee
FIX: show lock icons for secured categories in boxes views
2017-03-20 14:50:52 -04:00
Neil Lalonde
0238a076f3
Change category-boxes so it's easier to customize with CSS
2017-03-20 14:50:52 -04:00
Neil Lalonde
85280b0bc8
FIX: links in category description inside subcategory boxes have too much padding
2017-03-20 14:50:52 -04:00
giorgia
b8ee2cabcf
add style to make tabs clickable
2017-03-20 15:23:00 +01:00
giorgia
c3e8497636
remove tooltip on hover on desktop
2017-03-20 13:26:36 +01:00
Arpit Jalan
521c88fe58
FIX: enqueue activation email for invited user that has password set
2017-03-20 17:13:21 +05:30
Guo Xiang Tan
1d4993a185
FIX: Sync user's notification channel before preloaded current user data.
...
This is to fix the problem where a newly created user would not
receive live updates for the first notification if the notification
is published before the client has subscribed to the channel.
2017-03-20 17:17:21 +08:00
Guo Xiang Tan
32d8447838
REFACTOR: Don't lookup container for certain objects if user is not signed in.
2017-03-20 15:49:36 +08:00
Guo Xiang Tan
ddc8abf9d8
Fix broken optimize image command.
2017-03-20 15:07:38 +08:00
Guo Xiang Tan
6057e17ae7
Fix weird test failure.
2017-03-20 12:06:37 +08:00
Guo Xiang Tan
a567e6bec9
FIX: Publish notification state in after_commit hook.
...
`after_save` is still wrapped in a transaction and
we were getting intermittent failures with notifications
state not being published.
2017-03-20 11:38:34 +08:00
Neil Lalonde
9ae8813a53
FIX: admin user page should show count of all posts, including private messages, so admins can delete them. This bug was making it impossible to delete users.
2017-03-17 17:01:45 -04:00
Robin Ward
f5f54c1b77
Merge pull request #4764 from tgxworld/nuke_backticks
...
FIX: Don't use backticks that take in inputs.
2017-03-17 15:40:23 -04:00
Neil Lalonde
0991acf103
make it easier to customize category boxes with featured topics
2017-03-17 12:33:26 -04:00
ElTipejoLoco
e234a7821d
Add "Show tracked topics" to User Preferences
...
Does what it says on the tin. Minor clean-up.
2017-03-17 08:05:21 -05:00
Régis Hanol
e600dca268
Merge pull request #4763 from vvanpo/fork-master
...
JSON API parsing error on CSRF exception: single quotes in ['BAD CSRF'] is invalid JSON
2017-03-17 09:19:10 +01:00
Guo Xiang Tan
e7c972ac89
FIX: Don't use backticks that take in inputs.
2017-03-17 15:33:51 +08:00
Guo Xiang Tan
566f367fc3
FIX: Don't migrate custom emojis that are no longer valid.
...
* Warn about failed migration in logs.
2017-03-17 08:28:24 +08:00
Victor van Poppelen
9e60f9f093
JSON API parsing error on CSRF exception: single quotes in ['BAD CSRF'] is invalid JSON:
...
https://meta.discourse.org/t/json-api-parsing-error-single-quotes-used-for-errors-like-bad-csrf/58869
2017-03-16 16:47:18 -07:00
Neil Lalonde
ad8a579c79
UX: banner enabled/disabled posts should be small posts, not full-size posts
2017-03-16 17:31:37 -04:00
Robin Ward
1957d12670
SECURITY: Don't use backticks for exporting your archive
2017-03-16 16:24:59 -04:00
Neil Lalonde
22f197c153
FEATURE: subcategory list style: boxes with featured topics
2017-03-16 11:54:45 -04:00
Sam
2c952e1981
Merge pull request #4760 from nbianca/fix_topic_title
...
Fixes duplicated title in header after edit
2017-03-16 11:49:45 -04:00
Bianca Nenciu
f8a31d927f
Fixes duplicated topic title in header after edit.
2017-03-16 17:34:39 +02:00
Robin Ward
fd591257a8
Merge pull request #4759 from kennym/support-ports-for-ip-addresses-in-embedding
...
FIX: Allow ports for embed host IPs
2017-03-16 11:23:42 -04:00
Guo Xiang Tan
9f299b6842
Use after_commit since after_save runs within the transaction as well.
2017-03-16 16:02:34 +08:00
Guo Xiang Tan
299b92b4d7
Fix broken user created event trigger.
2017-03-16 15:36:27 +08:00
Guo Xiang Tan
5169ef8814
Fix broken specs.
2017-03-16 15:05:28 +08:00
Guo Xiang Tan
bf78c228f4
FIX: User created web hook being enqueued before record has been saved.
...
* Improve web hook tests as well.
2017-03-16 14:44:09 +08:00
Guo Xiang Tan
bb85795934
FIX: Leave group membership button not updating.
...
https://meta.discourse.org/t/leave-group-button-on-groups-page-doesnt-give-any-feedback/57359/4
2017-03-16 11:33:55 +08:00
Guo Xiang Tan
65c000ad74
FEATURE: Track views on user profile card as profile views.
2017-03-16 10:59:08 +08:00
Guo Xiang Tan
0a87547cbc
Fix broken tests.
2017-03-16 10:22:15 +08:00
Erick Guan
cfbfea0596
FEATURE: Allow easier customization to the web hook event serialization.
2017-03-16 10:09:05 +08:00
Guo Xiang Tan
bbc85e1e29
Merge pull request #4750 from discourse/group_login_registration_flow
...
FEATURE: Redirect to groups page and apply group actions upon login/s…
2017-03-16 09:50:56 +08:00
Guo Xiang Tan
ca965bb455
FEATURE: Redirect to groups page after login/registration flow.
2017-03-16 09:48:51 +08:00
giorgia
576982484d
FEATURE: Make admin user list sortable.
...
https://meta.discourse.org/t/make-admin-users-list-sortable-suggestion/47649
2017-03-16 09:24:15 +08:00
Vinoth Kannan
d3f07122c4
UX: 'Join Group' button position moved to group header
2017-03-16 08:40:27 +08:00
Kenny Meyer
ae957bca25
Allow ports for embed host IPs
2017-03-15 18:16:34 -03:00
Sam
61a7162c01
Merge pull request #4747 from gsambrotta/show-disable-delete-btn-cat
...
Show disable delete btn cat
2017-03-15 15:45:05 -04:00
Neil Lalonde
5c4f37a24e
cdn-img will render nothing if src is null
2017-03-15 13:30:29 -04:00
Anaketa
d7dedc4649
add show/hide to tooltip
2017-03-15 17:23:52 +01:00
Anaketa
63febf391b
create btn, tooltip and style it
2017-03-15 17:16:21 +01:00
Guo Xiang Tan
911d6abfad
Merge pull request #4757 from nbianca/change_timestamp_bug
...
Change timestamp only for admin.
2017-03-15 10:44:19 +08:00
Neil Lalonde
bc31d25132
some cleanup thanks to eviltrout
2017-03-14 17:23:19 -04:00
Neil Lalonde
5c923fef58
FIX: category logo preview in settings shouldn't render it like a background image
2017-03-14 17:12:09 -04:00
Sam
7378077036
Merge pull request #4749 from cpradio/add-subcategory-class-hamburger-menu
...
UX: Add subcategory class to hamburger menu items that are subcategories
2017-03-14 17:08:35 -04:00
Bianca Nenciu
8354768d7c
Change timestamp only for admin.
2017-03-14 23:07:36 +02:00
Neil Lalonde
889902256b
FIX: encoded characters shown in category boxes
2017-03-14 14:51:11 -04:00
Sam
8ac7e6a605
Merge pull request #4753 from cpradio/plugin-outlet-user-preferences
...
DEV: Add plugin-outlet to allow SSO sites to put a message on the User Preferences page
2017-03-14 10:32:09 -04:00
Guo Xiang Tan
58de40154d
Bump EMOJI_VERSION to clear cache.
2017-03-14 15:31:01 +08:00
Guo Xiang Tan
6a6113fcea
Merge pull request #4682 from tgxworld/store_custom_emoji_as_uploads
...
FIX: Store custom emojis as uploads.
2017-03-14 14:14:18 +08:00
Guo Xiang Tan
324b346bb1
FIX: Restore was not redirecting to logs route.
2017-03-14 14:00:18 +08:00
Guo Xiang Tan
1a7e954e09
FIX: Store custom emojis as uploads.
...
* Depending on a hardcoded directory was a flawed design
which made it impossible to debug when custom emojis go
missing.
2017-03-14 13:07:18 +08:00
Guo Xiang Tan
99943ec769
Make eslint happy.
2017-03-14 11:52:15 +08:00
Guo Xiang Tan
83d2e63771
Make eslint happy.
2017-03-14 11:47:35 +08:00
Guo Xiang Tan
8e45322b09
FIX: Only group admins can see group edit page.
2017-03-14 11:45:58 +08:00
cpradio
a5af9a834f
DEV: Add plugin-outlet to allow SSO sites to put a message on the User Preferences page
2017-03-13 18:26:00 -04:00
Neil Lalonde
318f7bab4b
fix padding so entire box is clickable
2017-03-13 16:49:03 -04:00
Neil Lalonde
3dab932b96
fix trying to render cdn image of undefined
2017-03-13 16:22:37 -04:00
Neil Lalonde
6d7e968e30
FEATURE: box-style rendering of sub-categories
2017-03-13 15:25:52 -04:00
Régis Hanol
30d5d61158
use 'toLocaleDateString()'
2017-03-13 16:11:49 +01:00
cpradio
15f7fff561
UX: Add subcategory class to hamburger menu items that are subcategories
...
UX: Add data-category-url to make targetting a category li element in the hamburger menu easier
2017-03-13 10:51:41 -04:00
Sam
64680286f4
correct logic, so revalidation is reset
...
correct test so it can run at any point
2017-03-13 10:47:43 -04:00
Sam
a690121805
SECURITY: always allow staff to resend activation mails
2017-03-13 10:32:24 -04:00
Sam
1a745ca16a
else @user makes no sense :)
2017-03-13 10:22:23 -04:00
Sam
ef24fd54ba
FEATUE: automatically validate token is stored in redis
...
This ensures we have some handling for redis flushall
We attempt to recover our in-memory session token once every 30 seconds
Code is careful to only set the token if it is nil, to allow for manual
cycling to remain safe if needed
2017-03-13 10:19:02 -04:00
Guo Xiang Tan
9364d8ce71
FIX: Store user's id instead for sending activation email.
...
* Email and username are both allowed to be used for logging in.
Therefore, it is easier to just store the user's id rather than
to store the username and email in the session.
2017-03-13 20:24:55 +08:00
Guo Xiang Tan
7ebfa3c901
SECURITY: Only allow users to resend activation email with a valid session.
...
* Improve error when an active user tries to request for an activation email.
2017-03-13 19:35:29 +08:00
Régis Hanol
dd60cb82c3
UX: add client-side rate limit on click counters
2017-03-13 11:31:37 +01:00
Arpit Jalan
848120c098
FEATURE: RSS feed for top page period filters
2017-03-13 15:23:46 +05:30
Guo Xiang Tan
4d4a1a1552
Add scope for human users.
2017-03-11 14:25:09 +08:00
Sam
16593ae8bf
FEATURE: log reason staff auto blocks a user
2017-03-10 15:45:48 -05:00
Sam
f13367cecd
FIX: latest + category not respecting homepage category suppression
2017-03-10 15:17:51 -05:00
Sam
19ad1e2c2e
less opacity for quote button
2017-03-10 14:57:58 -05:00
Neil Lalonde
402ddb810c
FIX: email customizations now apply to both html and text parts
2017-03-10 14:08:03 -05:00
Neil Lalonde
15adbdcdd5
FEATURE: new template parameters for notification emails that can be used in links: topic_title_url_encoded and site_title_url_encoded
2017-03-10 14:08:03 -05:00
Sam
bc1a6ccb90
Merge pull request #4741 from tgxworld/allow_bookmark_removal
...
FIX: Allow user to remove bookmark from posts as long as bookmark is …
2017-03-10 12:49:20 -05:00
Arpit Jalan
f7e7ca3937
FEATURE: anonymized site statistics
2017-03-10 18:50:26 +05:30
Guo Xiang Tan
0e41b1181a
UX: Display button to add a group when no group has been selected.
...
https://meta.discourse.org/t/new-button-on-groups/44546
2017-03-10 17:15:49 +08:00
Guo Xiang Tan
eb6ef0311e
Hide special users from about pages.
2017-03-10 15:33:31 +08:00
Guo Xiang Tan
a43ec88f46
Merge pull request #4743 from tgxworld/fix_autocomplete_being_rerendered
...
FIX: Category autocomplete breaks when search menu widget rerenders.
2017-03-10 09:42:18 +08:00
Sam
3032aa7db9
PERF: avoid looking globals from providers after first call
2017-03-09 18:00:55 -05:00
Guo Xiang Tan
b419a5765e
FEATURE: Add seen/unseen filters to advanced search UI.
...
https://meta.discourse.org/t/advanced-search-posts-that-i-have-seen/57966
2017-03-09 10:46:06 +08:00
Régis Hanol
00380d84c5
UX: display text & html parts alongside raw email in incoming email modal
2017-03-08 23:15:42 +01:00
Arpit Jalan
dfd5b06c82
FIX: custom CSS/HTML files were not getting downloaded on Chrome
2017-03-09 01:09:26 +05:30
Régis Hanol
23b06d2895
FIX: should not try to send digest to users who reached the bounce threshold
2017-03-08 19:19:11 +01:00
Guo Xiang Tan
6a7773b681
FIX: Category autocomplete breaks when search menu widget rerenders.
...
https://github.com/discourse/discourse/pull/4717#issuecomment-284914585
2017-03-08 20:13:48 +08:00
Guo Xiang Tan
3c41cb6b7d
FIX: Reply to topic keyboard shortcut raises an error on non-topic routes.
2017-03-08 19:55:35 +08:00
Arpit Jalan
801b5838e1
FIX: do not show faq/guidelines page to anonymous users for private forums
2017-03-08 16:00:49 +05:30
Régis Hanol
cf8bc4483f
FIX: always send critical emails even when bounce score threshold has been reached
2017-03-08 10:06:16 +01:00
Arpit Jalan
090236b15b
FIX: do not show about page to anonymous users for private forums
2017-03-08 13:15:44 +05:30
Guo Xiang Tan
689dd16be0
FIX: Allow user to remove bookmark from posts as long as bookmark is present.
...
https://meta.discourse.org/t/bookmark-issue-when-access-to-topic-is-lost-pms/51993
2017-03-08 13:53:49 +08:00
Sam
0c03ccb01e
FEATURE: allow plugins to transform, the transformed post
...
This allows plugins to amend posts prior to rendering.
2017-03-07 17:12:31 -05:00
Sam
99f4d5082b
FIX: Improve token rotation and increase logging
...
- avoid access denied on bad cookie, instead just nuke it
- avoid marking a token unseen for first minute post rotation
- log path in user auth token logs
2017-03-07 13:27:43 -05:00
Sam
9f8cfee450
remove dupe code, correct logging logic
2017-03-07 13:27:43 -05:00
Robin Ward
42fd4f987e
When viewing yourself, default to activity, not summary.
2017-03-07 12:03:05 -05:00
Neil Lalonde
d95e4102c1
FIX: tags created in secured categories should not be forbidden outside those categories
2017-03-07 11:46:46 -05:00
Robin Ward
dad57fa033
FIX: More errors with non-ascii URLs
2017-03-07 11:21:41 -05:00
Guo Xiang Tan
d1e587c10a
Merge pull request #4737 from oblakeerickson/approve_invited_user
...
FIX: approve invited user
2017-03-07 21:14:34 +08:00
Guo Xiang Tan
60b7453f3f
FIX: Do not trigger fullpage search when selecting autocomplete term with enter.
2017-03-07 11:56:40 +08:00
Guo Xiang Tan
f3a7e398ca
Merge pull request #4717 from cpradio/autocomplete-search
...
FEATURE: Autocomplete support on search
2017-03-07 06:40:45 +08:00
Sam
443bce6466
add a descriptive comment
2017-03-06 15:15:07 -05:00
Sam
3227d79430
FIX: extra-nav-item outlet no longer adds a DIV to UL
...
This amends the extensibility on navigation bar so extra nav items are not
added to a DIV nested into the UL, instead the LIs are rendered as usual
2017-03-06 15:00:13 -05:00
Robin Ward
3905778fc0
FIX: Put back the back button fix again.
2017-03-06 12:24:27 -05:00
Rafael dos Santos Silva
c3477cd40d
Merge pull request #4716 from discourse/bounced_emails_details
...
FEATURE: Allow checking the raw response of a bounced email
2017-03-06 13:30:19 -03:00
Régis Hanol
0abe433495
Merge pull request #4736 from techAPJ/group-bulk-add
...
FIX: grant trust level when bulk adding users to group
2017-03-06 12:43:26 +01:00
Guo Xiang Tan
1e8573ac75
Merge pull request #4738 from rimian/patch-4
...
less restrictive to allow plugin outlets
2017-03-06 17:25:18 +08:00
Guo Xiang Tan
7d82a53dfe
FIX: Group#name is case insensitive.
2017-03-06 17:24:03 +08:00
Arpit Jalan
d5bcc70e9c
FIX: grant trust level when bulk adding users to group
2017-03-06 14:39:53 +05:30
Guo Xiang Tan
66b5f97743
Merge pull request #4739 from tgxworld/fix_cant_recover_a_topic_that_belongs_to_a_deleted_user
...
Fix cant recover a topic that belongs to a deleted user
2017-03-06 15:12:54 +08:00
Guo Xiang Tan
8aea3caf00
FIX: Ensure that we only move posts that belong to the original topic.
2017-03-06 15:04:10 +08:00
Guo Xiang Tan
477eb0591e
FIX: Posts in a deleted topic couldn't be moved.
...
https://meta.discourse.org/t/moving-posts-to-new-topic/58436/4
2017-03-06 14:56:20 +08:00
Rimian Perkins
95f7b60212
less restrictive to allow plugin outlets
...
for extra-nav-items
2017-03-06 14:38:57 +11:00
Blake Erickson
dbb3ddc7a6
FIX: approve invited user
...
This commit fixes the case where invited users who typed in a password
would not be approved by default. Because we moved the user create logic
for an invited user there was a clash with the `save` in the user model
and the `save` in the invite_redeemer class.
- added approve logic into invite_redeemer class.
- added tests to verify that the user is approved
- added a check to see if must_approve_users is on
- added a check to see if the inviter is staff
- go ahead and approve the user if must_approve_users is off
- keep existing User.approve workflow if user exists
- improve if/else logic to remove duplicate code
- use `Time.zone.now`
2017-03-05 06:58:23 -07:00
Guo Xiang Tan
08ffbf6c61
Use Time.zone.now instead.
2017-03-05 11:10:40 +08:00
Neil Lalonde
9c7a02192a
FIX: flag action buttons are missing when visiting flags from the hamburger menu
2017-03-04 11:36:58 -05:00
cpradio
3eb51f0d77
FIX: Make it a tad bit harder to accidentally redirect to full page search while autocomplete is open
2017-03-03 22:48:28 -05:00
Sam
3e3fdfc717
FEATURE: plugin can now extend list of classes for topic-post
2017-03-03 16:57:25 -05:00
Sam
31a81d4eee
FEATURE: allow for for empty description in list
2017-03-03 16:13:05 -05:00
Sam
c99f4260c0
Merge pull request #4729 from tgxworld/dont_mark_user_as_valid
...
FIX: Don't mark user as `active` if verified email is different.
2017-03-03 15:57:30 -05:00
Neil Lalonde
6aab8cb331
FEATURE: new category setting for whether to show latest topics or top topics by default
2017-03-03 11:30:44 -05:00
Guo Xiang Tan
bcf634ca85
Merge pull request #4728 from nbianca/username-regex
...
Add support for username regex.
2017-03-03 22:59:23 +08:00
Rafael dos Santos Silva
aac4a4ed94
Handle invalid parameters and missing bounced emails
2017-03-02 20:37:28 -03:00
Sam
abc4dff0fe
FEATURE: add bumped_before query param for topic list
2017-03-02 15:11:50 -05:00
Neil Lalonde
ca20cb9941
FEATURE: subcategories can be discovered by web crawlers on page 1 of the parent category topics list
2017-03-02 15:06:56 -05:00
Sam
4dac4c69a6
FEATURE: add before topic list filter
2017-03-02 14:54:33 -05:00
Neil Lalonde
7496f373cd
add headline itemprop to DiscussionForumPosting for crawlers
2017-03-02 12:35:50 -05:00
Neil Lalonde
797313a28d
FIX: subcategories need the num featured topics setting too
2017-03-02 11:31:28 -05:00
Sam
7431c30c1f
Correct test and remove uneeded outlet
2017-03-02 09:17:14 -05:00
Bianca Nenciu
30909ec54e
Add support for username regex.
2017-03-02 13:53:45 +02:00
Guo Xiang Tan
442bef2df9
Merge pull request #4706 from gsambrotta/add-name-search-dropbox
...
FEATURE: Add user name in search results
2017-03-02 15:22:15 +08:00
Guo Xiang Tan
3d347fb9c4
FIX: Don't mark user as active if verified email is different.
2017-03-02 14:24:30 +08:00
Sam
dbfea9b5b0
correct refactor
2017-03-01 18:26:26 -05:00
Guo Xiang Tan
f5bf6256a9
Merge pull request #4732 from nbianca/typo
...
Fixed typo.
2017-03-02 06:02:43 +08:00
Sam
c79b146283
FEATURE: make list controller a bit more extensible
2017-03-01 16:41:09 -05:00
Sam
f0b79cf54b
FEATURE: Add outlet for messages nave extension
2017-03-01 16:41:09 -05:00
Bianca Nenciu
2c22a7f78b
Fixed typo.
2017-03-01 23:02:29 +02:00
Neil Lalonde
d848916357
FEATURE: Greek language support, thanks to Vasilis Vlachokyriakos
2017-03-01 15:52:55 -05:00
Sam
7895b71817
move to use let, missed a spot
2017-03-01 15:15:36 -05:00
Neil Lalonde
262016604d
FEATURE: each category can control how many topics to show on categories page
2017-03-01 15:12:57 -05:00
Sam
ca951f2cf2
FIX: render custom tag extensions even when tags disabled
2017-03-01 13:38:44 -05:00
Sam
89bd538742
add callback priority to tags html
2017-03-01 12:56:45 -05:00
Blake Erickson
0b81a93020
Merge pull request #4718 from oblakeerickson/email_discourse_backups
...
FEATURE: further restrict downloading of backups
2017-03-01 08:57:44 -07:00
Sam
8c8de1c2d4
FEATURE: addUserMenuGlyph extensibility point
2017-03-01 10:32:01 -05:00
Blake Erickson
80858bae2c
FEATURE: further restrict downloading of backups
...
- send email to logged in admin when they press the "download" button
- show pop-up that email was sent
- create email template
- require a valid token to download backup
2017-03-01 08:28:34 -07:00
cpradio
4c7a21c76e
FEATURE: Autocomplete support on advanced search
...
PERF: Extract autocomplete initialization to a function
PERF: Create a REGEXP_TAGS_REPLACE regex to remove a chained .replace call
FIX: autocomplete positioning
FIX: Collapsing/Expanding Advanced Search doesn't wipe out Advanced Search Terms from search query.
FIX: Populate Category when query/search term is updated
FIX: Using enter to complete autocomplete doesn't automatically send you to full page search
2017-03-01 10:25:49 -05:00
giorgia
d308638a18
create searchResultUserSerializer, display name next to username in search results
2017-03-01 13:11:01 +01:00
Régis Hanol
b20b568039
FIX: allow for empty translated strings
2017-03-01 11:30:44 +01:00
Arpit Jalan
e27b1b98d1
FIX: handle new user when logging name change
2017-03-01 13:43:57 +05:30
Guo Xiang Tan
112ca20c96
Merge pull request #4675 from tgxworld/fix_polls_forever_broken_if_approval_required
...
FIX: Polls permanently broken if post requires approval.
2017-03-01 12:56:03 +08:00
Guo Xiang Tan
76dd6933d2
Revert "Revert "Revert "SECURITY: Ensure oAuth authenticated email is the same as created user's email."""
...
This reverts commit e6d75f6844 .
This is why we should not be pushing directly to master.
2017-03-01 10:16:59 +08:00
Sam
f918951d42
FEATURE: clean up tags extensibility
...
centralizes all logic for topic tag rendering and provides API for extension
2017-02-28 17:08:43 -05:00
Robin Ward
e863d66e33
FIX: Back button was broken after clicking flags in hamburger
2017-02-28 13:53:48 -05:00
Sam
122fb8025d
FIX: last seen date erroneously updated when browser in background
...
In some cases user may be "last seen" even though browser tab is in
the background or computer is locked
2017-02-28 12:35:10 -05:00
Neil Lalonde
292dd8623c
Merge pull request #4622 from dmacjam/master
...
FEATURE: Append tags bulk action for topics
2017-02-28 11:36:58 -05:00
Sam
3ac4709903
FIX: on initial token issue stop unmarking token as unseen
...
prev and current are the same so we need special logic to bypass
2017-02-28 10:38:22 -05:00
Sam
ffd8fa7481
FEATURE: move_to_inbox and archive_message events
2017-02-28 09:56:41 -05:00
Régis Hanol
5738253998
FIX: locale fallback with pluralized strings
2017-02-28 10:02:29 +01:00
Guo Xiang Tan
54577db8a4
Don't assign variable when not required to do so.
2017-02-28 14:14:57 +08:00
Guo Xiang Tan
e6d75f6844
Revert "Revert "SECURITY: Ensure oAuth authenticated email is the same as created user's email.""
...
This reverts commit 0e3def7d2b .
2017-02-28 11:27:14 +08:00
Sam
1e980ad4e6
Merge pull request #4721 from oblakeerickson/sort_admin_users_api
...
FEATURE: Add order logic to admin users controller
2017-02-27 16:13:42 -05:00
Robin Ward
b2b7f4d905
FIX: Query parameters were not being cleared when changing filtering.
2017-02-27 15:49:14 -05:00
Neil Lalonde
cfedbad0e9
FIX: hamburger shouldn't show subcategories if show_subcategory_list is enabled on the parent
2017-02-27 15:34:07 -05:00
Arpit Jalan
6661cebff8
FIX: do not log duplicate username changes
2017-02-28 01:32:00 +05:30
Arpit Jalan
b32d3d66e5
FEATURE: log all username and name changes
2017-02-28 00:23:27 +05:30
Robin Ward
0e3def7d2b
Revert "SECURITY: Ensure oAuth authenticated email is the same as created user's email."
...
This reverts commit 1060239e2d .
2017-02-27 13:19:26 -05:00
Robin Ward
bf9626d031
FIX: Embedding was broken with non-english URLs and ports
2017-02-27 12:17:52 -05:00
Arpit Jalan
877957ae88
Merge pull request #4715 from techAPJ/login-per-ip
...
FEATURE: new site setting for max logins per ip per hour/minute
2017-02-27 18:24:53 +05:30
Arpit Jalan
cba51e1c38
FEATURE: new site setting for max logins per ip per hour/minute
2017-02-27 16:58:03 +05:30
Guo Xiang Tan
0e8c849572
UX: "See more" on not found page should redirect to /top.
2017-02-27 13:33:19 +08:00
Guo Xiang Tan
ac37bd3dbc
FIX: Search menu results does not refresh when search context is changed.
2017-02-27 12:23:41 +08:00
Guo Xiang Tan
758e3e52f7
FIX: Mobile topic timeline broken on Chrome 56.
...
* See https://developers.google.com/web/updates/2017/01/scrolling-intervention .
From Chrome 56 onwards, `touchstart` event listeners are treated as passive
by default which does not call `preventDefault` resulting in the page
scrolling when topic timeline handle is being dragged.
2017-02-27 11:39:57 +08:00
Sam Saffron
7e8f0dc967
FIX: attempt to handle ios edge case where token is seen but unsaved
...
This relaxes our security in the following way
- prev auth token is always accepted as long as rotation
date is within our window of SiteSetting.maximum_session_age.hours
(previously old token expired within a minute of new one being seen)
- new auth token is marked unseen if we are presented with an old token
after we already saw new one
This attempts to fix an issue where ios webkit is not committing new cookies
2017-02-26 17:09:57 -05:00
Blake Erickson
0a41da6bad
FEATURE: Add order logic to admin users controller
...
Added order and direction parameters for sorting admin user pages. This
commit only includes backend api changes.
https://meta.discourse.org/t/make-admin-users-list-sortable-suggestion/47649
Now you can pass in `order` and `asc` parameters to the
`/admin/users/list/<query>.json` endpoint.
Example:
`/admin/users/list/active.json?&order=post_count` which defaults to desc
and
`/admin/users/list/active.json?order=post_count&asc=true`
2017-02-24 17:11:17 -07:00
Régis Hanol
fdf749770b
remove unecessary '.limit(1)'
2017-02-24 12:56:13 +01:00
Régis Hanol
a2c04be718
FIX: eradicate I18n fallback issues 💣
...
FIX: client's translation overrides were not working when the current locale was missing a key
FIX: ExtraLocalesController.show was not properly handling multiple translations
FIX: JsLocaleHelper#output_locale was not properly handling multiple translations
FIX: ExtraLocalesController.show's spec which was randomly failing
FIX: JsLocaleHelper#output_locale was muting cached translations hashes
REFACTOR: move 'enableVerboseLocalization' to the 'localization' initializer
REFACTOR: remove unused I18n.js methods (getFallbacks, localize, parseDate, toTime, strftime, toCurrency, toPercentage)
REFACTOR: remove all I18n.pluralizationRules and instead use MessageFormat's pluralization rules
TEST: add tests for localization initializer
TEST: add tests for I18n.js
2017-02-24 11:31:21 +01:00
Guo Xiang Tan
1060239e2d
SECURITY: Ensure oAuth authenticated email is the same as created user's email.
2017-02-24 13:13:10 +08:00
Guo Xiang Tan
0847b4258a
Revert "SECURITY: Ensure that user has been authenticated."
...
This reverts commit fbe51d68a7 .
Changing the commit message to correctly reflect what we're actually
fixing.
2017-02-24 13:12:29 +08:00
Guo Xiang Tan
fbe51d68a7
SECURITY: Ensure that user has been authenticated.
2017-02-24 10:47:48 +08:00
Sam Saffron
3754b038e8
fix brotli origin
2017-02-23 18:26:40 -05:00
Sam
f15f61da0a
FEATURE: add immutable caching to rails site of things
2017-02-23 13:05:00 -05:00
Jeff Atwood
ad6cb3c638
force all iOS editors to minimum height for compat
2017-02-22 16:56:19 -08:00
Jeff Atwood
22fc761cc3
tweak iOS composer heights a bit
2017-02-22 15:48:39 -08:00
Neil Lalonde
c00ffabac3
search scope checkbox is default checked for your messages too
2017-02-22 17:45:12 -05:00
Neil Lalonde
0551b3f5ee
FEATURE: replace emoji with unicode in title and description meta tags
2017-02-22 16:24:13 -05:00
Sam Saffron
0fc2b64f65
attempt 2 at adjusting class definition so its more easily extensible
2017-02-22 14:18:43 -05:00
Sam Saffron
08d56952df
revert change, it is required
2017-02-22 14:10:55 -05:00
Sam Saffron
d0d60ffa89
make is slightly easier to extend
2017-02-22 14:06:18 -05:00
Neil Lalonde
57784ddf2b
remove unused setting import
2017-02-22 13:05:57 -05:00
Rafael dos Santos Silva
5296f00c28
FEATURE: Allow checking the raw response of a bounced email
2017-02-22 14:51:33 -03:00
Neil Lalonde
00700da6b8
remove null class
2017-02-22 12:23:45 -05:00
Neil Lalonde
53ec4c44f4
FIX: N+1 in topic_list
2017-02-22 12:20:50 -05:00
Neil Lalonde
a702330ccd
FEATURE: make show_subcategory_list a per-category setting
2017-02-22 11:42:36 -05:00
Arpit Jalan
2f657b0e32
FIX: do not refresh staff action logs every time the page is loaded
2017-02-22 17:25:39 +05:30
Arpit Jalan
213a496203
FIX: show all staff events related to the target user
2017-02-22 13:31:40 +05:30
Jeff Atwood
c191e2e84c
more conservative editor heights on iOS
2017-02-21 16:25:46 -08:00
Neil Lalonde
c94fdcea38
FIX: admin dashboard posts count should not include system posts and whispers
2017-02-21 14:45:41 -05:00
Arpit Jalan
c216f59eaa
fix the build
2017-02-22 00:43:37 +05:30
Sam Saffron
ce7c3bfc14
FIX: refresh header if message bus updates topic
2017-02-21 11:43:44 -05:00
Arpit Jalan
046cbad10b
FEATURE: add a button on admin user page that links to action log
2017-02-21 21:38:37 +05:30
Neil Lalonde
b19dfba497
FIX: tag link in breadcrumbs on subfolder installs
2017-02-21 10:41:08 -05:00
Arpit Jalan
068ce19ae2
FEATURE: linked topics should be rendered under posts for crawlers
2017-02-21 12:43:24 +05:30
Neil Lalonde
1dda998a4e
FEATURE: search should default scope to current category or user
2017-02-20 17:02:02 -05:00
Neil Lalonde
476ae57af3
FEATURE: primary group class on avatars in topic list
2017-02-20 15:55:10 -05:00
Jakub Macina
4a2f13348a
ADD: Append tags bulk action for topics
2017-02-20 18:14:32 +01:00
Neil Lalonde
aa2c527c60
Remove "From" from every post in Popular Posts section of summary emails
2017-02-20 11:04:12 -05:00
Régis Hanol
3ce3abef8f
FIX: add Content-Disposition and Content-Type headers when downloading attachments
2017-02-20 15:59:01 +01:00
Régis Hanol
fd62909819
UX: prevent post submission when uploading
2017-02-20 15:12:33 +01:00
Régis Hanol
97116c9276
Merge pull request #4714 from gdpelican/expose-safari-ua
...
Allow access to safari hack applicable function
2017-02-20 14:58:33 +01:00
James Kiesel
7dc0e11360
Rename exported function
2017-02-21 02:53:16 +13:00
Régis Hanol
f51e3b2131
FIX: should not be able to rename a system badge
2017-02-20 14:35:05 +01:00
James Kiesel
ffe41c9ae8
Allow access to safari hack applicable function
2017-02-21 02:32:01 +13:00
Régis Hanol
cb99f59ec3
reset bounce score when email is successfully changed
2017-02-20 10:37:01 +01:00
Victor van Poppelen
b501c3c6c6
desktop/topic.scss: fix responsive width
...
#topic-closing-info max-width fix for responsive issues below 757px
2017-02-19 18:30:19 -08:00
Neil Lalonde
a6ebe495bf
FEATURE: links that can't have no onebox can be used as featured topic links
2017-02-17 18:35:19 -05:00
Robin Ward
bebc55eebd
FIX: Users page wasn't loading more on mobile
2017-02-17 16:36:45 -05:00
Robin Ward
41db9e0d94
FIX: Silence CSS errors in Safari
2017-02-17 16:21:35 -05:00
Sam
1b6a801d35
forgot import
2017-02-17 16:17:44 -05:00
Sam
7d8a11f636
Add header-topic-info:after-tags extension point
2017-02-17 15:59:52 -05:00
Robin Ward
e62c0a42fa
FIX: Support multiple embeddable host records with the same host
2017-02-17 12:41:34 -05:00
Sam
1935f624b8
FEATURE: reset active record cache in sidekiq if needed
...
This can happen in multisite environments after restores
2017-02-17 12:09:53 -05:00
Neil Lalonde
3fb50d587d
FIX: invited users and new TL1 users will see their first notification highlighted
2017-02-17 10:30:29 -05:00
Jeff Atwood
a6dd1a2cd4
onebox last para needs less bottom margin
2017-02-16 15:39:46 -08:00
Neil Lalonde
868c489d5e
FIX: plugin outlets in navigation bar need to be li elements instead of div and span
2017-02-16 15:08:13 -05:00
Neil Lalonde
6bb9c5ceee
remove old code for global username registry
2017-02-16 13:06:37 -05:00
Régis Hanol
269f6e8c30
UX: top referrers headings are not numbers
2017-02-16 15:58:45 +01:00
Jeff Atwood
1444025e9c
remove CSS table layout from user prefs page
2017-02-16 02:01:20 -08:00
Jeff Atwood
e6c6a9e2d3
minor user card spacing tweak
2017-02-16 01:49:29 -08:00
Jeff Atwood
34223dca4e
minor CSS fix for custom user fields on user cards
2017-02-16 01:45:20 -08:00
Jeff Atwood
311b983c59
minor copyedit
2017-02-16 01:31:21 -08:00
Neil Lalonde
3e4dd513c9
show that password is optional on label
2017-02-15 19:59:16 -05:00
Jeff Atwood
f831e92c42
copyedit to improved invite page
2017-02-15 16:11:34 -08:00
Sam Saffron
040e10a627
reduce duplication
2017-02-15 17:27:10 -05:00
Neil Lalonde
4b28bfaa15
Merge pull request #4710 from ento/fix-s3-config-check
...
FIX: admin dashboard shouldn't complain when using IAM profile for S3 access
2017-02-15 17:02:07 -05:00
Neil Lalonde
d0fbb27f3e
FEATURE: new invite acceptance page, where username can be chosen and password can be set
2017-02-15 16:51:57 -05:00
Sam
3818c196e0
remove disallowed params
2017-02-15 16:47:14 -05:00
Sam
023bd0e9e7
FEATURE: allow client side of topic list to accept custom params
...
- Also normalize API version to use a version comparison function instead of float
2017-02-15 16:14:43 -05:00
Sam
74d4209d24
FEATURE: allow plugins to register custom topic list filters
2017-02-15 15:25:43 -05:00
Sam
9c51e3e8e7
amend preloader api to supply topic list
2017-02-15 12:04:02 -05:00
Sam
2c59ffeb2c
FIX: token rotation not accounting for overlapping tokens correctly
...
also... freeze_time has no block form, correct all usages and specs
2017-02-15 10:58:18 -05:00
Marica Odagaki
a9a585f66a
Use && and || consistently so that there's less chance of copy paste errors in the future
2017-02-15 00:25:49 -08:00
Marica Odagaki
3bb1b98b0e
FIX: admin dashboard shouldn't complain when using iam profile for s3 access
...
Previous code wasn't working as intended because it was parsed as
(bad_keys = (access_key or secret_key)) and !use_iam_profile
because of Ruby's operator precedence: `=` binds more eagerly than `and`.
http://ruby-doc.org/core-2.3.1/doc/syntax/precedence_rdoc.html
See also: https://github.com/bbatsov/ruby-style-guide#no-and-or-or
2017-02-15 00:22:14 -08:00
Sam
8409f42352
Add outlet for injecting custom tags
2017-02-14 17:40:13 -05:00
Sam
f2099c3811
adjust API
2017-02-14 16:32:33 -05:00
Sam
89d5e8ab4b
FEATURE: allow plugins to preload data in topic list
2017-02-14 16:29:06 -05:00
Sam
5346cd3514
correct the test
2017-02-14 09:34:39 -05:00
Sam
c52784f9d2
FIX: race condition when marking tokens as seen
...
- in rare conditions can lead to users being logged off
2017-02-14 09:34:09 -05:00
Sam
0ab96a7691
FEATURE: add hidden setting for verbose auth token logging
...
This is only needed to debug auth token issues, will result in lots
of logging
2017-02-13 14:01:09 -05:00
Robin Ward
0e58e393a1
FIX: === and a better constant, thanks @ZogStriP
2017-02-13 13:14:19 -05:00
Robin Ward
9d4405d602
Don't add an empty class to the list elements in the hamburger
2017-02-13 11:28:10 -05:00
Sam
07b9c351a4
Merge pull request #4705 from vinothkannans/dev
...
new: server plugin outlet for indexable robots.txt
2017-02-13 11:18:51 -05:00
Robin Ward
e1d358ffbf
FIX: Don't clear the login hint when the system user is saved
2017-02-13 10:54:20 -05:00
Vinoth Kannan
08c14dd689
new: server plugin outlet for indexable robots.txt
2017-02-13 17:31:10 +05:30
Nicolas
1deec95ccb
Use natural orientation for web app manifest.
...
The `any` orientation forces the rotation even when the device's screen
rotation is disabled. Using `natural` respects that and restores the
expected behaviour.
2017-02-12 18:04:06 +00:00
Jeff Atwood
22c83b0a20
Merge pull request #4700 from gsambrotta/replay-btn-position
...
fix replay btn position on mobile and desktop
2017-02-11 22:21:11 -08:00
Jeff Atwood
3ee7a9266c
Merge pull request #4686 from tgxworld/group_is_visible_if_user_is_group_owner
...
FIX: Show groups that user is owner of on groups page.
2017-02-11 22:18:44 -08:00
Vinoth Kannan
1b43c209eb
'Article' to 'DiscussionForumPosting' schema type
...
topic => https://meta.discourse.org/t/invalid-article-schema/57037
Replacing '[Article](https://schema.org/Article )' schema type with '[DiscussionForumPosting](https://schema.org/DiscussionForumPosting )'
2017-02-11 18:44:40 +05:30
Sam
675cb1c715
FEATURE: allow registrations of custom small action icons via plugins
2017-02-10 12:55:21 -05:00
giorgia
8c6d0ecd64
fix replay btn position on mobile and desktop
2017-02-10 17:11:10 +01:00
Sam Saffron
4332f0dde1
FEATURE: allow user search API to restrict to group
2017-02-09 18:45:39 -05:00
Neil Lalonde
d68dd5b967
Revert "UX: Observe changes to plugin to hide/show plugin admin link without refresh."
2017-02-09 12:11:53 -05:00
Jeff Atwood
77033f4855
simpler twitter onebox CSS that works everywhere
2017-02-08 17:18:53 -08:00
Jeff Atwood
933af0b40e
align onebox twitter date
2017-02-08 17:14:11 -08:00
Jeff Atwood
485c36141c
onebox right padding should not be asymmetric
2017-02-08 17:11:19 -08:00
Jeff Atwood
fe32c64dd9
FIX: twitter onebox styling was poor on mobile
2017-02-08 17:08:40 -08:00
Jeff Atwood
3b4248b454
add primary class to password reset button
2017-02-08 16:11:24 -08:00
Neil Lalonde
e077b3f141
FIX: composer should only feature links to external sites
2017-02-08 15:34:54 -05:00
Neil Lalonde
581d477ff3
add a comment because I can never find the mailing list summary email
2017-02-08 12:13:29 -05:00
Régis Hanol
f07b4b310a
should not have renamed this setting in 460665895c
2017-02-08 18:11:34 +01:00
Sam
53ea8942e8
action to be reserved for assigned plugin
2017-02-08 12:10:16 -05:00
Arpit Jalan
75f154b177
bump onebox
2017-02-08 12:08:41 +05:30
Jeff Atwood
7c9f8cb245
attempt to manually revert PR https://github.com/discourse/discourse/pull/4600
...
I hate that PR with the fire of a thousand suns
2017-02-07 17:15:12 -08:00
Neil Lalonde
a5dfcddc6c
FIX: crawler view of paginated content should have link elements in head for next and previous pages
2017-02-07 16:11:12 -05:00
Sam
f34907b523
Merge pull request #4681 from vietqhoang/feature/add-user-title-to-sso-payload
...
FEATURE: Add user title to SSO payload
2017-02-07 10:25:32 -05:00
Sam
634755113a
Merge branch 'new_user_auth'
2017-02-07 09:23:02 -05:00
Sam
ff49f72ad9
FEATURE: per client user tokens
...
Revamped system for managing authentication tokens.
- Every user has 1 token per client (web browser)
- Tokens are rotated every 10 minutes
New system migrates the old tokens to "legacy" tokens,
so users still remain logged on.
Also introduces weekly job to expire old auth tokens.
2017-02-07 09:22:16 -05:00
Neil Lalonde
ece979efd1
add tags to webcrawler view of a topic in an ItemList
2017-02-06 18:12:48 -05:00
Neil Lalonde
9ec000407f
FIX: tags shouldn't be listed as breadcrumbs in web crawler view
2017-02-06 17:35:54 -05:00
Sam
2dec731da3
SECURITY: correctly validate input when admin searches for screened ips
2017-02-06 16:11:16 -05:00
Neil Lalonde
8643620172
automatically redirect when password reset completes successfully
2017-02-06 15:04:58 -05:00
Arpit Jalan
68653801bc
Merge pull request #4690 from techAPJ/pdf-onebox
...
UX: CSS for pdf onebox
2017-02-07 00:05:57 +05:30
Arpit Jalan
0c0da86e0c
UX: CSS for pdf onebox
2017-02-07 00:04:01 +05:30
Neil Lalonde
e82240fbd9
autofocus password field on password reset page, and remove static password length message
2017-02-06 12:46:02 -05:00
Régis Hanol
84af84dc52
prevent inactive & staged users from being automatically added to a group
2017-02-06 17:49:27 +01:00
Régis Hanol
27fb9c8804
FIX: bounce webhooks should also use recipient address
2017-02-05 19:06:35 +01:00
Robin Ward
f1e7bca3c9
FEATURE: Warn a user when they're replying to the same user too much
2017-02-03 17:00:54 -05:00
Neil Lalonde
c4e10f2a9d
FEATURE: redesign the change password page to use javascript and validations
2017-02-03 16:09:24 -05:00
Robin Ward
b251d11518
FIX: If you make a new banner, clear the old dismissed values
2017-02-03 15:07:38 -05:00
Neil Lalonde
ae671355da
FIX: add /tags routes to robots.txt
2017-02-03 11:57:00 -05:00
Arpit Jalan
5523d0dbf9
fix the build
2017-02-03 15:35:33 +05:30
Arpit Jalan
26ccf61ab1
FIX: sane error message when inviting an existing user
2017-02-03 14:27:27 +05:30
Guo Xiang Tan
61111a3f9b
FIX: Show groups that user is owner of on groups page.
2017-02-03 16:51:32 +08:00
Arpit Jalan
67669c00c5
FIX: incorrect instructions when inviting user to forum
2017-02-03 13:49:07 +05:30
Arpit Jalan
6b8691ecea
Merge pull request #4685 from techAPJ/approve-users-invite-fix
...
FIX: allow existing users to be invited to topic/message when must_approve_users is enabled
2017-02-03 13:22:18 +05:30
Guo Xiang Tan
f9255631e3
FIX: Group owners don't see group owner functions when navigating from user page.
2017-02-03 15:31:47 +08:00
Arpit Jalan
dc2171960b
FIX: allow existing users to be invited to topic/message when must_approve_users is enabled
2017-02-03 13:01:23 +05:30
Guo Xiang Tan
ec73224b5e
PERF: Remove N+1 query when saving a user.
2017-02-03 15:03:33 +08:00
Guo Xiang Tan
7a243e859e
FIX: Search menu widget breaks when context type is null.
2017-02-03 09:38:51 +08:00
Neil Lalonde
b91cb92af0
FIX: reports for time to first reply and topics without replies were counting whispers and moderator actions
2017-02-02 17:27:41 -05:00
Sam
06570f8e5a
UX: less restrictive selector to allow for plugin outlets
...
Currently plugin outlets in LIs will generate a wrapping SPAN,
this makes an allowence in core for nave extenstions (like solved does)
2017-02-02 12:18:03 -05:00
Robin Ward
44f913b9b8
FIX: Incorrect title on admin reports
2017-02-02 10:56:12 -05:00
Guo Xiang Tan
3c28d94706
FIX: Don't configure Redis connector if Redis slave config is not set.
2017-02-02 13:48:55 +08:00
Rafael dos Santos Silva
c34520d384
FIX: eslint was broken
2017-02-02 01:12:49 -02:00
Robin Ward
cef8a0af34
Merge pull request #4657 from gdpelican/reopen-widget
...
Add reopenWidget method
2017-02-01 13:18:55 -05:00
Robin Ward
0f3dabb54c
FIX: Hover text was showing incorrect number
2017-02-01 13:16:32 -05:00
Guo Xiang Tan
18007ed34b
FIX: Can't use an internal name here if SiteSetting.convert_pasted_images_to_hq_jpg is false.
2017-02-01 14:51:56 +08:00
Guo Xiang Tan
f6d9745c5f
Bye bye byebug.
2017-02-01 14:50:14 +08:00
Guo Xiang Tan
6c8c91dca4
UX: Change default filename for images that have been pasted.
2017-02-01 14:44:41 +08:00
Guo Xiang Tan
d449f782a3
Revert "FIX: Don't skip callbacks when rebaking posts."
...
This reverts commit 06c651f8c9 .
If site settings are changed, there is a chance that the post
will fail PostValidator's validations.
2017-02-01 10:52:15 +08:00
Viet Hoang
40164ccd4a
Add user title to SSO payload
2017-01-31 16:42:27 -08:00
James Kiesel
816a030f78
Bump plugin api to 0.7
2017-02-01 11:05:47 +13:00
Guo Xiang Tan
0f2de4863b
Make Eslint happy.
2017-01-31 10:45:04 +08:00
Guo Xiang Tan
058df4329d
FIX: Escape escape regexp characters.
2017-01-31 10:39:45 +08:00
Robin Ward
d4bbdcd7d6
Raise an error if a widget doesn't have a key but uses state
2017-01-30 12:02:55 -05:00
Arpit Jalan
19f7beaa2c
FIX: topic links were getting dropped when post is rebaked
2017-01-30 14:55:53 +05:30
Robin Ward
e3670c52fa
FIX: Don't route to a weird blank page when public profiles are disabled
2017-01-27 12:45:40 -05:00
Guo Xiang Tan
881986636c
Fix "saving" message not dismissing when editing posts.
2017-01-27 21:30:28 +08:00
Leo McArdle
c76f6856ea
FEATURE: reply as new message to the same recipients
2017-01-27 12:24:31 +08:00
Guo Xiang Tan
c01cee4aa6
PERF: N+1 query when saving a user.
2017-01-27 10:53:42 +08:00
Guo Xiang Tan
156a00af47
UX: Show edit button on post revision modal as long as user can edit.
2017-01-27 10:49:17 +08:00
Neil Lalonde
396526621b
FIX: reply buttons and tooltips untranslated in all languages
2017-01-26 16:45:40 -05:00
Neil Lalonde
0e8808fbe8
FIX: bulk change tags works with category tag settings
2017-01-26 16:36:53 -05:00
Neil Lalonde
6e47e02738
FIX: edit category modal throws EmberError when allowed tag groups is set
2017-01-26 15:32:24 -05:00
Rafael dos Santos Silva
60f30aa6ad
UX: Remove 'no thanks' from remind tomorrow CTA
2017-01-26 17:47:52 -02:00
Sam
06638c78e7
Merge pull request #4617 from claygriffiths/trailingslash-message-bus
...
Fix: Forced trailing slash on messageBus.baseUrl
2017-01-26 12:03:06 -05:00
Robin Ward
496682c442
Merge pull request #4662 from tgxworld/fix_localized_group_name_change
...
Fix localized group name change
2017-01-26 10:50:00 -05:00
Robin Ward
a7ba69075b
Merge pull request #4667 from joebuhlig/user-nav-plugin-outlet
...
FEATURE: Add user-main-nav plugin outlet
2017-01-26 10:48:24 -05:00
Régis Hanol
810176be5b
Merge branch 'master' into master
2017-01-26 10:56:25 +01:00
Jeff Atwood
43a8a7c812
de-emphasize display mode buttons on revision view
2017-01-26 00:02:19 -08:00
Guo Xiang Tan
ee7c7c347a
Merge pull request #4673 from tgxworld/edit_post_button_wiki_post_revision
...
Add edit post button to post revision modal for wiki-ed posts.
2017-01-26 13:33:55 +08:00
Guo Xiang Tan
bed11dfa0e
FIX: Polls permanently broken if post requires approval.
2017-01-26 13:29:43 +08:00
Arpit Jalan
9dd09e453b
FEATURE: add explicit confirmation button to accept the invite
2017-01-25 15:50:30 +05:30
Guo Xiang Tan
06c651f8c9
FIX: Don't skip callbacks when rebaking posts.
2017-01-25 17:47:13 +08:00
Guo Xiang Tan
ee396edd9c
Add edit post button to post revision modal for wiki-ed posts.
2017-01-25 14:36:00 +08:00
Guo Xiang Tan
781d83a46f
FIX: Toggling a post's wiki status should not skip revision.
2017-01-25 13:34:55 +08:00
Guo Xiang Tan
efc21366ae
FIX: Incorrect parameter being passed to component.
2017-01-25 13:12:38 +08:00
Guo Xiang Tan
0a25df67bc
Revert "FIX: Incorrect parameter being passed to component."
...
This reverts commit d354a6f7a4 .
2017-01-25 13:12:24 +08:00
Guo Xiang Tan
d354a6f7a4
FIX: Incorrect parameter being passed to component.
2017-01-25 13:09:08 +08:00
Neil Lalonde
ff508ed75f
UX: red notification of flags or pending approvals opens hamburger menu instead of linking to flags page
2017-01-23 14:34:06 -05:00
Régis Hanol
7e52d29a5b
Merge pull request #4643 from LeoMcA/fix-pull-img
...
FIX: Handle img src starting with "//" in pull_hotlinked_images job
2017-01-23 17:56:53 +01:00
Joe Buhlig
60c2787e64
FEATURE: Add user-main-nav plugin outlet
2017-01-20 07:15:07 -06:00
Guo Xiang Tan
32846aad2a
FIX: Toggling post's wiki status should not create a new version.
2017-01-20 15:42:33 +08:00
Neil Lalonde
6b93b09404
FIX: when blocking a user results in hiding their posts, only hide posts made in the last 24 hours
2017-01-19 15:56:22 -05:00
Leo McArdle
e4ad88019b
add category-navigation plugin outlet
2017-01-19 17:35:22 +00:00
Arpit Jalan
0791c2c966
FIX: sso_overrides_avatar should override previously set avatar
2017-01-19 10:52:24 +05:30
Neil Lalonde
61d4c1203e
FEATURE: group avatar flair shows on topic participants list, and participant avatars can have custom styles
2017-01-18 11:38:00 -05:00
Jeff Atwood
095ec9cf63
minor css change to user page
2017-01-18 01:11:49 -08:00
Guo Xiang Tan
706b4f6b9f
FEATURE: Remap group mentions when group name has been changed.
2017-01-18 13:39:34 +08:00
Guo Xiang Tan
59dfb51a35
FIX: Don't change automatic group name if localized name has been taken.
2017-01-18 12:20:23 +08:00
Neil Lalonde
bfc52a8e6f
FIX: long titles need a max-width in composer when replying on desktop view
2017-01-17 15:14:58 -05:00
Robin Ward
0c71e37aab
Merge pull request #4660 from ryantm/serversideonly
...
add more SERVER_SIDE_ONLY routes; use pathname in matching
2017-01-17 13:55:40 -05:00
Ryan Mulligan
f641655f1b
add more SERVER_SIDE_ONLY routes; use pathname in matching
2017-01-17 09:51:39 -08:00
Robin Ward
11641fb3cd
Whitelist the alternative raw url
2017-01-17 11:11:27 -05:00
Guo Xiang Tan
fc52624aac
Fix undefined attrs.
2017-01-17 16:31:57 +08:00
Guo Xiang Tan
ee58c4cd94
FIX: Don't close search menu on link clicked when context is enabled.
2017-01-17 12:35:48 +08:00
Guo Xiang Tan
de6ca4f736
FIX: Pressing enter when searchContext is enabled should just trigger a search.
2017-01-17 11:01:33 +08:00
Guo Xiang Tan
c76ee788a7
Merge pull request #4656 from tgxworld/dont_display_an_extra_button_for_wiki_post
...
UX: Display wiki icon on post edits indicator.
2017-01-17 06:34:43 +08:00
Guo Xiang Tan
17da0bd11f
UX: Display wiki icon on post edits indicator.
2017-01-17 06:33:58 +08:00
Neil Lalonde
60a9030d25
UX: don't show search and hamburger menus to anon visitors on login-required sites
2017-01-16 16:33:14 -05:00
James Kiesel
1d8882a1dd
oops semicolons
2017-01-17 08:20:57 +13:00
James Kiesel
646b49e5ae
Expose reopenWidget through plugin api
2017-01-17 08:19:29 +13:00
Régis Hanol
fbf9172db8
FIX: log backups download/destroy staff action
...
FIX: clean up junk left by the specs
RENAME: 'backup_operation' to 'backup_create' to match other backup log types
2017-01-16 19:53:31 +01:00
Rafael dos Santos Silva
116e74325a
FIX: Topic Status should display on categories and topic view
2017-01-16 15:04:33 -02:00
Robin Ward
5f7a33efe5
FIX: [object Object] when hovering over view count
2017-01-16 12:02:32 -05:00
Robin Ward
3db3ee65b7
UX: Make it easier for plugins to add stuff before topics on the list
2017-01-16 11:53:09 -05:00
Robin Ward
86c52c72f6
FIX: Deleting a user was not deleting their directory items
2017-01-16 11:46:52 -05:00
James Kiesel
513f570936
Add reopenWidget method
2017-01-17 00:39:23 +13:00
Leo McArdle
b60e9b7330
FIX: Handle img src starting with "//" in pull_hotlinked_images job
2017-01-16 10:50:07 +00:00
Guo Xiang Tan
63954c1b33
FIX: Same user record being saved twice causing validation to fail.
2017-01-16 16:41:03 +08:00
Guo Xiang Tan
e3b6f9b8ae
FIX: Do not update user stats like counts for private messages.
2017-01-16 11:07:53 +08:00
Guo Xiang Tan
ed5fa20b0c
Revert "FIX: error during signup saying "Password is the same as your current password" due to automatic group membership granting a trust level"
...
This reverts commit 9c40657ba4 .
Calling this whenever a user is initialize is hurting us bad
on performance.
2017-01-16 09:44:10 +08:00
Jeff Atwood
56abe065bc
tighten header margin on onebox
2017-01-14 22:11:46 -08:00
cpradio
d0a3dc10d8
FIX: RSS Language should use a dash/hypen instead of underscore
2017-01-14 14:24:21 -05:00
Robin Ward
5f08630c27
Update topic status to use more ES6 features, clean up
2017-01-13 15:49:31 -05:00
Neil Lalonde
e8307ac24c
FIX: mailing list mode digest emails included whispers
2017-01-13 13:46:33 -05:00
Robin Ward
adb73180f7
FEATURE: Let plugins register themes easily
2017-01-13 11:50:52 -05:00
Guo Xiang Tan
0f574f641e
UX: Truncate topic link title/URL on desktop to prevent overflow.
2017-01-12 12:24:39 +08:00
Guo Xiang Tan
515f50e42e
FEATURE: Log admin action when readonly mode is changed.
2017-01-12 09:41:02 +08:00
Jeff Atwood
240c4870cf
FIX: add noopener to website field in user profile
2017-01-11 15:38:37 -08:00
Régis Hanol
887e9af84f
FEATURE: new 'max_image_megapixels' site setting
2017-01-11 23:37:12 +01:00
Robin Ward
6c3426d266
Let's not notify for trust levels on Staff, either
2017-01-11 11:25:04 -05:00
Arpit Jalan
e793caf3e3
FIX: only allow CSV file to be uploaded for bulk invite
2017-01-11 16:26:01 +05:30
Guo Xiang Tan
d6bf5b0e78
Use any orientation for web app manifest.
2017-01-11 17:32:24 +08:00
Guo Xiang Tan
1758af9a1d
FIX: Perform emoji unescape for topic titles in quotes.
2017-01-11 17:23:13 +08:00
Guo Xiang Tan
cdd550e947
Use a different Redis key when PG failover sets site to readonly mode.
2017-01-11 16:38:49 +08:00
Guo Xiang Tan
77045eb1f1
Merge pull request #4644 from olach/tab-size
...
Display tabs with smaller widths for code blocks
2017-01-11 14:49:16 +08:00
Neil Lalonde
98bd58df61
Don't show email of deleted users in staff action logs
2017-01-10 17:25:36 -05:00
Neil Lalonde
fc0a0a76a4
Add more info in staff action logs for blocking a user, and add logging for lock trust level, activate, and deactive user
2017-01-10 17:25:36 -05:00
Robin Ward
7341b0d03c
Don't give notifications to admins for trust level notifications
2017-01-10 12:18:48 -05:00
Ola Christensson
82fab2343f
Display tabs with smaller widths for code blocks
...
The default browser behavior is a tab width of 8 characters. This changes the width to 4 characters.
2017-01-10 10:06:53 +01:00
Robin Ward
b60bc47a4c
Plugins can register providers for global settings
2017-01-09 17:18:58 -05:00
Neil Lalonde
d9146de080
FIX: an image can be shown twice in summary emails
2017-01-09 13:27:43 -05:00
Guo Xiang Tan
3d21ccd4a5
FIX: Add validation to disallow censored words in topic title.
2017-01-09 16:55:41 +08:00
Guo Xiang Tan
cbc6aee137
UX: Display large numbers with delimiters.
2017-01-09 15:56:02 +08:00
Guo Xiang Tan
aa9ac0d8b2
Make eslint happy.
2017-01-09 13:59:00 +08:00
Guo Xiang Tan
fed7218deb
UX: Observe changes to plugin to hide/show plugin admin link without refresh.
2017-01-09 13:56:15 +08:00
Guo Xiang Tan
e721e31699
FIX: Login modal on mobile does not submit on enter.
2017-01-09 13:20:53 +08:00
Guo Xiang Tan
98df6db0eb
FIX: Respect site setting to hide username in mailing list summary.
2017-01-09 12:18:30 +08:00
Guo Xiang Tan
4a7d6ea751
Make eslint happy.
2017-01-09 11:24:55 +08:00
Guo Xiang Tan
c260a4e34d
FIX: Can't add categories when creating a new web hook.
2017-01-09 11:22:35 +08:00
Arpit Jalan
c834d591a3
use Ember.set() to set the dasherized_name property
2017-01-06 23:13:31 +05:30
Robin Ward
1b92d44fb2
FIX: A component referenced the controller
2017-01-06 10:45:48 -05:00
Guo Xiang Tan
389e1d0bd5
Add acceptance JS tests for group membership button.
2017-01-06 11:56:10 +08:00
Guo Xiang Tan
a4e7657bbf
FIX: Missing action to show login modal on group page.
2017-01-06 11:40:32 +08:00
Guo Xiang Tan
68300f515c
FIX: Return 404 if id is not valid.
2017-01-06 10:39:44 +08:00
Guo Xiang Tan
d10fe51b72
Fix broken specs since all urls will be oneboxed.
2017-01-06 10:05:51 +08:00
Neil Lalonde
685e6bdbab
FIX: tags canonical url can raise error or be wrong
2017-01-05 15:17:23 -05:00
Robin Ward
7c8095294d
FIX: Raw plugin outlets were broken
2017-01-05 11:38:57 -05:00
Claas Augner
bec10ada2a
Remove unused email templates from controller
2017-01-05 15:31:14 +01:00
Arpit Jalan
6d26e348b6
FIX: 'add permalink' feature was broken
2017-01-05 18:50:17 +05:30
Régis Hanol
937ea5e9c3
Merge pull request #4636 from caugner/fix-translate-titles-of-email-templates
...
FIX: Translate titles of email templates
2017-01-05 09:48:12 +01:00
Régis Hanol
caf704068c
Merge pull request #4635 from caugner/fix-add-emoji-custom-class
...
FIX: Add emoji-custom class in custom emojis list.
2017-01-05 09:47:30 +01:00
Régis Hanol
6f396a0881
Merge pull request #4637 from caugner/ux-add-icon-for-bookmarks-report
...
UX: Add icon for bookmarks report
2017-01-05 09:47:05 +01:00
Arpit Jalan
7a1ff59822
FIX: PM email to suspended member was broken
2017-01-05 13:58:14 +05:30
Claas Augner
9710b04c31
UX: Add icon for bookmarks report
2017-01-05 02:07:38 +01:00
Claas Augner
ad86d4a3e3
FIX: Translate titles of email templates
2017-01-05 01:26:38 +01:00
Claas Augner
2c723f8323
FIX: Add emoji-custom class in custom emojis list.
2017-01-04 23:54:03 +01:00
Robin Ward
846cd523b6
FIX: Broken plugin outlet
2017-01-04 11:52:19 -05:00
Régis Hanol
cbcb9363f4
fix the build
2017-01-04 14:23:21 +01:00
Guo Xiang Tan
5098baee2f
FIX: Undefined variable.
2017-01-04 17:37:23 +08:00
Guo Xiang Tan
43d950f813
FIX CSS for autocomplete.
2017-01-04 12:37:02 +08:00
Guo Xiang Tan
43671b1fda
UX: Display group fullname in mention autocomplete.
2017-01-04 11:40:14 +08:00
Jeff Atwood
878af4c8b1
add tiny bit of space to email summary
2017-01-03 15:45:29 -08:00
Jeff Atwood
4e44845714
de-emphasize onebox URL field with color
2017-01-03 14:08:56 -08:00
Jeff Atwood
b58a6804c2
reduce font size on mobile prog expansion
2017-01-03 11:17:12 -08:00
Neil Lalonde
9c79bf1865
FIX: .bullet + .topic-header-extra pixel perfect vertical alignment
2017-01-03 14:00:14 -05:00
Rafael dos Santos Silva
d3fb724578
Merge pull request #4632 from xfalcox/native-app-banner
...
FEATURE: Opt-in native Discourse app install banner
2017-01-03 16:32:24 -02:00
Robin Ward
1bf912f3ac
FIX: Back button was not working in long topics with many deleted
2017-01-03 13:17:11 -05:00
Rafael dos Santos Silva
d7c8c2d5e3
FEATURE: Opt-in native Discourse app install banner on Android/iOS
2017-01-03 15:50:45 -02:00
Robin Ward
bee8425055
FIX: Don't reply as new topic when quoting a closed topic
2017-01-03 11:49:20 -05:00
Neil Lalonde
b72014423e
FIX: summary email wrong background colour above popular posts
2017-01-03 11:05:54 -05:00
Arpit Jalan
615fd2eb87
UX: sane max-height for onebox images
2017-01-03 21:06:49 +05:30
Guo Xiang Tan
a9a0e626db
FIX: Group page tabs not displaying for normal users.
2017-01-03 17:56:13 +08:00
Guo Xiang Tan
ad4a96d387
FIX: Only send membership request to the last 5 active group owners.
2017-01-03 15:33:57 +08:00
Guo Xiang Tan
7ce4bc2e90
UX: Show spinning icon while group members load.
2017-01-03 14:58:14 +08:00
Guo Xiang Tan
3aed15c99e
FIX: Group membership button now showing properly.
2017-01-03 14:36:56 +08:00
Guo Xiang Tan
761d524024
Merge pull request #4602 from tgxworld/fix_likes_being_quoted
...
FIX: Only quote `.cooked` text.
2017-01-03 14:02:21 +08:00
Guo Xiang Tan
8a4e9c1940
Merge pull request #4633 from xfalcox/resize-emoji-full-path
...
FIX: Use full path for emoji resize job
2017-01-03 14:00:00 +08:00
Guo Xiang Tan
980cea7081
FIX: Add length validation for User#name.
2017-01-03 13:42:33 +08:00
Guo Xiang Tan
1cf0401e26
Allow option to not include title on emoji images.
2017-01-03 11:07:55 +08:00
Guo Xiang Tan
ecb1078343
FIX: user-card-post-names outlet should be a div.
2017-01-03 10:39:41 +08:00
Guo Xiang Tan
40deef32e3
UX: Automatic width for fontawesome icons on groups page.
2017-01-03 10:07:59 +08:00
Jeff Atwood
bbb3217f6a
add opacity to quote button
2017-01-02 14:17:09 -08:00
Rafael dos Santos Silva
9ee67ad89c
FIX: Use full path for emoji resize job
2017-01-02 13:34:32 -02:00
Régis Hanol
c4552ef8c1
slightly shorter regexp for OptimizedImage.safe_path?
2017-01-02 16:28:14 +01:00
Régis Hanol
d8be3e8bb1
UX: ensure we only allow images when uploading an avatar, user card background, etc...
2017-01-02 11:37:56 +01:00
Jeff Atwood
5db57abd7f
fix onebox header misalignment issue
2017-01-02 02:22:57 -08:00
Jeff Atwood
cd5130258d
minor tweaks to mobile progress bar overlay
2017-01-02 02:06:26 -08:00
Neil Lalonde
225e6703ba
FIX: summary shows 0 new topics even though it shows some topics
2016-12-30 15:18:13 -05:00
Robin Ward
32301f4620
FIX: Forgot Password route was broken
2016-12-30 12:47:04 -05:00
Robin Ward
da76dd3d6b
REFACTOR: Cleaner quoteButton object, and some bug fixes
2016-12-30 12:14:56 -05:00
Neil Lalonde
477b237e45
FIX: use 'other' instead of 'many' for Ukrainian pluralization until translations are fixed
2016-12-30 11:49:25 -05:00
Guo Xiang Tan
c8553315b4
UX: Add min-width to .select2-container.
2016-12-30 14:38:53 +08:00
Guo Xiang Tan
dbd0fcc86d
UX: Add border to .modal-header on mobile.
2016-12-30 13:58:37 +08:00
Guo Xiang Tan
f1beef43a8
Merge pull request #4618 from tgxworld/fix_invalid_emails
...
FIX: Don't allow invalid email to be saved.
2016-12-30 07:11:48 +08:00
Neil Lalonde
0f484e11fe
FIX: Popular Posts heading in summary emails was a different style than other headings
2016-12-29 15:33:53 -05:00
Neil Lalonde
0105a406d4
FIX: spacing and alignment of title, category, tags, and featured links in topic page heading on mobile and desktop
2016-12-29 14:59:30 -05:00
Neil Lalonde
9fad338650
FIX: tags weren't showing on /top
2016-12-29 14:07:33 -05:00
Robin Ward
61584f6c0c
UX: Improve composer heights in some resolutions
2016-12-29 12:51:57 -05:00
Arpit Jalan
a1f0375f1c
FIX: correct route for updating user title
2016-12-29 23:07:57 +05:30
Régis Hanol
1debf98d61
Merge pull request #4629 from caugner/fix-user-index-translate-boolean-values
...
FIX: Translate all boolean values in user index
2016-12-29 14:46:45 +01:00
Régis Hanol
f71040dc23
Merge pull request #4630 from caugner/feature-preserve-cursor-in-editor-upload
...
FEATURE: Preserve cursor in editor upload
2016-12-29 14:46:10 +01:00
Claas Augner
2e9bbccea9
Move cursor/selection algo to lib/utilities.
2016-12-29 10:16:17 +01:00
Claas Augner
43c1dd82f6
Add cursor tests, fix algorithm and extract method.
2016-12-29 09:54:15 +01:00
Guo Xiang Tan
7d307d6f29
Fix incorrect site setting.
2016-12-29 14:03:47 +08:00
Guo Xiang Tan
a481bf048f
FIX: Incorrect membership action buttons shown for non logged in users.
2016-12-29 12:51:36 +08:00
Guo Xiang Tan
3c4920d234
FIX: Group admin tabs showing for non logged in users.
2016-12-29 11:52:07 +08:00
Guo Xiang Tan
2165d0241e
FIX: Only quote .cooked text.
2016-12-29 11:33:36 +08:00
Neil Lalonde
9c40657ba4
FIX: error during signup saying "Password is the same as your current password" due to automatic group membership granting a trust level
2016-12-28 17:36:04 -05:00
Claas Augner
ba2db48dbb
Fix refactoring artifacts.
2016-12-28 22:37:07 +01:00
Claas Augner
1a5fcb72d3
FEATURE: Preserve cursor in editor upload
2016-12-28 22:24:52 +01:00
Neil Lalonde
67347432b7
Remove unread counts from last section of summary email, and rename it "New for you"
2016-12-28 14:06:01 -05:00
Neil Lalonde
f3b4a889b2
FIX: remove extra space to the right of avatars in summary emails
2016-12-28 13:56:46 -05:00
Neil Lalonde
a82182e1e3
FIX: error when trying to create new tag groups
2016-12-28 12:42:51 -05:00
Robin Ward
1ffbd9b4f6
UX: Don't show back button on fullscreen timeline
2016-12-28 12:29:24 -05:00
Robin Ward
471bb5ff61
UX: Back button was no longer centred properly.
2016-12-28 12:24:17 -05:00
Robin Ward
7c32b03364
UX: Try "bouncing" the back button in on progress widget
2016-12-28 11:39:08 -05:00
Robin Ward
a297d7598b
UX: Better style for back button
2016-12-28 11:22:33 -05:00
Robin Ward
7515f4eec2
Merge pull request #4621 from kgish/master
...
Toolbar action replaceText
2016-12-28 10:57:13 -05:00
Claas Augner
e17bd6174c
Extract helper i18n-yes-no.
2016-12-28 11:45:41 +01:00
Robin Ward
5111611749
UX: Add a down arrow to the back button on the timeline
2016-12-27 17:21:27 -05:00
Robin Ward
889efe48be
FIX: Customization templates were not working with Glimmer2
2016-12-27 12:17:30 -05:00
Robin Ward
3786d3679c
FIX: Always return the latest API version requested
2016-12-27 11:57:46 -05:00
Robin Ward
98eac4924c
FIX: If an audio file is playing, don't cloak it
2016-12-27 11:38:14 -05:00
Robin Ward
732d0ad030
FIX: Find the closest post to jump to if deleted
2016-12-27 10:52:37 -05:00
Robin Ward
ee0c41b53a
FIX: We can show the back button near the bottom
2016-12-27 10:21:30 -05:00
Claas Augner
8760f13c77
FIX: Translate all boolean values in user index
2016-12-27 11:16:30 +01:00
Arpit Jalan
d72cbcb2a4
FEATURE: new setting to validate user website
2016-12-26 21:29:27 +05:30
Robin Ward
27e348c6b4
FIX: if args change a connector should update
2016-12-23 12:07:18 -05:00
Kiffin Gish
57284495de
Toolbar action replaceText
...
Should be possible to replace the current contents with some other text.
2016-12-23 12:43:53 +01:00
Angus McLeod
6f0a937fa1
Resolve raw templates in 'javascripts/mobile' and 'javascripts' on mobile
2016-12-22 18:13:26 -05:00
Robin Ward
46f2a11a80
UX: Don't dock back button while dragging
2016-12-22 12:48:02 -05:00
Robin Ward
681f246df8
UX: Show post count in jump to post modal
2016-12-22 12:34:42 -05:00
Robin Ward
962c32edf5
Merge pull request #4597 from ibnesayeed/urdu-support
...
RTL direction assigned to Urdu language
2016-12-22 11:39:44 -05:00
Robin Ward
b9fc9dc9fc
FIX: Routing to default homepage with query params was broken
2016-12-22 11:37:17 -05:00
Guo Xiang Tan
5aee2673c7
FIX: Push null fields to last when sorting group members.
2016-12-22 14:55:24 +08:00
Guo Xiang Tan
5605700fa9
UX: Sort groups by name.
2016-12-22 14:46:20 +08:00
Guo Xiang Tan
6955c39c68
UX: Fix width on avatar flair.
2016-12-22 14:30:49 +08:00
Guo Xiang Tan
8551d821a0
FEATURE: Add site setting to disable group directory.
2016-12-22 14:14:22 +08:00
Sam
c531f4ded5
remove rails-observers
...
Rails yanked out observers many many years ago, instead the functionality
was yanked out to a gem that is very lightly maintained.
For example: if we want to upgrade to rails 5 there is no published gem
Internally the usage of observers had quite a few problem.
The series of refactors renamed a bunch of classes to give us more clarity
and removed some magic.
2016-12-22 16:46:53 +11:00
Sam
019f1a1d06
UserEmailObserver is now removed
...
no big surprises here was pretty straightforward
after_commit semantics sure are weird though
2016-12-22 16:46:53 +11:00
Sam
2f6a4cc6de
remove UserActionObserver, replace with after_save and service
...
interestingly there was some left over dead code from when stars
existed in the topic_users table
2016-12-22 16:46:53 +11:00
Guo Xiang Tan
96c70c74a1
Merge pull request #4619 from tgxworld/group_page_design
...
UX: Redesign group page to follow user page.
2016-12-22 13:42:28 +08:00
Guo Xiang Tan
a5fead3857
UX: Redesign group page to follow user page.
2016-12-22 13:08:59 +08:00
Sam
0a78ae739d
Remove SearchObserver, aim is to remove all observers
...
rails-observers gem is mostly unmaintained and is a pain to carry forward
new implementation contains significantly less magic as a bonus
2016-12-22 13:13:14 +11:00
Robin Ward
31cda7b372
FIX: Can't seem to use ES6 in this file
2016-12-21 16:50:57 -05:00
Robin Ward
89bdca9c8c
FIX: Backwards compatibility for controller in raw templates
2016-12-21 16:38:57 -05:00
Robin Ward
1463e9ae46
FIX: Couldn't resolve raw customization
2016-12-21 16:19:04 -05:00
Neil Lalonde
eb23a8c173
FIX: when changing category, watch for pasted link in title field
2016-12-21 14:57:12 -05:00
Robin Ward
e85904b98f
FIX: Clamp last read position to height of the widget
2016-12-21 14:24:15 -05:00
Neil Lalonde
783490f763
FIX: with featured links enabled and uncategorized topic not allowed, allow featued links behaviour before choosing a category
2016-12-21 13:40:05 -05:00
Neil Lalonde
b5cc6851cf
FIX: tag chooser input was navigating to tag pgaes on some mobile browsers
2016-12-21 12:01:53 -05:00
Robin Ward
44ddc113e7
FIX: Couldn't route to the default route with a query param
2016-12-21 11:18:22 -05:00
Robin Ward
ca20560d1f
FIX: Should use RAW_TEMPLATES scope for header customizations
2016-12-21 10:54:23 -05:00
Guo Xiang Tan
c897e5599a
FIX: Group mobile nav not updating.
2016-12-21 21:16:52 +08:00
Guo Xiang Tan
a37a6f57d9
FIX: Automatic groups should be editable via groups page.
2016-12-21 21:11:49 +08:00
Guo Xiang Tan
5e75d5c1bf
PERF: N+1 query on groups page.
2016-12-21 20:59:09 +08:00
Guo Xiang Tan
076a08d8e1
FIX: Unactivated users should not be automatically added into groups as well.
2016-12-21 18:15:01 +08:00
Guo Xiang Tan
7228081820
FIX: Automatic group membership should not add staged or unactivated users.
2016-12-21 18:04:26 +08:00
Guo Xiang Tan
13c6191e89
FIX: Don't allow invalid email to be saved.
2016-12-21 17:47:11 +08:00
Guo Xiang Tan
5d7f3223f0
SECURITY: Users can only bookmark posts which they can see.
2016-12-21 12:01:26 +08:00
Robin Ward
1821a0933d
FIX: Missing CSS for back button on progress component
2016-12-20 16:01:15 -05:00
Neil Lalonde
c75bebdea2
FIX: uncategorized setting to control whether topic featured links are allowed
2016-12-20 15:55:30 -05:00
Robin Ward
1cbe355c5b
FIX: Timeline back button was docking too aggressively
2016-12-20 13:32:54 -05:00
Robin Ward
f0f5fbf132
FIX: Never show the last read marker within 1 post of the last
2016-12-20 13:22:22 -05:00
Robin Ward
1be800b673
FIX: Prioritize raw template overrides from plugins
2016-12-20 13:07:09 -05:00
Neil Lalonde
158670ca5e
FIX: if categories page is default, redirect to Top was never working
2016-12-20 12:06:58 -05:00
Robin Ward
da4e27ca7d
FIX: Allow resolution of javascripts prefixed raw templates
2016-12-20 11:53:43 -05:00
Robin Ward
16b236899c
FIX: custom-html tag had broken information
2016-12-20 11:49:30 -05:00
Régis Hanol
c302ffe08f
FIX: buttons in user admin page weren't working
2016-12-20 12:26:53 +01:00
Régis Hanol
3c3008fec3
FIX: clicking 'Show Email' on admin page wasn't working
2016-12-20 11:35:13 +01:00
Régis Hanol
bf9e59eda9
FIX: add option for the oneboxer to be synchronous
2016-12-20 11:18:03 +01:00
Guo Xiang Tan
6461021046
FIX: Only show membership status on index page.
2016-12-20 15:50:12 +08:00
Guo Xiang Tan
9db5d5b6a7
FIX: Incorrect serializer for groups page.
2016-12-20 15:44:22 +08:00
Guo Xiang Tan
7c7c233c1c
FIX: Can't update Groups#allow_membership_requests in admin.
2016-12-20 15:14:35 +08:00
Guo Xiang Tan
c15bf62b43
FIX: Display empty message when no groups can be shown.
2016-12-20 14:47:39 +08:00
Guo Xiang Tan
502e114c60
FIX: Incorrect count when loading more groups.
2016-12-20 14:39:44 +08:00
Guo Xiang Tan
193f8301a4
FIX: Do not show automatic groups to normal users.
2016-12-20 14:26:49 +08:00
Guo Xiang Tan
375f3feeb8
FIX: Topic featured links not getting oneboxed immediately.
2016-12-20 10:27:12 +08:00
Régis Hanol
52cd9972bb
FIX: prevent DDoS with lots of _oneboxable_ links
...
FIX: ensure the onebox route is only allowed to logged in users
FIX: only allow 1 outgoing onebox preview per user
FIX: client should only do 1 preview at a time
2016-12-20 00:31:10 +01:00
Sam
6965079108
Merge pull request #4606 from mabras/fix_arabic_pluralization
...
Fix Arabic Pluralization Rules for Client
2016-12-20 09:17:59 +11:00
Robin Ward
8757ae3b92
FIX: The docked back button didn't work so well on iPad / short topics
2016-12-19 17:16:42 -05:00
Sam
2b808ad9da
Merge pull request #4609 from joebuhlig/category-topics-wiki
...
FEATURE: Category setting to make all topics wikis
2016-12-20 09:15:51 +11:00
Neil Lalonde
a65281d5ea
FIX: better support for featured link topics in summary emails
2016-12-19 17:05:49 -05:00
Clay Griffiths
d15bfc9880
Forced trailing slash on messageBus.baseUrl
2016-12-19 14:34:19 -07:00
Neil Lalonde
3256620d5d
FIX: some blank topics and posts in summary email because they're images
2016-12-19 16:21:31 -05:00
Neil Lalonde
74956694e5
If summary email finds no topics, show topics more than 1 day old from new users
2016-12-19 14:54:08 -05:00
Neil Lalonde
923cf73c6e
Topic Featured Links: move data from custom fields to topics and categories tables. Invert behaviour of topic_featured_link_allowed checkbox. Fix a bug with invalid topic records due to changing that category checkbox.
2016-12-19 14:54:07 -05:00
Robin Ward
4dcb29acbf
UX: Show Back button above mobile progress widget
2016-12-19 14:06:19 -05:00
Robin Ward
36449aa2f2
UX: Docking back button on topic timeline
2016-12-19 13:33:55 -05:00
Robin Ward
05e99a68ce
FIX: Refresh header if topic details are updated
2016-12-19 12:25:28 -05:00
Robin Ward
e03d5e2140
Reapply Ember 2.10 for good this time!
...
This reverts commit ddd299f4aa .
2016-12-19 11:19:10 -05:00
Joe Buhlig
87251fded7
FEATURE: Category setting to make all topics wikis
...
FEATURE: Category setting to make all topics wikis
2016-12-19 06:42:18 -06:00
Guo Xiang Tan
18c8323987
FIX: Incorrect path for redirect.
2016-12-19 18:12:15 +08:00
Sam
e0ff57ca75
SECURITY: prevent reuse of password reset
2016-12-19 18:00:22 +11:00
Sam
eb2db23b40
FEATURE: remove email_token_grace_period_hours
...
The site setting email_token_grace_period_hours just causes confusion and
should not be used anyway.
Out of the box, tokens stop working once confirmed, no need to add complexity here
2016-12-19 17:15:20 +11:00
Sam
dd383300b1
FEATURE: rate limit by login on password reset
2016-12-19 11:03:07 +11:00
Sam
0599bd0154
FEATURE: add referrer never tag to password reset page
2016-12-19 11:01:58 +11:00
Sam
15b5fddd49
SECURITY: protect upload params, only allow very strict filenames
2016-12-19 10:16:18 +11:00
Sam
30e0154e5d
SECURITY: fix reflected XSS with safe_mode param
...
(only applies to beta and master)
2016-12-19 10:11:51 +11:00
Mohamad Abras
e20e765afe
Fix Arabic Pluralization Rules for Client
2016-12-17 17:50:35 +02:00
Jeff Atwood
81956cb1d6
Merge pull request #4590 from xfalcox/css-highligth
...
Use CSS animations for post and topic highlights
2016-12-16 14:22:25 -08:00
Rafael dos Santos Silva
e9fa936389
Uses CSS animation for highlight on mobile too
2016-12-16 19:26:49 -02:00
Guo Xiang Tan
d8541c589a
FIX: Incorrect route for updating username.
2016-12-17 00:23:12 +08:00
Robin Ward
ddd299f4aa
Revert "Revert "Revert Ember 2.10+ for a short while""
...
This reverts commit 76bbc481cb .
2016-12-16 10:29:30 -05:00
Robin Ward
76bbc481cb
Revert "Revert Ember 2.10+ for a short while"
...
This reverts commit 21682fd60b .
2016-12-16 09:52:29 -05:00
Guo Xiang Tan
e3213f127d
FIX: Regression with request membership button after migrating to component.
2016-12-16 16:07:11 +08:00
Sam
d4a0508744
FEATURE: outlet prior to Reply button at the bottom of topics
2016-12-16 17:10:32 +11:00
Sam
61eb134181
FEATURE: setting to allow arbitrary redirects from sso origin
...
if sso_allows_all_return_paths is set to true you can redirect off-site from sso success
2016-12-16 13:37:44 +11:00
Sam
6ff309aa80
SECURITY: don't grant same privileges to user_api and api access
...
User API is no longer gets bypasses that standard API gets.
Only bypasses are CSRF and XHR requirements.
2016-12-16 12:05:43 +11:00
Robin Ward
21682fd60b
Revert Ember 2.10+ for a short while
2016-12-15 16:43:38 -05:00
Neil Lalonde
f01f95d62d
FEATURE: new settings to customize some colors in emails
2016-12-15 14:43:53 -05:00
Neil Lalonde
62ba5ea33f
Name before username in summary email
2016-12-15 14:43:52 -05:00
Robin Ward
d0ddceb4e4
UX: Try improving the back button on the timeline
2016-12-15 14:24:58 -05:00
Robin Ward
250ca11416
Add PluginAPI for registering a connector class
2016-12-15 11:54:37 -05:00
Robin Ward
0348f23f6d
FIX: Register a test waiter rather than using hidden properties
2016-12-15 11:36:21 -05:00
Robin Ward
40c944cb36
FIX: Was showing two rows for the title always
2016-12-15 10:47:43 -05:00
Robin Ward
d69b782737
FIX: Editing tags was double rendering
2016-12-15 10:40:11 -05:00
Robin Ward
2655be512f
FIX: Showing raw email and history were broken
2016-12-15 10:28:15 -05:00
Robin Ward
ea3db56d1c
FIX: Mobile raw templates were not being resolved
2016-12-15 10:28:15 -05:00
Robin Ward
28699e66d8
Revert "REVERT: Ember 2.10 -- it's not building properly"
...
This reverts commit 600541c623 .
2016-12-15 10:28:15 -05:00
Guo Xiang Tan
bbe067e735
Fix eslint.
2016-12-15 16:07:56 +08:00
Guo Xiang Tan
7888a16374
FEATURE: Add membership request to groups page.
2016-12-15 14:39:13 +08:00
Sam
162413862c
FEATURE: add staff class to HTML body for staff
2016-12-15 16:23:03 +11:00
Sam
98f4a2adcb
FIX: on 404 from brotli asset path return a correctly encoded doc
...
old implementation would cache the 404 for 1 year with incorrect encoding
hilarity would ensue
2016-12-15 16:05:20 +11:00
Sam
f867af6bf9
bye bye byebug
2016-12-15 15:52:25 +11:00
Guo Xiang Tan
3666575b46
UX: Improve styling for groups page.
2016-12-15 12:19:13 +08:00
Guo Xiang Tan
3999afc279
FIX: Category logo not showing in navigation.
2016-12-15 12:11:21 +08:00
Guo Xiang Tan
b005e1ab58
UX: Left align columns on groups page.
2016-12-15 10:00:37 +08:00
Neil Lalonde
a26c3fe2b6
FIX: truncate long topic titles in summary email
2016-12-14 12:59:01 -05:00
Neil Lalonde
d23da5b641
FIX: digest email preview error in Persian and other languages
2016-12-14 11:10:32 -05:00
Robin Ward
2164d7d21c
FIX: User card spacing was off
2016-12-14 10:46:16 -05:00
Guo Xiang Tan
4b940dc8bd
FEATURE: Add groups page.
2016-12-14 17:27:47 +08:00
Guo Xiang Tan
0c9499874d
FIX: Missing no members message on group page.
2016-12-14 14:01:19 +08:00
Neil Lalonde
66151b416f
FIX: home logo href doesn't respect subfolder
2016-12-13 16:30:21 -05:00
Robin Ward
03bc6f70f9
Better error messages when embedding fails
2016-12-13 14:38:05 -05:00
Neil Lalonde
1f0793ac50
Improvements to automatic topic title based on pasted link
2016-12-13 13:11:52 -05:00
Neil Lalonde
67a0a36362
FIX: topic lists on mobile should include featured links
2016-12-13 13:11:52 -05:00
Juha Leinonen
817f4cd0fc
FEATURE: Split Reply-button into 'Reply Post' and 'Reply Topic'
2016-12-13 14:54:45 +02:00
Guo Xiang Tan
2686ee5ab2
FIX: Admin can't add/remove public group users.
2016-12-13 16:39:44 +08:00
Guo Xiang Tan
43ee9f884e
FEATURE: Add Group#full_name.
2016-12-13 16:16:26 +08:00
Guo Xiang Tan
5a2794a0c7
FIX: Discourse.ajax is deprecated.
2016-12-13 15:53:04 +08:00
Guo Xiang Tan
fbd3727c7d
UX: Improve group edit style for mobile.
2016-12-13 15:26:28 +08:00
Guo Xiang Tan
f4af74b7b3
FIX: Incorrect class.
2016-12-13 15:20:59 +08:00
Guo Xiang Tan
0e934a2f2d
Make eslint happy.
2016-12-13 15:17:14 +08:00
Guo Xiang Tan
7bfabb029b
UX: Move editing group from into an individual tab.
2016-12-13 15:15:20 +08:00
Guo Xiang Tan
5a5aea72b5
Remove icon from group tabs.
2016-12-13 13:12:38 +08:00
Guo Xiang Tan
6dab7f4463
UX: Keep table styles consistent with topic list.
2016-12-13 13:11:34 +08:00
Guo Xiang Tan
69330f8bc2
Add user_updated event to webhooks.
2016-12-13 11:26:26 +08:00
Robin Ward
600541c623
REVERT: Ember 2.10 -- it's not building properly
2016-12-12 16:19:05 -05:00
Robin Ward
749f7071f3
FIX: Object.assign isn't available to phantom
2016-12-12 15:23:52 -05:00
Robin Ward
c2462e1f2d
FIX: Missing plugin outlet
2016-12-12 14:44:29 -05:00
Robin Ward
7b2e4170e9
Safer checkUrl
2016-12-12 14:44:29 -05:00
Robin Ward
b6e03116ba
Auto discover connector classes. Support a setup method
2016-12-12 14:44:29 -05:00
Robin Ward
9a7998a930
Various fixes for Ember 2.10
2016-12-12 14:44:29 -05:00
Robin Ward
2efe4900cf
Plugin Outlets need their arguments to be explicit
2016-12-12 14:44:29 -05:00
Robin Ward
a808bcb0b8
Upgrade to Ember 2.10
2016-12-12 14:44:29 -05:00
Robin Ward
765e5e9186
Upgrade to Ember 2.9
2016-12-12 14:44:29 -05:00
Neil Lalonde
239d06b218
add Likes Recieved to possible stats in summary email
2016-12-12 14:20:25 -05:00
Arpit Jalan
70227d37d7
FIX: composing new pre filled topic with tags was broken
2016-12-12 22:27:53 +05:30
Guo Xiang Tan
4a1340b14e
Update annotations.
2016-12-12 22:59:40 +08:00
Guo Xiang Tan
da7009a968
FEATURE: Add request membership button for allowed groups.
2016-12-12 22:48:08 +08:00
Régis Hanol
664feca199
FIX: don't send emails from muted users in mailing list mode
2016-12-12 15:28:26 +01:00
Guo Xiang Tan
405ffbf5a4
FIX: Don't show logs if user is not an admin or group owner.
2016-12-12 20:30:09 +08:00
Guo Xiang Tan
5db6306218
FIX: Incorrect empty message.
2016-12-12 19:39:58 +08:00
Guo Xiang Tan
9a800107cb
FIX: Associate category logo and background to uploads record.
2016-12-12 17:37:28 +08:00
Guo Xiang Tan
05f55dbc10
FEATURE: Group logs.
2016-12-12 17:29:54 +08:00
Guo Xiang Tan
790f1ef9f3
FIX: Permit missing params.
2016-12-12 17:00:30 +08:00
Guo Xiang Tan
b5cc5a6fb1
Unify group translations under same key.
2016-12-12 17:00:30 +08:00
Guo Xiang Tan
c3b04c3054
Fix: Group avatar flair inputs style.
2016-12-12 17:00:30 +08:00
Guo Xiang Tan
be5b5f6bea
FEATURE: Public groups.
2016-12-12 17:00:30 +08:00
Guo Xiang Tan
78553151ea
Update annotations.
2016-12-12 17:00:30 +08:00
Arpit Jalan
495c8f2794
FIX: bulk invite button was not getting re-enabled after performing upload
2016-12-12 14:08:10 +05:30
Sawood Alam
77ef730f20
RTL direction assigned to Urdu language
2016-12-10 18:57:48 -05:00
Neil Lalonde
17bc42fe85
FIX: box style category badges in emails, and shrink text and some spacing in summary email
2016-12-09 16:59:54 -05:00
Neil Lalonde
fb2633366a
FIX: featured link topics shouldn't require the same min post length
2016-12-09 15:46:26 -05:00
Neil Lalonde
a62b028e16
Remove the open_topic_featured_link_in_external_window setting. Use the user preference.
2016-12-09 13:48:29 -05:00
Neil Lalonde
a4c4f13901
Remove the topic_featured_link_onebox setting. We will always try to onebox a link and add it to the body if topic_featured_link_enabled is enabled.
2016-12-09 13:28:12 -05:00
Robin Ward
f07443b488
Migrate Discourse Polls to use vdom instead of embedded ember
2016-12-09 10:42:56 -05:00
Sam
02b21a26dd
Merge pull request #4585 from ibnesayeed/urdu-support
...
Add initial Urdu support with RTL direction
2016-12-09 13:01:25 +11:00
Sam
861a91d48a
correct styling for tracking button on mobile
2016-12-09 12:20:33 +11:00
Neil Lalonde
03ec8f8089
fix focus after attempting to onebox
2016-12-08 16:27:19 -05:00
Neil Lalonde
fbd8e6ed4a
FEATURE: pasting a link into the title of the composer can automatically onebox it and update the title
2016-12-08 16:09:46 -05:00
Robin Ward
f6f03ac009
FIX: Double clicking full name was broken too
2016-12-08 11:10:10 -05:00
Arpit Jalan
3d4299151c
Merge pull request #4596 from techAPJ/composer
...
FEATURE: show close button instead of maximize in collapsed composer
2016-12-08 21:31:54 +05:30
Arpit Jalan
d9459d09ed
FEATURE: show close button instead of maximize in collapsed composer
2016-12-08 20:11:58 +05:30
Arpit Jalan
42b14b0d11
SECURITY: escape advanced search term
2016-12-08 14:54:36 +05:30
Sam Saffron
b4cafc5e78
UX: add notification level button to mobile
2016-12-08 17:47:57 +11:00
Guo Xiang Tan
b9b4b0c175
FIX: Members should be ordered by username.
2016-12-08 14:27:38 +08:00
Arpit Jalan
4381afac1b
Merge pull request #4593 from techAPJ/composer
...
FEATURE: show the reply title and the reply icon in the minimized editor
2016-12-08 11:40:24 +05:30
Arpit Jalan
312a07e452
FEATURE: show the reply title and the reply icon in the minimized editor
2016-12-08 10:30:31 +05:30
Guo Xiang Tan
c3f0ec617f
FIX: Object.assign is not available in PhantomJS.
2016-12-08 11:21:19 +08:00
Guo Xiang Tan
7d8a0b051f
Fix QUnit tests.
2016-12-08 11:04:46 +08:00
Guo Xiang Tan
a2da2971af
FEATURE: Allow columns on group members page to be sortable.
2016-12-08 10:49:12 +08:00
Guo Xiang Tan
7e47fdf8da
UX: Fix margins for group name on mobile.
2016-12-08 06:24:32 +08:00
Régis Hanol
f4688f74db
FIX: emoticons stop summary from being updated
2016-12-07 23:05:14 +01:00
Robin Ward
e3a12995c8
FIX: Fake closure actions were not working (replaced in 2.10)
2016-12-07 14:32:33 -05:00
Neil Lalonde
ad5d16af8e
FIX: summary email popular posts ordering by score, and increase minimum score to qualify as popular
2016-12-07 12:40:44 -05:00
Robin Ward
d379f57c58
FIX: Show an error page if finish-installation can't run
2016-12-07 11:10:08 -05:00
Guo Xiang Tan
81d333289e
FIX: Return 503 when in readonly mode.
2016-12-07 14:04:42 +08:00
Guo Xiang Tan
545dfa7191
FEATURE: Allow group owners to edit title.
2016-12-07 10:26:28 +08:00
Guo Xiang Tan
8c7a0b7684
UX: Display group title if it exists.
2016-12-07 10:20:13 +08:00
Neil Lalonde
a7ee72649d
FIX: add back support for customizing header in summary email
2016-12-06 12:40:42 -05:00
Neil Lalonde
1f50fcd613
FIX: digest customizations for above/below popular topics were sometimes not being shown
2016-12-06 12:35:02 -05:00
Guo Xiang Tan
bad6dbc891
UX: Use mobile nav for group page.
2016-12-06 17:02:28 +08:00
Sam
badfda223c
FEATURE: add outlet for user stats in summary
2016-12-06 17:26:02 +11:00
Rafael dos Santos Silva
46b3c2e9c5
Use CSS animations for post and topic highlights
2016-12-05 20:20:52 -02:00
Sam
1135e00c83
FIX: regression unable to dismiss unread
2016-12-06 08:49:40 +11:00
Neil Lalonde
007408c285
show featured topic links on categories-with-latest page too
2016-12-05 16:29:27 -05:00
Neil Lalonde
56ee4ffadc
Merge pull request #4522 from fantasticfears/featured-link
...
FEATURE: Allow posting a link with the topic
2016-12-05 16:05:38 -05:00
Robin Ward
9e807896bc
FIX: We can route from user cards
2016-12-05 13:45:31 -05:00
Robin Ward
424fc8e2e2
FIX: Don't raise an error if the RSS endpoint is 404
2016-12-05 12:29:14 -05:00
Erick Guan
52763f5115
FEATURE: Allow posting a link with topics
2016-12-05 17:20:54 +01:00
Régis Hanol
e82084405e
make eslint happy again
2016-12-05 15:24:41 +01:00
Régis Hanol
06469ef0ce
FIX: don't extract links from .elided parts
2016-12-05 15:19:15 +01:00
Guo Xiang Tan
bea0856f1c
FIX: Move title and name out of BasicUserSerializer.
2016-12-05 18:46:33 +08:00
Régis Hanol
9f3eaf4c95
FIX: prevent selectionchanged trigger loop on Safari
2016-12-05 11:33:26 +01:00
Régis Hanol
edce052660
FIX: isSafari detection wasn't working with latest Safari
2016-12-05 11:32:38 +01:00
Guo Xiang Tan
cdb7e14fa7
PERF: Show excerpt on group page.
2016-12-05 18:15:38 +08:00
Régis Hanol
965b38ff2a
FIX: safari would lose selection sometimes
2016-12-05 11:08:30 +01:00
Arpit Jalan
431aa79bb3
Merge pull request #4587 from techAPJ/invite-upload
...
FIX: simplify CSV file upload
2016-12-05 14:30:13 +05:30
Guo Xiang Tan
ce9f24dec9
Merge pull request #4588 from tgxworld/add_new_fields_to_group
...
Add new fields to group
2016-12-05 09:59:27 +01:00
Guo Xiang Tan
248c5af556
UX: Restyle group pages a little.
2016-12-05 16:58:04 +08:00
Guo Xiang Tan
adb7fcb6b3
FEATURE: Add bio to group page.
2016-12-05 16:58:04 +08:00
Arpit Jalan
ce974da9e5
FIX: simplify CSV file upload
2016-12-05 14:09:08 +05:30
Sam
dab48b7c17
correct regression
2016-12-05 17:40:47 +11:00
Sam
3e099ab2b1
PERF: avoid query on every logged on page load
2016-12-05 17:38:02 +11:00
Guo Xiang Tan
0441ae3e95
Merge pull request #4577 from tgxworld/allow_group_owner_to_edit
...
FEATURE: Allow group owners to edit group name and avatar flair.
2016-12-05 07:28:55 +01:00
Guo Xiang Tan
1c42d167ec
Missing spinner icon on group pages.
2016-12-05 14:27:47 +08:00
Guo Xiang Tan
e0c28d6fd5
REFACTOR: Stop mixing users page and groups page CSS.
2016-12-05 14:27:47 +08:00
Guo Xiang Tan
31acd311e5
FEATURE: Allow group owners to edit group name and avatar flair.
2016-12-05 14:27:46 +08:00
Sam
c2a17826e7
ship highest staff post number to staff
2016-12-05 17:22:25 +11:00
Erick Guan
0fbb3fb02b
FIX: open login modal fails because of missing parameters
2016-12-05 13:22:28 +08:00
Sam
dc66f6681a
add spec for brotli controller, ensure cached correctly
2016-12-05 16:08:36 +11:00
Sam
8a98d617df
correct headers and add better caching
2016-12-05 15:11:07 +11:00
Guo Xiang Tan
55b35a05ed
FIX: This should not have been checked in.
2016-12-05 11:49:04 +08:00
Guo Xiang Tan
22059d4df9
Add Rake task to clean up unused multisite Redis keys.
2016-12-05 11:46:34 +08:00
Sam
39a524aac8
FEATURE: brotli cdn bypass for assets
...
Allow CDNS that strip out brotli encoding to use brotli regardless
2016-12-05 13:57:09 +11:00
Sam
bd217bb440
remove ux regression
2016-12-05 12:21:07 +11:00
Sam
1db9d17756
Make removal of topic columns more resilient to deploys
2016-12-05 12:11:46 +11:00
Sam
33d0a23d84
Merge branch 'fix_whisper'
2016-12-05 10:01:03 +11:00
Sawood Alam
49fc54aac6
Add initial Urdu support with RTL direction
2016-12-03 23:17:51 -05:00
Jeff Atwood
8bcdb668c6
fix login disclaimer alignment
2016-12-03 04:24:48 -08:00
Régis Hanol
55437271b0
Merge pull request #4583 from saiqulhaq/master
...
FIX: filename typo
2016-12-03 00:42:56 +01:00
Jeff Atwood
3c02e49b28
tweak login dialog for narrow mobile phones
2016-12-02 15:29:21 -08:00
M Saiqul Haq
a1d34c15c7
FIX: filename typo
2016-12-03 06:16:32 +07:00
Neil Lalonde
a5ca41b362
FIX: sort by column headings in topic list when filtered by tag
2016-12-02 16:55:33 -05:00
Neil Lalonde
dafd1453d6
FIX: topic list filters for bookmarked, posted, and read now work with tag filter
2016-12-02 15:58:14 -05:00
Neil Lalonde
9db3685823
fix another case of double user name in digest
2016-12-02 13:31:12 -05:00
Neil Lalonde
fa395bb43c
fix colour bug in summary email
2016-12-02 10:33:12 -05:00
Guo Xiang Tan
e51574bea0
FIX: No need to fetch the model.
2016-12-02 17:17:03 +08:00
Guo Xiang Tan
3971f96aa6
Merge pull request #4536 from fantasticfears/webhooks-edit
...
FIX: missing post and topic edited webhooks
2016-12-02 10:16:19 +01:00
Jeff Atwood
d4fd493901
Revert "UX: have webkit safari mobile stop with inner shadows"
...
This reverts commit 9a685c64ee .
2016-12-02 00:46:37 -08:00
Guo Xiang Tan
bc0a8142fe
PERF: Only show members count on group page.
2016-12-02 16:28:54 +08:00
Jeff Atwood
a93c59abbf
UX: normalize mobile <input> styles w/desktop
2016-12-01 23:53:11 -08:00
Sam
d5f4f2f5c1
regression composing topics on desktop
...
caught by smoke test
2016-12-02 18:20:23 +11:00
Sam
f57feb2a4b
regression composing topics on desktop
...
caught by smoke test
2016-12-02 18:19:39 +11:00
Sam
9a685c64ee
UX: have webkit safari mobile stop with inner shadows
...
http://stackoverflow.com/questions/3062968/remove-textarea-inner-shadow-on-mobile-safari-iphone
2016-12-02 17:56:37 +11:00
Sam
2793e7bebc
UX: have webkit safari mobile stop with inner shadows
...
http://stackoverflow.com/questions/3062968/remove-textarea-inner-shadow-on-mobile-safari-iphone
2016-12-02 17:56:01 +11:00
Sam
9b885c039a
Merge branch 'master' into fix_whisper
2016-12-02 17:44:05 +11:00
Sam
7b5b255168
UX: improve topic composition on mobile
...
- tighten up space used for composer body
- stop collapsing and expanding so much
2016-12-02 17:43:18 +11:00
Sam
2a19e8f239
UX: improve topic composition on mobile
...
- tighten up space used for composer body
- stop collapsing and expanding so much
2016-12-02 17:42:27 +11:00
Sam
c04d4171ff
FIX: whisper no longer experimental
...
- Regular users are not notified of whispers
- Regular users no longer have "stuck" topics in unread
- Additional tracking for staff highest post number
- Remove a bunch of unused columns in topics table
2016-12-02 17:03:31 +11:00
Guo Xiang Tan
3812c07958
Add query params for site settings filter.
2016-12-02 11:45:57 +08:00
Robin Ward
4f44713e8e
Allow untranslated plugins to set modal body titles
2016-12-01 15:37:39 -05:00
Neil Lalonde
576a424130
FEATURE: number of new topics at the end of summary email can be controlled by a new setting, digest_other_topics
2016-12-01 14:20:24 -05:00
Robin Ward
4820ebd76c
FIX: Don't modify properties in didInsertElement
2016-12-01 14:08:51 -05:00
Neil Lalonde
8a0cf1b90e
FIX: if username and name are the same, don't show both in summary emails
2016-12-01 12:17:23 -05:00
Neil Lalonde
985daf5c72
FIX: summary should not include certain post types
2016-12-01 12:01:32 -05:00
Robin Ward
69ff0e48b4
Remove SortedMixin
2016-12-01 11:33:33 -05:00
Robin Ward
0dbcb4ec8a
FIX: lookupFactory doesn't exist on getOwner result
2016-12-01 11:24:30 -05:00
Guo Xiang Tan
e0803e1f91
Merge pull request #4567 from toumou/master
...
FIX uploadLocation when window.location.port is empty
2016-12-01 07:19:24 +01:00
Jeff Atwood
61bcc98c0e
slightly tighten spacing on digests
2016-11-30 17:13:01 -08:00
cpradio
309e37f0e6
UX: Remove !important from header .discourse-tag
...
per https://meta.discourse.org/t/planned-tag-color-issue-when-scrolled-down/53582/4?u=cpradio
2016-11-30 19:08:13 -05:00
Neil Lalonde
8cd30cdc8b
FIX: respect the enable_names setting, and fix cases when html is invalid
2016-11-30 17:58:07 -05:00
Régis Hanol
453d149182
just checking for existence is enough here
2016-11-30 23:41:07 +01:00
Erick Guan
8c8549b27b
FIX: missing post and topic edited webhooks
2016-11-30 20:49:45 +01:00
Robin Ward
142d35a0a5
Minor Discourse Fixes
2016-11-30 13:45:40 -05:00
Régis Hanol
57d0369894
FIX: don't raise an exception when a link was already extracted
2016-11-30 18:05:59 +01:00
Régis Hanol
dec8a861f0
FIX: don't raise exception when a quote was already extracted
2016-11-30 17:18:34 +01:00
Régis Hanol
cf9ebb85ec
Merge pull request #4578 from vinkas0/fix/plugins-route
...
fix: adminPlugins:index route is missing
2016-11-30 12:25:58 +01:00
Vinoth Kannan
a97c59ed2e
fix: adminPlugins:index route missing
2016-11-30 14:36:42 +05:30