Commit graph

169 commits

Author SHA1 Message Date
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
Lewis Crichton 97f8d4d515
feat: Cloud settings sync (#505)
Co-authored-by: Ven <vendicated@riseup.net>
2023-04-07 02:27:18 +02:00
Vendicated a7e2fb48ba
fix oopsie 2023-04-03 02:36:54 +02:00
Nuckyz ae80749dd8
Game Activity Toggle and SettingsStoreAPI (#587) 2023-04-03 02:13:44 +02:00
V 6960a439c9
Add Notification log (#745) 2023-04-01 02:47:49 +02:00
Phil 420b068094
Fix makeProxy returning stale proxies after assigning objects (#722) 2023-03-28 18:26:57 +00:00
hunter 93cb51a975
feat(MessageEvents): Promisable send/edit listeners (#514)
* promisable send/edit listeners

* added self

* Apply suggestions from code review

Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>

* fix patches

---------

Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
Co-authored-by: Ven <vendicated@riseup.net>
2023-03-25 03:54:20 +01:00
Ven 8d8cedd72c
Also add Emote Cloner to Emote picker rightclick menu (#664) 2023-03-24 03:42:38 +01:00
Nuckyz 586b26d2d4
Fixes and ShowHiddenChannels improvements (#634)
~ Fixes #630
~ Fixes #618
2023-03-21 06:07:16 +00:00
Xinto 4aff11421f
Replace update notices with notifications (#558) 2023-03-19 09:21:26 +00:00
Nuckyz 0fb79b763d
Improvements, changes and fixes (#611) 2023-03-19 04:53:00 -03:00
Nuckyz 253183a16a
Fix Emote Cloner and improve ReverseImageSearch (#489) 2023-03-08 04:01:24 -03:00
Nuckyz 1b199ec5d8
feat: Context Menu API (#496) 2023-03-08 01:59:50 -03:00
Nuckyz e219aaa062
Notifications: Permanent option and close button (#563)
Co-authored-by: Ven <vendicated@riseup.net>
2023-03-04 18:49:15 +01:00
Vendicated cab72e1be6
Strongly type useSettings (supersedes #559) 2023-03-04 18:41:32 +01:00
Vendicated 37003edae9
fix(Notifications): Correctly close errored notifications 2023-03-01 05:45:17 +01:00
Nuckyz faa90eccd3
feat: Crash Handler (#531)
Co-authored-by: Ven <vendicated@riseup.net>
2023-03-01 05:26:13 +01:00
Vendicated 4918d699d5
Windows: Add Option to use native titlebar ~ Closes #537 2023-02-28 22:17:39 +01:00
Vendicated 6807820f6c
Badges should use ErrorBoundaries 2023-02-16 22:46:51 +01:00
Vendicated 68055977d2
NotificationAPI: Correctly request browser permissions 2023-02-14 19:20:10 +01:00
Ven 1d995e58f5
Notification API (#467)
Co-authored-by: Ven <vendicated@riseup.net>
Co-authored-by: afn <hey@afn.lol>
Co-authored-by: afn <afnzmn@gmail.com>
2023-02-10 22:33:34 +01:00
Kaydax 072ad3d7e6
feat(settings): Add the ability to make the window transparent (#457) 2023-01-28 23:54:38 +01:00
Ven b2ecb02335
Make Windows Ctrl+Q feature optional; add opt-in auto update (#451) 2023-01-24 01:42:57 +01:00
Justice Almanzar ea748dfb60
feat: Typesafe Settings Definitions (#403)
Co-authored-by: Ven <vendicated@riseup.net>
2023-01-13 23:15:45 +01:00
Nick 10fd51071e
feat: Add option to disable the window frame (#400)
Co-authored-by: Ven <vendicated@riseup.net>
2023-01-12 23:48:37 +01:00
Ven 2e5d27b6b6
feat: Proper CSS api & css bundle (#269)
Co-authored-by: Vap0r1ze <superdash993@gmail.com>
2022-12-25 20:47:35 +01:00
ActuallyTheSun d806be1346
feat(PlatformIndicators): add indicator to messages (#343) 2022-12-21 20:16:32 +01:00
Nico 3efc79224f
[ShowHiddenChannels] Fix last message date (#342) 2022-12-16 15:51:23 +01:00
ActuallyTheSun c8f2141114
feat(plugin): add MessageLinkEmbeds (#264)
Co-authored-by: Ven <vendicated@riseup.net>
2022-12-14 23:44:58 +01:00
Justice Almanzar 41dddc9eee
feat(plugin): ShikiCodeblocks (#267)
Co-authored-by: ArjixWasTaken <53124886+ArjixWasTaken@users.noreply.github.com>
Co-authored-by: Ven <vendicated@riseup.net>
2022-12-02 16:43:37 +01:00
12944qwerty 4760af7f0e
add ViewRaw plugin & MiniPopover API (#275)
Co-authored-by: Vendicated <vendicated@riseup.net>
2022-12-02 16:38:52 +01:00
Vendicated f94cbfb2f4
Add basic themes tab 2022-12-01 03:01:44 +01:00
Vendicated 3b4879f9d9
perf(settings): Cache proxies 2022-11-28 15:44:53 +01:00
Ven bad96b7887
Path aliases, better lazyWebpack (#268) 2022-11-28 13:37:55 +01:00
Kareem Olim 5ce2dc1bb4
feat(plugin): Read all notifications button (#217)
Co-authored-by: Ven <vendicated@riseup.net>
2022-11-19 14:54:48 +01:00
Vendicated 8f2c247f27
Fix commands showing up multiple times Part 2 2022-11-18 23:31:53 +01:00
Vendicated 43f41d20fa
Fix commands showing up multiple times 2022-11-18 23:29:34 +01:00
Vendicated 410613726b
Donor Badges && Add donate info to settings 2022-11-17 00:21:20 +01:00
Ven 82e444e196
Less confusing plugin names (bulk plugin rename) (#214)
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
2022-11-14 18:05:41 +01:00
Ven a96f8a89f3
MessageLogger: fixes + ignoreSelf & ignoreBots option (#213) 2022-11-14 16:22:50 +01:00
megumin 30ca4f1cf9
feat: Badge API (#206) 2022-11-11 23:50:09 +01:00
Vendicated 460f329e4f
fix double click actions using outdated content 2022-11-08 18:09:11 +01:00
Nico 7d5ade21fc
feat(nitroBypass): add sticker bypass (#184)
Co-authored-by: Vendicated <vendicated@riseup.net>
2022-11-07 22:23:34 +01:00
Ven 8adf7ca155
Webpack Warnings & Errors (#178)
* dev: Useful strict Warnings & Errors

* Always log error

* Ignore pending patches with all or whose predicate = false

* Error -> Warn
2022-10-30 20:45:18 +01:00
Ven d72542405a
Implement Subcommands; fix errors due to Settings <-> Plugins circular imports (#174) 2022-10-29 20:45:31 +02:00
Vendicated b87f0bf3f9
Settings: Cache default value 2022-10-26 14:28:27 +02:00
Ven 5fac8be0ae
Vencord Standalone without git/node (#148) 2022-10-23 23:23:52 +02:00
Vendicated 61fd38d6d9
style: Sort imports 2022-10-22 18:18:41 +02:00
Ven a7dbd73547
Windows: Patch host updater to reinject (#138) 2022-10-22 18:17:02 +02:00
Vendicated 7d555a96ea
fix userscript, lint new files 2022-10-22 01:22:44 +02:00
Vendicated f92f3f1a5e
Add license headers 2022-10-22 01:17:14 +02:00
Cynthia Foxwell e2b622c76b
feat(api): Message Accessories API (#131) 2022-10-22 00:17:18 +02:00
Vendicated 05051399b6 Fix error when enabling a plugin with commands if CommandsAPI hasn't loaded 2022-10-20 20:23:14 +02:00
Vendicated e4068ef9a6 Document apis 2022-10-20 20:23:14 +02:00
Vendicated c80ed1b824 legal: Make esbuild generate & link licensing information 2022-10-20 20:23:14 +02:00
Vendicated 50047dd3c2 Add DataStore (IndexedDB wrapper)
An alternative to the synchronous Settings API to work around storage
limitations of localStorage and allow  storing of arbitrarily large
data in form of most Javascript DataTypes,
see https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm#supported_types
2022-10-20 20:23:14 +02:00
Ven b66903cf52
Settings: Implement plugin options defaults (#117) 2022-10-18 22:53:37 +02:00
Mai 2cb6c23347
add choices to CommandsAPI Options (#94) 2022-10-14 13:21:44 +02:00
Vendicated bf49acd535
Fix Settings errors when retrieving a null value; add PlainSettings 2022-10-14 00:36:44 +02:00