Commit Graph

354 Commits

Author SHA1 Message Date
Alexei Stukov 28c573e5c5
Merge pull request #52 from samuelthomas2774/check-plugin-directory
Make sure plugins are directories
2018-01-28 19:10:22 +02:00
samogot e41b289eb5 Fix The "components" property should be above the "template" property [Error/vue/order-in-components] ESLint error
FYI: https://vuejs.org/v2/style-guide/#Component-instance-options-order-recommended
2018-01-27 16:58:48 +02:00
samogot 8e7c6b45b8 Fix 'reject' is not defined. [Error/no-undef] ESLint error
Fix Unnecessary semicolon. [Error/no-extra-semi] ESLint error
2018-01-27 16:58:37 +02:00
samogot 63c239f36f Extract global BetterDiscord.vendor into separate module, so it can be used through require 2018-01-27 16:40:35 +02:00
Samuel Elliott a27d586d38
Check if plugin directory is a directory 2018-01-25 16:49:02 +00:00
Samuel Elliott d11cfbcdaa
Fix FileUtils promises 2018-01-25 16:47:13 +00:00
Jiiks 7bd1fc2eea add tooltips 2018-01-25 15:26:42 +02:00
Jiiks 366deb02fc Remove test timeout 2018-01-25 14:54:02 +02:00
Jiiks 271101ba0b Open plugin dir when edit is clicked 2018-01-25 14:53:37 +02:00
Jiiks e66c1ce447 Hide settings button if plugin doesn't have any settings 2018-01-25 14:50:07 +02:00
Jiiks 5faaaa0276 add todo 2018-01-25 14:47:26 +02:00
Jiiks a509495b9f Functional plugin reload 2018-01-25 14:46:53 +02:00
Jiiks 0a05c0d68a Styles 2018-01-25 13:11:36 +02:00
Jiiks 88a89bbe4f add a loading animation to button 2018-01-25 13:03:12 +02:00
Jiiks a3f9b50c8c Plugin settings modal 2018-01-25 12:48:41 +02:00
Jiiks 9a8f2eddef Textinput for plugin settings 2018-01-25 11:21:48 +02:00
Jiiks 14a5331ecc Missing styles and base for text input 2018-01-25 11:01:20 +02:00
Alexei Stukov 25dac4d258
Merge branch 'master' into ui 2018-01-25 09:54:57 +02:00
Jiiks cb542acbd0 Remove any inline styles 2018-01-25 09:52:15 +02:00
Jiiks d934bc4aff Up to date with master 2018-01-25 09:50:28 +02:00
Jiiks 38783631c5 Modal plugin settings, use [] instead of {} for plugin configs 2018-01-25 07:13:40 +02:00
Samuel Elliott ecfc2ca7d6
Tidied SCSS files
Organised SCSS files for the client, moved all styles still in a Vue file to an SCSS file and moved styles for the CSS editor to their own files. JsSucks/BetterDiscordApp#41
2018-01-24 20:35:45 +00:00
Jiiks 87b07d0a0e Change how plugins are reloaded 2018-01-24 12:35:43 +02:00
Jiiks 1d9e6037d9 Hover styles for alt colours 2018-01-24 08:43:04 +02:00
Jiiks 71ac54911a Styling 2018-01-24 08:42:10 +02:00
Jiiks b3218d636a Styling, common components and add buttons to plugin card 2018-01-24 07:47:04 +02:00
Zack Rauen ff818d721d correct casing hopefully fixes #38 2018-01-23 19:05:03 -05:00
Jiiks 098ac8fb17 Make plugin switch actually do something 2018-01-23 18:19:45 +02:00
Jiiks 19b88b4be0 Fix plugin start/stop 2018-01-23 15:19:55 +02:00
Jiiks e9b15a33b1 add a version thing and fix css editor import 2018-01-23 13:58:04 +02:00
Jiiks a5cad6731c Restructure components 2018-01-23 13:34:15 +02:00
Jiiks 17d7e83590 Remove old componets 2018-01-23 13:30:43 +02:00
Jiiks 4fc630cf0a Static disabled bg 2018-01-23 09:25:21 +02:00
Jiiks c195786ffc add some generics and styling + new spinners 2018-01-23 09:23:15 +02:00
Jiiks b908b2e42e backface-visibility bugs 2018-01-22 22:43:46 +02:00
Jiiks 7476d4d499 Make switches functional 2018-01-22 22:25:55 +02:00
Jiiks 23cde9cb9f Use setting.checked and setting.enabled 2018-01-22 22:11:43 +02:00
Jiiks 4ad2cc52dd Pass setting back to parent on click 2018-01-22 22:10:18 +02:00
Jiiks e11787c585 add some test settings 2018-01-22 22:08:08 +02:00
Jiiks 38776569ed Remove click listener if disabled 2018-01-22 22:07:19 +02:00
Jiiks b90fda127d Typo and disable disabled settings 2018-01-22 22:03:39 +02:00
Jiiks fc49277e1d Disabled class for switch 2018-01-22 22:01:58 +02:00
Jiiks db874b6218 add disabled styling for switch 2018-01-22 22:00:12 +02:00
Jiiks 90b9efe5ba Switch style fixes and settings render 2018-01-22 20:51:57 +02:00
Jiiks 13343283d5 add initial settings 2018-01-22 20:26:19 +02:00
Jiiks e8d4517606 add functional setting switch 2018-01-22 19:29:53 +02:00
Jiiks 79827b946d Styles 2018-01-22 19:08:38 +02:00
Jiiks 48fabda81f Styles 2018-01-22 19:06:33 +02:00
Jiiks 2cc0e6c1aa Css editor panel 2018-01-22 19:00:51 +02:00
Jiiks a666a52f72 add material icons. Maybe just use the font instead? Maybe 2018-01-22 15:07:30 +02:00
Jiiks 47371b3a19 ui up to date with master 2018-01-22 14:35:13 +02:00
Jiiks 11e42a4ce9 Move deps to root 2018-01-21 15:41:56 +02:00
Zack Rauen 645bf81160 Hopefully fixes #11 with other changes 2018-01-21 07:52:02 -05:00
Jiiks a288d2473f add temp spinner for online plugins 2018-01-21 12:24:43 +02:00
Jiiks 87fcff3ffb add spinners by Beard <3 https://codepen.io/Beard-Design/pen/zpeWjV 2018-01-21 12:19:25 +02:00
Jiiks 0fbe5f8ce7 PluginView and PluginCard styling 2018-01-21 12:15:19 +02:00
Jiiks 3500b2890b CssEditor button functionality 2018-01-21 11:24:28 +02:00
Jiiks e1e3e77e08 Resolve conflicts 2018-01-21 11:16:50 +02:00
Jiiks 6816a2938a Conflict resolve 2018-01-21 11:12:29 +02:00
Jiiks 0e70eea85c Merge master into csseditor 2018-01-21 11:11:46 +02:00
Alexei Stukov 623aaeb01a
Merge pull request #28 from JsSucks/webpack
WebpackModules rewrite + remove external moment.js dependency
2018-01-21 10:12:39 +02:00
samfun123 5251d42c2f Implement the main features of the CSS Editor 2018-01-20 22:48:48 -05:00
Zack Rauen 7b578dcc56 rewrite webpack with known modules 2018-01-20 20:10:24 -05:00
Alexei Stukov 906bda3489
Merge pull request #27 from JsSucks/plugin-manager
Merge
2018-01-21 02:46:34 +02:00
Jiiks 4362d39624 add some more trycatch for external code calls 2018-01-21 01:46:49 +02:00
Jiiks 6640fa1890 Cleanup manually deleted plugin 2018-01-21 01:43:17 +02:00
Jiiks fe29c78583 Refresh instead of reload and remove debug 2018-01-21 01:38:57 +02:00
Samuel Elliott 7d1416da67 Fixed bug with pressing B
JsSucks/BetterDiscordApp#22
2018-01-20 22:42:22 +00:00
Jiiks 8b9d923ae2 Temp refresh button 2018-01-20 21:07:04 +02:00
Jiiks 9f0eb844c2 Display local plugins in tab 2018-01-20 20:30:05 +02:00
Jiiks 1a9fbef1f5 Logger object handler and start using Logger in plugin manager 2018-01-20 20:16:01 +02:00
Jiiks 5c3e7e780e add log shortcuts and error object logger 2018-01-20 20:01:36 +02:00
Jiiks b3f5f46e74 add try catch to plugin loading 2018-01-20 19:47:00 +02:00
Jiiks 2bcde666d8 Preliminary method for loading all plugins in plugins directory 2018-01-20 19:46:04 +02:00
Jiiks 48e1fda6cf add readDir method for getting files in a directory 2018-01-20 19:41:20 +02:00
Alexei Stukov abda678167
Update BdSettingsWrapper.vue
No need to check for platform and return instead of if else. We can also hide settings with Ctrl/Cmd+b
2018-01-20 19:33:53 +02:00
Samuel Elliott f21aec5226 Add keyboard shortcut
Also fixes bug where pressing escape with another dialog open closes both at once
2018-01-20 16:17:51 +00:00
Jiiks da20f417c3 More style fixes 2018-01-20 17:55:51 +02:00
Jiiks e19f2ad8d7 Style fixes and pluginview/plugincard bases 2018-01-20 17:31:17 +02:00
Jiiks 357706f4c5 Styling fixes 2018-01-20 17:05:09 +02:00
Jiiks 49bdd4b1fd Style changes and class prefix 2018-01-20 16:20:18 +02:00
Jiiks 461d3468a5 Reset state on close 2018-01-20 16:04:22 +02:00
Jiiks 4575c3428a Add missing styles and props 2018-01-20 16:02:12 +02:00
Jiiks 2d128eb0a4 Restructuring and added some components 2018-01-20 15:45:53 +02:00
Jiiks ac1b5ef38d Static dark scrollbars for SidebarView 2018-01-20 15:31:45 +02:00
Jiiks 5419484825 Close settings with escape key 2018-01-20 15:07:35 +02:00
Jiiks ff1510dbcc Style changes and scrollerwrap props 2018-01-20 14:51:30 +02:00
Jiiks 9492bb0bc2 Style restructuring 2018-01-20 14:19:54 +02:00
Jiiks b42f17437c Cleanup and template splitting 2018-01-20 12:52:00 +02:00
Samuel Elliott 4076da01c9 Add macOS tweaks 2018-01-20 00:35:27 +00:00
Alexei Stukov 146f64aa04
Merge branch 'master' into ui 2018-01-20 01:08:20 +02:00
Jiiks 389738c278 Unread messages override 2018-01-20 01:07:09 +02:00
Jiiks 5fe1bfed8f https://github.com/JsSucks/BetterDiscordApp/pull/20 2018-01-20 01:05:32 +02:00
Pierce 722af5cec6
makes BD button look "naturally built in" 2018-01-19 17:42:17 -05:00
Jiiks a375f9ed6e Discord overrides 2018-01-19 11:28:30 +02:00
Jiiks ddaa663067 Updated styles and components 2018-01-19 11:26:36 +02:00
Jiiks 4e1b5cfc89 Components and loaders. 2018-01-19 07:17:07 +02:00
Jiiks a544a42436 Add settingspanel base and update button 2018-01-19 05:36:38 +02:00
Alexei Stukov eac7f62911
Merge pull request #17 from JsSucks/ui
Merge
2018-01-19 04:21:01 +02:00
Jiiks ec50f750aa Bye most of react 2018-01-19 04:19:09 +02:00
Jiiks 2f1a268cc5 Preliminary settings button to test vue render 2018-01-19 04:15:47 +02:00
Jiiks e826079fc1 Added vue and loaders 2018-01-19 04:10:10 +02:00
Jiiks 0f762c1e58 ignore everything in ui 2018-01-19 03:37:21 +02:00
Jiiks ef7009f5a1 Base for CSS Editor 2018-01-17 13:28:52 +02:00
Alexei Stukov 9fc2eb559a
Merge pull request #16 from JsSucks/plugin-manager
Merge
2018-01-17 12:55:01 +02:00
Jiiks 509f44bcb1 add some plugin getters 2018-01-17 10:17:01 +02:00
Jiiks 289533b755 Add dirName check and remove debug 2018-01-17 10:10:29 +02:00
Jiiks e3367768eb Plugin reloading 2018-01-17 10:06:40 +02:00
Jiiks 3ee59845de Plugin name as param for tests 2018-01-17 09:42:40 +02:00
Jiiks 7c12617448 Correct Object.assign 2018-01-17 09:41:31 +02:00
Jiiks 626a83c8a7 add writes 2018-01-17 09:35:36 +02:00
Jiiks 006b7bed7a Add watch script 2018-01-16 09:05:33 +02:00
Jiiks 20abc525d3 add watch scripts 2018-01-16 09:04:59 +02:00
Jiiks 0faad8d654 Ignore dist 2018-01-16 08:40:30 +02:00
Jiiks 9c488f996f Typo 2018-01-16 08:03:02 +02:00
Jiiks 48dbbb1ea3 Load configs into plugin instance 2018-01-16 08:01:22 +02:00
Jiiks a9b253ebad Push tests to window object 2018-01-16 07:18:43 +02:00
Jiiks 98d58b1303 Read paths from Global 2018-01-16 07:13:36 +02:00
Alexei Stukov 4d44ba673b
Merge branch 'plugin-manager' into master 2018-01-16 07:04:51 +02:00
Jiiks 2aa9b46c10 Load config into globals 2018-01-16 06:59:59 +02:00
Jiiks 39fbae166f Load plugins by directory name not full path 2018-01-16 06:38:28 +02:00
Jiiks a1261cab0a Use Utils 2018-01-16 03:55:14 +02:00
Alexei Stukov f160cb9c8b
Merge pull request #3 from JsSucks/master
Up to date Utils to plugin-manager
2018-01-16 03:53:49 +02:00
Jiiks 7aa7d9df10 Requires 2018-01-16 03:52:39 +02:00
Jiiks 2e26f472ea FileUtils 2018-01-16 03:49:26 +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 e823b1c9d0 Test vs branch manager 2018-01-15 14:01:43 +02:00
Jiiks cc55db87b7 Final nobranch 2018-01-15 13:59:45 +02:00
Jiiks 1040650ae4 addEventListener instead 2018-01-15 08:01:34 +02:00
Jiiks 8c2692caba Socket proxy base 2018-01-15 07:09:28 +02:00
Jiiks 403ffc839d Utils overload 2018-01-15 06:53:08 +02:00
Jiiks c801b09e9c erlpack require 2018-01-15 06:43:28 +02:00
Jiiks 861d95bd06 Socket base, event bindings, initial socket emit 2018-01-15 06:40:24 +02:00
Jiiks 6b96b191aa Emit socket-created event 2018-01-15 06:30:15 +02:00
Jiiks c851d2e92c Eventemitter 2018-01-15 06:29:06 +02:00
Jiiks 9ecb14ab23 Use base state 2018-01-15 05:29:11 +02:00
Jiiks 8e5f007f5b Remove test 2018-01-14 08:00:58 +02:00
Jiiks e1932b7f74 Global is a module 2018-01-12 21:46:55 +02:00
Jiiks 7be0ab71fc wat 2018-01-12 08:41:47 +02:00
Jiiks b57255487a Sparkplug fixes 2018-01-12 08:31:02 +02:00
Jiiks 8e308f2a65 Igniter 2018-01-12 03:06:43 +02:00
Jiiks 662329c5e9 Webpackmodules 2018-01-11 17:22:49 +02:00
Jiiks 03505fcdb6 Client ipc 2018-01-11 16:12:24 +02:00
Jiiks 5ec53510be Pluginmanager stuff 2018-01-11 08:24:29 +02:00
Jiiks 881b33f4b6 Exports 2018-01-11 08:03:06 +02:00
Jiiks 4cd0f4fb9b Typo 2018-01-11 08:02:11 +02:00
Jiiks 32e563effc Bases 2018-01-11 03:03:32 +02:00
Jiiks 69e10f69cd add vendor scripts 2018-01-11 01:46:05 +02:00
Jiiks f6047265e3 Logger styling 2018-01-11 01:13:45 +02:00
Jiiks c8ebe4bfad Inject failsafe 2018-01-11 01:07:35 +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
Jiiks 78952f190c Client base and restrucutre 2018-01-10 22:48:10 +02:00