Commit graph

397 commits

Author SHA1 Message Date
Nuckyz c9c1e0c6c5
Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy 2024-05-24 18:46:52 -03:00
Nuckyz 1e55ae5327
this is more clean 2024-05-24 18:46:36 -03:00
Nuckyz 5b96881177
Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy 2024-05-24 08:24:56 -03:00
Nuckyz daa1a35fc3
Factories are called with a this 2024-05-24 08:23:41 -03:00
Nuckyz ef895e787a
Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy 2024-05-24 08:02:04 -03:00
Nuckyz 2f16cdf77b
Make toStringTag non enumerable 2024-05-24 07:59:56 -03:00
Nuckyz e990795783
Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy 2024-05-24 07:41:52 -03:00
Nuckyz 8dde496757
one more name cuz why not 2024-05-24 07:40:36 -03:00
Nuckyz 35f950c6e3
Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy 2024-05-24 05:24:59 -03:00
Nuckyz 5fbabb0b70
sob 2024-05-24 05:24:37 -03:00
Nuckyz ff9cc2e9e5
Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy 2024-05-24 05:19:20 -03:00
Nuckyz 3793acd9bb
forgot the comment 2024-05-24 05:19:12 -03:00
Nuckyz ebae259f5d
Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy 2024-05-24 05:17:17 -03:00
Nuckyz 3296ee1c4b
Remove onChunksLoaded patch 2024-05-24 05:14:27 -03:00
Nuckyz 2f87363b89
Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy 2024-05-24 03:58:15 -03:00
Nuckyz bacf021a28
aaaaa 2024-05-24 03:57:54 -03:00
Nuckyz 1138e22f58
Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy 2024-05-24 03:50:03 -03:00
Nuckyz d6b5bc58ce
how many times 2024-05-24 03:49:14 -03:00
Nuckyz bd2264c125
Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy 2024-05-24 03:46:43 -03:00
Nuckyz 86f69e84c1
I'm stupid 2024-05-24 03:45:46 -03:00
Nuckyz 488f133a90
Handle if for some reason modules are set again 2024-05-24 03:44:40 -03:00
Nuckyz 77d8e70059
Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy 2024-05-24 03:13:56 -03:00
Nuckyz f64b228cb9
better log 2024-05-24 03:13:41 -03:00
Nuckyz b192c89146
I can never not forget something 2024-05-24 03:12:48 -03:00
Nuckyz ae10d3667c
Take a different approach which requires less cursed code 2024-05-24 03:12:48 -03:00
Nuckyz f727d101fc
I can never not forget something 2024-05-24 03:09:25 -03:00
Nuckyz 9bbec66ea5
Take a different approach which requires less cursed code 2024-05-24 03:08:35 -03:00
Nuckyz 0146789514
Preserve original modules prototype 2024-05-24 02:02:54 -03:00
Nuckyz b38ab066d9
Preserve original modules prototype 2024-05-24 02:02:28 -03:00
Nuckyz 37514e0720
mod -> module 2024-05-24 00:14:07 -03:00
Nuckyz aa9be97f83
Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy 2024-05-24 00:00:36 -03:00
Nuckyz d8c6559967
I forgot this 2024-05-23 23:56:29 -03:00
Nuckyz 5e762ddd04
Add names to Modules objects 2024-05-23 23:18:43 -03:00
Nuckyz f5be78d101
Patching toString -> String 2024-05-23 20:02:41 -03:00
Nuckyz bdd4b0f143
Make eagerPatches an internal setting 2024-05-23 19:53:19 -03:00
Nuckyz 1013c34840
HORROR 2024-05-23 07:09:15 -03:00
Nuckyz 7b7b87316d
HORROR 2024-05-23 07:09:03 -03:00
Nuckyz 6567ff7435
any -> ModuleExports 2024-05-23 06:58:51 -03:00
Nuckyz 22a75c4589
Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy 2024-05-23 06:51:07 -03:00
Nuckyz 67b5ecca51
Merge branch 'immediate-finds' into immediate-finds-modules-proxy 2024-05-23 06:42:53 -03:00
Nuckyz cdbd9ad101
Merge branch 'dev' into immediate-finds 2024-05-23 06:42:07 -03:00
Nuckyz 1e96638219
oops! 2024-05-23 06:38:22 -03:00
Nuckyz ac61a0377f
clean up 2024-05-23 06:09:47 -03:00
Nuckyz 3ab68f9296
Option for eager patching 2024-05-23 06:07:13 -03:00
Nuckyz 01a4ac9c13
sometimes I'm stupid 2024-05-23 03:42:58 -03:00
Nuckyz 66e1db1fdb
more 2024-05-23 03:39:59 -03:00
Nuckyz 688449ed62
forgot this! 2024-05-23 03:38:06 -03:00
Nuckyz 5ca4e58fad
Clean up WebpackRequire typings 2024-05-23 03:36:53 -03:00
Nuckyz deb0f7b9c6
Merge remote-tracking branch 'upstream/dev' into modules-proxy-patches 2024-05-23 03:12:46 -03:00
Nuckyz 40a1f48267
boops 2024-05-23 03:10:59 -03:00
Nuckyz bc367b1d2a
and also a fix 2024-05-22 06:25:30 -03:00
Nuckyz f6a7cdc430
more fix 2024-05-22 06:22:37 -03:00
Nuckyz d5bcbf54f9
fix 2024-05-22 06:17:31 -03:00
Nuckyz 4b2734610f
Add WebpackRequire typings 2024-05-22 06:08:40 -03:00
Nuckyz c4645f79c6
Make patchedBy a string set 2024-05-22 06:08:28 -03:00
Nuckyz f686cba398
Fix not setting property on originalOnChunksLoaded 2024-05-22 05:11:09 -03:00
Nuckyz 21fea87551
Merge branch 'immediate-finds' into immediate-finds-modules-proxy 2024-05-22 01:11:26 -03:00
Nuckyz 2a2124c5a0
Merge branch 'dev' into modules-proxy-patches 2024-05-22 01:11:04 -03:00
Nuckyz 1a1e5c2e1d
Fix Flex component type 2024-05-22 01:07:58 -03:00
Nuckyz c9d9d53fb1
Merge branch 'dev' into immediate-finds 2024-05-22 01:01:58 -03:00
Nuckyz f469060ccf
Fix reporter false positive and DefaultExtractAndLoadChunksRegex not catching all cases 2024-05-22 00:47:12 -03:00
Nuckyz dc81d1c14c
Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy 2024-05-19 23:22:58 -03:00
Nuckyz b938bdf138
Clarify about sentry webpack 2024-05-19 23:22:48 -03:00
Nuckyz e74aabb988
Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy 2024-05-19 23:15:31 -03:00
Nuckyz ab24ce08e3
Merge branch 'dev' into modules-proxy-patches 2024-05-19 23:14:05 -03:00
Nuckyz d678e68899
Merge branch 'immediate-finds' into immediate-finds-modules-proxy 2024-05-19 23:10:56 -03:00
Nuckyz 9a1a7b374f
Merge branch 'dev' into immediate-finds 2024-05-19 23:09:43 -03:00
Nuckyz 0a595120b9
Fix: Ignore bundled lib webpack on web 2024-05-19 23:08:33 -03:00
Nuckyz ec373069b3
Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy 2024-05-19 23:01:08 -03:00
Nuckyz 2a77941dff
Proxy modules object for patching 2024-05-19 22:49:58 -03:00
vee 70f60193b0
explosion part 2 2024-05-17 23:10:21 +02:00
vee 9e60d4979d
explosion 2024-05-17 23:08:59 +02:00
vee 3562c8ae11
Merge branch 'dev' into immediate-finds 2024-05-17 23:08:07 +02:00
vee c3757a2ae6
add package for publishing types to npm (#2473)
https://www.npmjs.com/package/@vencord/types
2024-05-17 23:01:07 +02:00
Nuckyz 8045d65e99
Merge branch 'dev' into immediate-finds 2024-05-17 05:09:35 -03:00
Nuckyz 6547cc10f7
FakeNitro: Fix attempting to bypass unicode emojis
Closes #2470
2024-05-17 04:34:50 -03:00
Nuckyz 7f5aaada88
Merge branch 'dev' into immediate-finds 2024-05-15 23:02:13 -03:00
Nuckyz c0c897fc23
extractAndLoadChunksLazy: Cache result to avoid searching factories everytime 2024-05-15 23:00:21 -03:00
Nuckyz 0cc89996c6
forgot this 2024-05-15 00:00:54 -03:00
Nuckyz c72099fc39
feat: Allow finds to use regex (#2452) 2024-05-14 23:59:07 -03:00
Nuckyz f74da73086
feat: Allow finds to use regex (#2452) 2024-05-14 23:57:43 -03:00
Nuckyz 82f9e36e5a
Merge remote-tracking branch 'upstream/dev' into immediate-finds 2024-05-14 23:53:41 -03:00
ScattrdBlade 4da8b9aad7
PetPet: Fix Upload Image Option (#2461) 2024-05-15 02:44:47 +00:00
Nuckyz f6e484034c
more pog 2024-05-11 06:05:20 -03:00
Nuckyz 5676f45781
whatever 2024-05-11 05:56:26 -03:00
Nuckyz e11d651e33
work 2024-05-11 05:51:18 -03:00
Nuckyz 09a6a9bf85
wtf? 2024-05-11 05:47:53 -03:00
Nuckyz 1b64419ef1
Make commons have proper ProxyInner typing 2024-05-11 05:44:52 -03:00
Nuckyz 5edff4a3c5
types 2024-05-11 05:19:12 -03:00
Nuckyz b043d8abb7
Clarify more what the find methods return 2024-05-11 01:11:57 -03:00
Nuckyz 035e2add0b
Fix MoreUserTags freezing the client 2024-05-08 06:44:18 -03:00
Nuckyz f70cc5205c
Reporter Bad Webpack Finds logs cleanups 2024-05-08 06:16:00 -03:00
Nuckyz fa948e8639
Clean up all finds; Make common components NoopComponents by default
I went through every single find and made sure every component find is using the proper method
2024-05-08 04:48:48 -03:00
Nuckyz 4cc6789b5b
misc fixes 2024-05-08 00:25:34 -03:00
Nuckyz 3b7f1be9a2
i18nMessages: Keep language codes only 2024-05-07 22:23:44 -03:00
Nuckyz c2e12e2827
why not 2024-05-07 22:10:05 -03:00
Nuckyz 8b6620ca2f
Update FluxEvents and Permissions 2024-05-07 22:06:45 -03:00
Nuckyz f1e2d5572a
Update these license headers because I forgot in the other pr 2024-05-07 21:44:26 -03:00
Nuckyz 511ec1b129
Add warn for using deprecated method 2024-05-07 21:33:05 -03:00
Nuckyz 94843a77ac
Merge remote-tracking branch 'upstream/dev' into immediate-finds 2024-05-07 16:27:52 -03:00
Vendicated 97acffafcc
fix useStateFromStores JSDoc
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
2024-05-07 16:32:19 +02:00
Nuckyz 8873391496
Fix the lint :) 2024-05-07 06:33:07 -03:00
Nuckyz b77b654df1
I should have done this in the dev branch but it's whatever now 2024-05-07 06:30:24 -03:00
Nuckyz c65e1f88d2
Improve description of some finds 2024-05-07 06:28:43 -03:00
Nuckyz 9cd20e3cea
Merge branch 'dev' into immediate-finds 2024-05-07 06:23:36 -03:00
Nuckyz f04bd8a7ad
useStateFromStores: Document 3rd param and fix JSDoc 2024-05-07 06:13:38 -03:00
Nuckyz 4a89fadedd
Make Webpack finds not need to re-search 2024-05-07 01:13:46 -03:00
Nuckyz 886071af4d
Clean up Webpack ComponentWrapper 2024-05-06 23:22:36 -03:00
Nuckyz e311bd9f76
Merge branch 'dev' into immediate-finds 2024-05-05 17:56:21 -03:00
Vendicated ce18000c4e
fix webpack patch on client using discordapp.com part 2 2024-05-05 18:58:23 +02:00
Vendicated 066b872219
fix webpack patch on client using discordapp.com 2024-05-05 18:56:49 +02:00
Nuckyz 70103e8111
Add better explanation for destructuring primitives 2024-05-04 17:49:20 -03:00
Nuckyz 9ece4dddd3
Better deprecation comments 2024-05-03 19:39:21 -03:00
Nuckyz 36f5d9acc6
Merge remote-tracking branch 'upstream/dev' into immediate-finds 2024-05-03 19:23:48 -03:00
dolfies a6c09bc909
feat(ValidUser): also display badges & banner (#2235)
Co-authored-by: V <vendicated@riseup.net>
2024-05-04 00:21:02 +02:00
Nuckyz 901d803ba9
Make it less breaking: Add old methods back but mark as deprecated 2024-05-03 05:35:53 -03:00
Nuckyz 770078f236
More things 2024-05-03 04:49:14 -03:00
Nuckyz f1dd39885b
Clean up commons 2024-05-03 01:50:50 -03:00
Nuckyz 75fa0ff708
Immediate finds 2024-05-02 23:18:12 -03:00
Nuckyz a055b1d47b
refactor(Webpack): more reliable patching (#2237) 2024-05-02 23:52:41 +02:00
Vendicated 0a598ae966
fix FriendsSince 2024-05-02 15:38:53 +02:00
Vendicated 0bebc85b0d
fix FriendsSince on canary 2024-04-20 11:52:58 +02:00
Vendicated 99f523b87c
fix extractAndLoadChunks for when there are no chunks to be loaded 2024-04-14 02:22:13 +02:00
Vendicated 89dc74d5d7
partially revert "Array support for find + ResurrectHome: View Server Home Button on Server Guide (#2283)"
This reverts commit 5636f9d979.

It breaks Vesktop which is not acceptable. Need to resolve this conflict and add this back later
2024-04-14 00:59:04 +02:00
Nuckyz 5636f9d979
Array support for find + ResurrectHome: View Server Home Button on Server Guide (#2283) 2024-04-09 17:09:23 -03:00
Nuckyz c997ff7ada
Fix lazy chunk force loading 2024-03-28 04:05:11 +01:00
Vendicated 0d22ff0091
webpack: fix infinite recursion when using ConsoleShortcuts plugin 2024-03-27 21:27:56 +01:00
Vendicated 3e332a6062
fix RestAPI find 2024-03-21 23:27:08 +01:00
Kyuuhachi 6140b95814
new plugin: BetterSettings ~ improves Discord's settings (#2222)
- makes opening settings much faster
- removes the scuffed transition animation
- organises the settings cog context menu into categories

Co-authored-by: Vendicated <vendicated@riseup.net>
2024-03-16 02:19:26 +01:00
Nuckyz 6a7657de3f
Remove getGuildRoles 2024-03-12 20:18:44 -03:00
Nuckyz 10f33b3dec
Make more finds use filters.componentByCode 2024-03-08 00:24:21 -03:00
Vendicated 2e90d4c03d
New plugin: BetterRoleContext ~ edit/copy colour shortcuts in profile 2024-03-07 20:23:07 +01:00
Nuckyz 980206d315
Fix waitFor initial finds traces getting logged to the console even though they always fail 2024-03-07 10:27:50 -03:00
Vendicated 3ebde1aae8
fix some minor bugs 2024-03-01 00:18:09 +01:00
Nuckyz ed5e1be7a4
Add permissions checks for FakeNitro actions (#2160)
Co-authored-by: Vendicated <vendicated@riseup.net>
2024-02-27 13:19:05 +01:00
Vendicated a501da692f
MessageLinkEmbeds: fix group dm support, improve ui 2024-02-15 11:08:43 +01:00
Vendicated 0c9d2a6a21
Fix plugins using the Timestamp component 2024-02-13 09:05:19 +01:00
Nuckyz 2cd82944e3
Move commons from discord utils; Make ThemesTab use invite modal util 2023-12-13 22:01:07 -03:00
V a8b0ce6f03
fix(notrack): murder sentry 2023-12-14 01:29:57 +01:00
Jack b47a5f569e
feat: Add Decor plugin (#910) 2023-11-30 02:10:50 -03:00
Nuckyz 1619ee404a
Utility function for loading Discord chunks (#2017) 2023-11-28 16:33:02 -03:00
Nuckyz 1b179f3c6d
Simplify some components finds; Make undo of patch groups more clear 2023-11-28 16:33:00 -03:00
V 534565db25
Add webpack find testing (#2016)
Co-authored-by: V <vendicated@riseup.net>
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
2023-11-25 01:32:21 +01:00
V 81fb7c6322
add back code that got lost 2023-11-23 06:45:01 +01:00
V f39f16d34b
fix circular import bricking browser version 2023-11-23 06:43:22 +01:00
V 6f05612e34
Remove obsolete webpack hacks 2023-11-23 03:41:09 +01:00
V 9efc0ff579
Remove obsolete nested webpack search 2023-11-23 03:21:58 +01:00
V 63451bad25
Remove obsolete mapMangledModule ~ modules are no longer mangled 2023-11-23 03:11:17 +01:00
V 6869705673
beef up ConsoleShortcuts 2023-11-23 02:44:04 +01:00
V a2560ede1c
fix showConnections & better webpack errors 2023-11-23 02:20:24 +01:00