Robin Ward
eab64710ff
FIX: Shared draft performance fix + missing avatars
2018-03-28 16:11:43 -04:00
Robin Ward
4b5977aa6a
Revert "PERF: Don't join on shared drafts unless you have to"
...
This reverts commit efedd9745f .
2018-03-28 15:35:13 -04:00
Robin Ward
a8f211bd41
Extensibility for custom staff check
2018-03-28 14:48:14 -04:00
Robin Ward
6aef8f9cd9
Add an index on category_id to shared drafts
2018-03-28 14:05:09 -04:00
Robin Ward
efedd9745f
PERF: Don't join on shared drafts unless you have to
2018-03-28 13:57:39 -04:00
Robin Ward
31d0998506
FIX: Don't allow links with no href
2018-03-28 12:32:16 -04:00
Robin Ward
b5da0b5796
FIX: Missing translation key
2018-03-28 09:14:53 -04:00
Robin Ward
ddefc29c4e
FIX: Lint error
2018-03-27 17:19:38 -04:00
Robin Ward
05dc1f65ab
UX: Editing a shared draft was confusing in the composer
...
Now when you edit a shared draft it looks like creating one, where the
destination category id appears in the dropdown.
2018-03-27 17:11:21 -04:00
Robin Ward
f03b6bd8c9
FIX: Update last_version_at when publishing
2018-03-26 16:06:20 -04:00
Robin Ward
d4296f33ff
FIX: Publishing should update the public_version too
2018-03-26 15:46:25 -04:00
Robin Ward
2ca37602d9
Update rack-protection
2018-03-26 12:49:54 -04:00
Robin Ward
84e1ffd141
Update rails-html-sanitizer
2018-03-26 12:48:28 -04:00
Robin Ward
2b161a2391
FIX: Don't include shared drafts in global latest
2018-03-26 10:43:55 -04:00
Robin Ward
58ec4d04c0
FIX: Rails has bugs when a has_one has no id column :(
2018-03-23 12:25:10 -04: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
Robin Ward
c686ae8d8f
FIX: Ambiguous column name
2018-03-22 16:38:53 -04:00
Robin Ward
41fc8e32e2
FIX: N+1 query for shared drafts
2018-03-22 16:24:30 -04: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
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
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
Robin Ward
23e690d0c2
Add extensiblity point for discourse-tooltips
2018-03-14 12:46:32 -04:00
Robin Ward
c75fd34328
Allow Discourse installs to name the token cookie
2018-03-13 16:48:40 -04:00
Robin Ward
31a0c4a9be
FEATURE: Add quote-modified class if a quote has been modified
2018-03-13 13:41:06 -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
Robin Ward
6385c7fcb3
UX: Don't let topic progress widget dangle when preview is disabled
2018-03-08 16:34:19 -05:00
Robin Ward
81780d8607
Merge remote-tracking branch 'origin/analyze-code-fix'
2018-03-06 13:16:37 -05:00
Robin Ward
c74d10cf34
FIX: Consider live links in <code> as links when counting
2018-03-06 11:46:12 -05:00
Robin Ward
17a615165c
FIX: Don't lock wiki posts when they're edited
2018-03-05 14:50:06 -05:00
Robin Ward
0f66a99eb2
Setting to prevent logging details when anonymizing
2018-03-05 14:38:18 -05: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
Robin Ward
cd6c5fc5fb
FIX: Disable "Make Personal Message" if they are disabled
2018-03-02 20:28:39 -05:00
Robin Ward
b11dd21356
FIX: Translate the hover text or emoji categories
2018-03-02 18:28:06 -05:00
Robin Ward
730201d423
New interface to upsert custom fields
2018-03-02 12:45:52 -05:00
Robin Ward
b3883f5c32
FIX: Don't lock a post on edit unless the raw changes
2018-03-01 20:40:19 -05:00
Robin Ward
b283bb2ba7
FIX: Don't include unlisted topic in groups/posts
2018-02-28 14:40:18 -05:00
Robin Ward
33340071e7
FIX: Use 60 minutes, not 60 seconds for column dropper
2018-02-27 16:45:20 -05: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
Robin Ward
f8856f3d7a
FIX: Anonymous users shouldn't see the link to new in the footer
2018-02-26 13:46:50 -05:00
Robin Ward
9b704b21b5
Don't include client when false
2018-02-22 21:22:09 -05:00
Robin Ward
69af881f7f
New site setting trusted_users_can_edit_others
...
The default is true to keep with previous discourse behavior. If
disabled, high trust level users cannot edit the topics or posts of
other users.
2018-02-22 20:39:24 -05:00
Robin Ward
ee9be65b2c
FIX: Show names when available
2018-02-22 20:06:53 -05:00
Robin Ward and jjaffeux
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
Robin Ward
5c40ae9e63
FIX: Links in quotes should be counted for rate limits
2018-02-20 20:42:01 -05:00
Robin Ward
3ea272f4f1
New setting: minimum trust level to embed images in a post
2018-02-20 20:00:06 -05:00
Robin Ward
02093ecbdd
Extensibility: Allow plugins to munge user params
2018-02-16 19:12:02 -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
Robin Ward
a03e7cee63
FIX: Group posts had the wrong paths in subfolders
2018-02-14 20:33:31 -05:00
Robin Ward
b4aa0b096e
FIX: Couldn't like staff when allow_flagging_staff was set
2018-02-14 15:46:04 -05:00
Robin Ward
a3e5a31674
FIX: Allow 404 pages to use the current theme
2018-02-14 15:29:01 -05:00
Robin Ward
0b13b82e94
Update nokogiri to latest version
2018-02-13 19:36:19 -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
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
Robin Ward
4dfe659189
Rename allow staff flags to allow flagging staff
2018-02-12 15:27:26 -05:00
Robin Ward
6287631745
FEATURE: New site setting, allow staff flags, false by default
...
For some large communities, it makes sense to disable flagging of
staff posts.
2018-02-12 14:56:21 -05:00
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
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
Robin Ward
5466389f4e
FIX: Consider oneboxes links wrt to min_trust_level_to_post_links
2018-02-08 18:27:40 -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
Robin Ward
6a5dad0b86
FIX: Too much Javascript :)
2018-02-07 11:46:05 -05: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
Robin Ward
8c04893a04
FIX: Don't throttle local lookups
2018-02-07 00:31:05 -05:00
Robin Ward
016b9cd0e9
FIX: Count the links in the post
2018-02-06 20:16:48 -05:00
Robin Ward
1bab15c757
FEATURE: A site setting for a minimum TL to post links
2018-02-06 18:07:58 -05:00
Robin Ward
b2b6dc68a6
FEATURE: a setting to customize the minimum TL to flag a post
2018-02-06 17:12:27 -05:00
Robin Ward
eefd226611
Add extensibility point to request_tracker to skip IP addresses
...
This is useful if you want to run a per IP rate limiter but want to be
able to skip some IPs with custom logic.
2018-02-05 17:49:40 -05: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
Robin Ward
80ea2e5107
FIX: Enable personal messages in tests
2018-02-02 17:06:02 -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
Robin Ward
0bdd416d0b
Small title change
2018-02-01 18:16:01 -05:00
Robin Ward
d31417d3af
FIX: Remove unused import
2018-02-01 18:03:22 -05:00
Robin Ward
8ff4104555
Many enhancements to the flagging / suspending interface.
2018-02-01 17:13:02 -05: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
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
Robin Ward
64ba876ff4
FIX: Don't show "Grant Badge" if badges are disabled
2018-02-01 11:33:48 -05: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
Robin Ward
95e0aa059c
UX: The delete button is also a dropdown
2018-01-29 19:15:19 -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
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
Robin Ward
36d836ba40
Link suspensions to the staff logs page
2018-01-26 15:40:03 -05:00
Robin Ward
9721fb7573
Linting
2018-01-26 14:35:04 -05:00
Robin Ward
44e2038b53
Setting to automatically lock posts when edited by staff
2018-01-26 14:01:30 -05:00