Commit Graph

151 Commits

Author SHA1 Message Date
Zerebos c6c54bf620 Use openPath workaround on windows
Fixes #1700
2024-02-21 19:06:42 -05:00
Huderon f1a11370e7
Update InviteActions in discordmodules.js (#1711) 2024-02-21 18:22:48 -05:00
Zack Rauen 591823f90e Adjust locale fallback
This fixes #1701
2023-12-14 01:28:09 -05:00
Zack Rauen 0ffbd5cf04 Just add all http methods
Also fixes options not being passed to nativeFetch
2023-11-07 11:00:15 -05:00
bottomtext228 395b65185b
Add the PATCH method to the available request methods. (#1692) 2023-11-07 10:01:16 -05:00
bottomtext228 52975fbe1e
Fix fetch (#1671)
* Fix fetch

Fix timeout in fetch.
Fix errors when response answer has a status code that don't have a body.
Fix FetchOptions missing timeout property.

* Fix fetch

Fix FetchOptions missing timeout property
2023-11-03 16:06:52 -04:00
Zack Rauen 799b61f6a7 Fix an issue with updating translations 2023-10-27 22:10:46 -04:00
Zerebos 19e622e455
Hotfix for Discord's switch to rspack (#1685)
* Fix patchable modules

* Fix bd-head location and modals
2023-10-26 15:26:09 -04:00
Zack Rauen 6b38401361 Small fix for os accent color 2023-10-19 05:42:30 -04:00
axolotl b62deff140
Add custom `--os-accent-color` css value (#1663)
* Add custom -bd-accent-color css value

* Use global variable for accent color

* Fallback to ""

* Run accent color ipc call in parallel

* Typo
2023-08-30 00:23:14 -04:00
Zack Rauen 5d9452a052 Improve fetch errors 2023-08-05 22:16:45 -04:00
Zerebos cb08178b77
Merge branch 'development' into imports 2023-06-14 20:55:13 -05:00
Zerebos fdc117e02f
Merge pull request #1610 from BetterDiscord/fetch-api
Fetch API
2023-06-14 20:53:52 -05:00
Zack Rauen 9bb71d6462 Fix tooltip search 2023-06-14 21:17:44 -04:00
Zerebos 9bfd078695
Merge pull request #1514 from BetterDiscord/feat/webpack-aliases
Add webpack aliases.
2023-06-14 20:12:29 -05:00
Strencher be4f788a03
Fix patching context menu (#1633) 2023-06-14 13:10:01 -04:00
Zack Rauen 09d883007e Add store search and fix others 2023-06-09 09:29:19 -04:00
Strencher 47da3f4d75
Fix openContextMenu function (#1632) 2023-06-08 22:36:36 -04:00
Zack Rauen 0acc5a6f85 Change to prototype keys 2023-05-24 18:57:09 -04:00
Strencher 83c0c81079 Cleanup & Improvements
- Rename `getByProps()` to `getByKeys()` and deprecated *byProps methods & filters.
- Fix a couple string errors
- Rename `getByPrototypes()` to `getByPrototypeFields()`
- Rename `getMangled()` to `getWithKey()`
2023-05-24 23:00:42 +02:00
benji78 a369b5a0f9
Closes #1615 (#1616) 2023-05-24 14:55:21 -04:00
Zack Rauen 8386da0722 Fix fetch methods 2023-05-24 14:08:26 -04:00
Zack Rauen 9bbf318a86 Revamp all imports 2023-05-19 18:37:21 -04:00
Zack Rauen 9bf16a8b98 Adjust module import namespace 2023-05-19 17:14:55 -04:00
Zack Rauen 72a71ad53e Adjust common module import 2023-05-19 16:38:45 -04:00
Zack Rauen 471b1f0343 fix tests 2023-05-16 02:47:05 -04:00
Strencher bc6a0632de Code cleanup, deprecation notice, add maxRedirects 2023-05-01 21:36:56 +02:00
Zerthox d25dae12f4
More documentation improvements (#1509)
* Doc fixes & consistency

* Document animate timing function

* Fix missing return docs

* Fix UI class description

* Document debounce params & return

* Document className return

* Remove internal context menu noBlurEvent

* Improve period & hyphen consistency

* Fix capitalized primitive types
2023-04-17 15:12:00 -04:00
Neodymium 022b8fa380
Fix module search warnings (#1608)
- Fix module search warnings
- Add checks to other methods
- Fixes #1589
2023-04-13 13:39:55 -04:00
Strencher 1f48d22e53 fetch api & apply fix current https 2023-04-12 23:20:20 +02:00
square 900df71f20
Fix context menus (#1600)
* Fix context menus

* bump changelog & version

---------

Co-authored-by: Strencher <46447572+Strencher@users.noreply.github.com>
2023-04-08 14:55:54 +02:00
square 2fbd3c6090 Bump to 1.9.1 2023-03-25 13:25:22 +01:00
Strencher fbff8e2e52 Fix:
- Fix sourceURL for client bundle
- Fix export getters throwing errors
2023-03-24 17:32:11 +01:00
Zerebos acd994e60f
Remove outdated functions (#1576) 2023-03-22 14:59:54 -04:00
Zack Rauen 8d3f01bb40 Fix addoncard and addonlist 2023-03-19 23:41:39 -04:00
Zack Rauen 99aa7ac1a8 Convert floating windows 2023-03-08 20:07:36 -05:00
Zack Rauen 7d71d4f450 Include catch in wrappers 2023-03-08 20:07:10 -05:00
Zerebos 400a6776e4
Implement semver version checking (#1560) 2023-03-04 13:15:19 -05:00
Zerebos 4992d7bd17
Restore sizes below minimum (#1563)
- Fixes #1526
2023-03-04 13:14:00 -05:00
Zerebos f3b26fbd4d
Fix settings, tooltips, modals (#1542)
* Lazy load sidebar header

* Publish CSS

* Swap to standalone header

* Fix Tooltip component
* Moves internal reference to the centralized DiscordModules.Tooltip component
* Adds `BdApi.Components` namespace with the `Tooltip` component.

* Add Components namespace to bound api

* Fix modal root

* Fix ContextMenu, Fix Modals

---------

Co-authored-by: Strencher <46447572+Strencher@users.noreply.github.com>
2023-03-01 16:24:10 -05:00
Sam 62d776844c
Fix danger context menu option (#1523) 2023-02-09 16:58:33 -05:00
Strencher 68c6b81ed7 Implement options for
- getByProps() methods
- getByPrototypes() methods
- getByString() methods
2023-01-26 00:00:16 +01:00
Strencher 97138afb7d Fix typo & options 2022-12-31 17:44:01 +01:00
Strencher 9875068228 Add webpack aliases. 2022-12-29 23:27:52 +01:00
Strencher 5b8a173aa0 Fix ContextMenu part two 2022-12-13 02:59:28 +01:00
Strencher d2594463c0 Fix for Canary & PTB
* Adds better error handling on startup for the ContextMenu API.
2022-12-13 00:04:29 +01:00
Zack Rauen 5536bac463 Improve update version checks 2022-12-10 20:59:26 -05:00
Zack Rauen a172baa6c8 Change update check to be more accomodating 2022-12-08 17:17:53 -05:00
Zerebos d2a1a29d6d
Remove all references of emotes (#1467) 2022-11-06 14:37:15 -05:00
Zerebos 03efbfd447
Change how patching modules works (#1474) 2022-11-06 14:33:47 -05:00