Robin Ward
e48cf06fc9
REFACTOR: Add urls for admin groups, make it more idiomatic ember
2014-04-23 15:15:46 -04:00
Régis Hanol
ff1823beca
BUGFIX: backups logs page was busted since last Ember update
2014-04-23 11:20:22 +02:00
Robin Ward
af877781b7
Allow admins to choose if groups are visible or not.
2014-04-22 16:43:46 -04:00
Jeff Atwood
b846eb4544
backup size column does not need to be so large
2014-04-17 23:49:58 -07:00
Neil Lalonde
6c7863bbba
Show installed version on dashboard after upgrade
2014-04-17 14:26:44 -04:00
Robin Ward
c9c95a9ac2
FIX: Ember doesn't allow one route name, basic
, and Discourse used it!
2014-04-17 10:45:06 -04:00
Vikhyat Korrapati
4c0f85650e
Display badge count in the user admin page.
2014-04-16 18:08:10 +05:30
Neil Lalonde
2c4ada6c7d
FIX: give an accurate reason why a user's posts can be deleted from admin
2014-04-14 15:10:41 -04:00
Sam
d3810ba3bc
Merge pull request #2212 from vikhyat/badge-system
...
Show badges in the poster expansion card
2014-04-14 10:54:43 +10:00
Vikhyat Korrapati
3f4c5ed451
Show badges in the poster expansion card.
2014-04-11 06:59:11 +05:30
riking
6779bec58c
Add UI for list site settings
2014-04-08 14:17:55 -07:00
Neil Lalonde
a784583004
FIX: search of site settings supports space or underscore
2014-04-07 11:14:12 -04:00
Neil Lalonde
dc3739d49f
Replace underscore with space when showing site setting names
2014-04-03 16:08:14 -04:00
riking
0828cf52ee
Add no-text class to buttons with no text
2014-03-29 23:28:04 -07:00
Régis Hanol
e5a04e3d5c
BUGFIX: mismatched braces
2014-03-26 18:17:40 +01:00
Mikulas
c30a9365e4
add localization to group administration
2014-03-26 13:45:58 +01:00
Vikhyat Korrapati
61ec2b390e
Don't display granted badges in the badge grant combobox.
2014-03-25 15:45:34 +05:30
Neil Lalonde
36cbd0d348
FIX: broken admin user page when must_approve_users is enabled
2014-03-24 11:43:06 -04:00
Neil Lalonde
e823558742
FIX: admin user page for suspended user was busted
2014-03-24 10:19:15 -04:00
Sam
c27c87911e
FEATURE: refactor notice code, add optional global notice.
...
Set the global_notice site setting to notify users of a critical event.
2014-03-24 16:51:48 +11:00
Vikhyat Korrapati
0f9ea25010
Interface for granting/revoking badges from admin user page.
2014-03-21 11:09:19 +05:30
Robin Ward
51e3d72461
Merge pull request #2141 from riking/correctness
...
Lots of JS correctness fixes
2014-03-19 11:20:15 -04:00
Régis Hanol
80bfdeee82
Merge pull request #2147 from vikhyat/serialize-params
...
Route `serialize` hook argument is the model, not params
2014-03-19 09:30:26 +01:00
Vikhyat Korrapati
28731ea633
Route serialize
hook argument is the model, not params.
2014-03-19 12:02:27 +05:30
Sam
eab30d1c28
Merge pull request #2146 from vikhyat/badge-system
...
Badge creation UI improvements
2014-03-19 17:11:00 +11:00
Vikhyat Korrapati
89d3835d64
Badge creation UI improvements.
2014-03-19 10:43:38 +05:30
Vikhyat Korrapati
a4461022a3
Move badges admin tab to after users, show only if enabled.
2014-03-19 09:48:04 +05:30
riking
3f35d1062e
Remove trailing commas, add trailing semicolons
2014-03-18 18:21:10 -07:00
riking
593f5df503
Corrections to JSDoc
2014-03-18 18:19:20 -07:00
Robin Ward
d0edfe2179
Better error messages if the "Send Test Email" button fails.
2014-03-18 15:26:36 -04:00
Vikhyat Korrapati
9b26c8584e
Initial badge system implementation.
2014-03-14 21:49:26 +05:30
Robin Ward
49a1733d97
FIX: We should use partials when rendering but keeping the same context.
2014-03-06 15:56:33 -05:00
Robin Ward
e2ea148e38
FEATURE: Allow customHTML
helper to resolve to a template if it
...
exists.
2014-03-06 13:32:32 -05:00
Régis Hanol
e5a4dc6eac
FEATURE: add a banner when read-only mode is enabled
2014-02-27 19:50:20 +01:00
Régis Hanol
68a935c36b
FEATURE: upload backups
2014-02-22 01:41:01 +01:00
Neil Lalonde
b696c96a19
Look at the age of a user's first post to determine if the user can be nuked, instead of looking at when the user registered.
2014-02-20 12:29:40 -05:00
Régis Hanol
30ccdf3fb7
BUGFIX: calling _super() won't actually set the model to the controller
...
cf.
351719f7c1 (commitcomment-5410366)
for more information
2014-02-18 18:21:35 +01:00
Régis Hanol
351719f7c1
BUGFIX: do not forget Ember's default behavior
2014-02-17 21:58:28 +01:00
Régis Hanol
35fd03c1e4
Merge pull request #1961 from verg/site_settings_load_top
...
Scroll to top on Site-Setting category render
2014-02-17 09:47:20 +01:00
verg
7e8c30c715
Scroll to top on Site-Setting category render
2014-02-16 16:35:07 -05:00
Régis Hanol
683bf8c0a4
FEATURE: add all email logs tab
2014-02-15 01:17:13 +01:00
Régis Hanol
3f3c9ca7cb
FEATURE: add filters on email logs
2014-02-15 00:50:08 +01:00
Neil Lalonde
e83ec810e1
FIX: heading shouldn't say Sent At on the page that shows email that were not sent. duh.
2014-02-14 13:09:22 -05:00
Neil Lalonde
35dae76bbd
Log when and why an email was not sent in email_logs
2014-02-14 13:06:39 -05:00
Régis Hanol
41d16a3657
forgot the AdminBackupsLogsRoute
2014-02-13 13:31:14 -08:00
Régis Hanol
50273ba815
rename site setting to
2014-02-13 13:31:14 -08:00
Régis Hanol
6123223fd0
change button order, read-only mode comes first
2014-02-13 13:31:14 -08:00
Régis Hanol
38e365ea45
do not show the read-only alert to the admin
2014-02-13 13:31:13 -08:00
Régis Hanol
babcc3fc50
backup & restore client-side code
2014-02-13 13:31:13 -08:00
Régis Hanol
310a439f3d
update client-side admin routes
2014-02-13 13:31:13 -08:00
Régis Hanol
26409dbef8
remove unnecessary ()
2014-02-13 13:31:13 -08:00
Régis Hanol
1636dce624
this should really be the AdminController
2014-02-13 13:31:13 -08:00
Neil Lalonde
8711762143
Users who have made no more than one post can delete their own accounts from their user preferences page.
2014-02-13 13:52:06 -05:00
Neil Lalonde
6bbc3ec3e0
Add a way to flag a topic
2014-02-12 12:57:55 -05:00
Robin Ward
b61df08d1b
FEATURE: Admin selector to choose a primary group for a user, display it
...
and apply a CSS class to their posts.
2014-02-10 17:00:15 -05:00
Robin Ward
45afed8720
FIX: Chrome has a bug where if you request the same URL with a different
...
MIME type, then leave and hit the back button, you'll get the last MIME
type requested instead of HTML. This fixes it.
2014-02-10 12:43:17 -05:00
Robin Ward
325c2dfaea
Rename load
to loadUsers
which is what the method was actually
...
doing.
2014-02-07 10:44:51 -05:00
Robin Ward
bd0c2a74fc
Return a promise from Discourse.Group.findAll()
2014-02-07 10:44:51 -05:00
Robin Ward
003eb06807
Move Discourse.Group
into public models
2014-02-07 10:44:51 -05:00
riking
7c12aeb848
Extract version check in dashboard to own template
2014-02-05 17:22:10 -08:00
Neil Lalonde
dc77e7e27c
You must give a reason for suspending a user
2014-02-04 11:03:35 -05:00
Neil Lalonde
90e195b2e7
More work on trust level 3 requirements page
2014-01-24 11:56:46 -05:00
Neil Lalonde
ae3b53bb76
Add a page in admin to view trust level 3 requirements for a user. Only shows for users who are currently at trust level 2.
2014-01-22 18:17:45 -05:00
Régis Hanol
7a82b65386
BUGFIX: restore Mousetrap's bindGlobal plugin
...
cleared deprecated warnings in admin_customize_view
2014-01-22 16:52:09 +01:00
Robin Ward
4981525047
REFACTOR: Fixes poor class hierarchy for listing topics
...
- Upgrades Ember to latest
- Fixes a bunch of bugs with page titles and missing "active" states
2014-01-18 19:26:24 +01:00
Robin Ward
6131829df0
rename date
to unboundDate
because it is unbound.
2014-01-17 15:23:51 -05:00
Régis Hanol
92cb52e76e
BUGFIX: groups page wasn't working
2014-01-14 19:18:04 +01:00
Sam
2b64118df1
Merge pull request #1782 from ligthyear/group-mention
...
Allow groups to be used as aliases for user mentions
2014-01-12 14:36:45 -08:00
Neil Lalonde
52580f09af
Rename favorite to starred everywhere
2014-01-10 14:54:19 -05:00
Benjamin Kampmann
7cbe92d5b6
move alias levels into enums
2014-01-08 03:47:01 +11:00
Benjamin Kampmann
c743a985a4
Allow groups to be used as aliases for user mention
...
when configured by the admin a group can be found through the @mentions
feature in both the compose/reply and the private message user-selectors
and once selected the mention will be replaced by the list of users in
the group
2014-01-08 02:36:24 +11:00
Robin Ward
3bba75b052
FIX: Email preview with no date caused a server error
2014-01-06 10:18:37 -05:00
Régis Hanol
8d73b7f94d
BUGFIX: hide sensitive site settings
2014-01-06 13:03:53 +01:00
Régis Hanol
abf910d210
FEATURE: allow for custom HTML inside the <head> tags
2014-01-02 16:22:04 +01:00
Robin Ward
a502266c42
Enable JSHINT's unused
option. It caught a bunch of suspicious stuff which is fixed in this commit.
2013-12-30 13:30:22 -05:00
Régis Hanol
567d2bd23c
add top page
2013-12-24 00:50:36 +01:00
Neil Lalonde
f91cb11666
Show why a user can't be deleted on the page instead of as a tooltip
2013-12-20 11:37:01 -05:00
Neil Lalonde
6135d1d214
Add a button to clear filters on site settings page
2013-12-20 11:37:01 -05:00
Neil Lalonde
ee5637d4ff
FIX: font-awesome issue on site settings buttons
2013-12-12 16:09:44 -05:00
Neil Lalonde
ed3d3ae1e1
Upgrade font-awesome to version 4
2013-12-11 10:31:09 -05:00
Benjamin Brent
761da7d380
Fix email_preview AJAX call to use Discourse.ajax
2013-12-01 13:30:41 +11:00
Neil Lalonde
35bb4fc17f
When flag is from system, don't show a user avatar. Say System: instead
2013-11-22 11:14:09 -05:00
Neil Lalonde
1616741836
Say something when no site settings match the filter
2013-11-19 16:46:20 -05:00
Neil Lalonde
6eb5f1aec2
FIX: site settings page layout at smaller widths
2013-11-16 14:14:49 -05:00
Neil Lalonde
b921478cbb
Use debounce to make filtering on the All Results tab faster
2013-11-15 16:46:19 -05:00
Neil Lalonde
d3c84b60c8
Add an All Results tab when filtering the site settings
2013-11-15 16:43:56 -05:00
Neil Lalonde
97bc187735
Use stacked nav on left to navigate site settings categories
2013-11-15 15:22:42 -05:00
Neil Lalonde
726b985ece
FIX: a js error when reloading /admin/site_settings/category/:id
2013-11-14 16:50:34 -05:00
Neil Lalonde
d9e4eec49f
Style the site setting category links. Required and Basic Setup are bigger and all other links are to the right of them.
2013-11-14 16:02:14 -05:00
Neil Lalonde
ca0a8a5970
Move save and resetDefault actions to the adminSiteSettingsCategory controller
2013-11-14 16:02:14 -05:00
Neil Lalonde
df213d7b23
Filter on site settings across all categories
2013-11-14 16:02:14 -05:00
Neil Lalonde
1e37abc310
Add site setting category support
2013-11-14 16:02:13 -05:00
Régis Hanol
e9f9d22482
add query parameter to temporarily disable customization
2013-11-12 18:14:22 +01:00
Zachary Lewis
53f2d4b66c
Updated styles on admin customize page.
2013-11-11 15:20:58 -06:00
Neil Lalonde
2f8866add5
Change admin display-row css so that multiple lines can fit in the control column. Don't hard-code a height on the rows.
2013-11-11 15:03:17 -05:00
Neil Lalonde
dbd2332b74
Public user profile page shows if the user is suspended and why.
2013-11-07 16:34:31 -05:00
Neil Lalonde
0c6f794eb0
Used the term suspended instead of banned.
2013-11-07 13:53:49 -05:00
Neil Lalonde
6597738322
Improve how banned fields are rendered on admin user page
2013-11-05 15:00:54 -05:00
Neil Lalonde
bd9b85f076
Screened Urls page shows results for each domain instead of each url
2013-11-04 16:24:48 -05:00
Neil Lalonde
ede59a4386
FIX: issue 1538. After upgrading and before a new version check request has been made, dashboard might still say that an update is available.
2013-11-04 12:51:09 -05:00
Robin Ward
52c3457133
Site setting to support showing real names in posts. Also put back in type to search on site settings
2013-11-01 16:32:12 -04:00
Neil Lalonde
0060050c08
Replace data-dismiss=modal with action close. It's better to use our own ember code instead of relying on bootbox magic.
2013-11-01 12:14:08 -04:00
Neil Lalonde
92a0729937
When banning a user, a reason can be provided. The user will see this reason when trying to log in. Also log bans and unbans in the staff action logs.
2013-11-01 10:47:26 -04:00
Neil Lalonde
e1d956f5ee
Improve styling of staff action logs UI
2013-10-31 12:17:06 -04:00
Robin Ward
bb135fafb4
Replace slow auto-filter in site settings with a filter button
2013-10-29 17:03:50 -04:00
Robin Ward
5689e314c5
Upgrade Ember to 1.1.2
2013-10-29 13:01:57 -04:00
Neil Lalonde
017efdece5
A form to add ip addresses to be blocked or whitelisted
2013-10-24 17:19:10 -04:00
Neil Lalonde
237312dbde
Styling on screened ip addresses page
2013-10-23 13:01:50 -04:00
Neil Lalonde
3db7529ad4
More icons on screened ip addresses page
2013-10-23 13:01:50 -04:00
Robin Ward
348e2e3ef2
Support for per-user API keys
2013-10-22 17:34:39 -04:00
Neil Lalonde
7d582fbee3
Screened ip address can be edited, deleted, and changed to allow or block.
2013-10-22 16:30:46 -04:00
Neil Lalonde
b8d586251c
Use i18n for the word Cancel in admin/.../user.js.handlebars
2013-10-22 16:30:46 -04:00
Neil Lalonde
648b11a0eb
Add screening by IP address. When deleting a user as a spammer, block all signups from the same IP address.
2013-10-21 14:50:18 -04:00
Neil Lalonde
c7aaee907b
When system flags users as sockpuppets, show a reason in the admin flags ui
2013-10-16 11:47:16 -04:00
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