Jiiks
3518ac7cb2
add base for notifications. These should be used for things such as "update available" only
2018-08-20 16:23:05 +03:00
Jiiks
53ef0be7b8
Minor changes
2018-08-20 01:56:57 +03:00
Jiiks
e3edb09f38
Remove debugs
2018-08-19 23:16:49 +03:00
Jiiks
316f3c1bb0
Remove debug
2018-08-19 23:15:37 +03:00
Jiiks
6948335ea7
Fix lag and random no reason package change
2018-08-19 23:13:23 +03:00
Jiiks
8d6d3c9e18
Autocomplete
2018-08-19 20:34:32 +03:00
Jiiks
22740fb16c
Autocomplete
2018-08-17 17:05:23 +03:00
Jiiks
8bac53e9be
Emote mofule refactoring, vrwrapper and hasOwnProperty treewalk check
2018-08-16 14:33:22 +03:00
Jiiks
6a51834f82
Cleaning and sass-lint
2018-08-15 12:42:43 +03:00
Jiiks
b1847b8c41
bit more
2018-08-15 10:14:45 +03:00
Jiiks
11eed2c89d
Make it a bit more readable
2018-08-15 10:10:16 +03:00
Jiiks
9f8a1f08be
Update eslint rules
2018-08-15 09:01:47 +03:00
Jiiks
c1ac349211
all fixed?
2018-08-15 07:13:37 +03:00
Jiiks
1804fcfbe1
Drawer open state
2018-08-15 06:48:59 +03:00
Jiiks
303addae42
Fix badges and add bd-v2 to body
2018-08-15 06:41:44 +03:00
Jiiks
9e80f7b051
Fix bugs caused by automated renaming
2018-08-15 06:33:42 +03:00
Jiiks
0e32d835ef
camelCase
2018-08-15 05:03:56 +03:00
Jiiks
e49a1932f3
Remove debug
2018-08-14 15:37:14 +03:00
Jiiks
ab03633431
add password option to input modal
2018-08-14 14:49:50 +03:00
Jiiks
67b554c68f
add input modal
...
TODO Option for masked input
2018-08-14 13:50:32 +03:00
Jiiks
0aa370aeb9
add custom text for confirm modal buttons
2018-08-14 12:57:39 +03:00
Alexei Stukov
c893216874
Merge branch 'master' into security
2018-08-13 14:38:25 +03:00
Jiiks
5592a8d376
Use security module
2018-08-13 12:33:44 +03:00
Jiiks
3b8126781d
Default to channel id
2018-08-12 20:31:30 +03:00
Jiiks
d2b99f200b
add image plus material icon
2018-08-12 15:58:00 +03:00
Samuel Elliott
344a9e6fe5
Fix escape key to close menu
2018-08-10 15:21:33 +01:00
Samuel Elliott
a4992e905c
Fix class normaliser also normalising classes of elements outside the passed element
2018-08-10 14:29:31 +01:00
Samuel Elliott
c8381eb808
Add disabled, min and max options for collections
2018-08-10 14:23:21 +01:00
Samuel Elliott
dc3fed3408
Hide collection setting dividers
2018-08-10 14:11:25 +01:00
Samuel Elliott
4970214324
Add an option to disable toasts
2018-08-10 13:37:47 +01:00
Jiiks
17f1b60a9b
E2EE component and material lock icon
2018-08-10 15:30:24 +03:00
Jiiks
c4dfc7b11d
Remove debugs
2018-08-10 12:50:37 +03:00
Jiiks
0c04c04590
Secure kvp
2018-08-10 12:48:56 +03:00
Alexei Stukov
11b2b16233
Merge pull request #212 from samuelthomas2774/hide-button
...
Make the hide button setting functional
2018-08-10 02:35:07 +03:00
Samuel Elliott
89a5bfba20
Make the hide button setting functional
2018-08-09 23:49:10 +01:00
Samuel Elliott
387227cc1f
Use Vue’s transition element to transition between menu panels
2018-08-09 22:50:14 +01:00
Alexei Stukov
b33aff51c1
Merge pull request #207 from JsSucks/normalizer
...
fix class search in normalizer
2018-08-09 23:29:28 +03:00
Jiiks
2b4a804934
Use material icon
2018-08-09 23:21:57 +03:00
Jiiks
d14a06528c
else
2018-08-09 23:07:53 +03:00
Samuel Elliott
755d870a10
Merge remote-tracking branch 'upstream/settings' into collection-settings
...
# Conflicts:
# client/src/structs/settings/types/collection.js
# client/src/ui/components/bd/setting/Collection.vue
2018-08-09 18:27:06 +01:00
Jiiks
263fcbe001
Collection fix
2018-08-09 20:22:48 +03:00
Samuel Elliott
883f760292
Extend ArraySetting for collections
2018-08-09 18:22:15 +01:00
Zack Rauen
5af8a2168d
fix class search
2018-08-09 11:31:11 -04:00
Jiiks
50badaef2b
add collection and make kvp functional
2018-08-09 17:20:06 +03:00
Jiiks
4f98eaf85b
Rename to Security and Privacy
2018-08-09 11:40:48 +03:00
Jiiks
b18dd7c01a
KVP Component
2018-08-09 11:30:48 +03:00
Jiiks
356e8f0934
E2EE module base
2018-08-09 10:56:44 +03:00
Zack Rauen
5a603a084f
normalize DOM on load
2018-08-09 01:18:49 -04:00
Zack Rauen
e660ce6a31
remove redundant array check, fix strings
2018-08-08 23:39:57 -04:00
Zack Rauen
5c7b10299b
update normalizer
2018-08-08 23:29:54 -04:00
Alexei Stukov
9f00aed4fa
Merge pull request #202 from JsSucks/bdapi
...
Online theme browser
2018-08-07 07:21:24 +03:00
Jiiks
685d0f4bac
Dummy search
2018-08-07 07:17:44 +03:00
Alexei Stukov
ce23a39f83
Merge pull request #200 from samuelthomas2774/scheme-icons
...
Settings scheme icons
2018-08-07 06:15:21 +03:00
Jiiks
6b3fc39a1d
Use dummy themes for now
2018-08-06 21:37:15 +03:00
Jiiks
7b1f36cb9c
account-cicle material icon
2018-08-06 21:22:11 +03:00
Jiiks
f6f308baa2
Remotecard component for online content
2018-08-06 20:52:10 +03:00
Jiiks
e170ed608e
online themes loading
2018-08-06 18:14:25 +03:00
Jiiks
7c02a51a46
Base connectivity stuff
2018-08-06 13:31:49 +03:00
Samuel Elliott
4b4b3c341f
Update content/scheme icons properly
2018-08-06 02:55:08 +01:00
Samuel Elliott
d4c883a5d7
Add using a file as a scheme icon
2018-08-06 02:45:59 +01:00
Samuel Elliott
9af8a71e17
Add using a file as a plugin/theme’s icon
2018-08-02 20:24:56 +01:00
Samuel Elliott
5b419cb8ab
Use ReactComponent.forceUpdateAll to rerender components after patching them
2018-08-01 20:41:53 +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
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
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
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
b6f38a73dc
Add function to get classes and fix emote autocomplete injection
2018-07-07 01:17:26 +01:00
Samuel Elliott
55cd75b5f4
Add settings section to edit window options
2018-07-05 01:26:04 +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
0a2b967e36
Fix removing items from file settings
2018-06-22 23:16:42 +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
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
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
Samuel Elliott
17597e2c30
Add Vue wrapper for React
2018-06-10 21:22:01 +01:00
Samuel Elliott
68d4617e46
Use the same format as React.createElement for VueInjector.createReactElement
...
Allows props to flow down to Vue components cleanly
2018-05-29 21:47:44 +01:00
Samuel Elliott
4654025423
Properly destroy Vue components after they’re unmounted by React
2018-05-29 18:46:08 +01:00
Samuel Elliott
231afa8ed6
Add the option to mount Vue components at the top of the React component
2018-05-29 18:35:40 +01:00
Samuel Elliott
c3ff71ff85
Hide the ; before emotes in autocomplete and add the case insensitive flag
2018-05-29 17:00:05 +01:00
Samuel Elliott
0e99b219c1
Move emote autocomplete injector to the emote module
2018-05-29 16:58:57 +01:00
Samuel Elliott
c345ab1419
Indentation
2018-05-29 15:39:32 +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
d7f4c651b6
Fix errors
2018-05-15 20:07:34 +01:00
Samuel Elliott
f2159f1031
Fix error when unmounting a component
2018-05-15 16:54:22 +01:00
Samuel Elliott
581c94f6b3
Add React wrapper for Vue
2018-05-14 17:56:23 +01:00
Samuel Elliott
9eb8eaa906
Add DOM, DOMObserver and VueInjector to the plugin API
2018-05-14 16:34:40 +01:00
Zack Rauen
2d784b48f4
add toasts
2018-05-12 23:17:04 -04:00
Samuel Elliott
cee2a6ec34
Fix badges not being rendered when jumping to a message without a flash
2018-05-05 11:51:08 +01:00
Samuel Elliott
64e855ab2d
Fix badges not being rendered when jumping to a message
2018-05-05 11:39:56 +01:00
Samuel Elliott
85d5de9791
Fix ChannelMember returning wrong component
2018-04-30 19:12:21 +01:00
Samuel Elliott
2499f8c0ab
Get class names from internal modules
2018-04-29 17:41:12 +01:00
Samuel Elliott
3f2eb1047e
Use top/left to position tooltips/popovers and remove BdMenuItems from global
2018-04-29 17:35:30 +01:00
Samuel Elliott
ac79bbb99b
Update classes
2018-04-29 16:30:21 +01:00
Samuel Elliott
2e2d0dd6f6
Make some Vue components available to plugins, add highlight.js module and some tidying
2018-04-29 01:57:09 +01:00
Samuel Elliott
d42e8f66ca
Fix badges not being rendered on update
2018-04-27 17:39:28 +01:00
Samuel Elliott
244b7e5bd1
Move filters to common
2018-04-27 17:33:05 +01:00
Samuel Elliott
ca7a7c1f91
Fix injected profile badges being removed
2018-04-27 16:12:46 +01:00
Samuel Elliott
504221ce28
Fix getComponentByRegex and add Filters to the plugin API
2018-04-27 16:06:51 +01:00
Samuel Elliott
1e643b8164
Patch the UserProfileModal component instead of injecting badges when the modal is opened
2018-04-27 16:00:27 +01:00
Samuel Elliott
1354b884b4
Add getting all components to reflection
2018-04-27 15:51:59 +01:00
Samuel Elliott
c3e4563aeb
Add multi option radios
2018-04-25 13:21:18 +01:00
Samuel Elliott
525fd3145d
Merge branch 'master' into discord-api
2018-04-17 20:17:04 +01:00
Samuel Elliott
e524c50b65
Add opening the user’s profile modal
2018-04-15 02:26:21 +01:00
Samuel Elliott
7adf63dfa8
Prevent escape closing Discord and BetterDiscord menus/modals at the same time
2018-04-08 19:54:48 +01:00
Samuel Elliott
d2f7e6142f
Fix dropdowns not showing the selected option
2018-04-08 17:00:26 +01:00
Samuel Elliott
b62727b046
Fix channel members not always being rerendered to show badges
2018-04-08 01:37:15 +01:00
Samuel Elliott
256db71aa4
Hide emote autocomplete when emotes are disabled
2018-04-04 21:08:50 +01:00
Samuel Elliott
de8601ded4
Show favourite emotes in autocomplete
2018-04-04 20:51:25 +01:00
Samuel Elliott
a96f3b1eb7
Fix border radius of the message input field
2018-04-04 20:36:11 +01:00
Samuel Elliott
a7aa1fa5ec
Fix up/down at the end of the list when the list has less than 10 emotes
2018-04-04 20:34:54 +01:00
Samuel Elliott
d98f152009
Refactor UserProfileModals badges
2018-04-01 22:44:01 +01:00
Samuel Elliott
68beee12d3
Add the BD badge before the server owner icon
2018-04-01 17:39:46 +01:00
Samuel Elliott
4b59b9f65d
Prevent opening the popout when the badge is clicked
2018-04-01 17:35:09 +01:00
Samuel Elliott
85d390e18d
Rerender messages and channel members after patching
2018-04-01 15:24:28 +01:00
Samuel Elliott
3f89286946
Refactor message badges
2018-04-01 15:21:31 +01:00
Samuel Elliott
554b8d195b
Rename ReactComponentHelpers to ReactHelpers
2018-04-01 15:16:50 +01:00
Samuel Elliott
7f5fa44fd3
Refactor ChannelMember badges
2018-04-01 15:15:31 +01:00
Samuel Elliott
e83c6f92cb
Add emote favourite button
2018-03-31 03:22:44 +01:00
Samuel Elliott
f8a380fd59
Add more advanced content authors (links to Discord profile, GitHub, Twitter, etc)
2018-03-31 01:10:33 +01:00
Samuel Elliott
f28525129e
Add menu API
2018-03-31 01:03:13 +01:00
Samuel Elliott
5331afb763
Tweak card styles and use events
2018-03-31 00:45:14 +01:00
Samuel Elliott
81f3519408
Use events in the settings menu
2018-03-30 01:17:02 +01:00
Samuel Elliott
8c09112cff
Use events
2018-03-30 01:07:56 +01:00
Samuel Elliott
8983256ade
Use Logger
2018-03-30 01:06:37 +01:00
Samuel Elliott
d323292162
Add textarea for updating custom setting’s values in debug mode
2018-03-30 01:04:58 +01:00
Samuel Elliott
1714a0225e
Change autocomplete class names
2018-03-30 01:03:04 +01:00
Samuel Elliott
fd3b0a92ce
Use events on modal close button click
2018-03-30 00:57:01 +01:00
Samuel Elliott
9b1dd771ad
Use v-model/events instead of a change function
...
Custom settings still work the same
2018-03-29 21:48:06 +01:00
Samuel Elliott
441e80e0e8
Tweak colour picker and add animation
2018-03-29 21:23:15 +01:00
Samuel Elliott
946f68e4ef
Fix theme edit button
2018-03-25 18:31:17 +01:00
Samuel Elliott
9e229a1c0f
Cleanup profile badges
2018-03-24 16:13:24 +00:00
Samuel Elliott
ddfd0653ac
Fix emote injection
2018-03-24 16:06:34 +00:00
Samuel Elliott
33adb92902
Add updater view
2018-03-21 22:24:23 +00:00
Samuel Elliott
8a9c8edf39
Add patcher to the plugin API and fix error when rendering system messages
2018-03-21 20:50:49 +00:00
Samuel Elliott
2fb5d8fe11
Pause all keybinds while recording and add debugger keybind
2018-03-21 00:27:25 +00:00
Samuel Elliott
b4bd9e9c7b
Comments and fix tooltip arrow positioning
2018-03-20 23:24:38 +00:00
Samuel Elliott
994faf94d6
Refactor Vue injector and sparkplug and move contributors to data
2018-03-20 21:11:11 +00:00
Jiiks
f8b9cdaead
Missing Logger import
2018-03-17 18:42:16 -03:00
Jiiks
5ed34c149a
Initial force update through reflection
2018-03-17 18:35:09 -03:00
Jiiks
0820735fa2
Unreachable code
2018-03-17 13:21:08 -03:00
Jiiks
b5fc88bc8e
Rewrite a bit and provide patch wrapper. add patcher test plugin as example
2018-03-17 12:48:08 -03:00