Commit graph

121 commits

Author SHA1 Message Date
Beef
7755f97ab2 [Plugins] Update disabled plugins 2023-02-20 18:58:07 +00:00
Beef
605fd3d73f [Plugins] Give plugins their ID on VendettaPluginObject 2023-02-20 18:47:30 +00:00
Beef
77dd4503b7 [Plugins] Properly handle errors in UI 2023-02-20 18:43:50 +00:00
Beef
a039d183b7 [Plugins] Tidy import code 2023-02-19 22:35:53 +00:00
Beef
6e75d64c05 [Plugins] Move plugin-specific logger 2023-02-19 22:29:25 +00:00
Jack Matthews
a13b6e210c [Plugins] Give plugins their own logger 2023-02-17 19:33:04 +00:00
Beef
c9aeefe419 [Plugins] Remove hash-updating TODO, as it is done 2023-02-16 02:17:38 +00:00
Beef
46487d2aee [UI > PluginCard] Some needed fixes 2023-02-16 02:16:51 +00:00
Beef
1071ae9d13 [UI > Plugins] PROPERLY fix plugin install icon 2023-02-15 17:40:15 +00:00
Beef
307cf453f5 [TS] Some cleanup 2023-02-14 18:51:45 +00:00
Beef
1ede4e088e [Metro > Common] Properly type moment 2023-02-14 18:35:48 +00:00
Beef
9080769a0c [Metro > Common] Add moment to common modules 2023-02-14 18:33:42 +00:00
Beef
eb90b0a21d [Metro] Fixups and tidying 2023-02-14 18:28:51 +00:00
Beef
97176f9d3f [Hotfix] Hopefully get Vendetta working 2023-02-13 23:44:32 +00:00
Beef
9989dfbf0d [TS] Type Summary component properly 2023-02-13 20:34:58 +00:00
Beef
67b501b974 [UI > Settings] Use Summary component 2023-02-13 20:20:24 +00:00
Beef
23e00b6237 [UI > Components] Add Summary, reorganise 2023-02-13 20:19:55 +00:00
Beef
371688c805 [Debug > getDebugInfo] Return loader version 2023-02-13 20:14:09 +00:00
Beef
2d6bf75871 [TS] Add missing definitions 2023-02-09 21:48:43 +00:00
redstonekasi
c2ebff3e93 [Plugins] Properly await plugin start in initialization 2023-02-08 21:06:57 +00:00
Jack
fec4c68f70
[UI] iOS UI fixes (#19)
* [UI > Developer] Move React DevTools FormDivider inside conditional inclusion

* [UI > Developer] Add FormDividers to Loader config

* [UI > General] Remove trailing FormDividers for versions and platform info

* [UI > Developer] Remove extraneous FormDivider
2023-02-06 08:34:22 +00:00
redstonekasi
1ae2da84fe [Backends] Create if file does not exist 2023-02-06 08:33:23 +00:00
redstonekasi
1840577fb5
[Global] Loader config and identity (#17)
* [TS] Add definition for DCDFileManager

* [Storage] Introduce backends

* [Settings] Add loader config

* [TS] Update storage definitions

* [TS] Update loader config and identity types

* [Loader] Expose loader config and identity

* [UI] Actually update UI for the new loader config fields
2023-02-06 07:48:55 +00:00
redstonekasi
cfccd5f5b2 [Plugins] Normalize ID in anything that uses them 2023-02-06 00:05:12 +00:00
Beef
6ed08a0ac9 [Plugins] Fix updating, and make it hash-based 2023-02-05 23:30:51 +00:00
redstonekasi
b0df91db7a [TS] Add definition for findByStoreName 2023-02-05 12:45:50 +00:00
Beef
421f7603cf [Plugins] I can be a little silly 2023-02-05 00:10:34 +00:00
Beef
a97293673d [UI] Move to Discord's navigation stack 2023-02-04 22:37:28 +00:00
Jack
2f856b3a72
[TS] Type clipboard common module (#15)
* [TS] Type clipboard common module

* [TS] Add a _ to Clipboard for style
2023-02-04 18:44:33 +00:00
Beef
1891a46eb9 [Metro > Common] Add commands module 2023-02-04 17:11:50 +00:00
Beef
119060a43b [Utils] Reorganise 2023-02-04 17:05:47 +00:00
Beef
2a50814721 [Utils > safeFetch] Implement 2023-02-04 16:54:03 +00:00
Beef
4108275946 [Utils > unfreeze] Actually expose 2023-02-04 02:37:36 +00:00
Beef
0ba9ee600c [Global] Major refactors, allow unloading! 2023-02-04 02:30:46 +00:00
Beef
0be8cdac05 [TS] Update definitions to match API 2023-02-04 02:29:45 +00:00
Beef
76ea19f8ef [Storage] Run prettier 2023-02-04 02:28:08 +00:00
Jack Matthews
ea7d4f06bf [UI] Add padding to Vendetta's pages 2023-01-30 23:31:01 +00:00
redstonekasi
2e6f9e238a [TS] Add definition for plugin object 2023-01-30 23:15:18 +00:00
redstonekasi
9e34b8c1f3 [TS] findByDisplayName default export is optional 2023-01-30 23:15:18 +00:00
Beef
09f4c37e94 [UI] Refactors all around 2023-01-30 22:56:48 +00:00
redstonekasi
473205a1ca [TS] Don't import Events 2023-01-30 19:17:00 +00:00
redstonekasi
b8e0e69fcb [Storage] Make methods properties in definition 2023-01-30 19:08:58 +00:00
redstonekasi
25b90e22d3 [Plugins] Fix plugin loading 2023-01-30 19:08:58 +00:00
redstonekasi
89b726cd97 [Storage] Add new API to window definition 2023-01-30 19:08:58 +00:00
redstonekasi
48edf97b9a [Storage] Add wrapSync promise accessor 2023-01-30 19:08:58 +00:00
Beef
44652c4002 [Plugins] Rework and refactor 2023-01-30 00:40:56 +00:00
redstonekasi
4c9fe8fcaf
[Storage] Rework everything (#10)
* [storage] rework everything

* [storage] expose createProxy

* [storage] add useProxy hook

* [storage] fix settings.ts

* [Storage] Implement wrapSync, fix UI

* [storage] fix storage

* [plugins] re-add plugin loading

* [storage] fix fix storage

* [storage] make wrapSync more magical

* [storage] save deletes

* [ui] hack around plugin removal... again

* [plugins] make plugin storage work

* [storage] expose api

---------

Co-authored-by: Beef <beefers@riseup.net>
2023-01-29 21:05:47 +00:00
Jack
7282d45d39
[Global] Basic commands api implementation (#9)
* [Global] Basic commands api implementation

* [Commands] Return unregister method when registering command

* [Commands] Code cleanup pass

Co-authored-by: Beef <beefers@riseup.net>
2023-01-25 08:28:48 +00:00
Beef
bff883ec30 [Storage] Remove TODO for typing 2023-01-17 08:02:50 +00:00
Beef
19359529e9 [Utils > unfreeze] Add 2023-01-17 08:02:27 +00:00