Commit Graph

122 Commits

Author SHA1 Message Date
Jiiks 9b7b5d3b02 Colour picker base 2018-02-28 00:08:47 +02:00
Alexei Stukov 43e95bbba8
Merge pull request #142 from samuelthomas2774/add-full-width-settings
Add full width settings
2018-02-26 09:26:09 +02:00
Samuel Elliott 4cfa4ee466
Content reloading 2018-02-21 17:46:27 +00:00
Samuel Elliott b9145b5b85
Add custom settings 2018-02-21 16:00:49 +00:00
Samuel Elliott d88caab321
Add full width settings 2018-02-21 10:46:13 +00:00
Samuel Elliott eae9d67649
Add support for file settings in themes
Files are added to the SCSS variables as a list of maps like (data: [base64 encoded file contents], type: [file MIME type], url: [data uri]), …
2018-02-21 01:16:41 +00:00
Samuel Elliott 7123f5f100
Add support for array settings in themes 2018-02-20 00:01:23 +00:00
Samuel Elliott 522e798669
Remove scss_raw setting option 2018-02-19 23:54:37 +00:00
Samuel Elliott 201af9473e
Setting specific styles for inline arrays
Adds the ability for settings in an array to have no header text and appear full width
2018-02-19 22:19:50 +00:00
Samuel Elliott fae6fc8511
Add settings arrays 2018-02-19 18:20:44 +00:00
Samuel Elliott bea87f5be8
Add scheme hints 2018-02-14 18:03:10 +00:00
Samuel Elliott 9fb914fb70
Add settings schemes 2018-02-14 17:55:10 +00:00
Samuel Elliott 0af22b21d4
Merge remote-tracking branch 'upstream/master' into add-generic-settings-modal
# Conflicts:
#	client/src/modules/plugin.js
#	tests/plugins/Example/config.json
2018-02-14 15:40:22 +00:00
Jiiks b23a5ba7ac Pass deps to plugins directly. Should be used when a plugin must have a module to function. 2018-02-14 10:05:34 +02:00
Jiiks 4329517b0f add a depend error test plugin 2018-02-14 09:42:29 +02:00
Samuel Elliott 6b96bdbc3b
Add category names 2018-02-14 01:37:47 +00:00
Samuel Elliott 08271deea1
Add plugin settings events
- Moved the Theme class to it’s own file
2018-02-13 23:26:39 +00:00
Samuel Elliott d3c3de5a79
Merge remote-tracking branch 'upstream/master' into add-setting-events
# Conflicts:
#	client/src/modules/pluginapi.js
2018-02-13 23:07:46 +00:00
Samuel Elliott 9b9162346b
Add internal settings access to the plugin API 2018-02-13 22:37:24 +00:00
Jiiks e01567bd6a Move example module 2018-02-14 00:17:24 +02:00
Samuel Elliott 1f85d4d2f4 Added Plugin/Theme.showSettingsModal 2018-02-13 17:39:31 +00:00
Jiiks 66721d80b5 Rename require to bridge 2018-02-13 18:43:44 +02:00
Jiiks 8984be5c3e add a import test 2018-02-13 18:26:20 +02:00
Jiiks 1f1d748687 Module loading 2018-02-13 18:06:36 +02:00
Jiiks d406384dd0 add types and module config 2018-02-13 17:54:53 +02:00
Samuel Elliott 7664266dfe
Add plugin exports 2018-02-12 22:51:22 +00:00
Samuel Elliott 15f683d4c9
Fix Plugin.getSetting 2018-02-12 15:20:27 +00:00
Jiiks cb2536437b Change test setting text 2018-02-12 04:56:42 +02:00
Jiiks 194c1c1ff8 Change dropdown/radio structure 2018-02-12 04:54:15 +02:00
Jiiks c52f1eb0b8 Number test setting 2018-02-12 02:51:10 +02:00
Jiiks f37058779a Radio functional 2018-02-12 02:48:44 +02:00
Jiiks 44b9450efa Dropdown functional 2018-02-12 02:44:12 +02:00
Jiiks 4e46675f94 add events for plugins 2018-02-12 01:04:07 +02:00
Jiiks 4a7a9ae1db add base plugin api and pass vendor to plugins 2018-02-12 00:07:23 +02:00
Jiiks fad9a5336a add another test var 2018-02-11 22:41:38 +02:00
Jiiks 2453797400 add slider theme setting 2018-02-11 22:35:29 +02:00
Samuel Elliott 9301ad627c Add SCSS theme configuration and compile caching 2018-02-11 19:31:24 +00:00
Jiiks 8bb388fb25 Dynamic vars support 2018-02-11 18:28:47 +02:00
Jiiks fa9c0d2f94 Compile theme scss 2018-02-11 17:42:24 +02:00
Samuel Elliott 08b791e547
Add theme configuration and saving 2018-02-08 20:19:26 +00:00
Jiiks 51f5a93da2 add modal footer, styling and error modal on plugin load fail 2018-02-07 14:15:46 +02:00
Jiiks 2472743660 Theme manager base 2018-02-05 16:19:24 +02:00
Jiiks 83783a9ece add example theme 2018-02-05 16:06:53 +02:00
Samuel Elliott 5b87a928ba
Add preset points along a slider 2018-02-05 13:36:43 +00:00
Alexei Stukov 93607fde0c
Merge branch 'master' into add-multiline-text 2018-02-05 10:54:29 +02:00
Samuel Elliott 30121ecc9c
Add multiline text 2018-02-05 01:14:19 +00:00
Samuel Elliott 7250ab6cf9
Add sliders 2018-02-05 00:34:22 +00:00
Jiiks c73346292e Give plugins an option to set an icon 2018-02-04 23:19:05 +02:00
samfun123 75410b4ce9 Add Number, Radio and Dropdown setting types 2018-02-04 11:12:38 -05:00
Jiiks 39da2ffdb8 Change how plugin config works and set z index for modals 2018-02-03 11:25:34 +02:00
Alexei Stukov 7ab6daf626
Merge pull request #73 from samuelthomas2774/add-file-setting
Add file setting
2018-02-03 02:26:07 +02:00
Samuel Elliott 2d0ba0cc0e
Add file setting 2018-02-02 23:42:12 +00:00
Jiiks 20c9dacf71 Category support for plugin settings 2018-02-02 22:47:50 +02:00
Jiiks 27dac58dda add more test settings to test overflow 2018-02-02 16:02:13 +02:00
Jiiks 235b373f1a Plugin Start/Stop switch 2018-01-31 10:32:20 +02:00
Jiiks e66c1ce447 Hide settings button if plugin doesn't have any settings 2018-01-25 14:50:07 +02:00
Jiiks 38783631c5 Modal plugin settings, use [] instead of {} for plugin configs 2018-01-25 07:13:40 +02:00
Jiiks 17a8c2372b add some test settings for ui testing 2018-01-24 12:37:28 +02:00
Jiiks 87b07d0a0e Change how plugins are reloaded 2018-01-24 12:35:43 +02:00
Jiiks 19b88b4be0 Fix plugin start/stop 2018-01-23 15:19:55 +02:00
Samuel Elliott 731d18e4da CSS editor tweaks and fixes
- Load CodeMirror locally
- CSS tweaks - editor window look more native now
- Fixed bug where the live update checkbox can’t be unchecked
2018-01-22 00:02:19 +00:00
Jiiks 0e70eea85c Merge master into csseditor 2018-01-21 11:11:46 +02:00
samfun123 5251d42c2f Implement the main features of the CSS Editor 2018-01-20 22:48:48 -05:00
Jiiks 497e989e76 add another dummy plugin for testing 2018-01-20 19:48:27 +02:00
Jiiks 6b0423ebb0 Close button handler 2018-01-17 16:39:39 +02:00
Jiiks b7e0de3e41 Rewriting css editor 2018-01-17 15:46:27 +02:00
Jiiks ef7009f5a1 Base for CSS Editor 2018-01-17 13:28:52 +02:00
Jiiks 48dbbb1ea3 Load configs into plugin instance 2018-01-16 08:01:22 +02:00
Jiiks 50f0d4f91f Plugin loading and tests 2018-01-16 03:45:23 +02:00
Jiiks bc05138037 Tests base 2018-01-15 14:17:13 +02:00
Jiiks 149a4e0dec WindowUtils and script inject 2018-01-11 00:15:31 +02:00
Jiiks 3ab286f81e Move tests 2018-01-10 22:52:49 +02:00