Commit graph

994 commits

Author SHA1 Message Date
Sam
1c8b3c9447 sort out import ordering in admin js 2015-11-21 01:10:31 +11:00
Sam
c0b277d273 REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS
This change is discussed here: https://meta.discourse.org/t/deprecating-es6-compatibility-layer/35821

Prior to this change we were not booting correctly with DISCOURSE_NO_CONSTANTS
2015-11-21 00:14:50 +11:00
Robin Ward
f5b34d5f53 FEATURE: Admin interface for editing email templates 2015-11-19 16:39:34 -05:00
Gerhard Schlager
6e33a21a7a FIX: Replace invalid pluralizations in locale files 2015-11-13 21:25:15 +01:00
Sam Saffron
6dd4bc7d57 FEATURE: support group owner, capable of controlling group membership
Group owners are regular users that can add or remove users to a group
The Admin UX allows admins to appoint group owners
The public group UX will display group owners first and unlock UI to
add and remove members

Group owners can only be appointed on non automatic groups
Group owners may not appoint another group owner
2015-11-10 00:56:57 +11:00
Robin Ward
e2a663bff1 Merge pull request #3812 from gwwar/emoji-embed
FIX: allow emoji class when crawling embedded content
2015-11-06 14:52:59 -05:00
Régis Hanol
30eaa0e1c5 FIX: delete spammer wasn't working in /admin/flags 2015-11-06 11:04:10 +01:00
kerryliu
b7803fc68e FIX: allow emoji class when crawling embedded content, add rspc-html-matchers 2015-11-05 18:51:26 -08:00
Robin Ward
bb21902954 Add keyboard shortcuts back to d-editor 2015-11-03 14:01:26 -05:00
Neil Lalonde
4d6dd3a952 add plugin outlet to the top of the admin dashboard 2015-11-02 14:38:07 -05:00
Guo Xiang Tan
30bddd1112 FIX: Duplicated custom badges in AdminBadgesController. 2015-11-02 13:13:17 +08:00
Leo McArdle
fe5264f9e9 filter by username in email digest preview
adds a user prompt on the email digest preview page to generate a preview for a particular user
also fixes some broken styling on the page
2015-10-30 18:11:38 +00:00
Régis Hanol
b9437936ab Merge pull request #3848 from gschlager/patch-2
Remove example CSS selectors from locale file
2015-10-29 10:01:52 +01:00
Robin Ward
46ca66771b FIX: Better error message for resending activation. Don't limit staff. 2015-10-27 16:25:30 -04:00
Robin Ward
47e25648df FEATURE: Change user groups in bulk via admin 2015-10-26 15:57:30 -04:00
Robin Ward
94b60e62a2 FEATURE: New markdown editor re-written in Ember
Note this commit leaves out the biggest occurrence of the editor
which is the post/topic composer.

To avoid major breakage, this replaces it everywhere else it was
used:

* User preferences (About Me)
* Admin Customizations > Text Content
* Category Templates
* Editing Queued Posts

A future commit will replace the main composer with this editor
and will remove the unused pagedown code.
2015-10-19 11:01:20 -04:00
Robin Ward
e8424bd54e SECURITY: Moderators should not see API keys 2015-10-14 15:40:23 -04:00
Neil Lalonde
37c783c348 Merge pull request #3851 from xfalcox/patch-3
Fix impersonate redirect on subfolder install
2015-10-14 11:02:41 -04:00
Rafael dos Santos Silva
dfed999ec8 Remove getUrl on impersonate redirect
As said by  @riking @nlalonde and @ZogStriP
2015-10-13 16:52:35 -03:00
Guo Xiang Tan
aaff46d67f FIX: Conditions broken in flagging modals. 2015-10-13 16:56:32 +08:00
Rafael dos Santos Silva
ccd46bf431 Fix impersonate redirect on subfolder install
Impersonate was redirecting to base site, instead of Discourse when using subfolder install.
2015-10-12 16:14:39 -03:00
Gerhard Schlager
11a6b61cbd Remove example CSS selectors from locale file 2015-10-11 14:48:37 +02:00
Jeff Atwood
0b295150e7 UX: clearer delete user action buttons 2015-09-30 16:06:55 -07:00
Robin Ward
3cd23b45af PERF: Only render 30 site settings in "All" when filtering 2015-09-29 13:34:09 -04:00
Robin Ward
3aaa9a8722 Restrict access to the Email admin tab to Admins 2015-09-29 12:37:46 -04:00
Régis Hanol
a7f2741674 FIX: only show the backups link in dashboard to administrators 2015-09-28 16:51:12 +02:00
Régis Hanol
2ca8d08acb FIX: only display 'show settings' buttons to admins 2015-09-28 16:23:41 +02:00
Gerhard Schlager
7d5e2d46c5 FIX: Only enabled badges can be granted
FIX: Sort badges by displayName
2015-09-24 02:06:04 +02:00
Neil Lalonde
5ca26a7707 FEATURE: add site setting use_admin_ip_whitelist to enable/disable the whitelisting of admins by IP address 2015-09-23 12:15:08 -04:00
Robin Ward
7d4dbc9962 Give example values for CSS rules in embedding 2015-09-23 12:10:15 -04:00
Régis Hanol
1aad58b642 Merge pull request #3781 from tgxworld/feature_log_category_settings
Feature log category settings
2015-09-23 11:34:08 +02:00
Gerhard Schlager
caa1a8231b FIX: Show translated badge name 2015-09-19 21:33:20 +02:00
Arpit Jalan
0717517332 UX: show user full name on admin profile 2015-09-19 18:08:04 +05:30
Guo Xiang Tan
f39b9124b6 FEATURE: Log staff actions for Category changes. 2015-09-18 10:53:08 +08:00
getabetterpic
87725206cd Fix bug when adding new custom group
When adding a new group, if Delete was clicked before saving the
group, the modal would come up, but the Yes confirmation would
do nothing. This fixes that by taking an approach similar to the
Badges and checks to see if the Group is new, and if it is, just
returns to the index instead of invoking the confirm modal.

This also fixes the redirect after saving a new Group.
2015-09-17 10:23:58 -04:00
Régis Hanol
5277ec1ac0 FIX: ensure we have a bucket before enabling backups to S3 2015-09-16 15:55:26 +02:00
Robin Ward
975edceff4 Add semi colon linting to Javascript 2015-09-15 17:08:50 -04:00
Robin Ward
24991c4016 FIX: ESLint failure 2015-09-15 16:57:57 -04:00
Neil Lalonde
41025be8f7 add download icon 2015-09-15 16:52:46 -04:00
Neil Lalonde
b4a724e80a FEATURE: export dashboard reports to csv file 2015-09-15 16:45:10 -04:00
Robin Ward
a8b3010617 FIX: Pagination was broken for groups 2015-09-14 15:54:48 -04:00
Régis Hanol
0e02e0272d FIX: always-enabled plugins should be, well, enabled 2015-09-08 19:28:05 +02:00
Régis Hanol
e3a80936c8 prefer empty href attribute to # 2015-09-08 18:27:20 +02:00
Robin Ward
c0136eb6e6 FIX: IP lookup was broken with relaxed user routes 2015-09-08 12:16:49 -04:00
Neil Lalonde
1bd0f5b015 FEATURE: group can grant a trust level when a user is added 2015-09-01 16:52:12 -04:00
Robin Ward
b41b176bc6 Support for value_list in site settings 2015-09-01 11:54:16 -04:00
Kane York
eea09ac8e1 Nix the grey comparison on color scheme page 2015-08-28 11:43:24 -07:00
Arpit Jalan
92a2dd3ee3 FIX: staff action logs details were not showing up 2015-08-28 22:36:15 +05:30
Régis Hanol
727827dc25 FIX: error when loading admin > flags 2015-08-28 12:31:32 +02:00
Régis Hanol
71c1eccf2b FIX: 'typeClass' shoud handle multi-word setting types - take 2 2015-08-28 01:13:11 +02:00
Régis Hanol
96c23d51a2 FIX: don't break the message bus when restoring a backup 2015-08-27 20:02:13 +02:00
Régis Hanol
42e785ee5a FIX: missed a couple of places where we should use the topic's fancy title 2015-08-27 17:32:04 +02:00
Régis Hanol
95c8ec50a8 FIX: 'typeClass' shoud handle multi-word setting types 2015-08-27 10:48:37 +02:00
Kane York
633c175a8a FIX: Badge SQL controls would never show up, needed refresh 2015-08-25 13:30:26 -07:00
Régis Hanol
bef80633b1 FEATURE: global admin override of most of the user preferences 2015-08-21 20:39:21 +02:00
Sam
851c04478a Merge pull request #3682 from riking/dark-theme-fix
Dark theme fix, part 5
2015-08-21 10:32:10 +10:00
Kane York
1218d47eb5 Rename choose-grey() to blend-primary-secondary() 2015-08-20 16:47:34 -07:00
Kane York
3eb2668fcf Add color boxes on the theme chooser page
TODO: filter down to the colors actually used
2015-08-20 13:30:34 -07:00
Robin Ward
146f2eab7f Can edit settings on the embedding page 2015-08-20 15:56:05 -04:00
Robin Ward
d1c69189f3 FEATURE: Can edit category/host relationships for embedding 2015-08-20 15:56:04 -04:00
Robin Ward
abd9b26642 Convert Badges / User Badges to ES6. 2015-08-19 12:09:10 -04:00
Sam
c493f82907 cleaner fix 2015-08-19 11:54:12 +10:00
Sam
feed822c48 FIX: grant badge dialog not working 2015-08-19 11:51:29 +10:00
Robin Ward
d87520a2cf FIX: Checkboxes weren't always being set properly.
Note to all, `set()` values for computed properties must return the
new value the same as `get()` does.
2015-08-17 12:12:51 -04:00
Régis Hanol
73e4c6ae4d FIX: backups index template wasn't properly bound 2015-08-17 16:21:23 +02:00
Simon Cossar
e064663528 Add slide-out menu 2015-08-16 10:35:23 -07:00
Arpit Jalan
90388aa18e FIX: email preview 2015-08-16 15:31:04 +05:30
Régis Hanol
c74a6ab555 FIX: email preview 2015-08-16 11:51:31 +02:00
Sam
da4c377277 FIX: can not approve users from admin dialog 2015-08-16 14:02:22 +10:00
Guo Xiang Tan
b098e07cf1 FIX: Wrong value set when using ember-computed-decorators. 2015-08-15 00:15:23 +08:00
Régis Hanol
d598419742 FIX: don't use 'modelFor' 2015-08-14 12:40:18 +02:00
Sam
e87ffcc457 missing model prefix for saving title 2015-08-14 10:40:35 +10:00
Sam
6d7cb86553 missing model when saving primary group 2015-08-14 10:38:46 +10:00
Robin Ward
6db98f52d6 FIX: Regression with suspended text 2015-08-13 17:32:12 -04:00
Robin Ward
e3cf8b17ba FIX: Regression saving custom user title 2015-08-13 17:28:38 -04:00
Robin Ward
b0541500b4 FIX: eslint deprecations 2015-08-13 15:14:08 -04:00
Robin Ward
4fd79819be FIX: Deprecations in tl3 requirements 2015-08-13 14:14:12 -04:00
Robin Ward
22844b9e46 Ember 1.12 support 2015-08-13 11:14:16 -04:00
Robin Ward
02a968bd27 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
Robin Ward
e2e3e7c0e0 Add ES6 support to more files 2015-08-13 10:49:08 -04:00
Robin Ward
0442457e7b Fix deprecations in admin groups interface 2015-08-13 10:01:29 -04:00
Arpit Jalan
40deae55dc FIX: typo in HTML/CSS customizations export path 2015-08-12 12:01:00 +05:30
Robin Ward
aa81261875 FIX: Safari bugs with new customize code 2015-08-10 16:46:36 -04:00
Robin Ward
1551ba93bb FIX: Translation key changed 2015-08-10 11:13:01 -04:00
Robin Ward
b7e6eaa961 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
Robin Ward
378087727f Admin adapters should be within the admin JS app 2015-08-10 10:21:05 -04:00
Robin Ward
7fffd483f8 Fix deprecations with site text, upgrade to ES6 / store 2015-08-10 10:21:04 -04:00
Robin Ward
bd631e343a FEATURE: Can create stylesheets for embedded comments 2015-08-10 10:21:04 -04:00
Robin Ward
0932e82508 Refactor Customizations to have deeper URLs 2015-08-10 10:21:04 -04:00
Robin Ward
92b2d8c247 Migrate a bunch of admin routes to ES6 modules 2015-08-10 10:21:04 -04:00
Régis Hanol
80e6f54198 FIX: don't divide by 0, it's never worth it 2015-08-10 10:06:33 +02:00
Régis Hanol
1aa075f70b FIX: hide custom top/footer in admin section 2015-08-07 18:06:55 +02:00
Régis Hanol
15418f3d44 FEATURE: new 'backup_frequency' site setting 2015-08-07 17:34:58 +02:00
Sam
415a3ff0de FIX: replace all occurances in preview not only first 2015-08-07 16:52:21 +10:00
Régis Hanol
dbd6099b89 FIX: make sure the global notice shows up on ALL the pages 2015-08-05 22:55:32 +02:00
Régis Hanol
64dd28d885 FIX: time to first response metric 2015-08-04 18:23:56 +02:00
Robin Ward
aa6f792ce1 FEATURE: Custom orders for user fields 2015-07-30 14:53:13 -04:00
Robin Ward
8e603503e6 We can add the no-text class automatically in d-button 2015-07-30 14:53:13 -04:00
Robin Ward
e161f8f9fd FEATURE: Can order value lists 2015-07-28 16:09:45 -04:00
Robin Ward
dc8a68fd29 FEATURE: New "Dropdown" user field type 2015-07-28 12:30:21 -04:00
Robin Ward
f22618050f FIX: Reformat user fields admin to have a longer form 2015-07-28 12:30:21 -04:00
Robin Ward
29439e5534 SECURITY: Make sure export CSV is generated via a POST 2015-07-24 12:33:53 -04:00
Neil Lalonde
c78dbb7fa5 FIX: site customization preview links when deployed in a subfolder 2015-07-24 11:19:53 -04:00
Arpit Jalan
6382f3cc03 remove duplicate component from admin 2015-07-23 07:09:11 +05:30
Neil Lalonde
bf7875ee86 FIX: time to first reponse and topics with no reponse admin reports should show down arrow as green, up arrow as red 2015-07-22 14:16:10 -04:00
Arpit Jalan
c54de7159c UX: more permalinks page improvements 2015-07-20 17:40:22 +05:30
Arpit Jalan
5fc7545c01 UX: include more details on Permalinks page 2015-07-17 21:39:23 +05:30
Arpit Jalan
dc90c396f2 FEATURE: manage Permalinks 2015-07-17 01:26:02 +05:30
Kane York
b201697938 Fix test failure (appEvents seems to not be injected?) 2015-07-15 10:15:05 -07:00
Kane York
2302442e1a Add ace:resize app event
For discourse-data-explorer
2015-07-15 09:44:08 -07:00
Sam
d87c80836d FIX: stop losing focus when searching for site settings 2015-07-14 17:09:43 +10:00
Arpit Jalan
1bebed7732 FIX: invite link was not working on admin users tab 2015-07-14 09:07:53 +05:30
Robin Ward
8a33fb9bd5 Merge pull request #3601 from techAPJ/patch-1
FEATURE: invite page tabs
2015-07-13 10:28:21 -04:00
Arpit Jalan
e0c9054748 FEATURE: invite page tabs 2015-07-13 09:42:51 +05:30
Robin Ward
ac2f5cbdab FIX: Admin user fields weren't showing errors
Also updated it to remove deprecations and item controller
2015-07-10 12:31:30 -04:00
Neil Lalonde
5e63420064 fix enveloppe typo 2015-07-07 14:06:42 -04:00
Neil Lalonde
782dd13e78 FEATURE: track user visits on mobile and display on admin dashboard in a new Mobile section 2015-07-07 14:06:42 -04:00
Neil Lalonde
0bb3123a67 FIX: link to logster when served from a subfolder 2015-07-06 11:18:20 -04:00
Neil Lalonde
5cb8f3bce5 reset category on report data page 2015-07-03 13:12:40 -04:00
Neil Lalonde
06dc63fbae FIX: add ability to show report data for all categories 2015-07-03 12:58:13 -04:00
Neil Lalonde
67135a472a fix deprecations in admin reports 2015-07-03 12:00:59 -04:00
Kane York
3fdbf287de FEATURE: Only show enabled plugins in the sidebar 2015-07-02 10:59:15 -07:00
Kane York
af042ffe5e FEATURE: Per-plugin settings buttons, "Enabled" column
Also, added enabled_site_setting to the Poll plugin so it shows up properly.
2015-07-02 10:59:06 -07:00
Robin Ward
9408d5891d FIX: url_list wasn't updating properly 2015-06-26 13:38:09 -04:00
Régis Hanol
18f887772d FEATURE: allow plugins to add custom admin reports 2015-06-25 02:42:08 +02:00
Régis Hanol
f18098fd9b FEATURE: category dropdown in admin reports 2015-06-24 15:19:39 +02:00
Robin Ward
76bfd723f6 Merge pull request #3482 from riking/patch-3
Import/Export site customizations
2015-06-22 14:03:07 -04:00
Régis Hanol
b25a16ee3e FEATURE: 2 new reports: time to first response, topics with no response
FIX: relativeAgeMediumSpan was off by 1
REFACTOR: extracted decimalAdjust & round functions from the poll plugin
2015-06-22 19:46:51 +02:00
Neil Lalonde
76a14cd279 FIX: user visit stats on admin dashboard should show sum of values for 7 day and 30 day columns 2015-06-15 13:16:29 -04:00
Robin Ward
7b6d6b76eb FEATURE: Multiple embeddable hosts
- Also refactors two site settings components into one, with tests
2015-06-09 13:25:43 -04:00
Guo Xiang Tan
c872e3f092 Show breakdown for site settings. 2015-06-09 20:34:06 +08:00
Robin Ward
d9e2a685b2 FIX: Allow HTML in site setting descriptions. 2015-05-28 11:35:02 -04:00
Robin Ward
381784ea62 FIX: Display proper error on badge create 2015-05-21 16:06:21 -04:00
Neil Lalonde
91588bed8b FIX: some admin actions redirect to wrong path when deployed to subdirectory 2015-05-21 15:03:00 -04:00
Robin Ward
1a4a2f5fc0 FIX: Group validation errors were not being displayed 2015-05-21 14:57:45 -04:00
Régis Hanol
c91634c09a FIX: support for async uploads of emojis 2015-05-20 16:45:48 +02:00
Robin Ward
4c373be190 FIX: Broken link on admin dashboard 2015-05-19 13:13:31 -04:00
Robin Ward
0a35b20933 Convert Discourse.ScrollTop to ES6 2015-05-19 12:51:03 -04:00
Robin Ward
c18bc59808 Increase limit on user fields 2015-05-19 11:34:54 -04:00
Robin Ward
4e0d7683ab Better error messages on admin for granting moderation
Also fixes up Ember deprecations.
2015-05-19 10:56:32 -04:00
Arpit Jalan
e287046d32 FIX: show meaningful error message in case of site setting error 2015-05-17 14:15:27 +05:30
riking
291d9fc65e FEATURE: Import customizations from a JSON file 2015-05-16 20:24:19 -07:00
riking
1e53c179a3 FEATURE: Export customizations as JSON files 2015-05-16 20:24:13 -07:00
Robin Ward
f1b9a389d9 Merge pull request #3468 from fantasticfears/fix-dashboard
FIX: unhandle show report action
2015-05-14 13:19:40 -04:00
Erick Guan
2c09e97ca0 FIX: unhandle show report action 2015-05-15 00:59:31 +08:00
Robin Ward
6a3086843d OOPS, left debugging stuff in last push. 2015-05-14 12:48:12 -04:00
Robin Ward
cd27ba3478 FIX: Properly add no-conflict to ace editor 2015-05-14 12:46:51 -04:00
Robin Ward
d90063fc59 FIX: Error with ace editor and new ember.
Fix upgrades ace editor, which was a huge headache due to AMD.
2015-05-13 16:25:33 -04:00
Robin Ward
882dc8132d FIX: Invalid HTML on plugins page 2015-05-13 12:13:25 -04:00
Robin Ward
440331e36e FIX: Missing translations in reviewing users 2015-05-12 10:41:31 -04:00