Robin Ward
3cb6bb6c54
FIX: Missing username in link to user
2013-10-03 14:36:24 -04:00
Régis Hanol
af96ef2994
FIX: deleting a flagged post issue
...
cf. http://meta.discourse.org/t/deleting-a-flagged-post-issue/10061
The bug was only happening when you were about the delete the first post, which means deleting the entire topic.
2013-10-02 16:59:57 +02:00
Robin Ward
be0ce08cc2
Ember Upgrade: 1.0
2013-10-01 11:16:27 -04:00
Wojciech Zawistowski
7da10c0149
Remove duplicate mixing in of Discourse.Presence
...
AdminEmailIndexController and AdminEmailPreviewDigestController explicitely mix in Discourse.Presence, but they extend base classes Discourse.Controller and Discourse.ObjectController that already mix in Discourse.Presence, so this explicit inclusion is redundant.
2013-09-18 18:40:57 +02:00
Neil Lalonde
13f17b2a5c
Add ability to customize css and header for mobile
2013-09-16 12:28:02 -04:00
Neil Lalonde
e8ef55c446
Rename StaffActionLog to UserHistory
2013-09-10 22:01:20 -04:00
Neil Lalonde
199584824b
Don't show approval on admin user page if the site doesn't require approval of users (must_approve_users)
2013-09-09 12:24:26 -04:00
Neil Lalonde
068a674c39
Handle overflowing values on admin logs pages
2013-08-26 16:16:27 -04:00
Neil Lalonde
6e79197519
Enum site settings can have translatable names in dropdown. Add setting for how often users get digest emails by default: default_digest_email_frequency.
2013-08-23 17:36:25 -04:00
Neil Lalonde
6a3c849067
Fix [object Object] in staff logs details modal
2013-08-23 10:08:35 -04:00
Neil Lalonde
25e0c3eac1
Log IP addresses with screened emails and urls
2013-08-22 19:04:35 -04:00
Neil Lalonde
e5464a4bed
Show staff action log details in a modal
2013-08-21 12:33:24 -04:00
Neil Lalonde
47add6da70
Log when a site customization is deleted
2013-08-21 12:33:24 -04:00
Neil Lalonde
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
Neil Lalonde
3abeb5f793
Staff action logs can be filtered to changes of one site setting
2013-08-20 13:50:51 -04:00
Neil Lalonde
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
Neil Lalonde
b6285b85d2
Add reject option to pending users page
2013-08-16 11:42:43 -04:00
Neil Lalonde
293361dcd3
Screened URLs list in admin
2013-08-15 10:52:26 -04:00
Neil Lalonde
9170166e93
Finish renaming blocked emails to screen emails
2013-08-14 16:45:30 -04:00
Neil Lalonde
86647f0a54
Add ScreenedUrl. Rename BlockedEmail to ScreenedEmail.
2013-08-14 16:08:23 -04:00
Neil Lalonde
bc0d4f1bfc
Add a confirm modal to Delete All Posts button
2013-08-14 11:48:18 -04:00
Neil Lalonde
506dd748da
Add warning sign icons to all the delete user buttons
2013-08-14 11:20:00 -04:00
Neil Lalonde
bb492eb8bf
Add filtering to staff logs page
2013-08-09 16:59:05 -04:00
Neil Lalonde
4d8585ac10
Put staff user in the first column
2013-08-09 11:24:50 -04:00
Neil Lalonde
90a3bcf6ff
Add filter by action to staff logs page
2013-08-09 10:06:59 -04:00
Neil Lalonde
33bddbff85
Use Ember.ListView for staff action logs page
2013-08-09 10:06:58 -04:00
Neil Lalonde
0d44313a4b
Use Ember.ListView for blocked emails list
2013-08-09 10:06:58 -04:00
Neil Lalonde
ce05b43c1d
Fix delete user button on admin/user page so it's enabled at the right times, and update its title attribute to be more helpful
2013-08-08 12:54:38 -04:00
Robin Ward
86246a64eb
Convert Discourse.Site
and Discourse.ScreenTrack
to use Discourse.Singleton
2013-08-08 12:49:58 -04:00
Robin Ward
51f5cf77fb
Convert Discourse.User
to use Discourse.Singleton
2013-08-08 12:42:08 -04:00
Neil Lalonde
b097d780d0
Tweaks to staff action logs page
2013-08-07 18:29:13 -04:00
Neil Lalonde
b6b30dabd4
Send context of where a user was deleted as a spammer so it can be logged
2013-08-07 18:18:18 -04:00
Neil Lalonde
b0848db6de
Oops, forgot to use i18n in some places
2013-08-07 16:46:23 -04:00
Neil Lalonde
5c8c52482a
Add a way to view staff action logs in admin
2013-08-07 16:27:34 -04:00
Neil Lalonde
d2fb6ec53f
Blocked Emails list in admin
2013-08-07 16:27:34 -04:00
Neil Lalonde
98b58150bb
Dashboard calculations are done with an async job now
2013-08-02 18:32:33 -04:00
Neil Lalonde
1552c4b69e
Remove users column from Top Traffic Sources table on dashboard. It's not useful and very expensive to calculate.
2013-08-02 18:32:33 -04:00
Robin Ward
ef82b66e95
Easier to group bindings. Perf improvements.
2013-08-02 13:18:09 -04:00
Neil Lalonde
b194bafcc8
Fix rendering of email logs rows. Needed thead around the first row.
2013-08-01 17:15:28 -04:00
Neil Lalonde
277e4db2cb
Use ellipsis in dashboard referred topics table. Add .overflow-ellipsis css helper.
2013-07-30 16:48:45 -04:00
Neil Lalonde
8ef771ad8d
Use warning-sign icon instead of trash for nuke user buttons
2013-07-29 18:31:47 -04:00
Neil Lalonde
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
Neil Lalonde
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
Neil Lalonde
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
Sam
22893e203a
Merge pull request #1260 from sir-pinecone/reactivate-admin-refresh-btn
...
Fix auto-group refresh response so that ajax callback runs
2013-07-28 22:22:55 -07:00
Michael Campagnaro
aa7e96c0fa
Fix auto-group refresh response so that ajax callback runs
2013-07-26 19:47:32 -04:00
Michael Campagnaro
16d5032143
hide groups nav link from non-admins
2013-07-26 18:58:50 -04:00
Robin Ward
0317cf9608
Show topics as a list of topics on the User Stream.
2013-07-25 15:56:20 -04:00
Michael Campagnaro
867ce0310c
display group validation errors in alert modal
2013-07-24 00:42:44 -04:00
Robin Ward
6237a155e7
FIX: Linking to users on admin dashboard was broken
2013-07-23 13:35:32 -04:00
Robin Ward
d8978cb4a0
FIX: Redirect on some URLs to wrong path
2013-07-23 12:15:44 -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
Michael Campagnaro
a0465485b4
use group.get as per PR comment
2013-07-22 16:19:08 -04:00
Michael Campagnaro
9616767bff
Add confirmation modal to admin group deletion
2013-07-22 02:48:23 -04:00
Ryan Boland
f6963a05c4
fix graphical error
2013-07-18 23:26:04 -04:00
Robin Ward
19f3a8d640
Each user activity filter has its own URL now.
2013-07-17 15:42:31 -04:00
Sam
625204c8bd
work in progress category UI
...
refactor hack from earlier
2013-07-17 14:54:21 +10:00
Sam
5a7e78f0fc
fix unit tests
2013-07-17 14:22:55 +10:00
Sam
63cbe8dd17
fix links to site contents, fix it so the site contents page is refreshable
2013-07-17 14:15:09 +10:00
Robin Ward
4bfb546942
Removed modelReady
hack now that the async router exists
2013-07-16 13:24:59 -04:00
Robin Ward
d466d11e71
Ember RC6 update
2013-07-16 10:35:18 -04:00
Robin Ward
08723f00c6
FIX: Bugs on Admin User approval interface
2013-07-15 11:28:41 -04:00
Robin Ward
0c7ead339b
Don't recalculate trustLevels combobox
2013-07-12 16:24:15 -04:00
Robin Ward
62d161fd70
Show number before trust level. Also use less memory for trust levels.
2013-07-12 16:18:32 -04:00
Robin Ward
5eaae063f0
Discourse Macro Helpers + Minor Fix to Admin User View
2013-07-11 19:35:52 -04:00
Neil Lalonde
7792b7da48
Use the solid envelope icon. Font-awesome swapped icon-envelope and icon-envelope-alt.
2013-07-10 17:06:07 -04:00
Robin Ward
b7327942af
Add deleted_by
to Trashable
tables
2013-07-09 15:46:36 -04:00
Neil Lalonde
3c38062802
Check for updates: edge cases when the message on the dashboard doesn't make sense.
2013-07-09 14:01:08 -04:00
Régis Hanol
924c5d65cb
wrapped I18n.lookup to inject the "js" namespace
2013-07-09 02:10:55 +02:00
Neil Lalonde
ad096ac2b7
More nav links on admin users list page
2013-07-08 12:44:14 -04:00
Neil Lalonde
9b0f63627b
Add blocked users count to dashboard
2013-07-08 12:44:13 -04:00
Régis Hanol
f9b2738ae1
add label for boolean setting
2013-07-08 01:43:30 +02:00
Régis Hanol
45c227c81c
fix column name in admin email logs
2013-07-06 22:29:16 +02:00
Neil Lalonde
84ce04dfa5
Use POST for send_activation_email action
2013-07-05 12:26:46 -04:00
Navin
c065fad546
Refactor setting originalTrustLevel to model.
2013-07-04 13:01:01 +02:00
Navin
b90a79d40a
Move setting originalTrustLevel from a CP to setupController
2013-07-04 09:32:12 +02:00
Navin
3da37506da
Back end - temporary boosting of trust levels
2013-07-03 10:30:40 +02:00
Navin
f92d9cec47
Front end mods to use combobox for selecting user's trust level
2013-07-03 10:30:32 +02:00
Neil Lalonde
075ed1ab53
Refactor user blocking code; hide the Block button in admin
2013-07-02 14:42:53 -04:00
Robin Ward
5770879472
Refactor: Move Topic Details into better objects, identity map, tests, query string filters
2013-07-02 10:36:46 -04:00
Jeff Atwood
40c9014634
make flag reply reply-ier
2013-06-27 16:01:48 -07:00
Sam
6145e99baa
navigate to message fixed, changed to button
...
added spec to catch this regression in future
2013-06-27 16:59:07 +10:00
Sam
87e9e9d437
fix broken link for admin user in flags
2013-06-27 16:59:07 +10:00
Neil Lalonde
b1d0f30379
Fix AdminUser bulkApprove; add a way to approve a user without sending them the welcome email for cases when must_approve_users is enabled and there are existing users
2013-06-26 13:24:30 -04:00
Robin Ward
89f182899f
Support for custom Privacy Policies
2013-06-26 10:59:36 -04:00
Sam
5a4279f2ab
if for some reason user was nuked don't kill the old flag page
2013-06-26 18:05:15 +10:00
Sam
827830d7ea
move each flag to its own row inside a nested table.
2013-06-26 17:01:58 +10:00
Sam
48d7a33157
Flag UI now displays deleted status for post/topic correctly on old flags
...
Commented out a spec that was failing in order random, with a TODO
2013-06-26 16:18:50 +10:00
Sam
148d2f2cd4
bug fixes
2013-06-26 16:00:17 +10:00
Neil Lalonde
b2d300fe0b
Add ability to give users a title. Show them under usernames beside posts. Needs love from a designer.
2013-06-25 18:39:20 -04:00
Robin Ward
82c21868f3
Moved JSHint into Qunit suite. It's much harder to forget about now!
2013-06-21 14:07:11 -04:00
Jeff Atwood
bcf54be780
incorrect nesting of #each on /admin/flags
2013-06-21 00:40:20 -07:00
Jeff Atwood
a9c251e71a
restructure /admin/flags rows a bit
2013-06-21 00:29:54 -07:00
Jeff Atwood
6de1e16595
add icons to the flag action buttons
2013-06-21 00:12:17 -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
Sam
31bcabd5e1
minor UI fixes for site customisations
2013-06-19 15:18:22 +10:00
Sam
a15ab2a0a6
flag type summary
2013-06-17 17:15:56 +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
ce82d18df5
fix unescaped string
...
improve tab "active" detection for categories
2013-06-15 15:45:22 +10:00
Neil Lalonde
f198c814a8
Add explanations for deactivate user and block user buttons in admin
2013-06-14 11:34:03 -04:00
Robin Ward
cb6774a895
FIX: Impersonate was hidden when navigating to user details page in admin from list.
2013-06-13 13:47:31 -04:00
Robin Ward
e29f4a3496
Work in Progress: Reply By Email:
...
- Add support classes and settings to enable reply by email
- Split out Email builder to be more OO, add many specs
2013-06-13 12:39:56 -04:00
Sam
ae1f5b3de0
goodbye NaNy
2013-06-12 16:38:02 +10:00
Neil Lalonde
811a0df68b
Make s3 region site setting a drop down
2013-06-11 14:24:04 -04:00
Robin Ward
8b4e3402c2
Small improvements to digest emails and preview mechanism.
2013-06-11 12:27:11 -04:00
Robin Ward
45cff9c674
Merge pull request #1011 from chrishunt/add-parens
...
Add missing parentheses to moment()
2013-06-11 09:01:04 -07:00
Chris Hunt
d5c7e6b5f4
Add missing parentheses to moment()
2013-06-11 08:46:14 -07:00
Neil Lalonde
5ff7e570ac
Add support for enum site settings that render as a dropdown; use a dropdown for default_locale
2013-06-11 11:40:14 -04:00
Sam
4e01b84695
fix digest
2013-06-11 15:27:26 +10:00
Sam
fa8a84f20c
removed sugar.js, port functionality to moment and underscore.js
...
bring in latest ace from local so we don't mess up with https
2013-06-11 15:27:26 +10:00
Robin Ward
7c715e76e8
Refactor: Light pass of didInsertElement calls of views
2013-06-07 12:13:46 -04:00
Chris Hunt
d50a598e62
Notify admin of successful user approval
2013-06-06 18:37:25 -07:00
Robin Ward
0b97ea6345
Better HTML emails, smarter email digests, new email section in admin with digest preview
2013-06-05 17:47:25 -04:00
Robin Ward
eb673c7e5d
Merge pull request #963 from chrishunt/chrishunt/refresh-user-list-after-approval
...
Refresh admin user list after approval
2013-06-05 12:07:49 -07:00
Robin Ward
07cd87f941
FIX: Couldn't navigate to Categories list via link
2013-06-05 12:40:06 -04:00
Robin Ward
a0bd51862e
Upgrade Ember to RC5. Disabled a deprecation warning that I believe is in error.
2013-06-05 12:07:18 -04:00
Chris Hunt
f05c30ab8d
Refresh admin user list after approval
2013-06-05 08:57:25 -07:00
Neil Lalonde
f0d4a38433
Admin flags UI shows when it's loading and when there are no results
2013-06-05 10:24:50 -04:00
Chris Hunt
f58dd7a6fb
Set properties of AdminApi after ajax response
2013-06-04 11:05:44 -07:00
Neil Lalonde
2259e97d42
Add a count of blocked users on the dashboard
2013-06-04 11:53:19 -04:00
Neil Lalonde
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
Jeff Atwood
476ffcc627
make delete user button a Danger Button
2013-05-31 12:50:11 -07:00
Robin Ward
5ae7707000
Refactor: Convert repeated {{view Discourse.xyz}} to registered view helpers
2013-05-29 15:14:31 -04:00
Robin Ward
57d5355ce8
wat
2013-05-29 15:00:35 -04:00
Robin Ward
4d5c145198
Refactor: Adds Discourse.Utilities.registerViewHelper
to register view helpers
2013-05-29 14:32:39 -04:00
Robin Ward
fe3ac50aae
Use {{aceEditor}}
helper to display the ace editor
2013-05-29 14:09:21 -04:00
Robin Ward
0601bb6d74
Trivial JS clean up
2013-05-29 14:09:17 -04:00
Robin Ward
27c1f1044c
FIX: Regression, messages were hidden
2013-05-28 21:24:45 -04:00
Chris Hunt
e75f881d58
Add styling to 'Generate API Key' button
2013-05-28 12:10:18 -07:00
Robin Ward
dd54736d06
Refactor: Removed the last of the references to Discourse.currentUser
.
2013-05-28 11:52:31 -04:00
Robin Ward
57f97880e6
Refactor: Instead of getting currentUser
from the Discourse namespace, use
...
`Discourse.User.current()`
2013-05-28 11:25:56 -04:00
Robin Ward
3037e9adf6
FIX: Clearing flags wasn't making topics visible again.
2013-05-24 16:03:20 -04:00
Robin Ward
56764f817b
Fix JsHint
2013-05-24 11:02:17 -04:00
Sam
a1520f0dee
implement save :)
2013-05-24 21:04:26 +10:00
Robin Ward
42248a7164
Removed many unnecessary paths that included content.x
when just x
would do.
2013-05-20 15:27:58 -04:00
Robin Ward
9544cfd7dc
target="controller"
is unnecessary. By default it will target the controller.
2013-05-20 14:37:05 -04:00
Robin Ward
a79d53c628
Removed many unnecessary controller.
uses in templates.
2013-05-20 13:45:14 -04:00
Robin Ward
c7aebbf4d6
Replace Ember.Text* insertions with helpers.
2013-05-20 12:56:36 -04:00
Robin Ward
1097d51b33
Replaced {{view Discourse.TextField}} with {{textfield}} helper.
2013-05-20 12:47:59 -04:00
Neil Lalonde
18634ad00d
Don't cache the problems list with the rest of the dashboard data
2013-05-15 11:09:12 -04:00
Robin Ward
008b308939
Fix: comma
2013-05-14 12:49:53 -04:00
Robin Ward
df2a718446
FIX: Load more user admin details, even when passed from a list
2013-05-14 12:03:46 -04:00
Sam
942f168ab6
UI still a tad rough, but we have a first pass of secure categories
2013-05-10 16:47:47 +10:00
Sam
5280b3a01b
more group progress, UI getting there, controller mostly done
...
changed it so notify moderators goes to the moderators group
allow admins to grant self moderation and revoke self moderation
2013-05-09 17:37:34 +10:00
Sam
4f328e3e45
+x on files makes no sense unless they really are executable
...
rails in the script dir makes no sense, use binstubs or bundler instead
2013-05-09 17:35:15 +10:00
Robin Ward
4e16badeae
Merge pull request #833 from kubabrecka/admin_api_l10n
...
Localize admin API section
2013-05-08 07:39:02 -07:00
Neil Lalonde
f35a44aeae
Add ability for admins and mods to send another activation email to a user, to activate an account, and deactivate an account
2013-05-08 10:10:47 -04:00
Kuba Brecka
05bc63b102
Localize admin API section
2013-05-08 09:13:10 +02:00