1
0
mirror of https://github.com/rauenzi/BetterDiscordApp.git synced 2025-04-11 22:57:35 +02:00

640 Commits

Author SHA1 Message Date
Robert Delaney
df5c2887eb Fix for internal modal api and context menu api 2025-01-29 12:57:58 -08:00
Zerebos
90e80eec81
Fix a couple minor bugs 2025-01-28 21:02:28 -05:00
Kaan
589f3e27d1
Merge branch 'BetterDiscord:main' into main 2025-01-28 19:58:52 -06:00
Robert Delaney
9115f76948 Implement Native frame and in app traffic lights
Adds 2 settings. And makes the stop devtool warning builtin run at the very start

## New Settings
### Window Frame
This will use the OS titlebar instead of Discord's builtin titlebar

###Use  In App Traffic Lights
When this is enabled it will not use electrons traffic lights. Instead it will use Discords .
2025-01-28 12:56:36 -08:00
Zerebos
b82177f5c1
Merge pull request #1811 from BetterDiscord/commands/default
Add some default built-in commands
2025-01-28 01:36:52 -05:00
Zerebos
c462ab2d82
Simplify commands 2025-01-27 19:02:26 -05:00
Zerebos
e50014c711
Fix sharing debug and css 2025-01-27 18:15:43 -05:00
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
Kaan
82a11758b1 Merge remote-tracking branch 'upstream/main' 2025-01-24 17:12:48 -06: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
Kaan
c4215e71cc
Merge branch 'BetterDiscord:main' into main 2025-01-22 19:48:01 -06: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
Kaan
ec6d3b9f32
Merge branch 'BetterDiscord:main' into main 2025-01-09 13:07:59 -06: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
Kaan
db8d663b27 remove createElements 2025-01-08 01:40:01 -06: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 v1.11.0 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