Equicord/src/plugins/reviewDB
V 2f1c6a37fc
fix many bugs found by Claude (#4436)
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).
2026-07-26 17:07:47 +02:00
..
components fix many bugs found by Claude (#4436) 2026-07-26 17:07:47 +02:00
auth.tsx ReviewDB: it's a big day for reddit nation (#4216) 2026-06-14 19:57:59 +02:00
entities.ts ReviewDB: it's a big day for reddit nation (#4216) 2026-06-14 19:57:59 +02:00
index.tsx ReviewDB: Fix DM Sidebar Patch (#4384) 2026-07-14 16:42:06 -03:00
reviewDbApi.ts ReviewDB: it's a big day for reddit nation (#4216) 2026-06-14 19:57:59 +02:00
settings.tsx misc Settings ui improvements 2026-01-28 04:42:17 +01:00
style.css ReviewDB: it's a big day for reddit nation (#4216) 2026-06-14 19:57:59 +02:00
utils.tsx Unify styles into single root node & support preload sandboxing (#3797) 2025-12-20 01:46:14 +01:00