Commit graph

359 commits

Author SHA1 Message Date
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
Jack 93a95b6d56
feat(patcher): Grouped replacements (#2009)
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
Co-authored-by: V <vendicated@riseup.net>
2023-11-22 07:23:21 +01:00
V 7b24c8ac69
move new webpack methods to more appropriate file 2023-11-22 07:04:17 +01:00
V b21b6d7e5d
Make it possible to destructure lazy webpack finds 2023-11-22 02:54:46 -03:00
Nuckyz ffe6512693
Improve component finding api and migrate plugins to use them 2023-11-22 02:49:08 -03:00
Nuckyz 2f1e86f333
TypingIndicator: support threads 2023-11-21 00:51:12 -03:00
Justice Almanzar 45aa9fbb6d
Fix hljs find (#1983) 2023-11-15 15:30:31 -03:00
Nuckyz 7845af0802
Remove hacks to support no longer active versions of Discord 2023-10-27 19:55:39 -03:00
Susheel Thapa 0afe319141
fix typo in multiple files (#1911) 2023-10-27 12:09:38 -03:00
Vendicated 589c070773
fix not removing vencord 'chunks' from webpack 2023-10-26 22:51:07 +02:00
Vendicated e4701769a5
Fix entry webpack modules not being patched 2023-10-26 21:21:21 +02:00
Vendicated 25f101602d
fix modules being patched multiple times 2023-10-26 21:03:05 +02:00
TheKodeToad c1de41436a
Fix plugins using promptToUpload (#1908) 2023-10-26 13:49:06 -03:00
rini c7a20769f9
fix things using lodash (#1882) 2023-10-25 20:29:32 +02:00
Vendicated 465a87f66b
Fix ColorSighted 2023-10-25 20:07:45 +02:00
Vendicated 8f0009778a
Fix ViewIcons 2023-10-25 19:09:59 +02:00
Vendicated c90440f031
Fix Settings Proto 2023-10-25 18:42:31 +02:00
rini fbc5038306
fix: RPC plugins (#1873) 2023-10-25 18:20:32 +02:00
Vendicated ddc39fe84d
Fix SettingStores, GameActivityToggle 2023-10-25 18:15:18 +02:00
sunnie c5dd50ad8f fix messageLinkEmbeds, moreUserTags (#1859) 2023-10-25 17:38:55 +02:00
AutumnVN 2478ffb695 fix userutils (#1861) 2023-10-25 17:38:55 +02:00
Vendicated fb22c57da1 MessageAccessoriesAPI: Fix 2023-10-25 17:38:55 +02:00
Vendicated 7ee9a8bb99 SpotifyControls: Fix 2023-10-25 17:38:55 +02:00
megumin 4beef9f73b fix: ComponentDispatch and GifPaste plugin (#1843)
Co-authored-by: V <vendicated@riseup.net>
2023-10-25 17:38:55 +02:00
Vendicated 4da79abb21 Fix components filter 2023-10-25 17:38:55 +02:00
Vendicated 4e27722b54 fix webpack patching 2023-10-25 17:38:55 +02:00
V 1a1d9b07e8
Fix canary crashing (#1833) 2023-10-25 00:17:11 +02:00
AutumnVN 88b06191b9
fix modal image + reviewdb bot tag (#1761)
* fix modal image

* fix reviewdb bot tag
2023-09-29 00:46:33 +02:00
V c6b1b9463c
improve webpack find error messages 2023-09-25 18:27:18 +02:00
Syncx a73d09a2f0
PreviewMessage: Add attachments (& misc changes) (#1715) 2023-09-12 23:14:17 +02:00
V 885c75fdaa
add custom plugin author popouts (#1712) 2023-09-08 03:42:20 +02:00
Syncx e699ea63c7
feat(plugin): PreviewMessage (#1607)
Co-authored-by: V <vendicated@riseup.net>
2023-08-19 01:19:10 +02:00
Justice Almanzar ffdf63563b
feat(plugins): Web/Vesktop AI Noise Suppression powered by RNNoise (#1477)
Co-authored-by: V <vendicated@riseup.net>
2023-08-16 01:32:11 +02:00
V 3e732646e5
Fix plugins broken by latest canary update (#1637)
* Fix WebContextMenus
* BetterGifAltText: futureproof find
* Fix pronoundb profile patch
* Fix NoScreensharePreview
* Fix FakeNitro emote text patch

---------

Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
2023-08-12 05:27:59 +02:00
Rini 8b6c8bc0ec chore: transition to shorter license headers (#6)
Transition from the GPL jumpscare to a more concise header:

	/*
     * Vencord, a Discord client mod
	 * Copyright (c) 2023 Vendicated and contributors
     *
	 * SPDX-License-Identifier: GPL-3.0
     */

Old files still keep the old headers, while eslint will now autofix the new header

Reviewed-on: https://codeberg.org/Ven/cord/pulls/6
Co-authored-by: Rini <rini@rinici.de>
Co-committed-by: Rini <rini@rinici.de>
2023-08-10 00:17:49 +00:00
V 8620a1d86d
New plugin: VoiceMessages (#1380)
Co-authored-by: V <vendicated@riseup.net>
Co-authored-by: Justice Almanzar <superdash993@gmail.com>
2023-07-26 01:27:04 +02:00
V 73354973a3
OpenInApp: Support steam; integrate with SpotifyControls & ShowConnections 2023-06-29 16:15:07 +02:00
V d7ac418e05
Fix some plugins displaying legacy discriminators (username#0000) 2023-06-23 18:09:43 +02:00
Phil e8d90d2b45
feat(plugin): BiggerStreamPreview (#1222)
Co-authored-by: V <vendicated@riseup.net>
2023-06-16 19:35:50 +02:00