Robin Ward
528eac5a07
UX: Various admin class and structure improvements for styling
2017-10-30 14:50:43 -04:00
OsamaSayegh
55095bc44e
FEATURE: Use ACE for badge queries ( #5269 )
...
* FEATURE: Use ACE for badge queries
* Forgot disabled
* When disabled, cursor should be `not-allowed`
* Tests + prefix custom attribute with `data-`
2017-10-30 18:07:49 +11:00
Joffrey JAFFEUX
ae1743c61f
[WIP] select-box-kit refactoring
2017-10-19 12:51:08 -07:00
Robin Ward
838568cbc3
Refactor flag types for more customization
2017-10-19 13:55:23 -04:00
Robin Ward
41c3941c4c
FEATURE: Support regular expressions for watched words
2017-09-27 15:48:57 -04:00
Robin Ward
09ed2ed749
Add Suspend User to flags page
2017-09-25 12:28:00 -04:00
Robin Ward
079f108ceb
UX: Improve interface for flagging with many flaggers
2017-09-25 12:28:00 -04:00
Robin Ward
cc1a461254
Convert flags admin to flexbox
2017-09-25 12:25:14 -04:00
Robin Ward
be0eb0a554
Refactor flagged posts into components
2017-09-25 12:25:14 -04:00
Robin Ward
40eba8cd93
FEATURE: View flags grouped by topic
2017-09-25 12:25:14 -04:00
Guo Xiang Tan
a9613163b5
FEATURE: Force user to enter reason when requesting for group membership.
2017-08-09 15:45:28 +09:00
Guo Xiang Tan
3f24ed2b3e
Can't revert due to incompatibility of new site setting types.
...
Revert "Revert "FEATURE: Site settings defaults per locale""
This reverts commit 439fe8ba24
.
2017-08-07 10:43:09 +09:00
Guo Xiang Tan
439fe8ba24
Revert "FEATURE: Site settings defaults per locale"
...
This reverts commit 468a8fcd20
.
2017-08-07 10:31:50 +09:00
Robin Ward
a3ef814245
UX: Show proper HTML for category preview in site settings
2017-08-04 13:56:27 -04:00
Erick Guan
468a8fcd20
FEATURE: Site settings defaults per locale
...
This change-set allows setting different defaults for different locales.
It also:
- Adds extensive testing around site setting validation
- raises deprecation error if site setting has the default property based on env
- relocated site settings for dev and tests in the initializer
- deprecated client_setting in the site setting's loading process
- ensure it raises when a enum site setting being set
- default_locale is promoted to `required` category.
- fixes incorrect default setting and validation
- fixes ensure type check for site settings
- creates a benchmark for site setting
- sets reasonable defaults for Chinese
2017-08-02 12:24:19 -04:00
Neil Lalonde
ec85b41078
UX: Move watched words to the Logs section of admin
2017-07-31 17:06:50 -04:00
Robin Ward
5b590b9637
REFACTOR: Replace some fa-*
uses with helpers
2017-07-27 14:55:41 -04:00
Robin Ward
d0c41a578e
Rename {{fa-icon}}
to {{d-icon}}
so it can be more generic
2017-07-27 14:55:41 -04:00
Neil Lalonde
68b3dd43ce
fix intermittent failing tests, some watched word refactoring
2017-07-27 12:27:01 -04:00
Robin Ward
e87125b63c
FEATURE: Plugins can overwrite and add support for new icons
2017-07-26 13:21:17 -04:00
Neil Lalonde
24cb950432
FEATURE: Watched Words: when posts contain words, do one of flag, require approval, censor, or block
2017-07-26 11:01:09 -04:00
Robin Ward
c53eeaaa68
REFACTOR: Remove requirejs
calls
2017-07-05 17:24:27 -04:00
Robin Ward
754c1e5438
Upgrade to Babel 6
2017-07-05 15:25:23 -04:00
Robin Ward
e66fa82f3a
FIX: Don't load JS via SCRIPT tag in QUnit mode
2017-05-31 15:31:24 -04:00
Sam
c40ac5abe6
FIX: resize events for ace were not triggered correctly
2017-05-15 16:10:07 -04:00
Pat David
4bf8548dc5
Add embed class name setup for embeddable hosts
2017-05-11 15:16:16 -04:00
Sam Saffron
c182dcc64c
FEATURE: add .admin-interface class to BODY when in admin
...
removes some dead code as well
2017-05-04 15:13:32 -04:00
Sam
8ffb918824
FIX: add more consistent gutter to ace editor
...
old css hack had issues when line number was higher than 10
2017-04-18 15:43:22 -04:00
Sam
9927489f4e
FEATURE: auto focus text editor when editing themes
2017-04-13 16:21:46 -04:00
Sam
a3e8c3cd7b
FEATURE: Native theme support
...
This feature introduces the concept of themes. Themes are an evolution
of site customizations.
Themes introduce two very big conceptual changes:
- A theme may include other "child themes", children can include grand
children and so on.
- A theme may specify a color scheme
The change does away with the idea of "enabled" color schemes.
It also adds a bunch of big niceties like
- You can source a theme from a git repo
- History for themes is much improved
- You can only have a single enabled theme. Themes can be selected by
users, if you opt for it.
On a technical level this change comes with a whole bunch of goodies
- All CSS is now compiled using a custom pipeline that uses libsass
see /lib/stylesheet
- There is a single pipeline for css compilation (in the past we used
one for customizations and another one for the rest of the app
- The stylesheet pipeline is now divorced of sprockets, there is no
reliance on sprockets for CSS bundling
- CSS is generated with source maps everywhere (including themes) this
makes debugging much easier
- Our "live reloader" is smarter and avoid a flash of unstyled content
we run a file watcher in "puma" in dev so you no longer need to run
rake autospec to watch for CSS changes
2017-04-12 10:53:49 -04:00
giorgia
576982484d
FEATURE: Make admin user list sortable.
...
https://meta.discourse.org/t/make-admin-users-list-sortable-suggestion/47649
2017-03-16 09:24:15 +08:00
Robin Ward
e03d5e2140
Reapply Ember 2.10 for good this time!
...
This reverts commit ddd299f4aa
.
2016-12-19 11:19:10 -05:00
Robin Ward
ddd299f4aa
Revert "Revert "Revert Ember 2.10+ for a short while""
...
This reverts commit 76bbc481cb
.
2016-12-16 10:29:30 -05:00
Robin Ward
76bbc481cb
Revert "Revert Ember 2.10+ for a short while"
...
This reverts commit 21682fd60b
.
2016-12-16 09:52:29 -05:00
Robin Ward
21682fd60b
Revert Ember 2.10+ for a short while
2016-12-15 16:43:38 -05:00
Robin Ward
0348f23f6d
FIX: Register a test waiter rather than using hidden properties
2016-12-15 11:36:21 -05:00
Guo Xiang Tan
7bfabb029b
UX: Move editing group from into an individual tab.
2016-12-13 15:15:20 +08:00
Robin Ward
d9cf9e2fb1
FIX: ace editor was buggy in the latest Ember release
2016-11-28 11:29:56 -05:00
Robin Ward
bb0ab289b9
Migrate deprecated Ember.ListView to regular components.
...
This is slower for scrolling but it actually feels reasonably fast to
me? If we find it's a problem we can revisit once Ember 2.4 is fully in
place.
2016-11-24 12:59:20 -05:00
Robin Ward
a9ed15e11a
FIX: Remove more of those pesky View classes
2016-11-11 17:03:15 -05:00
Robin Ward
a94f06ff78
Remove the ScrollTop
Mixin
2016-11-10 15:25:04 -05:00
Robin Ward
985b855a5b
FIX: Later versions of ember require dashes in template names
2016-11-09 14:50:34 -05:00
Robin Ward
70fb2431a1
Migrate this.container
to getOwner(this)
2016-11-07 15:21:31 -05:00
Robin Ward
407cda1dfe
FIX: Scrolling on backup logs
2016-10-27 11:57:33 -04:00
Robin Ward
622dc82481
Replace deprecated render(buffer)
with a custom buffered renderer
2016-10-25 14:00:21 -04:00
Robin Ward
bf91532260
Fixes some Ember Deprecations for 1.13:
...
- Remove ArrayController
- Remove {{view}} from templates
- Replace many cases of needs: [‘controller’] with inject
- Enable Ember Legacy Views
2016-10-21 11:06:07 -04:00
Guo Xiang Tan
999f52954f
FIX: Incorrect import path for iconHTML
helper.
2016-09-25 12:39:17 +08:00
Guo Xiang Tan
547750e9dd
Unify API keys and web hooks into a single admin nav header.
2016-09-20 05:22:03 +08:00
Erick Guan
48fb0558d8
UX: Add headers for webhook events
2016-09-19 12:07:55 +08:00
Erick Guan
9ce61b4586
FEATURE: Webhooks.
2016-09-05 18:44:00 +08:00
Robin Ward
c3a3aff120
FEATURE: Support for a whitelist for embeddable host paths
2016-08-23 14:56:12 -04:00
Robin Ward
6d7e8bd68b
FIX: Customizations were broken
2016-07-11 12:57:05 -04:00
Robin Ward
b8125b3512
REFACTOR: Remove Discourse.Ajax
2016-07-11 12:57:05 -04:00
Robin Ward
a546395397
REFACTOR: Migrate markdown functionality in ES6
2016-07-11 12:57:05 -04:00
Régis Hanol
68c158d592
FIX: backup upload when using subfolder
2016-06-20 17:37:24 +02:00
Robin Ward
c15ade8a88
Deprecation: {{view}}
helper
2016-05-11 14:26:06 -04:00
Dean Taylor
5cd0ce0019
FEATURE: User admin - filter groups as you type ( #4171 )
...
* FEATURE: User admin - filter groups as you type
* Fix use of undefined parameter
2016-04-14 10:40:09 -04:00
Sam
6360c410fe
correct linting
2016-04-14 16:30:04 +10:00
Sam
4bc860652b
FEATURE: add graph support to admin reports
...
thanks to graph js, this runs latest beta cause we needed support for
smarter X axis legend
2016-04-14 15:46:01 +10:00
Thorben Egberts
cf8b3fbd56
FEATURE: add user custom fields to user card
...
The user's custom fields are now displayed on the user card. This has to be enabled for each custom field in the custom field settings. See https://meta.discourse.org/t/custom-user-fields-on-usercard/22662/
2016-04-08 14:35:41 +02:00
Angus McLeod
99d93264b7
Move autosize from admin/lib to discourse/lib
2016-03-18 09:48:57 -04:00
Régis Hanol
1704a362ef
FIX: manually blocking/whitelisting an IP address wasn't working
2015-12-17 19:40:50 +01:00
Robin Ward
de88be2fbc
Support for "Only show overridden" in site text customization
2015-11-30 15:25:08 -05:00
Robin Ward
5e93140f85
FEATURE: Can override any translation via an admin interface
2015-11-27 11:35:19 -05:00
Robin Ward
434deb1bd3
SECURITY: Backported XSS fixes from Handlebars
2015-11-24 16:08:08 -05:00
Sam
5c899c765b
Revert "Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS""
...
This reverts commit c21457d6a7
.
2015-11-21 12:27:06 +11:00
Robin Ward
c21457d6a7
Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS"
...
This reverts commit c0b277d273
.
2015-11-20 10:00:12 -05:00
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
11a6b61cbd
Remove example CSS selectors from locale file
2015-10-11 14:48:37 +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
Robin Ward
c0136eb6e6
FIX: IP lookup was broken with relaxed user routes
2015-09-08 12:16:49 -04:00
Robin Ward
b41b176bc6
Support for value_list
in site settings
2015-09-01 11:54:16 -04: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
95c8ec50a8
FIX: 'typeClass' shoud handle multi-word setting types
2015-08-27 10:48:37 +02:00
Régis Hanol
bef80633b1
FEATURE: global admin override of most of the user preferences
2015-08-21 20:39:21 +02: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
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
Guo Xiang Tan
b098e07cf1
FIX: Wrong value set when using ember-computed-decorators.
2015-08-15 00:15:23 +08:00
Robin Ward
22844b9e46
Ember 1.12 support
2015-08-13 11:14:16 -04:00
Robin Ward
0442457e7b
Fix deprecations in admin groups interface
2015-08-13 10:01:29 -04:00
Robin Ward
b7e6eaa961
ES6ify some of the remaining files
2015-08-10 10:21:05 -04:00
Robin Ward
0932e82508
Refactor Customizations to have deeper URLs
2015-08-10 10:21:04 -04:00
Sam
415a3ff0de
FIX: replace all occurances in preview not only first
2015-08-07 16:52:21 +10:00
Robin Ward
aa6f792ce1
FEATURE: Custom orders for user fields
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
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
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
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
0bb3123a67
FIX: link to logster when served from a subfolder
2015-07-06 11:18:20 -04:00