Commit Graph

473 Commits

Author SHA1 Message Date
Strencher 32bf2be211 Fix Modals, Toasts
* Make external modules be cached
* Fix ConfirmationModal component being found wrong
* Make default modal actually be standalone and be used for react crash fallback
* Fixes toasts showing up in the crash screen
2022-10-08 22:28:56 +02:00
Strencher dd97539da3 Make patcher work with getters 2022-10-08 10:40:45 +02:00
Zack Rauen 46c57567d0 Rework updater and add UI 2022-10-03 04:40:18 -04:00
Zack Rauen 70194a7114 Add common setting types 2022-10-03 02:49:54 -04:00
Zack Rauen 87652dab8e Restructure API, condense DOM modules 2022-10-02 23:34:45 -04:00
Zack Rauen 6454b63f6b Add tooltip 2022-10-02 23:34:41 -04:00
Strencher e63695e17f Fix getModule & Add searchGetters option
Co-authored-by: Zerebos <rauenzi@outlook.com>
2022-09-30 02:05:19 +02:00
Zerebos f41b071727
Merge pull request #1420 from BetterDiscord/updater
Stop-gap Updater
2022-09-29 19:15:21 -04:00
Strencher 56a55b303a
Merge pull request #1418 from Skamt:patch-1
Update webpackmodules.js
2022-09-30 01:15:09 +02:00
Strencher 91e4cd5eb1 Several Fixes
- Fix error banner style
- Cleanup updater code
- Make notice api show in crash screens

Co-authored-by: Zack Rauen <rauenzi@outlook.com>
2022-09-30 01:00:52 +02:00
Strencher 408b6a5501 Several Fixes
- Make http module follow redirects
- Make webpack export descriptors configurable
2022-09-29 23:46:07 +02:00
Zack Rauen 18bb2886cd Allow partials, add temp updater 2022-09-29 01:04:22 -04:00
Zack Rauen feb3bb792f Fix api and some oom issues 2022-09-28 16:30:59 -04:00
Skamt 22fa1d71c2
Update webpackmodules.js
`foundModule` should be reset after finding the module, otherwise it returns duplicates of as much as how many `getters loop` iterations are left after the first valid condition
2022-09-28 21:00:44 +01:00
Zack b2aae545c4
Merge pull request #1408 from BetterDiscord/electron17
Prepare for electron 17 and patch for swc
2022-09-26 23:39:31 -04:00
Zack Rauen 90b2870aa2 Partial fix for swc 2022-09-26 23:33:51 -04:00
Zack Rauen 8601193b51 Use remote vm for better error messages 2022-09-26 03:01:16 -04:00
Strencher b5a69db0b3 feat: move away from `request` dependency 2022-09-26 07:57:35 +02:00
Zack Rauen 6d37fb63fc Fix small bugs 2022-09-25 15:29:17 -04:00
Zack Rauen 3b9ad9b75b First pass polyfill 2022-09-05 23:58:16 -04:00
Strencher ff8280e2b5 Move remaining things to pnpm 2022-09-04 19:02:41 -04:00
Zack Rauen 088ae6f10e Initial switch to pnpm 2022-09-04 19:00:01 -04:00
Zack Rauen 7af885c10d Move public servers 2022-09-04 18:51:15 -04:00
Qb 99ad2269ac
Add Translations section to CONTRIBUTING.md (#1367)
As was correctly pointed out in #1356 there is no documentation about how to submit translations in the contributing guide or the readme.
2022-08-31 11:59:53 -04:00
Zerthox 9b38e442da
Documentation fixes & consistency improvements (#1378)
* Fix incorrect docs

* Adjust wording & formatting for consistency

* Fix missing "is"
2022-08-31 11:59:17 -04:00
Zack Rauen 7e8c114f65 Update changelog and version 2022-08-16 20:37:03 -04:00
Zack Rauen 68d8b0dc0e Remove UserSettingsStore 2022-08-16 20:33:44 -04:00
Zack Rauen 2bf7c4386f Fix plugin error and lazy webpack 2022-08-16 20:19:58 -04:00
Zack Rauen 5285c950d0 Fix for canary/ptb 2022-08-11 17:42:31 -04:00
Zack Rauen 81474344f0 Fix waitForModule and meta handling 2022-08-09 13:28:50 -04:00
Zack Rauen 9e5c090c6e Make final adjustments 2022-08-08 19:23:55 -04:00
Zack Rauen 6adc259acc Bump version and update changelog 2022-08-07 20:50:34 -04:00
Zack Rauen ea1820143a Remove autoreload option 2022-08-07 17:26:47 -04:00
Zack Rauen 69e17b1dbd Limit warning logs from webpack 2022-08-05 19:25:16 -04:00
Zack Rauen 9f2298e6cd Fix small bugs 2022-08-03 01:52:05 -04:00
Zack Rauen 141263342a Add JSDoc to plugin api 2022-08-02 18:51:43 -04:00
Zack Rauen 2018f691e6 Add getbulk and patcher bind 2022-08-01 22:23:05 -04:00
Zack Rauen 267b37ddc1 Expose webpack to bdapi 2022-08-01 17:53:43 -04:00
Zack 29666219fd
Stop relying on require() to load addons (#1332) 2022-07-08 10:42:04 -04:00
Zack Rauen 57ff15ee68 Small bugfixes 2022-06-27 17:12:47 -04:00
TheGreenPig 87de0a8d06
Sort addons by Enabled (#1237)
* Add sort by enabled

* Changed "Is Enabled" to "Enabled"

* Fix locales formatting
2022-06-26 18:29:59 -04:00
Zack Rauen 2341448de2 Add more sanity checks 2022-06-26 18:27:12 -04:00
Zack Rauen 04eb399ea2 Update changelog, remove substr
Closes #1234
2022-06-25 03:50:55 -04:00
Tropical 085847644c
remove usage of e.which (#1196)
* remove usage of e.which

* this comment is no longer necessary
2022-06-25 03:34:30 -04:00
Zack Rauen 6c5f9ee49b Update crash dialog
Closes #897
Fixes #1304 via compromise
2022-06-25 03:13:36 -04:00
Zack Rauen 2b9e657b8a Audit and fix inject
Closes #1132
Closes #916
Fixes #1293
Fixes #1069
2022-06-25 02:59:23 -04:00
dav1312 b42f61925d
Update the README (#846) @dav1312 2022-06-25 02:39:23 -04:00
Qb c4a400e292
Fallback when Monaco load fails (#1278) 2022-06-25 02:09:00 -04:00
Zack Rauen ac5d2baf57 Fix addon errors, improve plugin loading 2022-06-25 01:57:35 -04:00
Qb 569a94f99f
Fix Addon Error Modal crashing Discord (#1281) 2022-06-24 17:59:49 -04:00