Commit graph

339 commits

Author SHA1 Message Date
Vendicated
f7d9be9140
lint: Disallow utils index imports
This keeps leading to issues due to circular imports.
Import from specific files instead, index just reexports
2022-11-07 23:34:14 +01:00
Vendicated
955573d31b
me when i dont depend on MenuItemDeobfuscatorApi 2022-11-07 22:36:06 +01:00
Ven
6a8564089b
SpotifyControls plugin (#190) 2022-11-07 22:28:29 +01:00
Nico
7d5ade21fc
feat(nitroBypass): add sticker bypass (#184)
Co-authored-by: Vendicated <vendicated@riseup.net>
2022-11-07 22:23:34 +01:00
Vendicated
0af4579204
Add tracer, fix MessageActions slow startup 2022-11-07 21:05:33 +01:00
Vendicated
851d07f31a
fix(ReverseImageSearch): Don't apply to non image files 2022-11-07 18:52:34 +01:00
Vendicated
963a7332b4
Migrate proxied components to and fix LazyComponent 2022-11-06 18:37:01 +01:00
Vendicated
440baf6028
Improve proxyLazy 2022-11-06 18:00:59 +01:00
megumin
9663e229a6
feat(plugins): add Startup Timings (#189) 2022-11-05 11:09:05 +01:00
megumin
0cb24cad7e
feat: make text selectable in PatchHelper (#188)
* feat: make text selectable in PatchHelper

* real div moment
2022-11-05 10:02:29 +01:00
Vendicated
65620f4976
Webpack: Do not emit errors if devtools open 2022-11-03 20:36:17 +01:00
Vendicated
cb7469afad
Simplemarkdown pleeeeease 2022-11-03 19:15:51 +01:00
Vendicated
2c3dee4120
qol improvements 2022-11-03 19:12:50 +01:00
Vendicated
c20dc269d2
Modify CSP instead of deleting it 2022-11-02 22:15:55 +01:00
Vendicated
a7795533df
Remove clipboardImageFix - Discord fixed the bug woooooo 2022-11-02 20:54:39 +01:00
Vendicated
5e1b42120c
Fix plugins on new update 2022-11-02 20:13:55 +01:00
Vendicated
676f5c7e30
ViewIcons: size 2048 -> 512, to fit on screen 2022-11-02 17:30:15 +01:00
Vendicated
13c73699e9
Fix Webpack modules that are not arrow funcs, Part II 2022-11-01 15:06:15 +01:00
Vendicated
64aed87de4
Fix Webpack modules that are not arrow funcs 2022-11-01 14:28:25 +01:00
Nickyux
1944f3957f
fix forceOwnerCrown Plugin Spamming Errors in Console (#180)
Co-authored-by: Nico <nico@d3sox.me>
Co-authored-by: Ven <vendicated@riseup.net>
2022-11-01 02:19:07 +01:00
Ven
04d6f341ee
PatchHelper, a tool to help you write patches (#182) 2022-11-01 01:49:41 +01:00
rushii
0c25278c59
fix renamed app.asar detection on Windows (#185) 2022-11-01 01:47:07 +01:00
Vendicated
0fda900ccc
Fix: settings.appearance may be undefined 2022-10-31 17:17:54 +01:00
Ven
8adf7ca155
Webpack Warnings & Errors (#178)
* dev: Useful strict Warnings & Errors

* Always log error

* Ignore pending patches with all or whose predicate = false

* Error -> Warn
2022-10-30 20:45:18 +01:00
Snek
b905743077
removed channel type (#170)
Co-authored-by: Ven <vendicated@riseup.net>
2022-10-30 19:17:46 +01:00
Nico
a43a41f61f
vcDoubleClick: don't require dbl click on active vc, fix stage channels (#172) 2022-10-30 18:47:12 +01:00
Ven
3af9a14a0e
Patcher: More useful errors with code diffs (#177)
* Patcher: More useful errors with code diffs

* Nicer log formatting

* PluginCards: ellipsises
2022-10-30 02:58:11 +01:00
Vendicated
739b1e47d4
New plugin: LoadingQuotes 2022-10-29 22:53:23 +02:00
Ven
d72542405a
Implement Subcommands; fix errors due to Settings <-> Plugins circular imports (#174) 2022-10-29 20:45:31 +02:00
Vendicated
95aa2d9d8d
ClipboardImageFix is not actually required 2022-10-29 20:36:43 +02:00
Ven
93859883c1
build: inject createElement alias (#176) 2022-10-29 20:27:48 +02:00
Cynthia Foxwell
37105ac416
feat(plugin): ClipboardImageFix (#173) 2022-10-29 20:25:40 +02:00
Vendicated
f6e0efe20a
Reverse image search plugin 2022-10-29 15:25:34 +02:00
Vendicated
1764206e19
Add MenuItemDeobfuscator 2022-10-29 15:25:10 +02:00
Nuckyz
6b0caaae37
fix(ShowHiddenChannels): Fix New unreads box for hidden channels #168 2022-10-27 20:26:54 +02:00
Snek
c76e9f5e3d
better patch & visual bug fix (#167) 2022-10-27 18:37:54 +02:00
Nuckyz
9548978d80
fix(IgnoreActivities): id -> exePath (#164)
Co-authored-by: Ven <vendicated@riseup.net>
2022-10-27 10:27:52 +02:00
megumin
13882b5732
feat: custom components in settings (#165) 2022-10-26 23:42:26 +02:00
Jakup
49e72bab32
moarKaomojis plugin (#137) 2022-10-26 15:38:41 +02:00
Nuckyz
bbd3633038
fix(Ignore Activities): Fixes games manually added not being able to be ignored (#162)
Co-authored-by: Ven <vendicated@riseup.net>
2022-10-26 15:31:55 +02:00
Vendicated
c65f757bc4
Fix betterUploadButton 2022-10-26 15:10:11 +02:00
Vendicated
b87f0bf3f9
Settings: Cache default value 2022-10-26 14:28:27 +02:00
Vendicated
670b7d7d01
Make tsc happy 2022-10-26 13:54:23 +02:00
Vendicated
f492d26379
Make jsFactory shorter -> bundle size -10% 2022-10-26 13:49:28 +02:00
megumin
5e7c155f6e
feat(settings): add beforeSave check (#161) 2022-10-25 18:49:50 +01:00
Nico
e06ba68c40
fix(vcDoubleClick): add required parentheses (#160) 2022-10-25 18:15:21 +02:00
Nico
d6fe937a70
fix(vcDoubleClick): exclude text channel mentions (#159) 2022-10-25 18:09:21 +02:00
Nico
2f46b934c9
feat: add new plugin ForceOwnerCrown (#157) 2022-10-25 17:32:05 +02:00
Nico
559edbfffe
Fix vcDoubleClick, add support for stage channels (#158) 2022-10-25 10:53:06 +02:00
Nuckyz
6c38362401
Ignore Activities: Fix button not working (#156)
explode
2022-10-25 00:18:30 +02:00
Nuckyz
00402c69d6
feat(plugin): Ignore Activities (#142) 2022-10-25 00:05:40 +02:00
Nico
30dd4b9e01
[ShowHiddenChannels] Add last message info, fix collapsing (#146)
Co-authored-by: Snek <107999380+sneksnake@users.noreply.github.com>
2022-10-24 23:22:39 +02:00
Ven
5fac8be0ae
Vencord Standalone without git/node (#148) 2022-10-23 23:23:52 +02:00
megumin
ffbb52512c
fix: plugin dependencies not enabling (#150) 2022-10-23 19:09:02 +01:00
Berlin
ff9d904fcb
Update license headers in files created by Samu (#149) 2022-10-23 16:33:28 +02:00
Roman / Linnea Gräf
50c0d472d7
feat(NoCanaryMessageLinks): Allow custom subdomains (#147) 2022-10-23 14:19:53 +02:00
Snek
abbc08fb06
feat(plugin): Show Hidden Channels (#101) 2022-10-23 11:44:21 +02:00
KraXen72
934a89add0
feat: switch in plugin settings (#140) 2022-10-22 23:38:48 +02:00
Vendicated
35d2b8d1cf
patcher: Add back support for discord_arch_electron 2022-10-22 19:05:50 +02:00
Vendicated
0328966e0f
Unbrick OpenAsar installs 2022-10-22 18:34:29 +02:00
Vendicated
61fd38d6d9
style: Sort imports 2022-10-22 18:18:41 +02:00
Ven
a7dbd73547
Windows: Patch host updater to reinject (#138) 2022-10-22 18:17:02 +02:00
Vendicated
c116d00d03
Implement Chrome extension loading myself because electron-devtools-installer is ultra bloated 2022-10-22 06:31:47 +02:00
Vendicated
44f6f71c3e
Monaco for Discord Desktop 2022-10-22 04:42:54 +02:00
Vendicated
7d555a96ea
fix userscript, lint new files 2022-10-22 01:22:44 +02:00
Vendicated
f92f3f1a5e
Add license headers 2022-10-22 01:17:14 +02:00
Cynthia Foxwell
6769de29cd
feat(api): add Clipboard entry in webpack common (#127) 2022-10-22 00:18:32 +02:00
Cynthia Foxwell
e2b622c76b
feat(api): Message Accessories API (#131) 2022-10-22 00:17:18 +02:00
Vendicated
4b1e96b76e
Vencord Web: QuickCss Monaco Editor 2022-10-21 23:58:41 +02:00
jue131
e93111fb67
Update nitroBypass.ts (#132) 2022-10-21 13:37:53 +02:00
TymanWasTaken
ccf7f66a79
Update PronounDB Plugin (#115)
* Add X-PronounDB-Source header, add options to pronoundb

* Adapt to defaults fix, better lowercase logic

* User popouts :)
2022-10-21 12:46:38 +02:00
Nuckyz
d8afde2b4d
feat(plugins): Moyai ignore bots setting (#130) 2022-10-21 00:05:08 +02:00
Vendicated
a15d5de493
New plugin: vcDoubleClick 2022-10-20 23:06:28 +02:00
Vendicated
05051399b6 Fix error when enabling a plugin with commands if CommandsAPI hasn't loaded 2022-10-20 20:23:14 +02:00
Vendicated
e4068ef9a6 Document apis 2022-10-20 20:23:14 +02:00
Vendicated
c80ed1b824 legal: Make esbuild generate & link licensing information 2022-10-20 20:23:14 +02:00
Vendicated
50047dd3c2 Add DataStore (IndexedDB wrapper)
An alternative to the synchronous Settings API to work around storage
limitations of localStorage and allow  storing of arbitrarily large
data in form of most Javascript DataTypes,
see https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm#supported_types
2022-10-20 20:23:14 +02:00
Vendicated
36f4478a4f
more eslint 2022-10-20 11:58:20 +02:00
Nuckyz
350e7b0a6a
feat(moyai): Add option to toggle triggering moyai when the window is not focused (#123) 2022-10-20 07:48:46 +02:00
Katlyn Lorimer
7eba5b99b0
feat: add sendify plugin (#122)
* feat: add sendify plugin

* fix: tweak plugin description

* fix: respect message replies

This implements code provided by Ven, while taking into account possible
errors from Discord as well as minor changes for readability.

Co-authored-by: Ven <vendicated@riseup.net>
2022-10-20 00:53:09 +02:00
Animal
f81ab5ef93
Add volume settings to fart plugin (#113)
Co-authored-by: Ven <vendicated@riseup.net>
2022-10-19 23:28:02 +02:00
megumin
1f50f78912
feat: settings sliders (#120)
Co-authored-by: Ven <vendicated@riseup.net>
2022-10-19 21:57:27 +02:00
Glitchy
efab399309
feat(BANger): Customisable gif or video (#121)
Signed-off-by: glitchy <thepatheticweebgamer@gmail.com>
2022-10-19 21:50:58 +02:00
Nuckyz
dd1537a5d6
feat(plugin): Ify improvements (#119) 2022-10-19 21:28:01 +02:00
Vendicated
d97c3e2e02
Fix ViewIcons, make banner have right cursor
Discord loves pushing 2 almost identical Avatar components for A/B
testing, they have never heard of an if statement 🚎
2022-10-19 19:45:22 +02:00
obscurity
7cdc4e4c03
feat: randomiseFileNames -> anonymiseFileNames (#116)
Co-authored-by: Ven <vendicated@riseup.net>
2022-10-19 15:23:22 +02:00
Vendicated
d3bf5cec9a
Fix nitroBypass 2022-10-19 12:27:20 +02:00
obscurity
139dd7a92e
fix(interactionKeybinds): disable ping when replying to own message (#118) 2022-10-19 09:36:40 +02:00
Ven
b66903cf52
Settings: Implement plugin options defaults (#117) 2022-10-18 22:53:37 +02:00
Ven
287173458f
Updater: Fix error when update check fails
fixes #114
2022-10-18 09:57:32 +02:00
Stijn van der Kolk
beb9aae26b
show only the dependants that are enabled (#111) 2022-10-18 09:53:01 +02:00
Rie Takahashi
5a18292d92 fix(Experiments): Broken isStaff match 2022-10-17 21:22:08 +01:00
megumin
5625d63e46
Settings 2.0 (#107)
Co-authored-by: Vendicated <vendicated@riseup.net>
2022-10-17 20:18:25 +01:00
TymanWasTaken
ae730e8398
Add pronoundb plugin (#104) 2022-10-17 18:05:22 +02:00
Vendicated
ad054d5c65
Fix messageActions 2022-10-17 16:29:26 +02:00
echo
82d53b1928
added mock command (#103) 2022-10-16 23:25:27 +02:00
Kyiro
c7c5ffdd44
Allow customising SettingsDir via VENCORD_USER_DATA_DIR environment variable (#106) 2022-10-16 23:20:43 +02:00
Vendicated
0ccea16453
Unbrick updater 2022-10-16 17:23:18 +02:00
Vendicated
01ae0983b3
Optimise Web via treeshaking, cleanup build scripts 2022-10-16 17:15:15 +02:00
Vendicated
c8d87da62d
fart: lazy Audio, moyai: fix cors issues 2022-10-15 19:07:44 +02:00
Vendicated
0d996633f2
ViewIcons: Use ImageModal again 2022-10-14 22:40:20 +02:00
Vendicated
a4e98f9252
proxyLazy: Fix constructors 2022-10-14 22:40:16 +02:00
Vendicated
53794ec180
Fix jsdoc 2022-10-14 21:40:10 +02:00
Vendicated
296336535f
Fix modals, add wp.mapMangledModule 2022-10-14 21:34:35 +02:00
Berlin
d73a6e2c89
Fix fxTwitter regex (#100)
* Fixes so that wont affect other things like likes
* Fixes #97 

Co-authored-by: Ven <vendicated@riseup.net>
2022-10-14 18:13:13 +02:00
Mai
2cb6c23347
add choices to CommandsAPI Options (#94) 2022-10-14 13:21:44 +02:00
Nuckyz
87b6d6ab12
Patch#all option to patch duplicate modules (#99) 2022-10-14 01:47:10 +02:00
Vendicated
bf49acd535
Fix Settings errors when retrieving a null value; add PlainSettings 2022-10-14 00:36:44 +02:00
Vendicated
5fe04c5882
turns out electron13 has no array.at() 2022-10-13 18:51:25 +02:00
Ven
a73e10fc77
quickReply => InteractionKeybinds: now supports edits (#95) 2022-10-13 18:42:35 +02:00
Vendicated
8817e2dff7
Reorganise command plugins 2022-10-12 22:22:37 +02:00
Vendicated
267b2b1a07
Commands: basic error handling 2022-10-12 22:22:21 +02:00
Vendicated
83d480a68c
Fix bots showing as webhook 2022-10-12 19:42:36 +02:00
Berlin
ebe62a1790
FakeClyde (plugin) and sendBotMessage (API addition) (#66)
Co-authored-by: Ven <vendicated@riseup.net>
2022-10-12 18:19:42 +02:00
Vendicated
8dff79d3f7
petpet: fix guild pfps 2022-10-12 05:55:44 +02:00
Vendicated
9b7ebe4680
petpet 2022-10-12 05:35:34 +02:00
Vendicated
8e93c5cb43
CommandsApi: fix accidently overwriting inputType BUILT_IN 2022-10-12 05:34:39 +02:00
Vendicated
66f8fde353
Improve ErrorBoundary layout
Now the error cause will be wrapped to prevent it from being cut off,
only wrap the stacktrace in pre
2022-10-12 01:54:38 +02:00
Vendicated
071508c61a
fix(Webhook Tags): Don't mark clyde messages as Webhook 2022-10-12 01:40:10 +02:00
Cynthia Foxwell
bfb4114e18
feat(plugin): UnminifyErrors (#90)
Co-authored-by: Ven <vendicated@riseup.net>
2022-10-12 01:25:50 +02:00
Cynthia Foxwell
6afd959530
feat(plugin): No F1 (#88) 2022-10-11 21:54:52 +02:00
Vendicated
86eacea74d
Make ReactDevTools Opt-in 2022-10-11 21:48:28 +02:00
Vendicated
516f8c488a
Switch to standalone-electron-types, -200MB npms 2022-10-11 17:48:14 +02:00
Cynthia Foxwell
39a7b2f5a9
feat(plugin): No RPC (#84) 2022-10-11 04:50:42 +02:00
Animal
7a0560b9d4
Fart plugin (#71)
* the silly

* fart conflicts

* Update fart.ts

Co-authored-by: Ven <vendicated@riseup.net>
2022-10-11 00:20:27 +02:00
BanTheNons
e685e399f9
fix(plugin): fix isStaff returning true for all users (#83)
Co-authored-by: nmsturcke <30734036+nmsturcke@users.noreply.github.com>
2022-10-10 23:45:11 +02:00
Berlin
54198b1a4a
fxTwitter (plugin) (#80)
Co-authored-by: splatterxl <splatterxl@outlook.ie>
Co-authored-by: Ven <vendicated@riseup.net>
2022-10-10 22:45:54 +02:00
Berlin
124d1ad9c7
Plugin that removes canary subdomain from message (#60) 2022-10-10 01:35:50 +02:00
Vendicated
a89e17a390
Make typescript happy, tsc test run in CI 2022-10-09 22:58:08 +02:00
Vendicated
f875d63c6d
Fix webpack search 2022-10-09 22:15:23 +02:00
Animal
e7fb4ebd4e
Protocol whitelist (#70)
* allowed protocols

* i forgot javascript actually has includes lol
2022-10-09 19:55:13 +02:00
Vendicated
2105de8ca5
Add more Webpack Commons & utils 2022-10-09 19:48:42 +02:00
Vendicated
bb7332cefd
Moyai: Support Reactions, ignore bots 2022-10-09 19:48:22 +02:00
Rie Takahashi
43951456d3 🗿🗿🗿 2022-10-09 17:27:50 +01:00
megumin
d3c581eb4e
🗿🗿🗿 (#75)
🗿🗿🗿
2022-10-09 17:18:18 +01:00
Vendicated
151f2eef8a
Improve plugin typings 2022-10-09 01:59:21 +02:00
Vendicated
e0bbdd89bd
fix lazyWebpack.construct, lint uwuify 2022-10-08 21:11:14 +02:00
echo
b101e643d5
added uwuify, but correct (#56)
* added uwuify command

* second try, uwuify: the return

* used the correct api

* added stuttering, repeating words ending with "y" and word replaces

* forgot to add one line lmao

* deleted a test statement

* added more isowo checks

* fixed replace-checking edgecase

* moved around statements - thanks arjix

* fixed another edgecase - gosh my code sucks

* did eslint bs, and added comments

* removed multiple toLowerCase calls
2022-10-08 20:56:38 +02:00
Vendicated
dea34503ef
Add more eslint rules 2022-10-08 20:36:57 +02:00
obscurity
0109381a4f
feat(plugin): add quickreply (#61) 2022-10-08 19:27:20 +02:00
puhbu
8842ad7652
Description change for Spotify Plugin (#63) 2022-10-08 19:26:09 +02:00
Diamond
73a1bc94d1
fix(lazyWebpack): implement more proxy traps (#65) 2022-10-08 19:23:05 +02:00
reflexguru
175c1a78f8
fix(plugin): fix stream quality bypass in nitroBypass (#57) 2022-10-06 16:33:30 +02:00
Ven
74c3930e0a
add eslint config (#53)
* eslint

* workflow

* lint main
2022-10-06 00:42:58 +02:00
ArjixWasTaken
e563521416
Add commands API (#38) 2022-10-06 00:11:32 +02:00
Vendicated
25fcc528ea
Updater: Inform about more recent commits 2022-10-05 17:09:37 +02:00
Vendicated
443978929b
Updater: Exclude more recent local commits 2022-10-05 16:47:28 +02:00
Ariana
45644dec43
feat(plugin): add clearURLs (#47) 2022-10-05 16:37:49 +02:00
Vendicated
3e0355cb53
Fix consoleShortcuts for web 2022-10-05 14:30:21 +02:00
Vendicated
7e526e4172
Kill unsafe require 2022-10-05 14:30:21 +02:00