Commit Graph

528 Commits

Author SHA1 Message Date
Zerebos 936393feb0
Add settings command 2025-01-26 05:20:35 -05:00
Zerebos 798f9f25e0
Automatically handle pasting and sending 2025-01-26 04:55:00 -05:00
Zerebos 771bc988a7
Add customcss command 2025-01-26 04:30:57 -05:00
Zerebos 7e5aee4da6
Add support/help command 2025-01-26 04:05:30 -05:00
Zerebos 6c39f41077
Add restart command 2025-01-26 04:05:15 -05:00
Zerebos ced53a8732
Add debug command 2025-01-26 04:04:45 -05:00
Zerebos a2b8144b83
Add initial addon commands 2025-01-26 04:03:45 -05:00
Zerebos eb6e11011a
Rename manager 2025-01-26 04:01:55 -05:00
Zerebos 89eeb45509
Fix addon blankslates 2025-01-25 21:07:54 -05:00
Zerebos 7b55e33119
Switch to use clsx 2025-01-25 20:59:24 -05:00
Zerebos c4536b76cb
Add raw option for module searches (#1810) 2025-01-25 13:04:21 -05:00
Zerebos 7accea35d5
Use getters for settings strings 2025-01-24 20:04:39 -05:00
Zerebos 5546c69f4e
Add createElement target deprecation 2025-01-24 18:48:42 -05:00
Zerebos ffb39e449c
Make addon error modal accessible (#1809) 2025-01-23 22:24:09 -05:00
Huderon 71a8695386
Handle corrupt plugin configs (#1802)
* Add error handling to DataStore.ensurePluginData

* remove logging
2025-01-23 20:43:48 -05:00
Kaan 447856ab91
Fix ReactDevTools ComponentSource (#1808)
* important

* stop

* moved

* fix

* moved rdtfix

* remove construct var

* geel
2025-01-23 20:42:16 -05:00
Nicola 7b076e847f
Add button type for settings builder (#1803)
* Added new Button component for plugin settings

* Using already existing button component
2025-01-23 20:03:27 -05:00
Robert Delaney 83b2f4169e
Save Addon State & Allow Command Searching (#1807)
The Addon Store didn't save the addon manager state, so when reloading it would disable it

The command manager didn't allow searching, so this fixes it.
It also fixes the order in which commands are shown (Except when searching bd commands will be at the top)
2025-01-21 19:19:19 -05:00
Robert Delaney 4d19634e22
Fix addon store link extraction (#1804)
Before it would extract links from codeblocks
2025-01-15 12:55:36 -05:00
Kaan 59b9ba00cb
Add getMangled api (#1801)
* yeah

* types

* oops
2025-01-14 12:30:34 -05:00
Kaan b03fe66364
Add react crash recovery (#1799)
* Recovery Commit

* i18n + resize

* fixes

* nvm

* changes

* i guess. doesnt show up anyway

* made it toggable

* fix

* fixed.

* api changes

* More Updates

- Added better attemptRecovery code.
- Parsed plugin name on error and disable it.
- Added Join Server + Report on Github

* Update customcss.css

* i18n

* automatic parsing incase

* Added version

* added js

* logger fix

* Update recovery.js

* yellow button for report.

* lint fix

* Barn....
2025-01-14 11:15:26 -05:00
Huderon 3de6da4128
Theme attributes (#1797)
* implement themeattributes

* Fix for parity with Vencord ThemeAttributes

* Replace direct patcher calls with shortcuts & change settings category
2025-01-09 03:05:24 -05:00
Kaan 0cda5e41ae
get(All)?BySource (#1800) 2025-01-09 02:48:35 -05:00
Zerebos e38fc8970a
Merge pull request #1796 from doggybootsy/main
Implement Addon Store
2025-01-09 02:45:07 -05:00
Kaan 0ef6f9b430
createElements (#1786)
* createElements

createElements proposal

* remove createElements
2025-01-08 09:08:09 -05:00
Huderon c779a7aadb
fix remove minimum size (#1776) 2025-01-07 22:16:39 -05:00
Kaan c78125f041
Add Slash Command API (#1795)
* First API commit

* remove log

* Whoops

* more

* dismissed displayName. Using name

* sections + bd builtin + result api

* typo

* too be safe. comment stop

* slight embed support

* remove init. not useful;

* eslint + formatting

* typedef?

* fixed embeds not rendering properly

* correct parsing

* create event fix + more checking

* more checking

* base change

fixed unregistering commands.

* method changes

* removed unused

* export types

* Freeze

* changes.
2025-01-07 22:12:13 -05:00
Robert Delaney 9cae036b65 Disable official addon badge
Disabling the badge until hashing verification can be used
2025-01-07 08:35:33 -08:00
Robert Delaney 0c038c5072 Fix shift+download 2025-01-06 21:37:19 -08:00
Robert Delaney f2ba6443c2 Last minute changes
Fix Spinner CSS
Expose Spinner to BdApi
2025-01-06 19:05:20 -08:00
Robert Delaney 168b8ff8aa Fix most of style linting 2025-01-06 16:03:42 -08:00
Robert Delaney cbfa56216c Make showGuildJoinModal use patcher and remove typo 2025-01-06 15:06:37 -08:00
Robert Delaney f8bcda325c Implement local cache
Implements a local cache
This file gets used for when the API has not been resolved (for the current session)
It also gets used incase of error's when fetching the API

The cache file gets stored in BetterDiscord/Data/[release channel/addon-store.json
2025-01-05 20:00:01 -08:00
Robert Delaney 63e29cce08 Stop using latest api and stop initializing early
Switch to using v3 api instead of latest

Stops initializing the Addon Store builtin and module early

Make Web object match other objects. Using static methods instead of constructing it
2025-01-04 20:59:29 -08:00
Robert Delaney dfd0eae7a1 Adjust to API changes
Changes to use new api changes.
*  Use header to count downloads
*  Use latest_source_url instead of fetching the github link for previews and viewing source

Makes the spinner component be exactly the same as Discords

When joining a guild instead of instantly joining it will show a confirm modal

Change i18n to hopefully make it better

Remove request addon download BdApi function
2024-12-18 23:00:51 -08:00
Robert Delaney 946d7901e0
Merge branch 'BetterDiscord:main' into main 2024-12-18 14:36:24 -08:00
Zerebos 527b3302b3
Update version and changelog 2024-12-11 22:50:11 -05:00
Zerebos a19d862b52
Merge pull request #1788 from BetterDiscord/more-components
Improve errorboundary and expose more components
2024-12-11 22:46:25 -05:00
Zerebos a608786ac3
Improve errorboundary and expose more components 2024-12-11 22:21:37 -05:00
Zerebos 8ddce94f7e
Merge pull request #1787 from BetterDiscord/fix-patches
Fix version info and custom css
2024-12-11 21:32:16 -05:00
Zerebos 559c8ce7e3
Fix version info and custom css
- Fixes #1777
2024-12-11 21:27:27 -05:00
Robert Delaney cf8f1c2516 Fix some protocol stuff
Makes spaces work. Before it would just stop at space
2024-12-11 18:07:23 -08:00
Robert Delaney 85e226ed88 Merge branch 'main' of https://github.com/doggybootsy/BetterDiscord 2024-12-11 18:05:31 -08:00
Robert Delaney c955f2cf98
Merge branch 'BetterDiscord:main' into main 2024-12-11 18:04:07 -08:00
Robert Delaney 9ea02c2bde Add Protocol and Revert Patcher
Reverts the patcher to make it create a new function instead of using proxies
Add support for betterdiscord:// protocol system wide. Doing etterdiscord://store/[name or id] will open the download modal
Also starts to use latest commit api changes
Implements a custom version of discords Spinner component
Also fixes sorting, the last modified one just never got implemented
2024-12-11 17:59:41 -08:00
Zerebos e3dcbb78f7
Merge pull request #1785 from BetterDiscord/no-zlib
Add useful utilities to reduce need for libraries
2024-12-11 19:39:32 -05:00
Zerebos 57cb98b622
Fix stacktrace 2024-12-10 21:22:27 -05:00
Zerebos b01301a44d
Add logger to bdapi 2024-12-10 13:27:44 -05:00
Zerebos db908b71e4
Give setting components a facelift 2024-12-08 21:50:24 -05:00
Zerebos 25d3dcfac6
Add file input type 2024-12-08 16:31:05 -05:00