Commit graph

266 commits

Author SHA1 Message Date
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