Commit graph

1831 commits

Author SHA1 Message Date
Vendicated 9ab7b8b9c9
experiments: remove obsolete isStaff patch; rename ServerProfile -> ServerInfo 2024-06-05 23:46:53 +02:00
Nuckyz 23584393a9
NoPendingCount: Fix for message requests 2024-06-05 23:46:53 +02:00
Nuckyz ed5ae2ba5c
Add shortcut for lazy loading chunks 2024-06-05 23:46:52 +02:00
Vendicated 8fd5d068da
fix(css): brand-experiment is now brand-500 2024-06-05 23:46:52 +02:00
Nuckyz 53dd86fa6e
Improve typings and other stuff 2024-06-02 18:46:03 -03:00
Nuckyz 066ce07512
Merge branch 'dev' into modules-proxy-patches 2024-06-01 23:41:58 -03:00
Nuckyz 6e6ee4db68
NoPendingCount: Fix for message requests 2024-06-01 23:40:05 -03:00
Nuckyz 4e14232b5a
Fix patching pre-populated factories 2024-06-01 19:52:17 -03:00
Nuckyz 61e1eada01
Fix not restoring some original factories 2024-06-01 19:38:01 -03:00
Nuckyz d8524b087c
Add shortcut for lazy loading chunks 2024-06-01 18:39:01 -03:00
Nuckyz b79a0dadcb
Merge branch 'dev' into modules-proxy-patches 2024-06-01 18:06:38 -03:00
Nuckyz c4c92ed366
Add shortcut for lazy loading chunks 2024-06-01 17:51:50 -03:00
Vendicated 78fd37a4c6
fix(css): brand-experiment is now brand-500 2024-06-01 19:13:27 +02:00
Nuckyz 33d5753ca7
fix grammar issues 2024-06-01 05:03:47 -03:00
Nuckyz 8580332c82
cleanup 2024-06-01 01:44:18 -03:00
Nuckyz 4d8c56689c
Future proof against array modules 2024-06-01 01:40:44 -03:00
Nuckyz db5397f41a
sdfdsf 2024-06-01 00:22:17 -03:00
Nuckyz dd4d80872e
fix reporter part 2 2024-06-01 00:17:15 -03:00
Nuckyz 0aff3c29bc
Fix reporter 2024-06-01 00:11:00 -03:00
Nuckyz 01fdeb7292
cya webpackChunkdiscord_app part 2 2024-06-01 00:05:15 -03:00
Nuckyz 2ab7d3209e
Merge branch 'dev' into modules-proxy-patches 2024-05-31 23:57:07 -03:00
Nuckyz aa7eb77050
ShowHiddenChannels: Fix patch 2024-05-31 23:41:38 -03:00
Nuckyz d07e4c71b5
Make Reporter runnable in desktop 2024-05-31 23:28:58 -03:00
Nuckyz cbd9a9312c
don't depend in the value of bundlePath 2024-05-31 19:58:26 -03:00
Nuckyz fbb7ee50dd
Revert indexOf change 2024-05-31 17:34:32 -03:00
Nuckyz 4187932aa7
\n 2024-05-31 06:27:02 -03:00
Nuckyz e21a6be4b6
sfdsfdsfdsf 2024-05-31 06:19:57 -03:00
Nuckyz db63fffe18
I should still be defining this 2024-05-31 06:16:01 -03:00
Nuckyz f4cc95da5a
Use indexOf in more places 2024-05-31 05:29:01 -03:00
Nuckyz 545d69aa6d
Use indexOf instead of includes; reset global find regex state 2024-05-31 05:19:34 -03:00
Nuckyz 47eec049fc
Not needed anymore and breaks interpolated strings with newlines 2024-05-31 00:21:15 -03:00
Nuckyz 022a0497c3
Merge branch 'dev' into modules-proxy-patches 2024-05-31 00:20:22 -03:00
Nuckyz 7ccd073506
Fix ShowConnections & FriendsSince patches 2024-05-31 00:16:56 -03:00
Nuckyz 111a4f2aa8
Merge branch 'dev' into modules-proxy-patches 2024-05-30 18:39:14 -03:00
Nuckyz 2b565fed25
Make vencord-debug usable everywhere if user is pluginDev 2024-05-30 18:34:16 -03:00
Nuckyz 05a40445c8
refactor: improve build scripts & automatic testing
- Fix reporter breaking because of ConsoleShortcuts
- Fix extractAndLoadChunks issue with 2 match groups; Improve testing of lazy extractAndLoadChunks
- Reporter: Properly implement reporter build of Vencord; Test more plugins; Fix running in wrong pages
- Fix wrong external files and clean up build script; Remove non used stuff
2024-05-30 23:30:44 +02:00
Nuckyz 79849fd37d
Merge branch 'dev' into modules-proxy-patches 2024-05-30 18:11:23 -03:00
Nuckyz 3a25da5f14
Fix wrong external files and clean up build script; Remove non used stuff 2024-05-30 18:03:00 -03:00
Nuckyz 3c62e393a3
edit another license header 2024-05-30 13:38:22 -03:00
Nuckyz e22575805b
Merge branch 'dev' into modules-proxy-patches 2024-05-30 05:15:44 -03:00
Nuckyz 9a9c1b0487
Reporter: Properly implement reporter build of Vencord; Test more plugins; Fix running in wrong pages 2024-05-30 04:44:13 -03:00
Nuckyz 36f9eda3a8
Merge branch 'dev' into modules-proxy-patches 2024-05-30 01:09:11 -03:00
Nuckyz 892de53603
Fix extractAndLoadChunks issue with 2 match groups; Improve testing of lazy extractAndLoadChunks 2024-05-30 00:51:23 -03:00
Nuckyz 4db6c4b88a
Merge branch 'dev' into modules-proxy-patches 2024-05-29 05:10:24 -03:00
Nuckyz 537fc5e33d
feat(API): updateMessage API for forcing re-renders 2024-05-29 04:57:18 -03:00
Vendicated 9b9a5322c9
webpack: make window exports non enumerable 2024-05-29 06:32:49 +02:00
Vendicated da01237c05
Summaries: update README 2024-05-29 05:21:05 +02:00
Vendicated 86aabe73eb
add more flags for preventing background unloading 2024-05-29 04:24:48 +02:00
Nuckyz 73503945fb
Add WebpackInstances shortcut 2024-05-28 17:58:54 -03:00
Nuckyz a4073703fd
explain UNCONFIGURABLE_PROPERTIES better 2024-05-28 17:44:36 -03:00
vee 84b9e3fec1
ConsoleShortcuts: Fix autocomplete on lazies, add more utils (#2519) 2024-05-28 17:44:36 -03:00
vee a78dba321d
ConsoleShortcuts: Fix autocomplete on lazies, add more utils (#2519) 2024-05-28 17:31:58 -03:00
Nuckyz d78f1c8000
where did this come from? 2024-05-28 17:15:25 -03:00
Nuckyz 64262001e8
boop 2024-05-28 17:14:35 -03:00
Nuckyz 6b648f3d38
oops! 2024-05-28 17:12:36 -03:00
Nuckyz 1eeadbcd97
export all webpack instances 2024-05-28 17:11:17 -03:00
Nuckyz acbc932542
give name to PatchedFactory 2024-05-28 03:57:56 -03:00
Nuckyz c9c09b95a3
fix typo 2024-05-28 03:35:38 -03:00
Nuckyz 513d9f4209
I knew I was forgetting something 2024-05-28 03:34:40 -03:00
Nuckyz 3e2952890f
Merge branch 'dev' into modules-proxy-patches 2024-05-28 03:31:37 -03:00
Nuckyz 539b70cd52
lmao oops 2024-05-27 23:32:40 -03:00
Nuckyz e96458fafa
fixes for if we use prototype proxy in the future 2024-05-27 23:31:08 -03:00
Lexi b9e83d9d28
new plugin DontRoundMyTimestamps: round 7.6y -> 7y instead of 8y (#2060)
Co-authored-by: V <vendicated@riseup.net>
2024-05-28 02:22:42 +00:00
Nuckyz a1542bcec5
okay codium agent 2024-05-27 23:21:51 -03:00
AutumnVN 8131ca8f15
USRBG: support new simplified profile (#2501)
Co-authored-by: vee <vendicated@riseup.net>
2024-05-28 02:15:48 +00:00
Vendicated 5b35d7c644
fix occasional errors in Dearrow & ImageZoom 2024-05-28 02:35:40 +02:00
sunnie c2f8837602
new plugin: MaskedLinkPaste (#2514)
Co-authored-by: vee <vendicated@riseup.net>
2024-05-28 02:23:30 +02:00
nin0dev c431b7d2ab
fix(MessageLogger): correctly mark markdown headers red (#2511)
Co-authored-by: vee <vendicated@riseup.net>
2024-05-28 02:21:12 +02:00
Nuckyz 513eea8d14
Prepare for in case modules object is accessed directly in the future 2024-05-27 18:27:21 -03:00
Ulysses Zhan 8bda3a1e6a
LoadingQuotes: more customization & custom quotes support (#1795)
Co-authored-by: lewisakura <lewi@lewisakura.moe>
Co-authored-by: Vendicated <vendicated@riseup.net>
2024-05-27 18:36:09 +02:00
Nuckyz 6d59a943da
Merge branch 'dev' into modules-proxy-patches 2024-05-26 21:17:02 -03:00
Nuckyz 6b4899804a
Summaries: Fix start error if no summaries-data exist 2024-05-26 21:16:12 -03:00
Nuckyz f345484e5b
Merge branch 'dev' into modules-proxy-patches 2024-05-26 20:56:31 -03:00
Nuckyz 1f99162b5a
update patchWebpack license 2024-05-26 20:38:57 -03:00
Nuckyz 8c5f2c897e
Document patchWebpack better 2024-05-26 20:22:03 -03:00
Nuckyz 9ada9bc1a9
e part 2 2024-05-26 19:51:34 -03:00
Nuckyz 8fd22f6deb
e 2024-05-26 19:50:47 -03:00
Nuckyz c1e78b4397
hasOwn != in 2024-05-26 19:50:16 -03:00
Nuckyz 32a2c90761
fix typing of the global 2024-05-26 19:40:33 -03:00
Nuckyz dae3841f10
ughh 2024-05-26 19:38:25 -03:00
Nuckyz 4d27643d39
type more 2024-05-26 19:37:47 -03:00
Nuckyz c2047e5f3b
fix typos 2024-05-26 19:27:52 -03:00
Nuckyz 18142ecccb
fix doc 2024-05-26 19:26:26 -03:00
Nuckyz 440cb1f29c
Properly document wreq.a 2024-05-26 19:25:06 -03:00
Luna 41c5bbd952
new plugin WatchTogetherAdblock: block ads in youtube activity (#2021)
Co-authored-by: vee <vendicated@riseup.net>
2024-05-26 19:44:04 +00:00
Vendicated 9ec671819d
build: improve fileInclude plugin 2024-05-26 19:15:51 +02:00
Vendicated c836270320
fix minor bugs in various plugins
- FriendsSince: Don't show for friend requests
- FakeNitro: Fix attempting to bypass unicode emojis #2503
- MessageLatency: ignore bots #2504
- CtrlEnterSend: use cmd+enter on macOS #2502
- ReplaceGoogleSearch: trim LF character #2488

Co-authored-by: AutumnVN <autumnvnchino@gmail.com>
Co-authored-by: rushiiMachine <33725716+rushiiMachine@users.noreply.github.com>
Co-authored-by: Lumap <lumap@duck.com>
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
2024-05-26 18:24:02 +02:00
Manti 4f2c2b8e4a
new plugin Summaries: show Discords AI-generated convo summaries (#2481)
Co-authored-by: Vendicated <vendicated@riseup.net>
2024-05-26 18:14:29 +02:00
Nuckyz 3e3201ad0d
improve wreq docs 2024-05-26 07:00:03 -03:00
Nuckyz 1ed956114f
fix logic 2024-05-26 05:46:53 -03:00
Nuckyz a8fa685cfa
Add back running modules without patches 2024-05-26 05:29:05 -03:00
Nuckyz 265cf12d39
I love 2024-05-26 05:24:03 -03:00
Nuckyz affd527bc1
Make factory wrapper a little more future proof 2024-05-26 05:19:52 -03:00
Nuckyz 1a8a901e0a
Merge branch 'dev' into modules-proxy-patches 2024-05-26 01:13:24 -03:00
Nuckyz a8e18f17e2
ConsoleShortcuts: Start at Init 2024-05-26 01:11:36 -03:00
Nuckyz 9af63b362d
more future proof 2024-05-26 00:27:13 -03:00
Nuckyz 1e55ae5327
this is more clean 2024-05-24 18:46:36 -03:00
Nuckyz daa1a35fc3
Factories are called with a this 2024-05-24 08:23:41 -03:00
Nuckyz 2f16cdf77b
Make toStringTag non enumerable 2024-05-24 07:59:56 -03:00
Nuckyz 8dde496757
one more name cuz why not 2024-05-24 07:40:36 -03:00
Nuckyz 5fbabb0b70
sob 2024-05-24 05:24:37 -03:00
Nuckyz 3793acd9bb
forgot the comment 2024-05-24 05:19:12 -03:00
Nuckyz 3296ee1c4b
Remove onChunksLoaded patch 2024-05-24 05:14:27 -03:00
Nuckyz bacf021a28
aaaaa 2024-05-24 03:57:54 -03:00
Nuckyz d6b5bc58ce
how many times 2024-05-24 03:49:14 -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 f64b228cb9
better log 2024-05-24 03:13:41 -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 b38ab066d9
Preserve original modules prototype 2024-05-24 02:02:28 -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 c5541d297d
Optimize slowest patches 2024-05-23 21:58:06 -03:00
Vendicated 9740d28530
discord why tf would u roll back to 10 days old build??? 2024-05-23 21:58:05 -03:00
Nuckyz 8f59cd8a1a
Optimize slowest patches 2024-05-23 21:48:12 -03:00
Vendicated 349169e67a
discord why tf would u roll back to 10 days old build??? 2024-05-24 01:05:17 +02: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 7b7b87316d
HORROR 2024-05-23 07:09:03 -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 bb3f629672
Merge branch 'dev' into modules-proxy-patches 2024-05-23 06:07:25 -03:00
Nuckyz 3ab68f9296
Option for eager patching 2024-05-23 06:07:13 -03:00
Nuckyz 775877281e
Revert removal of DevTools context menu fix 2024-05-23 06:04:50 -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
Vendicated a0778f6a2e
work around discord unloading in background 2024-05-23 03:35:02 +02:00
Vendicated 869e71112e
fix AnonymiseFilenames 2024-05-23 03:26:23 +02:00
Vendicated b335df7fe2
MessageLogger: fix edit logging 2024-05-23 03:25:02 +02: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 2a2124c5a0
Merge branch 'dev' into modules-proxy-patches 2024-05-22 01:11:04 -03:00
Nuckyz f469060ccf
Fix reporter false positive and DefaultExtractAndLoadChunksRegex not catching all cases 2024-05-22 00:47:12 -03:00
Nuckyz afd56820db
Revert "MessageLinkEmbeds: No longer need to reset global regex"
It is still needed for messageLinkRegex.test
2024-05-21 23:58:37 -03:00
PWall 0751722add
QuickReply: skip blocked messages if NoBlockedMessages enabled (#2476) 2024-05-21 02:52:43 +02:00
k26pl 44d708129b
fix(MessageLogger): correctly blur spoilered images (#2433)
Co-authored-by: vee <vendicated@riseup.net>
2024-05-21 00:44:29 +00:00
dolfies 08d7de06b2
ShowHiddenThings: more effectively explode Algolia filters (#2484)
Co-authored-by: vee <vendicated@riseup.net>
2024-05-21 02:28:06 +02:00
goodbee 9c092b9c29
feat(BetterRoleContext): Add option to view role icons (#2482)
Co-authored-by: vee <vendicated@riseup.net>
2024-05-21 00:24:00 +00:00
Alyxia Sother f384fe6aa5
fakeProfileThemes: settings UI improvements (#966)
Co-authored-by: V <vendicated@riseup.net>
2024-05-21 00:13:24 +00:00
Nuckyz 025508f18d
StartupTimings: Fix patch 2024-05-19 23:32:15 -03:00
Nuckyz b938bdf138
Clarify about sentry webpack 2024-05-19 23:22:48 -03:00