Sam
c42b3ca657
fix messy merge
2014-09-30 13:22:45 +10:00
Sam
0fc6c751cb
FEATURE: implement lock/unlock trust level mechanics
2014-09-30 13:16:34 +10:00
riking
bff95a6a97
Rename 'leader' -> 'tl3'
2014-09-30 13:16:34 +10:00
riking
4aabc44264
Display grace period note even if not below requirements
2014-09-30 13:15:14 +10:00
riking
c8111ada6e
FEATURE: Allow admins to lock users from TL3 promotion/demotion
...
Also, update the display logic for the leader promotion screen to
account for the demotion grace period.
2014-09-30 13:15:13 +10:00
Régis Hanol
7e309a21cf
FEATURE: hide emails behind a button for staff members
2014-09-29 22:31:05 +02:00
Robin Ward
5d91a4ef0c
FIX: Back button broke on customize routes in admin
2014-09-29 11:54:14 -04:00
Robin Ward
d0fb8bbcfc
Instead of .js.handlebars
use .hbs
for handlebars templates
2014-09-26 15:23:15 -04:00
Robin Ward
0fc0533134
FEATURE: Admin interface for adding custom fields for users
2014-09-25 16:17:51 -04:00
Sam
c248d28c38
FEATURE: display associated accounts in admin user
2014-09-25 16:15:01 +10:00
Robin Ward
6c275cd64d
Update i18n keys for site_content rename
2014-09-24 16:13:48 -04:00
Robin Ward
bc53d48bd7
Renaming site contents to site text
2014-09-24 16:08:14 -04:00
Robin Ward
3afe274ccd
Rename "Content" header to "Text Content" to make it more clear
2014-09-23 17:27:48 -04:00
Robin Ward
fc32a0920d
Move "Content" under "customize" in admin.
2014-09-23 17:12:31 -04:00
Robin Ward
1de9c3b04a
Migrate more helpers to ES6 format.
2014-09-12 14:27:34 -04:00
Martin Feckie
b266b16b6a
Make style more consistent with rest of site
2014-09-12 16:44:40 +08: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
Neil Lalonde
91d114756c
FIX: don't always say that an email is not verified in admin
2014-09-11 10:58:07 -04:00
Robin Ward
62c9e4228d
Rename {{icon}}
helper to {{fa-icon}}
for future Ember
...
compatibility.
2014-09-09 17:29:05 -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
Régis Hanol
00bd665c96
FEATURE: add count of previous flags on the post
2014-09-08 17:53:29 +02:00
Robin Ward
334e21a03a
Revert "Revert "FEATURE: Can create warnings for users via PM""
...
This reverts commit 1c7559380c
.
2014-09-08 11:11:56 -04:00
Robin Ward
1c7559380c
Revert "FEATURE: Can create warnings for users via PM"
...
This reverts commit b0bfc1f93f
.
2014-09-08 10:38:59 -04:00
Robin Ward
b0bfc1f93f
FEATURE: Can create warnings for users via PM
2014-09-08 10:27:06 -04:00
Robin Ward
e9600d7cb1
Convert some application helpers to ES6 format.
2014-09-03 13:30:22 -04:00
Neil Lalonde
6489c1d7e3
FIX: admin page for users who have not been activated makes it more clear that the account is inactive, and won't offer actions that don't work yet
2014-09-03 10:41:13 -04:00
Neil Lalonde
ff136ddeea
FEATURE: accounts that have not been activated are grey in admin user lists
2014-09-03 10:09:30 -04:00
Sam
c6aab831ed
Merge pull request #2741 from riking/badges_create_checks
...
FIX: Apply contract checks when first creating a badge
2014-09-03 22:19:09 +10:00
riking
71b7c80257
UX: CSS tweaks for badge query previews
2014-09-02 19:09:51 -07:00
riking
8979020b9d
Clean up unused translations
2014-09-02 15:40:23 -07:00
riking
3413228e89
UX: Change Impersonate to btn-danger
2014-09-02 15:33:54 -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
Neil Lalonde
ec42b61a4d
FIX: suspended users cannot be trust level 3
2014-08-29 12:33:34 -04:00
Robin Ward
09ea159afc
UX: Add link to change username on admin page
2014-08-27 13:52:01 -04:00
Jeff Atwood
553e0290a6
mods can use shield glyph as well, don't need two
2014-08-25 23:49:39 -07:00
riking
4db5c8d617
Add data-auto-route=true to Logster link
2014-08-25 15:59:48 -07:00
Jeff Atwood
bd66c67398
whoops, used font awesome 3.2 styles :(
2014-08-24 22:20:59 -07:00
Jeff Atwood
01853fb9d3
replace trophy with shield to indicate admin
2014-08-24 22:05:11 -07:00
Sam
e0a74e336a
Add SSO diagnostics
2014-08-23 10:34:48 +10:00
Neil Lalonde
bbb358b356
Add likes given and likes received requirement for being TL3. Configure with site settings leader_requires_likes_given and leader_requires_likes_received.
2014-08-22 17:33:39 -04:00
Neil Lalonde
00c28f2391
Show total likes given. Put likes given/received and flags given/received together.
2014-08-22 15:23:19 -04:00
Neil Lalonde
dafc63e3a0
Show how many likes users received in the last 100 days on their admin profile page
2014-08-22 14:37:07 -04:00
Sam
136169bc73
Merge pull request #2676 from riking/logster-link
...
Add link to Logster in "Logs" tab of admin panel
2014-08-22 10:21:04 +10:00
riking
50d4e283dc
Add link to Logster in "Logs" tab of admin panel
2014-08-20 14:40:16 -07:00
Robin Ward
d35633deab
FIX: Using a binding in an {{avatar}}
was broken
2014-08-20 15:12:18 -04:00
Régis Hanol
dbb4258e86
FIX: user avatar in flags list
2014-08-20 19:21:19 +02:00
Régis Hanol
8a20d05ba5
FEATURE: backup without uploads
2014-08-20 18:53:58 +02:00
Régis Hanol
9f72971d26
FEATURE: add the pencil glyph when the post was edited after the first flag
2014-08-18 18:56:39 +02:00