Commit graph

424 commits

Author SHA1 Message Date
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
Cynthia Foxwell
98cfa090d4
feat(plugin): add webhookTags (#46)
* feat(plugin): add webhookTags

* fix(plugin): merge same find patches in webhookTags
2022-10-05 04:45:35 +02:00
Ariana
77aa0c78a0
fix(plugin): add MessageEventsAPI to dependencies of unindent (#48) 2022-10-05 03:33:37 +02:00
Drake
dafbd39113
Fix ify not preventing auto-pausing without premium (#28) 2022-10-04 22:26:56 +02:00
ActuallyTheSun
c5e0c7a6e7
fix(randomiseFileNames): work correctly on web (#40)
* fix(randomiseFileNames): work correctly on web

* fix the fix
2022-10-04 21:46:08 +02:00
GlitchyChan
e1027e06c1
fix(plugins): Fixed BANger (#41)
* fix(plugins): Fixed BANger

That was easy.

* add(Devs): Added Myself to Devs

* Update banger.ts

Co-authored-by: Ven <vendicated@riseup.net>
2022-10-04 21:38:38 +02:00
Diamond
f1a31a6184
feat: no blocked messages plugin (#34) 2022-10-04 16:46:21 +02:00
Vendicated
a6551957e7
fix NoDevtoolsWarning for web 2022-10-04 13:17:00 +02:00
Vendicated
3a9f692644
Fix Desktop thinking it's web
I forgor to test host after adding web support
2022-10-04 12:57:39 +02:00
Diamond
e35393b40c
feat: no system badges plugin (#33) 2022-10-04 02:36:02 +02:00
Vendicated
cc25753314
feat: Experimental browser support 2022-10-04 00:52:50 +02:00
obscurity
f2d913c672
feat(plugin): add betterUploadButton (#32)
plugin to upload with a single click and open the context menu with right click
2022-10-03 20:43:25 +02:00
Vendicated
8fe60971f5
security: remove openPath, restrict openExternal
Now only allows opening http urls.
2022-10-03 19:17:54 +02:00
Vendicated
71a59f4020
Remove electron level telemetry blocking
This is obsolete because the noTrack plugin already does this in
renderer.
2022-10-03 18:56:22 +02:00
Drake
d102d5d976
Make NitroBypass only add spaces when there are none (#26) 2022-10-02 22:12:48 +02:00
megumin
46585efc02
feat(plugins): Add isStaff plugin (#25)
* feat(plugins): Add isStaff plugin

* fix(plugins/isStaff): Improve patches
2022-10-02 18:59:37 +02:00
obscurity
e4c41d5d6c
feat(plugin): add RandomiseFileNames (#24) 2022-10-02 16:21:54 +02:00
Drake
ca2f9d937c
feat(plugin): add NoReplyMention (#23) 2022-10-02 04:08:34 +02:00
Vendicated
19801321cc
Clean up main 2022-10-02 03:11:30 +02:00
Vendicated
acd24cdc4f
Merge branch 'main' of github.com:Vendicated/Vencord 2022-10-02 02:51:10 +02:00
Vendicated
f31fd75efc
UpdaterPage: Do not error if update check failed 2022-10-02 02:46:41 +02:00
botato
acf06203b6
some tweaks (#22) 2022-10-02 01:05:15 +02:00
Vendicated
57d586fab7
Updater: Properly clear changelist after update 2022-10-01 22:14:57 +02:00
Vendicated
2410582cf8
Dedicated Updater Page, Settings feedback 2022-10-01 22:09:20 +02:00
Vendicated
cac77dce40
Fix DiscordNative.desktopCapture.getDesktopCaptureSources() in electron17+ 2022-10-01 17:05:18 +02:00
Vendicated
be94dbbc6c
Fix NitroBypass 2022-10-01 17:04:57 +02:00
botato
967b101af1
feat(plugin): iLoveSpam (#19) 2022-10-01 04:23:41 +02:00
Vendicated
784e9ec9cb
Expose QuickCss and Updater on global; consoleShortcuts plugin 2022-10-01 03:58:18 +02:00
GlitchyChan
175bf1b693
feat(plugin): add muteNewGuild Plugin (#17) 2022-10-01 02:49:26 +02:00
Ven
ef353f1d66
Better authors field (#18) 2022-10-01 02:27:28 +02:00
botato
3e64054283
feat(plugins): add folder svg icon plugin (#16) 2022-10-01 01:34:27 +02:00
Vendicated
bfee307194
Fix commit info 2: Electric Boogaloo 2022-10-01 00:50:10 +02:00
Vendicated
243406557b
Fix commit info 2022-10-01 00:46:49 +02:00
Vendicated
8161a07dba
Add in client updater, Notices API 2022-10-01 00:42:50 +02:00
Vendicated
9aaa47ea4e
BetterGifAltText: Decode url encoded jazz 2022-09-29 23:45:15 +02:00
Vendicated
3c2bbb698a
SilentTyping 2022-09-29 22:02:01 +02:00
Vendicated
86c4bb7f8c
Improve webpack performance (~ 80ms -> 15ms) 2022-09-28 22:49:46 +02:00
Vendicated
0677df7818
BetterGifAltText sanity checks 2022-09-28 13:39:13 +02:00
Vendicated
48477e1959
BetterGifAltText 2022-09-28 13:09:18 +02:00
Vendicated
02ed954ce4
Add clickableRoleDot plugin, toasts 2022-09-28 12:15:37 +02:00
Vendicated
815131ddb7
Fix Experiments 2022-09-27 18:08:11 +02:00
Vendicated
4759ca536c
Fix ViewProfileImages 2022-09-27 18:03:21 +02:00
Vendicated
0444233dd9
Undo the oopsie 2022-09-27 16:59:02 +02:00
Vendicated
572bfcee6c
Fix Settings UI 2022-09-27 16:57:46 +02:00
Vendicated
6398dd25d2
Unbrick Vencord - Pt 1 2022-09-27 14:34:57 +02:00
Vendicated
d0940a8b19
Make raw.githubusercontent.com work for css imports 2022-09-25 17:45:59 +02:00
Vendicated
71a60a0359
Add .editorconfig; reformat project 2022-09-16 22:59:34 +02:00
Vendicated
5f62d2d3ec
Just found out esbuild has a logLevel prop 2022-09-16 22:40:22 +02:00
Vendicated
8cc43cdc7c
Add Megu to Experiments author 2022-09-16 22:12:34 +02:00
megumin
b6d2f50dfc
fix(experiments): Patch canUseOverrides variable (#11) 2022-09-16 22:10:39 +02:00
Vendicated
204ce6758a
Add Webpack.search and Webpack.extract 2022-09-16 21:43:38 +02:00
Vendicated
37e81c017e
patchWebpack: Fix toString on replaced factory methods 2022-09-16 20:53:04 +02:00
Vendicated
9bf28c0e7a
Remove newlines in webpack chunks 2022-09-15 18:17:52 +02:00
Vendicated
b1d3f5e52f
Fix settings patch 2022-09-15 18:03:48 +02:00
Vendicated
5b2b91ed0d
ViewIcons: Fix crash when developer mode is off 2022-09-08 22:44:54 +02:00
Vendicated
6099179f02
ViewIcons: Now opens icons in image viewer 2022-09-08 22:25:21 +02:00
Vendicated
e52225304e
Add modal api 2022-09-08 21:47:53 +02:00
Vendicated
4f531b3634
MessageActions: ignore dblclicks if already editing the msg 2022-09-07 21:43:48 +02:00
Vendicated
a72dedb9aa
better anti devtools; disable sourcemaps 2022-09-07 15:38:50 +02:00
Vendicated
96fed019b8
feat: 20% more swag 2022-09-07 15:27:52 +02:00
Vendicated
edbe8dbcec
cummies 2022-09-07 15:22:56 +02:00
Vendicated
83cdd86926
Webpack: Expose cache and require 2022-09-05 19:54:22 +02:00
Xinto
9aed4d275f
add BANger (#8) 2022-09-04 00:21:35 +02:00
Vendicated
1645913b7f
Improve settings listener api 2022-09-03 18:01:06 +02:00
Vendicated
113f47ca7f
Add QuickCss toggle; add settings listener api 2022-09-03 17:49:16 +02:00
Vendicated
8a8c6a4b52
ViewIcons: Fix error when clicking nonexistant banner 2022-09-02 23:02:08 +02:00
Vendicated
3dd294e2ad
Add viewIcons 2022-09-02 19:05:52 +02:00
Vendicated
68057d49e8
Debounce CssWatcher, fix empty tooltips in settings 2022-09-02 16:15:47 +02:00
Cynthia Foxwell
02aeca6b73
add ify (#7) 2022-09-02 06:08:23 +02:00
Cynthia Foxwell
71072cf3a3
noTrack: switch to patches (#6) 2022-09-02 05:27:32 +02:00
Vendicated
5488f5cecb
Better patch errors 2022-09-02 05:11:45 +02:00
Vendicated
138682f3eb
Fix: Create SETTINGS_DIR if it doesnt exist 2022-09-02 04:55:14 +02:00
Vendicated
ab9f77e770
Fix messageActions 2022-09-01 23:11:12 +02:00
Vendicated
d4eadf9348
BrowserWindow: Disable sandbox to fix electron>=21 2022-09-01 22:35:43 +02:00
Vendicated
9951e0bcc5
Settings: Calculate dependencies 2022-09-01 21:41:00 +02:00
Vendicated
78deb0ebad
Fix settings corrupting 2022-09-01 21:40:26 +02:00
Vendicated
7ce37f858c
Unindent, plugins is now an object instead of [] 2022-08-31 23:04:18 +02:00
Vendicated
b2f762fda8
Revert patcher to console.log 2022-08-31 22:09:36 +02:00
Vendicated
f60ccb766f
Add Plugin.start, make Settings actually start/stop plugins 2022-08-31 22:08:05 +02:00
Vendicated
bac8a648b6
Update dependencies 2022-08-31 20:58:21 +02:00
Vendicated
9b4926ccdc
Fix webpack path 2022-08-31 20:55:58 +02:00
ArjixWasTaken
c3ff092162
Add nitro bypass (#4) 2022-08-31 20:53:36 +02:00
Vendicated
a7ccbcfca4
Refactor webpack; Add ErrorBoundary 2022-08-31 20:47:07 +02:00
Vendicated
98cb301df5
Make Settings & Settings Page 2022-08-31 04:07:16 +02:00
Vendicated
cb288e204d
Add Settings 'page', gitHash, electron version in settings 2022-08-30 01:42:47 +02:00
Vendicated
483bc13a31
Finish rewrite 2022-08-29 22:05:22 +02:00
Vendicated
c39ff8f648
More progress 2022-08-29 20:27:47 +02:00
Vendicated
1709ab61ef
Fix NPE when opening DevTools 2022-08-29 18:45:58 +02:00
Vendicated
876e622f4f
Progress 2022-08-29 18:11:44 +02:00
Vendicated
af498e7829
Rewrite 2022-08-29 02:25:27 +02:00