Commit Graph

2465 Commits

Author SHA1 Message Date
Samuel Elliott d32959b8b9 Merge branch 'master' into settings 2018-03-04 21:45:40 +00:00
Alexei Stukov 050118f26c
Merge pull request #153 from JsSucks/setting-getters
Find first setting
2018-03-04 23:06:21 +02:00
Jiiks 43bc873bcb Find first setting 2018-03-04 23:03:38 +02:00
Alexei Stukov 1b6a846102
Merge pull request #152 from samuelthomas2774/settings
Refactor settings, add CSS/SCSS utilities to the plugin API and add automatic recompile of theme/custom SCSS
2018-03-04 22:29:45 +02:00
Samuel Elliott 88b063ca8e
Add monkeypatch utility function 2018-03-04 20:21:18 +00:00
Samuel Elliott 2bf1709dba
Fix “emit is not defined” 2018-03-04 01:35:32 +00:00
Samuel Elliott 1dffb1f40b
Add comments 2018-03-04 01:33:06 +00:00
Samuel Elliott 00d909f16c
Async setting and category events
- Async setting and category events
- Added deepfreeze utility
- Fix dropdown staying open after selecting an option
2018-03-04 00:22:05 +00:00
Samuel Elliott 91275f4332
CSS editor improvements 2018-03-03 23:36:17 +00:00
Samuel Elliott 976aecd8f2
Fix “css is not defined” 2018-03-03 01:47:50 +00:00
Samuel Elliott 9bc29cc66e
Add automatic recompile of SCSS in themes and the CSS editor when any file is changed 2018-03-03 01:44:39 +00:00
Samuel Elliott a6db490f49
Update package-lock.json 2018-03-03 00:20:41 +00:00
Samuel Elliott 2c6ae62c7e
Radio and dropdown fixes 2018-03-03 00:03:19 +00:00
Samuel Elliott 05c08ca51f
Update eslint-plugin-vue to version 4.3.0 2018-03-02 23:50:53 +00:00
Samuel Elliott dc1acf140f
Recompile themes when settings have changed 2018-03-02 22:28:17 +00:00
Samuel Elliott 90c256ed76
Fix relative file path resolution in file settings 2018-03-02 22:24:54 +00:00
Samuel Elliott 88e563501a
Fix inline settings arrays 2018-03-02 22:20:34 +00:00
Samuel Elliott bd72246715
Fix for eslint-plugin-vue and some things eslint detected 2018-03-02 21:24:55 +00:00
Samuel Elliott 2060a41f5d
Fix plugin API modal manager 2018-03-02 20:48:29 +00:00
Samuel Elliott fdc9330195
Add modal manager to plugin API 2018-03-02 20:19:59 +00:00
Samuel Elliott e94a7c50a4
Merge remote-tracking branch 'upstream/master' into settings
# Conflicts:
#	client/src/modules/thememanager.js
#	client/src/ui/components/BdSettings.vue
2018-03-02 19:47:29 +00:00
Samuel Elliott f9e278cc75
Updated plugin API
- Renamed Settings to InternalSettings
- Renamed getPlugins/getThemes to listPlugins/listThemes
- Add Utils to the plugin API
- Add CssUtils to the plugin API
- Add error handling on plugin start
- Changed ThemeManager.getConfigAsSCSS[Map] to accept a SettingsSet instead of an array of SettingsCategory objects
- Add examples to the example plugin
2018-03-02 19:42:17 +00:00
Samuel Elliott 3168012fde
Fix internal settings 2018-03-02 19:34:53 +00:00
Samuel Elliott 5e2b5975ed
Allow custom settings to extend the CustomSetting class 2018-03-01 21:10:30 +00:00
Alexei Stukov d6cb8f74fe
Merge pull request #151 from samuelthomas2774/add-menu-content-closing-animation
Add menu content closing animation and fix plugin/theme descriptions
2018-03-01 21:46:49 +02:00
Samuel Elliott 59bbc8d8ef
Add support for colour setting spelled as ‘color’ 2018-03-01 19:30:31 +00:00
Samuel Elliott 7954ebd764
Cleanup 2018-03-01 19:26:44 +00:00
Samuel Elliott 92612fc616
Fix modals closing with unsaved changes when clicking the close button, and added a shortcut to force close a modal by holding shift and clicking the close button 2018-03-01 19:01:45 +00:00
Samuel Elliott 3437c36b87
Use settings structs 2018-03-01 19:00:24 +00:00
Samuel Elliott 3574d6a5ba
Add settings structs 2018-03-01 18:50:49 +00:00
Samuel Elliott 9a72a7425e
Add async EventEmitter and deep clone 2018-03-01 18:42:53 +00:00
Samuel Elliott 5707da5f72
Fix plugin/theme descriptions 2018-03-01 01:52:08 +00:00
Samuel Elliott bff6057e0c
Add an animation when closing the settings menu content panel 2018-03-01 00:25:40 +00:00
Alexei Stukov ecf7f872cb
Merge pull request #150 from JsSucks/plugin-permissions
Initial plugin permissions
2018-02-28 21:39:23 +02:00
Alexei Stukov 22485bc26a
Merge pull request #149 from samuelthomas2774/add-relative-files
Add relative file path resolution for themes
2018-02-28 21:36:54 +02:00
Jiiks deaa680aae Initial plugin permissions 2018-02-28 21:34:12 +02:00
Samuel Elliott 1f5cf04eb6 Add scheme icon 2018-02-28 18:18:34 +00:00
Samuel Elliott cfdf3e0b4a Add relative file path resolution for themes 2018-02-28 18:14:35 +00:00
Alexei Stukov 4f451e3822
Merge pull request #148 from JsSucks/colour-picker-styling
Colour picker styling
2018-02-28 09:01:46 +02:00
Jiiks f4692c5e32 Move picker a bit more left 2018-02-28 08:59:34 +02:00
Jiiks 327fb09973 Remove pointer-events if no changes 2018-02-28 08:58:50 +02:00
Jiiks 7046316d60 add top offset 2018-02-28 08:55:30 +02:00
Jiiks 67142ca7db Picker z-index 2018-02-28 08:35:57 +02:00
Jiiks 1e977fb407 Return raw colour value for colour picker 2018-02-28 07:46:48 +02:00
Jiiks e418964819 Close colour picker when clicked outside 2018-02-28 07:41:57 +02:00
Alexei Stukov fab7371d66
Merge pull request #147 from JsSucks/settings-animation
Hide activepanel when settingsmenu closes
2018-02-28 07:04:09 +02:00
Jiiks e0de230ef2 Hide activepanel when settingsmenu closes 2018-02-28 06:23:21 +02:00
Alexei Stukov f255c010cd
Merge pull request #146 from JsSucks/colour-picker
Save and reset
2018-02-28 06:00:36 +02:00
Jiiks e7e79c9ac8 add colour picker save and reset 2018-02-28 05:58:13 +02:00
Alexei Stukov 963d9e61d8
Merge pull request #145 from JsSucks/colour-picker
Colour picker base
2018-02-28 04:31:32 +02:00