Commit graph

127 commits

Author SHA1 Message Date
Nuckyz 3ab68f9296
Option for eager patching 2024-05-23 06:07:13 -03:00
vee c3757a2ae6
add package for publishing types to npm (#2473)
https://www.npmjs.com/package/@vencord/types
2024-05-17 23:01:07 +02:00
Claire f21db5cb01
add Native settings implementation (#2346)
Co-authored-by: vee <vendicated@riseup.net>
2024-05-12 02:08:17 +02:00
Vendicated f54dcb74d7
improve contributor modal & badge 2024-05-02 15:24:00 +02:00
Vendicated 8f73b9fd5f
Make Updater slightly more future proof
- Removes the option to disable update notifications. Users really should not be outdated, so this option was never good. To disable notifications, turn on auto update
- Enables auto update by default. Users keep complaining about issues while being outdated, so this should help
- Update Notification now opens Updater in a modal to remove dependency on Settings patch. This makes it slightly more failsafe, it's unlikely that both modals and our settings patch break
2024-04-20 14:51:33 +02:00
Vendicated afdcf0edb9
refactor shared utils to more obviously separate contexts 2024-03-13 21:59:09 +01:00
V 9aa205b5ec
rewrite settings api to use SettingsStore class (#2257)
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
2024-03-13 21:45:45 +01:00
Nuckyz 1c1d82f9a8
VencordToolbox: don't subscribe to all settings
Also remove one indirection from useSettings
2024-03-07 13:06:08 -03:00
Kyuuhachi 42a9fa2d47
Refactor ContextMenuAPI (#2236) 2024-03-07 10:06:24 +00:00
Nuckyz ed5e1be7a4
Add permissions checks for FakeNitro actions (#2160)
Co-authored-by: Vendicated <vendicated@riseup.net>
2024-02-27 13:19:05 +01:00
Vendicated 0c9d2a6a21
Fix plugins using the Timestamp component 2024-02-13 09:05:19 +01:00
Vendicated 377def4a33
Fix crash when toggling chat button plugins without restart 2024-02-06 18:12:09 +01:00
Vendicated 685b6f2fa7
Improve PreviewMessage icon; make button padding/margin more consistent
Co-authored-by: Andrew Grant <andrew.grant@mail.rit.edu>
2024-02-06 17:52:05 +01:00
Vendicated 64fa2f8652
ChatButtonApi: do not add buttons if you can't send messages 2024-02-06 17:06:26 +01:00
Vendicated e58aa5dbab
Translate: Add auto translate enable alert
somehow people accidently enable it then get confused why vencord has "auto correct". this should hopefully solve the issue
2024-02-06 17:04:01 +01:00
Vendicated 2c198e547c
Fix PreviewMessage icon being offcentre 2024-02-06 16:50:21 +01:00
Vendicated bf977e0047
Add chat bar button api ~ fixes buttons for russian users 2024-02-06 16:29:47 +01:00
Nuckyz 2cd82944e3
Move commons from discord utils; Make ThemesTab use invite modal util 2023-12-13 22:01:07 -03:00
Nuckyz 539e538d87
commandHelpers: use MessageActions import 2023-12-09 17:57:25 -03:00
AutumnVN 534ca1e28d
fix: createBotMessage (#2033) 2023-12-07 02:44:14 +01:00
Damien Erambert 34cbb22efe
feat: add dropdown to choose vibrancy value on macOS (#1941)
Co-authored-by: V <vendicated@riseup.net>
2023-12-07 00:30:41 +01:00
Nuckyz 9945219de7
openInviteModal utility
Co-authored-by: AutumnVN <autumnvnchino@gmail.com>
2023-11-29 23:15:19 -03:00
Vendicated 584885acf5
[skip ci] Revert "add react linting"
doesnt work properly :(

This reverts commit 18fdc33ee7.
2023-10-31 23:56:13 +01:00
Vendicated 18fdc33ee7
[skip ci] add react linting 2023-10-31 23:50:55 +01:00
Susheel Thapa 0afe319141
fix typo in multiple files (#1911) 2023-10-27 12:09:38 -03:00
Vendicated ddc39fe84d
Fix SettingStores, GameActivityToggle 2023-10-25 18:15:18 +02:00
redstonekasi 892a79b2a7 fix: CommandsAPI 2023-10-25 17:38:55 +02:00
V 377cf60055
fix global settings listeners 2023-10-09 03:01:54 +02:00
Vendicated 5eb9dd04df
Fix member list decorations api 2023-10-06 04:00:09 +02:00
Rini 8b6c8bc0ec chore: transition to shorter license headers (#6)
Transition from the GPL jumpscare to a more concise header:

	/*
     * Vencord, a Discord client mod
	 * Copyright (c) 2023 Vendicated and contributors
     *
	 * SPDX-License-Identifier: GPL-3.0
     */

Old files still keep the old headers, while eslint will now autofix the new header

Reviewed-on: https://codeberg.org/Ven/cord/pulls/6
Co-authored-by: Rini <rini@rinici.de>
Co-committed-by: Rini <rini@rinici.de>
2023-08-10 00:17:49 +00:00
megumin d6c43986fd
Add proper user-friendly theme manager (#635)
Co-authored-by: Justice Almanzar <superdash993@gmail.com>
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
Co-authored-by: V <vendicated@riseup.net>
2023-08-04 19:52:20 +02:00
Justice Almanzar a7e74ee4d5
classNameFactory: Allow (& ignore) all sorts of falsy values (#1427) 2023-07-16 00:50:21 +02:00
V 3020fcc9bb
[skip ci] Improve typings for settings.withPrivateSettings 2023-06-21 02:00:59 +02:00
V 07a9adbce2
🧹🧹 2023-06-13 03:45:05 +02:00
Manti 3e3d05fc26
ReviewDB: Add Review Modal & Pagination (#1174)
Co-authored-by: V <vendicated@riseup.net>
2023-05-28 22:03:06 +02:00
Syncx 1d6b78f6c6
feat(plugin): FavoriteEmojiFirst (#1110)
Co-authored-by: V <vendicated@riseup.net>
2023-05-17 04:38:15 +02:00
V 263884cbd8
PermViewer: Fix context menu for roleless users & muted channels (#1138)
Co-authored-by: V <vendicated@riseup.net>
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
2023-05-16 00:19:20 +02:00
V 5c5b009c41
Settings: Fix resetting scroll/search when getting a ping (#1106) 2023-05-12 01:40:43 +02:00
Vendicated 0d5e2d0696
[skip ci] Refactor utils 2023-05-06 01:36:00 +02:00
Nuckyz 474932161f
Fix FakeNitro Stickers (#1048) 2023-05-05 02:47:08 +02:00
V 7bc1362cbd
MessageEvents: Support sendMessage with attachments (#1023) 2023-05-02 02:55:21 +02:00
V c62d05e1b3
Refactor ipc to be strongly typed and hide impl details (#1018) 2023-05-02 02:50:51 +02:00
Vendicated a2e03084b0
BadgeAPI: Add support for multiple donor badges 2023-04-29 02:06:52 +02:00
Mufaro 9c929a4d98
messageTags: Fix duplicate entries & replies (#922)
Co-authored-by: V <vendicated@riseup.net>
2023-04-16 23:44:33 +00:00
Vendicated ca5d24385f
Fix errors on setups with no Notifications/SpeechSynthesis support 2023-04-17 00:21:49 +02:00
Nuckyz 96f640da67
Make Context Menu API support hooks (#902)
Co-authored-by: V <vendicated@riseup.net>
2023-04-15 02:47:03 +02:00
Vendicated c8817e805f
Fix badges 2023-04-13 21:04:19 +02:00
Nuckyz e34da54271
Option to transform emotes/stickers in compound messages (#876)
+ ContextMenu refactor to not call callbacks for same children multiple times

Co-authored-by: V <vendicated@riseup.net>
2023-04-13 04:22:38 +02:00
Ryan Cao 613fa9a57b
feat: add translucency option for macOS (#849)
Co-authored-by: V <vendicated@riseup.net>
2023-04-09 02:06:09 +00:00
Đỗ Văn Hoài Tuân bfa20f2634
feat(setting): Disable minimum window size #834 (#848) 2023-04-09 03:41:55 +02:00