Commit Graph

573 Commits

Author SHA1 Message Date
Jiiks 7116efe207 Replay exports 2018-03-12 17:46:55 +02:00
Jiiks 6a854ab070 Patcher 2018-03-12 17:46:20 +02:00
Jiiks 5083a80ba2 Remove observers 2018-03-12 17:46:20 +02:00
Zack Rauen fd68da9566 update discord api 2018-03-11 22:42:06 -04:00
Zack Rauen 6917724700 update to master 2018-03-11 22:38:03 -04:00
Alexei Stukov 2c33d1f7f0
Merge pull request #166 from JsSucks/data-attributes
Data attributes
2018-03-11 16:35:22 +02:00
Jiiks f612fcbf00 Remove window var 2018-03-10 17:36:55 +02:00
Jiiks afc9f91dc3 Don't 2018-03-10 17:35:02 +02:00
Jiiks 2952331998 More attributes 2018-03-10 14:27:17 +02:00
Jiiks da6aecc3f2 add more attributes and file upload author 2018-03-10 13:53:27 +02:00
Jiiks b0fcedd3f3 Don't do anything if emotes don't exist 2018-03-10 10:21:35 +02:00
Jiiks fe319e58fe Remove data addition 2018-03-10 10:20:29 +02:00
Jiiks 45545d86b4 It's ugly for now. 2018-03-10 09:58:25 +02:00
Jiiks c59494f604 Emote autocomplete ui 2018-03-10 05:29:04 +02:00
Jiiks 523d226b91 Initial autocomplete and all emotes 2018-03-10 05:05:12 +02:00
Jiiks 4984ae996e Merge branch 'dom-attributes' of https://github.com/JsSucks/BetterDiscordApp into dom-attributes 2018-03-09 12:33:58 +02:00
Jiiks f494cbbb7a Bad filename 2018-03-09 12:33:38 +02:00
Alexei Stukov ef19f4723e
Merge branch 'master' into dom-attributes 2018-03-09 12:26:50 +02:00
Jiiks fe884ae436 filter check 2018-03-09 11:00:15 +02:00
Jiiks ae651e08e9 Reliable observers 2018-03-09 10:43:03 +02:00
Samuel Elliott b24e0ef178
Fix error on keypress
Uncaught TypeError: Cannot assign to read only property 'ignoreNextKeypress' of object '[object Object]'
    at ../node_modules/combokeys/Combokeys/index.js.module.exports.../node_modules/combokeys/Combokeys/prototype/handleKey.js.module.exports [as handleKey] (/Users/Samuel/Documents/BetterDiscord/2018-01-19/betterdiscordapp/client/dist/betterdiscord.client.…:4703)
    at ../node_modules/combokeys/Combokeys/index.js.module.exports.../node_modules/combokeys/Combokeys/prototype/handleKeyEvent.js.module.exports (/Users/Samuel/Documents/BetterDiscord/2018-01-19/betterdiscordapp/client/dist/betterdiscord.client.…:4752)
    at HTMLDocument.r (721226c….js:25)
2018-03-09 01:57:27 +00:00
Samuel Elliott 3578698a86
Fix deleting all injected styles 2018-03-09 01:26:45 +00:00
Samuel Elliott 47c786a98a
Can’t freeze internals as then Vue can’t make any plugin/theme’s info and enabled state reactive 2018-03-09 00:18:05 +00:00
Samuel Elliott bc1f93dd89
Store patched functions in a weakmap, move events wrapper and prevent plugins from modifying the plugin and content prototypes and their internals object 2018-03-08 23:43:26 +00:00
Jiiks 976ea796f8 Reliable switch events 2018-03-08 23:40:38 +02:00
Jiiks a746d6a03e Remove test badge 2018-03-08 23:15:57 +02:00
Jiiks 393362c8fb Userlist badges 2018-03-08 21:58:53 +02:00
Jiiks af8f7b0c9f Trigger on loaded more as well 2018-03-08 21:42:19 +02:00
Jiiks 1c63b8a05d Extend EventListener and add badges on other events 2018-03-08 21:40:43 +02:00
Jiiks dfa7987756 add badges to messages as well 2018-03-08 20:46:03 +02:00
Jiiks 7737dacd05 Use data- prefix for dataset access 2018-03-08 19:45:17 +02:00
Jiiks b75c7716c9 User reflection prop iterator 2018-03-08 19:37:50 +02:00
Jiiks 7e2be8bb19 add initial user-id manip 2018-03-08 19:35:05 +02:00
Jiiks 399f8a790d add deeper find 2018-03-08 19:30:21 +02:00
Jiiks fdfd0a6454 add loading more mutation callback 2018-03-08 17:37:38 +02:00
Jiiks 88b46bc359 only set currentuser attr if true 2018-03-08 16:46:50 +02:00
Jiiks fcebb43f35 Remove useless obeservers then 2018-03-08 16:44:51 +02:00
Samuel Elliott e7b0acb5a0
Fix plugin API basic modals 2018-03-08 13:59:19 +00:00
Jiiks e22e7f7af8 Hide mutable markup when editing 2018-03-08 14:47:15 +02:00
Jiiks 7a82d9e860 Edits and new messages functional 2018-03-08 14:45:31 +02:00
Jiiks 4804cd6ccb No class needed 2018-03-08 14:19:17 +02:00
Jiiks 44f0effba5 Renam event 2018-03-08 14:04:51 +02:00
Jiiks 5fd62c8050 Move markup cloning to automanipulator 2018-03-08 13:15:58 +02:00
Jiiks 8bda3e9b4d Don't need the classname 2018-03-08 11:18:21 +02:00
Jiiks 0154a7e97b add prop iterator 2018-03-08 11:17:33 +02:00
Jiiks fdfd961390 Change how reflection works 2018-03-08 10:59:51 +02:00
Jiiks 43359d771c add automa, new functions to ui and base reflection 2018-03-08 10:40:29 +02:00
Jiiks ff71042bb0 add ignoreExternal for faster testing other things 2018-03-08 08:25:51 +02:00
Samuel Elliott 68c0133381
Make menu keybind customisable 2018-03-08 02:42:06 +00:00
Samuel Elliott dfd0208394
Fix theme loading 2018-03-08 02:41:47 +00:00
Samuel Elliott 0229482be8
Add keybind setting 2018-03-08 02:41:38 +00:00
Samuel Elliott e78089a509
Add menu items to the plugin API 2018-03-07 20:32:04 +00:00
Samuel Elliott 5e259f50f8
Refactor settings menu
Adds support for dynamically adding items
2018-03-07 20:19:02 +00:00
Samuel Elliott 0bbd7b506a
Add option to ignore content manager errors 2018-03-07 19:57:00 +00:00
Jiiks 2e512e61b2 Push the data in generic events as well 2018-03-07 12:33:56 +02:00
Jiiks 37ecd7ec4e Simply emit everything we have instead of anything fancy 2018-03-07 12:32:58 +02:00
Alexei Stukov 67747f85eb
Merge pull request #161 from JsSucks/emote-module
Emote module
2018-03-07 11:43:20 +02:00
Jiiks 8d33d80e1c Convert content to use database instead of individual configs 2018-03-07 10:28:14 +02:00
Jiiks 30a886d84a Database wrappers 2018-03-07 10:12:44 +02:00
Jiiks aa3226ce43 New message event 2018-03-07 07:04:52 +02:00
Samuel Elliott d122e27578
Add extmodules and webpack modules to plugin API 2018-03-07 02:07:17 +00:00
Samuel Elliott 7e82ae8a85
Add comments 2018-03-07 02:05:38 +00:00
Samuel Elliott a8d60582d0
Update plugin API modals 2018-03-07 01:10:06 +00:00
Jiiks 605e869413 add emote module and replaceroot to vue injector 2018-03-07 01:37:14 +02:00
Samuel Elliott a89d186730
Add comments 2018-03-06 21:58:09 +00:00
Samuel Elliott 6647595a3a
Move styles out of template 2018-03-06 21:55:50 +00:00
Samuel Elliott c9e681c242
Recalculate height on any update 2018-03-06 21:55:04 +00:00
Samuel Elliott c13884414d
Refactor event category/setting event binding 2018-03-06 08:26:48 +00:00
Samuel Elliott b7a769e883
Fixes 2018-03-06 01:59:53 +00:00
Samuel Elliott 93f08b715b
Add example custom settings set 2018-03-06 01:43:18 +00:00
Samuel Elliott 07dde5b1fa
Add live adding schemes and fix PluginApi.Settings 2018-03-06 01:15:11 +00:00
Samuel Elliott e67c08ff02
Allow setting a category’s name using name instead of category_name 2018-03-06 00:58:40 +00:00
Samuel Elliott 72dd93503a
Better merging of array setting items 2018-03-06 00:49:10 +00:00
Samuel Elliott da5e0ac99c
Add live updating settings sets and categories 2018-03-06 00:47:34 +00:00
Samuel Elliott 3ab4fd8a9a
Added base content class 2018-03-06 00:24:14 +00:00
Samuel Elliott e5078f4160
Fixed drawers 2018-03-05 21:46:28 +00:00
Samuel Elliott 5373512d9b
Added asynceventemitter.once and add comments 2018-03-05 19:55:53 +00:00
Samuel Elliott 26404843c2
Fix issues with multiline text settings 2018-03-05 19:48:39 +00:00
Jiiks 5908e39e52 Dropdown above colourpicker swatch 2018-03-05 06:42:53 +02:00
Jiiks 17672e674b Visible overflow when drawer open to fix dropdown/colour 2018-03-05 06:38:50 +02:00
Jiiks e7f5a2e118 add Beard's refresh button and change tab styling a bit 2018-03-05 05:37:33 +02:00
Jiiks 064065cfe1 add min-width to tabs 2018-03-05 05:02:49 +02:00
Jiiks da58d2e8b5 add placeholders for now 2018-03-05 05:01:29 +02:00
Jiiks 13364f1c9c Change tabs to say Installed/Browse instead 2018-03-05 04:54:40 +02:00
Samuel Elliott e9f533d600
Add multi parameter for slider and number settings 2018-03-04 23:48:46 +00:00
Samuel Elliott 05b3abd290
Revert "Add multi parameter for slider and number settings"
This reverts part of commit 6cac091c27.
2018-03-04 23:20:39 +00:00
Samuel Elliott 6cac091c27
Add multi parameter for slider and number settings 2018-03-04 23:09:26 +00:00
Samuel Elliott 0332027963
Add comment 2018-03-04 22:55:58 +00:00
Samuel Elliott 9617890ab6
Handle changes better 2018-03-04 22:54:37 +00:00
Samuel Elliott 47637eca75
Fix settingsset.findSetting and arraysetting.items not being populated
- Changed plugin/theme event emitters to AsyncEventEmitter
2018-03-04 21:51:04 +00:00
Jiiks 43bc873bcb Find first setting 2018-03-04 23:03:38 +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 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