Commit Graph

142 Commits

Author SHA1 Message Date
Jiiks 1a26e77dd9 Move editor events to editor 2019-02-24 21:24:37 +02:00
Jiiks d1fd5ae881 imodule and base for new editor module in client 2019-02-24 19:46:11 +02:00
Jiiks 8c04e7d2d3 File/snippet saving signals 2019-02-24 18:43:58 +02:00
Jiiks 3fc1adc503 get files/snippets from core 2019-02-24 18:39:28 +02:00
Jiiks a769385219 Run scripts from editor in Discord window 2019-02-24 16:04:25 +02:00
Jiiks f1f23fa220 Initial BDEdit addition. No logic yet. 2019-02-24 13:03:15 +02:00
Jiiks 23d4eb77b2 Fix test mode 2019-02-20 20:13:27 +02:00
Jiiks ccff016820 init comms module duh 2019-02-17 14:14:07 +02:00
Jiiks 021e282b1c add tests flag back 2019-02-17 12:26:07 +02:00
Jiiks 6699fcc1e7 add base for compatibility 2019-02-17 12:22:13 +02:00
Jiiks f3ea192974 Paths compatibility 2019-02-17 12:18:16 +02:00
Jiiks 9c1a93f4c1 Remove installer scripts, correct sparkplug external 2019-02-17 11:58:45 +02:00
Jiiks 2c23f18e89 New installer compliance 2019-02-17 11:12:12 +02:00
Jiiks c88d2cdae9 paths is an object now 2019-02-17 08:48:41 +02:00
Samuel Elliott ad55459649
Indentation 2018-11-25 02:19:10 +00:00
Zack Rauen 468422084a fix injection for electron 4.0.0-beta.7 2018-11-24 17:44:28 -05:00
Zack Rauen adb2430d71 fix for electron 3.x.x 2018-10-10 22:13:32 -04:00
Alexei Stukov 3ba90705ff
Merge pull request #243 from samuelthomas2774/keytar
Add an option to store the master password in the system keychain
2018-08-23 22:30:57 +03:00
Samuel Elliott 96b7e8d859
Add IPC events for keytar 2018-08-23 19:14:21 +01:00
Samuel Elliott 26bce739d7
Add bd-windowHasFrame and bd-windowIsTransparent classes 2018-08-23 02:54:01 +01:00
Samuel Elliott 3747417865
Register chrome-extension as privileged in the preload script 2018-08-23 02:39:33 +01:00
Jiiks b971b716bf Update eslint 2018-08-15 09:10:11 +03:00
Jiiks 9f8a1f08be Update eslint rules 2018-08-15 09:01:47 +03:00
Jiiks d04aa313fc CSP Fix. fixes #215 2018-08-13 15:13:59 +03:00
Jiiks 42957dbb16 add devtool hashes and move them to the top. Pushing to master since it's minor change. 2018-08-07 20:17:34 +03:00
Samuel Elliott 6b97505f66
Remove unused imports 2018-07-18 20:57:05 +01:00
Samuel Elliott ab13e716ad
Fix custom CSS editor 2018-07-07 14:37:23 +01:00
Samuel Elliott e169206821
Add hosts that serve emotes to the content security policy 2018-07-07 14:26:48 +01:00
Samuel Elliott f8f519e882
Add custom window preferences 2018-07-04 19:40:25 +01:00
Samuel Elliott 1de4680ded
Use ES6 imports/exports 2018-05-28 01:52:12 +01:00
Samuel Elliott bba1165c77
Wrap Discord’s preload script instead of enabling Node integration 2018-05-28 01:43:25 +01:00
Samuel Elliott 858fdcec59
Clean up and comment 2018-03-31 22:49:40 +01:00
Samuel Elliott 3eb1782a64
Fix for Discord Canary 2018-03-31 22:44:24 +01:00
Samuel Elliott ebff286c31
Add release build configuration 2018-03-22 02:19:25 +00:00
Samuel Elliott aa933d9a09
Refactor IPC 2018-03-21 20:52:42 +00:00
Samuel Elliott 74e3605ec6
Get version from package.json 2018-03-21 20:48:01 +00:00
Samuel Elliott dc44af6968
Cleanup core 2018-03-21 17:41:27 +00:00
Samuel Elliott 994faf94d6
Refactor Vue injector and sparkplug and move contributors to data 2018-03-20 21:11:11 +00:00
Jiiks f3fa3c2ae2 Tests should be true other than for building a release 2018-03-20 07:49:19 -03:00
Jiiks c60411c901 Don't have to resolve it twice 2018-03-20 07:46:34 -03:00
Jiiks 9f24d0d1ce Fix package ver and make sure we always load the latest client script 2018-03-20 07:45:11 -03:00
Jiiks 83d9419131 css editor path fix 2018-03-19 20:02:40 -03:00
Jiiks eed634217e Dist path for css editor 2018-03-19 18:26:13 -03:00
Jiiks a150c3cd4a Move stuff to their locations. Use tests as the proxy install dir when testing 2018-03-19 14:15:31 -03:00
Jiiks 523d226b91 Initial autocomplete and all emotes 2018-03-10 05:05:12 +02:00
Jiiks bca83da8c9 Correct error response for ipc 2018-03-07 10:36:18 +02:00
Jiiks 30a886d84a Database wrappers 2018-03-07 10:12:44 +02:00
Samuel Elliott f236abdca9
Escape SCSS import path 2018-03-05 16:19:09 +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
Alexei Stukov d1d2610416
Merge pull request #139 from samuelthomas2774/add-object-logging
Add object logging handler
2018-02-15 23:02:02 +02:00
Samuel Elliott fadd0574ac
Fixed clearing compiler error when empty 2018-02-15 19:27:44 +00:00
Samuel Elliott 01cacb3ef6
Ignore SCSS empty errors 2018-02-15 19:19:08 +00:00
Samuel Elliott c9a20b7fcf
Fix CSS editor not updating when empty 2018-02-15 19:14:08 +00:00
Samuel Elliott 48ee29b621
Indent with spaces 2018-02-15 17:09:06 +00:00
Samuel Elliott 78a61dc60f
Add object logging 2018-02-15 17:00:21 +00:00
Jiiks 807cb9241b Change version in dummy args 2018-02-15 00:54:20 +02:00
Jiiks 728aab8e95 Import modulemanager, add modules path to config, requires core rebuild 2018-02-14 00:24:04 +02:00
Samuel Elliott c581ba1b75
Add save/restore of CSS editor window bounds 2018-02-13 21:03:48 +00:00
Samuel Elliott a9a45e0f20
Fixed unnecessary escape characters 2018-02-13 20:11:34 +00:00
Samuel Elliott 6a11d3049a
Fix error when the CSS editor isn’t open 2018-02-13 20:09:39 +00:00
Samuel Elliott 5ca04f0652
Add SCSS support to the CSS editor 2018-02-13 19:56:01 +00:00
Samuel Elliott 4dfe349802
Add core settings storage 2018-02-12 15:19:11 +00:00
Jiiks 8bb388fb25 Dynamic vars support 2018-02-11 18:28:47 +02:00
Jiiks 31655e558c add sass compiler and reject to ipc 2018-02-11 16:59:55 +02:00
Samuel Elliott 2d0ba0cc0e
Add file setting 2018-02-02 23:42:12 +00:00
Alexei Stukov c5083733be
Merge pull request #53 from samogot/lint
Add ESLint and some more stuff
2018-01-28 19:09:53 +02:00
Pierce bac4ce5323
CSS Window opens when ready 2018-01-27 13:57:44 -05:00
samogot 46d67ae88a Fix Unreachable code. [Error/no-unreachable] ESLint error 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
Jiiks 6cf4322127 Don't toggle dev tools 2018-01-22 19:01:19 +02:00
Jiiks 725c95d6d3 Start converting csseditor to another module 2018-01-22 12:16:23 +02:00
Samuel Elliott 10ea33f270 Fixed bug where CSS editor cannot be opened twice without restarting
Uncaught exception:
 Error: Object has been destroyed
    at CSSEditor.openEditor (/Users/Samuel/Documents/BetterDiscord/2018-01-19/betterdiscordapp/core/dist/modules/csseditor.js:21:40)
2018-01-22 00:20:15 +00: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 6f9f005ed9 added a missing return if editor is already open. 2018-01-21 11:27:44 +02:00
samfun123 5251d42c2f Implement the main features of the CSS Editor 2018-01-20 22:48:48 -05:00
Jiiks ef7009f5a1 Base for CSS Editor 2018-01-17 13:28:52 +02:00
Jiiks 80170a5bbd Restructure args 2018-01-16 07:00:39 +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 ba4ba87eec Send navigate events to client module 2018-01-14 08:00:21 +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 8863c20661 Forward slashes 2018-01-11 14:49:19 +02:00
Jiiks b75177dadd Resolve client script path instead of hardcoding 2018-01-11 14:40:31 +02:00
Jiiks 71f785cdd1 Remove debugs 2018-01-11 14:38:25 +02:00
Jiiks 38c61484c1 Paths for plugins and themes 2018-01-11 14:37:52 +02:00
Jiiks e72fb0d525 Handle reloading through simple inject 2018-01-11 00:41:57 +02:00
Jiiks 149a4e0dec WindowUtils and script inject 2018-01-11 00:15:31 +02:00
Jiiks 273a4ae50b Test 2018-01-10 22:27:47 +02:00
Jiiks ba0ba4b2ce Base module 2018-01-10 22:25:27 +02:00
Jiiks 660729eaf7 Licenses 2018-01-10 21:19:34 +02:00
Jiiks 8d9ba8fed9 Base 2018-01-10 18:02:29 +02:00