Sam
fe578f9944
FEATURE: Allow manual assignment of related post to badge
...
PERF: clean up performance of user badges admin when large number of badges exist
2015-02-25 12:53:01 +11:00
Robin Ward
fed9943d90
Minor ES6 tweaks
2015-02-18 14:23:14 -05:00
Ed Gibbs
c50205725f
FIX: Default sort grantable badges by name
...
Currently has no default sort and was stated as a bug here:
https://meta.discourse.org/t/badges-not-sorted-in-grant-badge-dropdown/23739
(Post was recently deleted or made private?)
2015-02-15 17:37:11 -08:00
Robin Ward
cf3582bedb
FIX: JSHint wasn't validating ES6 files, this fixes a bunch of errors.
2015-02-10 17:21:16 -05:00
Régis Hanol
c4e427cf73
FEATURE: filter screened IP addresses
2015-02-10 19:38:59 +01:00
Robin Ward
3d7b534564
FEATURE: New "Plugins" admin section with extensibility support
2015-02-06 17:33:24 -05:00
Sam
820ce8765e
refactor traffic report
...
split traffic report in 2, page view vs raw traffic
hide raw traffic report by default
improve flushing logic for application reqs
2015-02-06 14:39:16 +11:00
Robin Ward
4e64d16a47
FEATURE: Allow plugins to log staff actions
2015-02-05 15:26:34 -05:00
Neil Lalonde
644c7a4675
FEATURE: Add an option to show custom user fields on profiles. Default is to not show them.
2015-01-29 17:38:39 -05:00
Régis Hanol
e300945879
FEATURE: split group admin in 2 tabs (custom & automatic)
...
FIX: clear the user-selector when adding new members
2015-01-21 20:52:48 +01:00
Régis Hanol
060cda7772
FIX: proper handling of group memberships
2015-01-05 18:51:45 +01:00
Régis Hanol
386b0a2587
fix the build
2014-12-29 22:36:25 +01:00
Régis Hanol
25e5031fb1
FIX: site setting search
2014-12-29 21:56:33 +01:00
Arpit Jalan
bb152a5b3f
FEATURE: download user posts archive
2014-12-24 15:13:48 +05:30
Régis Hanol
45dbdb6896
FEATURE: custom emojis
2014-12-23 01:12:26 +01:00
Robin Ward
f42a5c1ba3
Convert a lot of Globals to ES6 modules
2014-12-17 09:31:42 -05:00
Robin Ward
61101736cb
Ember.empty
has been renamed to Ember.isEmpty
2014-12-17 09:31:40 -05:00
Arpit Jalan
42cbe6ef2a
FEATURE: export csv for all the logs
2014-12-11 23:33:26 +05:30
Régis Hanol
5b90ceb71d
FEATURE: rolls up 1.2.*.* IP ranges when number of entries > 10
2014-11-27 19:29:30 +01:00
Robin Ward
8366fcd78f
FIX: Don't lose focus on site settings text field (was changing routes
...
during filtering)
2014-11-26 18:01:45 -05:00
Robin Ward
a3e53e0d28
Use far fewer admin user list routes, instead pass the query as a
...
parameter.
2014-11-26 13:05:49 -05:00
Régis Hanol
2c38f969cc
UX: add confirm dialog when rolling up IP ban entries
2014-11-24 19:38:47 +01:00
Régis Hanol
1023191315
FEATURE: roll up function for 123.456.789.* ranges
2014-11-24 17:25:48 +01:00
Régis Hanol
7611eb4e78
UX: bold all the entries in the screened IP list that are more than a single IP
2014-11-24 11:26:29 +01:00
Arpit Jalan
c84b51d4ae
FEATURE: show exact error for test email
2014-11-19 22:58:59 +05:30
Robin Ward
03bc91f204
Unify loading-spinner
helper, add conditional support via component
2014-11-12 15:11:20 -05:00
Robin Ward
873277ae5f
Add loading route support to admin flags
2014-11-11 15:48:13 -05:00
Robin Ward
a6b1be81b1
Upgrade to Ember 1.7.1 + group patch
2014-11-10 14:49:02 -05:00
Robin Ward
2d9187cd9d
Admin controls to select a date range for reports
2014-11-05 14:46:44 -05:00
Régis Hanol
b09ad87098
FIX: add 'show emails' button from moderators in user admin section
2014-11-03 12:46:08 +01:00
Régis Hanol
6e053942a4
FIX: moderators should be able to search users by email
2014-10-29 22:08:41 +01:00
Robin Ward
71f211f0b3
FEATURE: Allow users to select a badge with an image to appear on their
...
user card
2014-10-20 16:35:38 -04:00
Robin Ward
0cbdf6f5bb
FIX: Many bugs with admin badges interface
...
* Editing a badge's title would show it as changed in the side even if
you didn't hit save
* Clicking a badge would not scroll to the top
* If there was an error saving a badge there was a missing i18n key
* URLs were using queryParams instead of paths
* User `label` tags for checkboxes for larger click targets
* Saved! text would persist when viewing another badge
* After creating a new badge it would show nothing
* Validation errors were not being properly released to the client
* Query errors were surrounded by an extra array
2014-10-17 16:14:49 -04:00
Robin Ward
f9a8f6d6ce
FEATURE: Support for a required
setting on user fields.
2014-10-08 15:10:19 -04:00
Régis Hanol
c46b9c0ac3
FIX: allow admins to search users by email
2014-10-07 12:05:38 +02:00
Robin Ward
381814fd5d
Adds support for a description to user fields.
2014-10-02 15:56:52 -04:00
Robin Ward
edb34c178a
FEATURE: Show user fields when the user is signing up
2014-09-30 10:45:18 -04:00
Régis Hanol
7e309a21cf
FEATURE: hide emails behind a button for staff members
2014-09-29 22:31:05 +02:00
Robin Ward
0fc0533134
FEATURE: Admin interface for adding custom fields for users
2014-09-25 16:17:51 -04:00
Robin Ward
bc53d48bd7
Renaming site contents to site text
2014-09-24 16:08:14 -04:00
Robin Ward
fc32a0920d
Move "Content" under "customize" in admin.
2014-09-23 17:12:31 -04:00
Robin Ward
8559bbe508
Remove many usages of Discourse
in templates as it's deprecated in new
...
releases of Ember
2014-09-11 16:30:47 -04:00
Robin Ward
af6936cf72
Refactor some deprecations for newer versions of Ember. Also set up
...
injection for some globals so we can migrate away from them.
2014-09-11 16:16:21 -04:00
Neil Lalonde
d492bac587
Remove the git commits widget from the admin dashboard
2014-09-11 14:45:42 -04:00
Régis Hanol
79030c874e
FIX: allow staff members to restore withdrawn posts that are flagged
2014-09-09 20:26:40 +02:00
riking
71b7c80257
UX: CSS tweaks for badge query previews
2014-09-02 19:09:51 -07:00
riking
1833b43ae2
FEATURE: Badge query validation, preview results, and EXPLAIN
...
Upon saving a badge or requesting a badge result preview,
BadgeGranter.contract_checks! will examine the provided badge SQL for
some contractual obligations - namely, the returned columns and use of
trigger parameters.
Saving the badge is wrapped in a transaction to make this easier, by
raising ActiveRecord::Rollback on a detected violation.
On the client, a modal view is added for the badge query sample run
results, named admin-badge-preview.
The preview action is moved up to the route.
The save action, on failure, triggers a 'saveError' action (also in the
route).
The preview action gains a new parameter, 'explain', which will give the
output of an EXPLAIN query for the badge sql, which can be used by forum
admins to estimate the cost of their badge queries.
The preview link is replaced by two links, one which omits (false) and
includes (true) the EXPLAIN query.
The Badge.save() method is amended to propogate errors.
Badge::Trigger gets some utility methods for use in the
BadgeGranter.contract_checks! method.
Additionally, extra checks outside of BadgeGranter.contract_checks! are
added in the preview() method, to cover cases of null granted_at
columns.
An uninitialized variable path is removed in the backfill() method.
TODO - it would be nice to be able to get the actual names of all
columns the provided query returns, so we could give more errors
2014-08-31 11:25:44 -07:00
Robin Ward
9e2c72e277
Allow restoring from backups in development mode even if the setting is
...
off.
2014-08-28 17:02:48 -04:00
Régis Hanol
8a20d05ba5
FEATURE: backup without uploads
2014-08-20 18:53:58 +02:00
Robin Ward
0adfeb1cff
ES6: Mega update of controllers
2014-08-13 10:22:47 -04:00
Régis Hanol
ec30086dea
FEATURE: agree all the flags
2014-08-04 22:48:04 +02:00
Régis Hanol
bddffa7f9a
FEATURE: flag dispositions normalization
...
All flags should end up in one of the three dispositions
- Agree
- Disagree
- Defer
In the administration area, the *active* flags section displays 4 buttons
- Agree (hide post + send PM)
- Disagree
- Defer
- Delete
Clicking "Delete" will open a modal that offer to
- Delete Post & Defer Flags
- Delete Post & Agree with Flags
- Delete Spammer (if available)
When the flag has a list associated, the list will now display 1
response and 1 reply and a "show more..." link if there are more in the
conversation. Replying to the conversation will NOT give a disposition.
Moderators must click the buttons that does that.
If someone clicks one buttons, this will add a default moderator message
from that moderator saying what happened.
The *old* flags section now displays the proper dispositions and is
super duper fast (no more N+9999 queries).
FIX: the old list includes deleted topics
FIX: the lists now properly display the topic states (deleted, closed,
archived, hidden, PM)
FIX: flagging a topic that you've already flagged the first post
2014-07-28 19:28:07 +02:00
Sam
1a6aa07611
FEATURE: editable badge groups
2014-07-27 18:22:01 +10:00
Robin Ward
15a51c6316
ES6: Patch up a few issues with the admin controllers conversion
2014-07-25 14:17:58 -04:00
Joshua Gorner
e242368266
Convert admin section controllers to ES6 modules
2014-07-25 14:17:58 -04:00
Sam
ae686e8188
FIX: no new badges could be created
2014-07-25 15:48:43 +10:00
Sam
ec03d135fa
FEATURE: allow advanced badge options in admin screen
...
clean up serializer, allow simplistic preview
2014-07-24 18:28:23 +10:00
Robin Ward
c8a0bf35c5
FIX: Navigating to a user's admin page would not populate
...
`availableGroups`
2014-07-23 16:54:04 -04:00
Benjamin Kampmann
518207aa90
move ajax into models
2014-07-15 16:11:39 +02:00
Benjamin Kampmann
2435961b58
use computed
2014-07-15 15:43:53 +02:00
Benjamin Kampmann
ac3f1ba3d6
Improved Group Member Management on User Administration
...
Allows for a quick and easy group membership management on the
user-administration page. Uses the select2 UI component to
autosuggest other groups, remove existing ones and lock in automatic
groups.
2014-07-13 20:11:38 +02:00
Régis Hanol
59b5ba7c0f
BUGFIX: IP lookup wasn't working when using HTTPS
...
REFACTOR: the ip locator into a ip-lookup component
2014-07-07 22:18:18 +02:00
Vikhyat Korrapati
67a2b2598d
Cosmetic changes.
2014-06-19 16:56:18 +05:30
Robin Ward
580a1bf8b0
ES6: Migrated and deprecated a bunch of views
2014-06-10 11:54:38 -04:00
Sam
9e9c41ac52
FEATURE: admins can clear screend emails if needed
2014-06-02 16:53:00 +10:00
Vikhyat Korrapati
a79bf11edb
Admin badge creation bug fixes.
2014-05-27 09:03:55 +05:30
Vikhyat Korrapati
d208e4d517
Multiple grant badges.
2014-05-21 12:54:55 +05:30
Vikhyat Korrapati
a25087b62a
Badges admin UI improvements.
...
* Query param to allow linking.
* Better handling of deleting unsaved badges.
* New badge list item style improvement.
2014-05-19 10:50:57 +05:30
Vikhyat Korrapati
6225b83f4a
Show system badges in the admin interface but don't allow editing them.
2014-05-19 10:27:04 +05:30
Neil Lalonde
4980cff802
Add descriptions. Make all the actions buttons. Add a revert button to colors. Add a new variable: quaternary.
2014-05-14 10:19:00 -04:00
Neil Lalonde
c4d3aa3d47
Theming: a UI to choose some base colors that are applied to all the site css. CSS compiled outside of asset pipeline.
2014-05-14 10:18:12 -04:00
Neil Lalonde
20df262814
Add filters to colors ui
2014-04-25 10:10:17 -04:00
Robin Ward
cf6cbb955b
REFACTOR: Introduce Discourse.computed.setting
to create a computed
...
property that links to a `Discourse.SiteSetting`
2014-04-24 18:36:02 -04:00
Neil Lalonde
feaaf55a0c
Theming: color scheme editing. Unfinished! Doesn't have any effect on css files yet.
2014-04-24 16:49:12 -04:00
Robin Ward
e48cf06fc9
REFACTOR: Add urls for admin groups, make it more idiomatic ember
2014-04-23 15:15:46 -04:00
Robin Ward
af877781b7
Allow admins to choose if groups are visible or not.
2014-04-22 16:43:46 -04:00
Vikhyat Korrapati
3f4c5ed451
Show badges in the poster expansion card.
2014-04-11 06:59:11 +05:30
Neil Lalonde
a784583004
FIX: search of site settings supports space or underscore
2014-04-07 11:14:12 -04:00
Vikhyat Korrapati
61ec2b390e
Don't display granted badges in the badge grant combobox.
2014-03-25 15:45:34 +05:30
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
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
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
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
Régis Hanol
50273ba815
rename site setting to
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
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
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
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
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
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
Neil Lalonde
6135d1d214
Add a button to clear filters on site settings page
2013-12-20 11:37:01 -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
726b985ece
FIX: a js error when reloading /admin/site_settings/category/:id
2013-11-14 16:50:34 -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
Régis Hanol
e9f9d22482
add query parameter to temporarily disable customization
2013-11-12 18:14:22 +01:00
Neil Lalonde
0c6f794eb0
Used the term suspended instead of banned.
2013-11-07 13:53:49 -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
Neil Lalonde
017efdece5
A form to add ip addresses to be blocked or whitelisted
2013-10-24 17:19:10 -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
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
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
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
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
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
bb492eb8bf
Add filtering to staff logs page
2013-08-09 16:59:05 -04:00
Neil Lalonde
90a3bcf6ff
Add filter by action to staff logs page
2013-08-09 10:06:59 -04:00
Neil Lalonde
0d44313a4b
Use Ember.ListView for blocked emails list
2013-08-09 10:06:58 -04:00
Robin Ward
51f5cf77fb
Convert Discourse.User
to use Discourse.Singleton
2013-08-08 12:42:08 -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
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
Michael Campagnaro
aa7e96c0fa
Fix auto-group refresh response so that ajax callback runs
2013-07-26 19:47:32 -04:00
Michael Campagnaro
9616767bff
Add confirmation modal to admin group deletion
2013-07-22 02:48:23 -04:00
Robin Ward
08723f00c6
FIX: Bugs on Admin User approval interface
2013-07-15 11:28:41 -04:00
Robin Ward
5eaae063f0
Discourse Macro Helpers + Minor Fix to Admin User View
2013-07-11 19:35:52 -04:00
Régis Hanol
924c5d65cb
wrapped I18n.lookup to inject the "js" namespace
2013-07-09 02:10:55 +02: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