Commit graph

152 commits

Author SHA1 Message Date
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
Beef
a9cc702956 [Metro] Hoist Discord's constants 2023-01-17 08:01:53 +00:00
Jack
da83d4756a [Settings > General] Accept discord server invite in-app (#4)
* [Settings > General] Make Discord Server button accept invite in-app

* [Settings > General] My changes

Co-authored-by: Beef <beefers@riseup.net>
2023-01-17 07:36:31 +00:00
redstonekasi
71f687e345 [Types] Type MMKVManager 2023-01-17 00:07:11 +00:00
Jack Matthews
3c95bb1024 [Metro > Common] Switch clipboard to @react-native-clipboard/clipboard
This library has added functionality, and the included clipboard is deprecated.
2023-01-17 00:07:03 +00:00
Beef
818573a228 [Storage] Move to MMKVManager 2023-01-16 23:08:09 +00:00
Beef
af936940a0 [UI > PluginCard] Fix crash with icon 2023-01-16 08:11:46 +00:00
Beef
66e84ecd8d [TS] Don't use specific PlatformConstants import 2023-01-14 16:24:14 +00:00
Beef
6764b07727 [UI > Subpage] Fix Tabs V2 crash 2023-01-14 16:05:37 +00:00
Beef
82e41a5c27 [TS] Properly type RN.Platform.constants 2023-01-14 16:05:08 +00:00
Beef
dee5ed0172 [UI] Overall cleanup and fixes 2023-01-14 02:41:28 +00:00
Beef
a8b5beff6e [Cleanup] Several small cleanups 2023-01-14 02:39:10 +00:00
Beef
8dd1423440 [UI > PluginCard] Revert using state variables 2023-01-11 22:56:57 +00:00
Jack Matthews
8a0f384c76 [Settings > General] Fix conditional inclusion of SDK info 2023-01-11 08:24:47 +00:00
Beef
2c013e5d63 [Settings > General] Tidy, change icons 2023-01-11 07:49:24 +00:00
Jack Matthews
5a0506ea4b [Settings > General] Switch brand info icon to higher quality icon 2023-01-11 07:49:24 +00:00
Jack Matthews
d0020c5561 [Settings > General] Expose codename in platform info 2023-01-11 07:49:24 +00:00
Jack Matthews
8b480b92e2 [Settings > General] Expose information about the device 2023-01-11 07:49:24 +00:00
Beef
0ee50404a9
[Hotfix] Fix iOS crash with RDT setting 2023-01-10 23:44:39 +00:00
Beef
93c4eef678 [Global] Refactors all around 2023-01-10 23:30:46 +00:00
Beef
01a05a8b9d [Storage] Expose settings on window, plugin storages 2023-01-10 22:05:40 +00:00
Beef
304757d374 [Settings] Overhaul 2023-01-10 08:05:56 +00:00
Beef
a46c9c8828 [Storage] Proper persist implementation 2023-01-10 08:05:03 +00:00
Jack
564a427971
[Settings > General] Expose Discord's build number (#1) 2023-01-09 23:20:27 +00:00
Beef
0abff6f421 [TS] Forgot to save 2023-01-08 23:27:10 +00:00
Beef
9d06aab19a [Bugfix] Fix breaking light and AMOLED theme 2023-01-08 23:24:24 +00:00
Beef
ad2c3573ed [API] Cleanup 2023-01-08 23:24:00 +00:00
Beef
488cc76dda [Metro > Filters] Add findByStoreName 2023-01-08 23:22:10 +00:00
Beef
4ccd758f4a [Metro > Common] Add Flux to common modules 2023-01-08 23:21:44 +00:00
Beef
a462b8e81e [UI > Settings] Fix removing billing settings and potential memory leak 2023-01-08 22:33:41 +00:00
Beef
65d57a0f69 [UI] The great divide 2023-01-07 23:33:52 +00:00
Beef
e51ae60aef [Hotfix] Check if plugin is enabled when removing 2023-01-07 23:21:29 +00:00
Beef
0aea93ab52 [UI > PluginSettings] Fix non-uniform class names 2023-01-07 23:18:30 +00:00
Beef
de3d422754 [Assets] Move to use Indexable type 2023-01-07 23:06:36 +00:00
Beef
4104d637f1 [Plugins] Proper persistence! 2023-01-07 23:05:14 +00:00
Beef
6de4183647 [Metro] Remove duplicated code 2023-01-07 23:04:35 +00:00
Beef
aabb478f9c [Settings > General] Fix Hermes icon 2023-01-07 17:34:50 +00:00
Beef
f02b1d842e [Settings] Fix navigation being invalidated 2023-01-07 17:07:45 +00:00
Beef
70a60a5b33 [Plugins] Finish plugin settings 2023-01-07 03:13:28 +00:00
Beef
715e6f9bc4 [Cleanup] Small tidying 2023-01-07 03:13:16 +00:00
Beef
0fe5d30bbc [Plugins] Basic implementation of plugin settings 2023-01-05 23:07:58 +00:00
Beef
62933bc5ba [Plugins] Move to support polymanifest 2023-01-04 22:39:28 +00:00
Beef
57df878f65 [Plugins] Minor but necessary fixes 2023-01-04 08:01:56 +00:00
Beef
5c4026685e [Plugins] Implement proper execution 2023-01-03 08:05:16 +00:00
Beef
7465e42354 [Plugin] Basic, non-functional implementation 2023-01-03 00:18:19 +00:00
Beef
d0f4e87475 [Styles] Switch to createThemedStylesheet 2023-01-03 00:17:58 +00:00
Beef
fee7f345fa [Shims] Properly shim React 2023-01-01 22:05:53 +00:00
Beef
48138c5b7c [Init] Assign window object before everything else 2023-01-01 21:10:09 +00:00
Beef
276cd18a5b [Settings > AssetBrowser] Missing semicolon 2022-10-28 18:54:29 +01:00
Beef
7610a97b78 [Cleanup] Lots of tidying, fill out API object 2022-10-28 18:50:40 +01:00
Beef
c98b2c7e25 [Settings] Seperate pages and components 2022-10-27 18:16:46 +01:00
Beef
e32d331c5e [Settings] Move to proper one-time patch 2022-10-27 18:14:01 +01:00
Beef
88e4f357a4 [Init] Async-ify, for future use 2022-10-25 23:50:18 +01:00
Beef
91be38564d [UI > Settings] Completely overhaul 2022-10-23 01:39:02 +01:00
Beef
0ec19aaf5c [UI > AssetBrowser] Improve search, add name copying 2022-10-23 01:37:49 +01:00
Beef
9f1fe6313d [Toasts] Implement 2022-10-23 00:51:18 +01:00
Beef
111720806c [UI > AssetBrowser] Add 2022-10-23 00:38:04 +01:00
Beef
ed5fc58845 [Assets] Fix asset catching 2022-10-23 00:36:56 +01:00
Beef
c0fad60389 [Assets] Fix getAssetByID 2022-10-23 00:11:33 +01:00
Beef
3b21f8f345 [Assets] Properly assign asset id 2022-10-22 23:43:51 +01:00
Beef
62b843f9f6 [Assets] Implement 2022-10-22 23:26:06 +01:00
Beef
cc634c7805 [Debug] Move patcher import to our own 2022-10-22 22:44:42 +01:00
Beef
c494caf421 [Metro > Common] Tidy and type 2022-10-22 18:59:01 +01:00
Beef
4551b3d553 [Debug] Remove useless log 2022-10-22 17:41:24 +01:00
Beef
9dc57bb697 [Utils > findInTree] I am a perfectionist 2022-10-22 15:12:38 +01:00
Beef
08865685df [Cleanup] Tidy up last night's rushed commit 2022-10-20 07:58:17 +01:00
Beef
daf0357d60 [Global] Preliminary debug ws implementation 2022-10-19 23:11:44 +01:00
Beef
b4f5bdc996 [Cleanup] Small tidying 2022-10-19 07:58:32 +01:00
Beef
10ccca3e40 [UI] Preliminary UI, ported somewhat from pre-rewrite 2022-10-18 23:59:45 +01:00
Beef
110181b6fd [Utils] Merge from pre-rewrite 2022-10-18 23:21:58 +01:00