Samuel Elliott
8826a7b984
Use an observer to detect new React components
2018-08-01 20:48:09 +01:00
Samuel Elliott
5b419cb8ab
Use ReactComponent.forceUpdateAll to rerender components after patching them
2018-08-01 20:41:53 +01:00
Samuel Elliott
db21f4eb13
Fix Guild component selection
2018-08-01 20:40:03 +01:00
Samuel Elliott
3a7ac06ce3
Fix errors when rendering system messages
2018-08-01 20:28:35 +01:00
Samuel Elliott
0c8279311e
Fix Message component selection and add bd-isGuildOwner and bd-isGuildMember classes
2018-08-01 20:18:47 +01:00
Samuel Elliott
331b2b396a
Fix emotes
2018-08-01 19:58:52 +01:00
Samuel Elliott
a20473d718
Add a function to force update all instances of a component
2018-08-01 19:31:48 +01:00
Samuel Elliott
1a12430322
Add getting all state nodes to Reflection
2018-08-01 15:50:10 +01:00
Samuel Elliott
7a416c0ff7
Fix MessageGroup component selection
2018-08-01 13:53:59 +01:00
Samuel Elliott
81e392c0f6
Fix request module not found
2018-07-21 23:10:33 +01:00
Samuel Elliott
1d887967d9
Add an option to add additional classes to toasts
2018-07-20 12:04:16 +01:00
Samuel Elliott
a95b97b3c0
Requested changes from JsSucks/BetterDiscordApp#194
2018-07-19 22:21:20 +01:00
Samuel Elliott
007637a557
Merge remote-tracking branch 'upstream/toasts' into toasts
...
# Conflicts:
# client/src/modules/pluginapi.js
# client/src/ui/bdui.js
# client/src/ui/dom.js
# client/src/ui/ui.js
# package-lock.json
# package.json
2018-07-19 22:03:29 +01:00
Samuel Elliott
6ded1c62e5
Prevent modals from being added to the stack more than once
2018-07-19 00:14:03 +01:00
Samuel Elliott
27f1eec967
Use a counter instead of the current time for modal IDs to avoid duplicates when multiple modals are opened at the same time
2018-07-18 22:17:50 +01:00
Samuel Elliott
6b97505f66
Remove unused imports
2018-07-18 20:57:05 +01:00
Samuel Elliott
df471161a7
Fix leaks in keybind settings
2018-07-18 20:55:57 +01:00
Samuel Elliott
78079588ea
Fix Message component selection
2018-07-18 19:18:06 +01:00
Samuel Elliott
b4ebd6c08a
Always activate keybind settings
2018-07-18 19:18:06 +01:00
Samuel Elliott
e6f2f518e6
Properly unbind events for emote autocomplete and dropdowns
2018-07-18 19:18:06 +01:00
Samuel Elliott
aff89371e6
Fix all modals closing on escape key press
2018-07-08 13:52:29 +01:00
Samuel Elliott
98a7a71b87
Fix updater incorrectly showing an update is available
2018-07-07 22:05:36 +01:00
Samuel Elliott
98a0717bba
Use webpack named modules and eval source map plugins in development and disable Babel’s debug info
2018-07-07 20:00:15 +01:00
Samuel Elliott
7c8c8a754f
Use request instead of axios
2018-07-07 19:43:17 +01:00
Samuel Elliott
f2c31d866d
Add axios export
2018-07-07 14:29:44 +01:00
Samuel Elliott
cd77d659a5
Use axios and http/https to check for updates
2018-07-07 14:23:43 +01:00
Samuel Elliott
b6f38a73dc
Add function to get classes and fix emote autocomplete injection
2018-07-07 01:17:26 +01:00
Samuel Elliott
c384920275
Add WebpackModules wait functions to the plugin API
2018-07-07 01:10:39 +01:00
Samuel Elliott
8c0b73625d
Add a settings proxy so settings values can be updated/retrieved like a plain object
2018-07-05 01:39:30 +01:00
Samuel Elliott
55cd75b5f4
Add settings section to edit window options
2018-07-05 01:26:04 +01:00
Samuel Elliott
eae1bdf3a6
Fix Utils is not defined
2018-06-26 23:41:39 +01:00
Samuel Elliott
ebe195f078
Delete old logs on startup
2018-06-26 23:25:43 +01:00
Samuel Elliott
e2b68788bd
Add functions to wait for modules to be loaded
2018-06-24 19:56:05 +01:00
Samuel Elliott
c8ca4fcfce
Fix friend source flags
2018-06-24 19:50:21 +01:00
Samuel Elliott
2c38433a2b
Add extra classes to messages, channel members and channels
2018-06-24 19:48:45 +01:00
Samuel Elliott
ee0b13dab2
Emit events for when webpack modules are loaded
2018-06-23 23:15:45 +01:00
Samuel Elliott
4d2347cf84
Make sure file settings are updated properly when removing items
2018-06-23 22:59:13 +01:00
Samuel Elliott
7cf40a9ee4
Add SettingsWrapper to CommonComponents
2018-06-22 23:57:07 +01:00
Samuel Elliott
70f678119a
Add support for ES6 modules in plugins
2018-06-22 23:55:53 +01:00
Samuel Elliott
0a2b967e36
Fix removing items from file settings
2018-06-22 23:16:42 +01:00
Samuel Elliott
a2367299b7
Don’t load emotes unless they’re enabled
2018-06-12 20:56:40 +01:00
Samuel Elliott
bbcc36647d
Add class normaliser
...
Normalises and prefixes all classes with `da-`
2018-06-12 20:56:07 +01:00
Samuel Elliott
906140686f
Fix Utils is not defined
2018-06-10 22:51:52 +01:00
Samuel Elliott
cecaf314f9
Fix channel.setNsfw
2018-06-10 22:41:14 +01:00
Samuel Elliott
4a3bb89259
Restore common in main and add note about __non_webpack_require__
2018-06-10 22:40:46 +01:00
Samuel Elliott
d7db836e30
Update DOMObserver
...
- Changed observer.subscribe function signature - `observer.subscribe(id, filter, callback, type)` is now `id = observer.subscribe(callback, filter, bind, type === 'filter’)`
- Add a function to subscribe to mutations affecting elements matching a query selector
- Some internal changes
2018-06-10 22:35:44 +01:00
Samuel Elliott
1eca4bcec7
Add ReactHelpers and ReactAutoPatcher to global._bd
2018-06-10 22:21:09 +01:00
Samuel Elliott
c02052a982
Remove emote.name
2018-06-10 22:20:17 +01:00
Samuel Elliott
be841f0426
Add the Manip class as an export of ui/dom.js
2018-06-10 22:17:37 +01:00
Samuel Elliott
35cedbdbb3
Use a single badge component
2018-06-10 21:28:23 +01:00