Commit Graph

96 Commits

Author SHA1 Message Date
e8ef55c446 Rename StaffActionLog to UserHistory 2013-09-10 22:01:20 -04:00
47add6da70 Log when a site customization is deleted 2013-08-21 12:33:24 -04:00
a95303fcd8 Log site customization changes. Use a modal to show staff action log details for site customizations. 2013-08-21 12:33:24 -04:00
3abeb5f793 Staff action logs can be filtered to changes of one site setting 2013-08-20 13:50:51 -04:00
1d030666d8 Log site setting changes and show in admin 2013-08-19 16:58:38 -04:00
Sam
a9393e4a7a paging for flag list
corrected reload behavior on flag list
refactored post actions ... extracted flag queries
2013-08-19 21:14:26 +10:00
b6285b85d2 Add reject option to pending users page 2013-08-16 11:42:43 -04:00
293361dcd3 Screened URLs list in admin 2013-08-15 10:52:26 -04:00
86647f0a54 Add ScreenedUrl. Rename BlockedEmail to ScreenedEmail. 2013-08-14 16:08:23 -04:00
bb492eb8bf Add filtering to staff logs page 2013-08-09 16:59:05 -04:00
90a3bcf6ff Add filter by action to staff logs page 2013-08-09 10:06:59 -04:00
33bddbff85 Use Ember.ListView for staff action logs page 2013-08-09 10:06:58 -04:00
0d44313a4b Use Ember.ListView for blocked emails list 2013-08-09 10:06:58 -04:00
5c8c52482a Add a way to view staff action logs in admin 2013-08-07 16:27:34 -04:00
d2fb6ec53f Blocked Emails list in admin 2013-08-07 16:27:34 -04:00
98b58150bb Dashboard calculations are done with an async job now 2013-08-02 18:32:33 -04:00
06140740d0 Version checks: tolerate old version check data that can happen immediately after upgrading but forgetting to restart sidekiq/clockwork. Don't cache version check data along with other dashboard data. 2013-07-30 12:12:04 -04:00
4fd5087f91 Add button to delete a spammer in the flag modal
Add SiteSettings: delete_user_max_age, delete_all_posts_max. Add delete spammer button to admin flags UI
Moderators can delete users too
2013-07-29 15:29:44 -04:00
e076158789 Add ip_address, email, and context to staff_action_logs table. Context should usually be the url from which the staff member performed the action, but could be any string that describes what the staff member was doing when the action was performed. 2013-07-29 15:29:43 -04:00
5f3e9131ed Deleting a user from admin user page has the option to also block signups from the same email address 2013-07-29 15:29:43 -04:00
e25638dab0 add a way to delete posts and topics when deleting a user with UserDestroyer 2013-07-29 15:29:43 -04:00
a8df9778b5 Rename AdminLog to StaffActionLog 2013-07-29 15:29:43 -04:00
aa7e96c0fa Fix auto-group refresh response so that ajax callback runs 2013-07-26 19:47:32 -04:00
Sam
880dd53f48 Merge pull request #1249 from sir-pinecone/strip-spaces-from-group
Strip spaces from group names upon creation
2013-07-24 00:15:53 -07:00
867ce0310c display group validation errors in alert modal 2013-07-24 00:42:44 -04:00
b223cdb493 Strip spaces from group names upon creation 2013-07-24 00:00:17 -04:00
Sam
9ac6c6e2e9 Merge pull request #1233 from sir-pinecone/improve-group-deletion
Add confirmation modal to admin group deletion
2013-07-23 00:43:06 -07:00
0e3b8fbb24 Remove some calls to all. They are not required, and Rails4 raises warnings about them. 2013-07-22 20:44:11 +02:00
9616767bff Add confirmation modal to admin group deletion 2013-07-22 02:48:23 -04:00
d77ce23de2 Log all changes of user trust level by an admin 2013-07-08 11:53:22 +02:00
Sam
91238af6f1 correct failing specs 2013-07-08 12:25:38 +10:00
3da37506da Back end - temporary boosting of trust levels 2013-07-03 10:30:40 +02:00
075ed1ab53 Refactor user blocking code; hide the Block button in admin 2013-07-02 14:42:53 -04:00
89f182899f Support for custom Privacy Policies 2013-06-26 10:59:36 -04:00
8e6a903f9b Merge pull request #1046 from house9/admin-user-index-2
extract Admin::UsersController#index to its own query class
2013-06-20 07:52:22 -07:00
Sam
4a8a663a67 flagging workflow changes per http://meta.discourse.org/t/we-need-an-archive-flag-notification-button/7450 2013-06-20 17:42:15 +10:00
e0ff74ead0 extract Admin::UsersController#index to its own query class
- move query to its own class
- use postgres ILIKE case insensitive
- removed duplicated list of trust levels
2013-06-19 13:48:45 -07:00
Sam
799b402778 fix horribly broken invite code, could lead to inviting the wrong person to a conversation 2013-06-19 10:31:19 +10:00
Sam
80c03b7b1e case sensitive where it should not be 2013-06-17 15:47:18 +10:00
Sam
0052e78bfe render error when people attempt to save an invalid group name
hide controls when we showing an automatic group
2013-06-17 13:43:06 +10:00
Sam
b97d186cb5 automatic groups should not allow you to muck with the listed users in the group 2013-06-17 12:54:25 +10:00
Sam
dbfd40da84 order group member by username, bump up max count to 200 for now 2013-06-17 12:02:48 +10:00
a362d62b42 Do not return mail password in EmailController 2013-06-11 16:00:13 -07:00
82b5f57e40 Make it possible to set a site setting to empty string 2013-06-11 14:31:38 -04:00
93bbe190c0 Moved Email components into a module 2013-06-10 15:34:10 -04:00
8f32aed944 Only use HTML templates for the digest email. 2013-06-06 15:08:56 -04:00
0d01c33482 Enabled strong_parameters across all models/controllers.
All models are now using ActiveModel::ForbiddenAttributesProtection, which shifts the responsibility for parameter whitelisting for mass-assignments from the model to the controller. attr_accessible has been disabled and removed as this functionality replaces that.

The require_parameters method in the ApplicationController has been removed in favor of strong_parameters' #require method.

It is important to note that there is still some refactoring required to get all parameters to pass through #require and #permit so that we can guarantee that parameter values are scalar. Currently strong_parameters, in most cases, is only being utilized to require parameters and to whitelist the few places that do mass-assignments.
2013-06-06 00:30:59 -07:00
0b97ea6345 Better HTML emails, smarter email digests, new email section in admin with digest preview 2013-06-05 17:47:25 -04:00
2259e97d42 Add a count of blocked users on the dashboard 2013-06-04 11:53:19 -04:00
c4904aacc0 Automatically flag someone as a spammer if their posts get at least X spam flags from N users while their trust level is 'new user'. Staff can clear and set this status from the user record in admin. 2013-06-03 16:37:40 -04:00