Fixes:
- Webpack Patcher: incorrect patch error handling could lead to some functional patches not being applied
- CommandsAPI: subcommands were impossible to unregister
- useAwaiter: on error, the value was set to null even if a fallbackValue was specified, violating the type contract
- Patcher: build check boolean logic was grouped incorrectly due to missing parantheses
- CustomCommands: commands weren't unregistered on stop, leading to error when enabling, disabling & re-renabling the plugin
- Notification Log: delete was by timestamp instead of ID and non-atomic
- FixSpotifyEmbeds: settings listener was registered inside browser-window-created event handler, leading to duplicate listeners
- CustomRPC: changing activity type or timestamp didn't update the RPC
- CopyStickerLinks: message patch had non-sense code, just removed it
- XSOverlay: UDP socket wasn't closed on stop
- VoiceMessages: Web recorder never closed the mic media stream, which continues showing the OS mic indicator
- PictureInPicture: Video clone wasn't properly cleaned up, which leaked memory
- Themes (Extension version): theme object urls were never cleaned up, which leaked memory on theme change
- Themes (Extension version): Upload Theme button hitbox was only the text, not the whole button. Also added Drag & Drop from file manager support
- Dearrow: toggling for one embed flipped the global dearrow by default setting
- Extension Installer: the zip extract function was vulnerable to path traversal, although we only ever used this for React DevTools obtained via https so it has low impact
- FileWatchers: ensure always properly cleaned up
- components/Link: mutated props which is a very bad practice
All fixes are human written, only the audit was done by Claude Fable (thanks for ur tokens, Zere).
* hopefully the first and last commit
* this took too long to make smh
* Fix Patches
* Update find
* CustomRPC: add detail/state and image URL fields (#3758)
Co-authored-by: Vendicated <vendicated@riseup.net>
* fix missing Toolbox
* fix Decor & NoTrack (#3752)
Co-authored-by: Vendicated <vendicated@riseup.net>
* bump to v1.13.5
* DM recipients fix and DM filtering
* hopefully the first and last commit
* this took too long to make smh
* Fix Patches
* Update find
* DM recipients fix and DM filtering
* probably fine
* 🍤
* Fix Memory Leak
* Experiments: Fix Patches
---------
Co-authored-by: thororen1234 <78185467+thororen1234@users.noreply.github.com>
Co-authored-by: Vendicated <vendicated@riseup.net>
Co-authored-by: hich4t <hich4t@enchoral.me>
Vastly improves resilience of Settings Ui against Discord changes. Should now never break even if hell breaks loose
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>