Commit Graph

826 Commits

Author SHA1 Message Date
8ff4104555 Many enhancements to the flagging / suspending interface. 2018-02-01 17:13:02 -05:00
9fa71e198e FIX: admin reports charts should use same time of day as dashboard numbers 2018-02-01 15:59:39 -05: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
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
34ed6088b9 FEATURE: New modal to show flags received for a user 2018-01-17 15:08:08 -05:00
e04fb9a877 fix the build 2018-01-17 12:57:33 +05:30
79eb9d7086 FEATURE: show header search results on search log term details page 2018-01-17 12:47:16 +05:30
6177fb80eb UX: switch to quartlerly period view for search log term graphs 2018-01-16 07:53:22 +05:30
dd33050e10 Add discourse events for when a user is suspended/silenced 2018-01-11 12:56:45 -05:00
e904d92b98 FIX: Suspension / Silence reasons were incorrect on save 2018-01-11 10:54:47 -05:00
b96ae14261 FEATURE: Display force_https warning in admin problems dashboard 2018-01-11 12:16:10 +05:30
ed4b845930 FIX: render error message when backup download fails 2018-01-05 19:46:43 +05:30
69a90f31fb FEATURE: Allow Forums to disable the Backups feature 2017-12-21 15:22:04 -05:00
eab66065d1 FEATURE: search log term details page (#5445) 2017-12-20 13:41:31 +11:00
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
001abfc4cb Revert "FIX: not permitted theme params when importing theme"
This reverts commit 813df1a3fb1a10703517e08a9e8221c336063b5d.
2017-12-14 11:40:14 +01:00
041deac67a Revert "FIX: constant lookup error when exporting theme"
This reverts commit 1eda8c50f012d0313a6956a6c8b8e56db64df4b3.
2017-12-14 11:40:08 +01:00
813df1a3fb FIX: not permitted theme params when importing theme 2017-12-14 11:25:58 +01:00
1eda8c50f0 FIX: constant lookup error when exporting theme 2017-12-14 11:25:11 +01:00
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
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
77f90876d3 REFACTOR: Track manual locked user levels separately from groups 2017-11-27 11:23:44 -05:00
4addc5e329 Add missing contexts when destroying users 2017-11-22 15:43:54 +01:00
2d48caffdf FIX: be more lenient when deleting a custom emoji 2017-11-20 23:50:23 +01:00
0a9daba627 FIX: Support for long suspension emails 2017-11-20 12:45:46 -05:00
3831663fea FEATURE: search logs page (#5313) 2017-11-15 11:13:50 +11:00
971e302ff2 FEATURE: Support an end date for user silencing 2017-11-14 13:20:19 -05:00
Sam
47e4c9bb46 FIX: import/export theme should work with uploads 2017-11-14 16:30:23 +11:00
1f14350220 Rename "Blocked" to "Silenced" 2017-11-10 14:10:27 -05:00
5bb326a452 Add specs for EmailTemplatesController 2017-10-02 14:53:27 +02:00
6a7920ad75 FIX: wasn't able to change default theme 2017-09-27 20:05:31 +02:00
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
d1ebc62065 The ability to display errors on flagging actions. 2017-09-25 12:28:01 -04:00
09ed2ed749 Add Suspend User to flags page 2017-09-25 12:28:00 -04:00
6bce3004d9 UX: Nicer selection of suspend duration 2017-09-25 12:28:00 -04:00
677b016387 Send a suspension message via email to a user 2017-09-25 12:26:41 -04:00
2a56cf8bb6 Tests + Refactoring for Suspension Modal 2017-09-25 12:26:06 -04:00
d7c37d9369 Add front end service for staff controls 2017-09-25 12:25:14 -04:00
5cf50f0034 Adjust flagged posts to use the store 2017-09-25 12:25:14 -04:00
5e69217793 Add filtering support to flags 2017-09-25 12:25:14 -04:00
40eba8cd93 FEATURE: View flags grouped by topic 2017-09-25 12:25:14 -04:00
77d4c4d8dc Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
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
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
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
a9613163b5 FEATURE: Force user to enter reason when requesting for group membership. 2017-08-09 15:45:28 +09:00
3f24ed2b3e Can't revert due to incompatibility of new site setting types.
Revert "Revert "FEATURE: Site settings defaults per locale""

This reverts commit 439fe8ba2453cff835cda33a5593bb9fa769120c.
2017-08-07 10:43:09 +09:00
439fe8ba24 Revert "FEATURE: Site settings defaults per locale"
This reverts commit 468a8fcd206d14ff4421758e840d63a27c246254.
2017-08-07 10:31:50 +09:00