Commit graph

135 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
Ven d72542405a
Implement Subcommands; fix errors due to Settings <-> Plugins circular imports (#174) 2022-10-29 20:45:31 +02:00
Vendicated b87f0bf3f9
Settings: Cache default value 2022-10-26 14:28:27 +02:00
Ven 5fac8be0ae
Vencord Standalone without git/node (#148) 2022-10-23 23:23:52 +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 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 e2b622c76b
feat(api): Message Accessories API (#131) 2022-10-22 00:17:18 +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
Ven b66903cf52
Settings: Implement plugin options defaults (#117) 2022-10-18 22:53:37 +02:00
Mai 2cb6c23347
add choices to CommandsAPI Options (#94) 2022-10-14 13:21:44 +02:00
Vendicated bf49acd535
Fix Settings errors when retrieving a null value; add PlainSettings 2022-10-14 00:36:44 +02:00
Vendicated 267b2b1a07
Commands: basic error handling 2022-10-12 22:22:21 +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 8e93c5cb43
CommandsApi: fix accidently overwriting inputType BUILT_IN 2022-10-12 05:34:39 +02:00
Vendicated 86eacea74d
Make ReactDevTools Opt-in 2022-10-11 21:48:28 +02:00
Vendicated a89e17a390
Make typescript happy, tsc test run in CI 2022-10-09 22:58:08 +02:00
Vendicated dea34503ef
Add more eslint rules 2022-10-08 20:36:57 +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 7e526e4172
Kill unsafe require 2022-10-05 14:30:21 +02:00
Vendicated 8161a07dba
Add in client updater, Notices API 2022-10-01 00:42:50 +02:00
Vendicated 71a60a0359
Add .editorconfig; reformat project 2022-09-16 22:59:34 +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 7ce37f858c
Unindent, plugins is now an object instead of [] 2022-08-31 23:04:18 +02:00
Vendicated f60ccb766f
Add Plugin.start, make Settings actually start/stop plugins 2022-08-31 22:08:05 +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 483bc13a31
Finish rewrite 2022-08-29 22:05:22 +02:00