Commit graph

211 commits

Author SHA1 Message Date
amsyarasyiq
8b33faa3c8 QoL You settings changes
Co-authored-by: nexpid <poggerschampersqwq@gmail.com>
2024-02-28 15:43:45 +08:00
amsyarasyiq
d633f4eead Hold on ability to eval 2024-02-28 14:54:30 +08:00
amsyarasyiq
e49174230d missed one 2024-02-28 14:52:46 +08:00
amsyarasyiq
1ac2359e91 Fix windowObject 2024-02-28 14:50:46 +08:00
amsyarasyiq
a759c4d883 Project restructuring (half-progress, untested) 2024-02-28 14:09:42 +08:00
amsyarasyiq
c8cd4967de Implement core commands 2024-02-27 23:35:55 +08:00
amsyarasyiq
2ff46796bd i18n: bad implementation 2024-02-27 17:22:23 +08:00
amsyarasyiq
cef960bc2d Merge branch 'main' of https://github.com/pyoncord/Bunny 2024-02-25 11:00:14 +08:00
amsyarasyiq
74d0cf2d75 themes: Fix storing 2024-02-25 11:00:00 +08:00
amsyarasyiq
09c0021be8 destructure @native, expose it, and add fs wrappers 2024-02-25 10:44:54 +08:00
pylixonly
cfcd00f493
Fix findByProps for vd api 2024-02-24 04:18:03 +08:00
amsyarasyiq
d22fbbe584 Defaults loader config file 2024-02-24 00:29:27 +08:00
amsyarasyiq
1386d48d1c [no ci] Fix ts compiling error 2024-02-23 22:56:45 +08:00
amsyarasyiq
f76168c0b0 Update @swc/core and revert e565abfb69
https://github.com/swc-project/swc/issues/7025 my beloved
2024-02-23 22:37:55 +08:00
amsyarasyiq
e565abfb69 quick fix 2024-02-23 22:00:22 +08:00
amsyarasyiq
98ca1305ce Remove __vendettaVersion and use constModules 2024-02-23 21:39:57 +08:00
amsyarasyiq
6e4c6df1e5 Bundle whole project's types 2024-02-23 19:30:23 +08:00
amsyarasyiq
0ea0bbb69b Setup @uwu/treetype 2024-02-23 16:38:55 +08:00
amsyarasyiq
00b5be7130 Move types to their respective files 2024-02-23 15:11:35 +08:00
amsyarasyiq
dea9ecb084 Half independent Vendetta api 2024-02-23 13:29:06 +08:00
amsyarasyiq
11f75aee79 whoops 2024-02-23 11:51:03 +08:00
amsyarasyiq
53aec5baa5 Blind PyonXposed support 2024-02-23 00:33:40 +08:00
amsyarasyiq
582f01163b more folly reloadless theme impl 2024-02-20 13:05:18 +08:00
amsyarasyiq
e1e5560eb8 fix the hacky requireNativeComponent double register 2024-02-11 22:44:16 +08:00
amsyarasyiq
8d2e17d7d4 Constants change 2024-02-09 11:02:45 +08:00
amsyarasyiq
d543317bca Rebrand to "Bunny" 2024-02-09 10:37:36 +08:00
amsyarasyiq
9158ec2c71 workflow: push builds 2024-02-08 18:18:23 +08:00
amsyarasyiq
dbdfb11f85 move ThemeManager to @native 2024-02-08 17:06:50 +08:00
amsyarasyiq
fa9b2a890e somewhat properly working reloadless theme 2024-02-08 16:57:50 +08:00
amsyarasyiq
69264afbb2 storage validation 2024-02-08 14:17:58 +08:00
amsyarasyiq
10e86ec8d4 Half-assed reloadless theme changing
Only on the JS side for now, until the user restarts.
Wonders: this would work perfectly when the native side hooks the updateTheme to hook the native colors
2023-12-22 11:13:17 +08:00
amsyarasyiq
a6435ea376 refactor import 2023-12-21 14:02:32 +08:00
amsyarasyiq
84abb4c9a7 fix themes and standardize copy toasts 2023-12-21 12:45:15 +08:00
amsyarasyiq
d9b5cf9398 lil fix 2023-12-21 03:53:25 +08:00
maisy
963ddc50c5 [UI > InputAlert] Fix for new UI 2023-12-17 03:44:41 +00:00
Amsyar Rasyiq
80efe7026c
[Lib > Storage] Move from MMKVManager to FS (#206)
* init migration

* fixes
2023-12-17 02:09:12 +00:00
maisy
c58530080e [Metro > Common] Add the util polyfill 2023-11-13 23:57:59 +00:00
Amsyar Rasyiq
0a78aa4d60
[Global] Fix for 204201+ (#185)
* Fix for 204201+

* Hooki-ify safeMode styles

* Re-add theme fixer

* def.d.ts

* Alternate `createThemedStyleSheet` approach

* verbatim import aa

* make backwards compatible

---------

Co-authored-by: redstonekasi <kasi@hanneskann.de>
2023-11-13 23:24:48 +00:00
redstonekasi
d602f60a96 [Lib > Plugins] Use our own allSettled 2023-10-20 20:12:57 +02:00
nexpid
8352072654
[Lib > Preinit] Fix Chat Box Bug™ on iOS (#170) 2023-10-20 17:43:17 +02:00
Amsyar Rasyiq
b90cddd3d8
[UI] Fix You tab on recent versions (#142)
* Fix You tab crash

* Fix You tab patch on recent versions

Compatibility with older version is implemented, however, untested
2023-08-28 01:36:19 +01:00
nexpid
3b035d537a
[Themes] Fix themes shenanigans in latest versions (#131)
* [Themes] Hopefully fix BACKGROUND/BG semantic colors for 192.7+

* [Themes] Nvm use different alternative name system

* [Themes] Fix message background not working
2023-08-26 16:31:54 +01:00
Gabe616
10b12474ba
[TS] Use Symbol.for for emitterSymbol & syncAwaitSymbol (#130)
* [TS] Export emitterSymbol & syncAwaitSymbol

* [TS] Use Symbol.for instead

* [TS] Rename symbol names

Co-authored-by: Amsyar Rasyiq <82711525+amsyarasyiq@users.noreply.github.com>

---------

Co-authored-by: Amsyar Rasyiq <82711525+amsyarasyiq@users.noreply.github.com>
2023-08-13 13:21:42 +01:00
Beef
1bce60d7ab [Metro] Remove now-useless import of the patcher 2023-08-04 02:28:51 +01:00
Beef
06dee4cefc [Metro] Fix for 191.3, courtesy of pylix
Co-authored-by: Amsyar Rasyiq <82711525+amsyarasyiq@users.noreply.github.com>
2023-08-04 02:25:50 +01:00
V
277401c752
[TS] Properly type __vendettaVersion (#78) 2023-05-30 19:03:49 +01:00
Cynthia Foxwell
3083f8d53a
[Commands] Prevent patch from adding commands to all command types (#91)
* [Commands] Prevent patch from adding commands to all command types

* [Commands] Minor stylistic changes

---------

Co-authored-by: Beef <beefers@riseup.net>
2023-05-29 23:06:04 +01:00
Jack Matthews
028bb19080 [Metro > Common] Fix constants find
Discord renamed API_HOST to APP_URL_PREFIX in iOS build 44564,
breaking our constants find. Instead, we should use Fonts and Permissions
because those shouldn't ever be removed from constants.. right?
2023-05-26 11:08:26 +01:00
Beef
fda8e31bb1 [UI > Settings] Complete overhaul, support You tab
You tab support has a few issues, namely:
* Text inputs automatically close the keyboard
* The Developer toggle is not reactive
* Plugins will need to update if they set navigation options in their settings, otherwise an infinite re-render occurs

Co-authored-by: Jack Matthews <jm5112356@gmail.com>
2023-05-21 01:04:53 +01:00
Cain Atkinson
bc03464da3
[Plugins] Allow plugins to still load if they fail to update (#85)
* [Plugins] allow plugins to load if they fail to update
On poor quality networks, plugins can fail to update. This shouldn't mean that they aren't loaded, however.

* [Plugins] Log fetch error to Debug Logs not console

---------

Co-authored-by: Beef <beefers@riseup.net>
2023-05-14 23:09:37 +01:00