Commit Graph

77 Commits

Author SHA1 Message Date
Wolfsblvt 169504aa68 Refactor extension slash commands into own file
- Weird circle imports again with the slash command classes
2024-09-25 23:18:37 +02:00
Wolfsblvt 1a6f0c0922 Add /extension-exists and /extension-state 2024-09-25 23:10:00 +02:00
Wolfsblvt a6445aee1b Add /extension-toggle 2024-09-25 23:05:34 +02:00
Wolfsblvt eda7493a33 Add extension enable/disable commands
- /extension-enable
- /extension-disable
- Optional "reload" parameter
- /reload-page
2024-09-25 22:46:19 +02:00
Wolfsblvt ff989b3352 Move extensions init to function 2024-09-25 21:58:46 +02:00
Cohee 15f7d9407a Remove console.debug statement in saveMetadataDebounced function 2024-09-17 14:03:28 +00:00
Cohee 7dc1c9f7ab Add connection manager as a core extension 2024-09-07 00:23:42 +03:00
Cohee 60c22bf803 Add config value for extensions auto-update 2024-08-25 19:48:01 +03:00
Cohee 0f5179ed2d Fix crash on Chrome 128 2024-08-25 19:27:18 +03:00
Cohee df56b9bb4c Force reload flag 2024-08-20 00:11:22 +03:00
Cohee 112200ae32 Prevent duplicate toasts 2024-08-20 00:08:36 +03:00
Cohee bc7660bba6 Require to save settings before reloading. 2024-08-19 23:49:15 +03:00
Cohee 7d3f544e63 Refactor extension install menu 2024-08-13 01:09:14 +03:00
Cohee 21cdfa1dfa Async load of extensions info 2024-07-20 14:08:24 +03:00
Cohee 847f471ed2
Merge pull request #2449 from SillyTavern/loader-improvements
Loader overlay improvements & Popup.complete async
2024-06-30 23:28:32 +03:00
Wolfsblvt da968e127b Refactor Popup.complete to async 2024-06-30 20:44:29 +02:00
Cohee 1d780feb08 Fix dice extension menu position 2024-06-30 21:19:07 +03:00
Wolfsblvt 241876be83 Fix extension update opening popup twice 2024-06-30 19:42:17 +02:00
Cohee 584d0e6222 Only add missing modules string if there are any modules to report 2024-06-26 12:49:23 +00:00
Cohee d188795591 Allow vertical scrolling in new popups 2024-06-26 00:35:21 +03:00
Cohee 6b716980be Update extension manager to use new popup 2024-06-25 11:54:59 +03:00
Cohee 62a1cb1dce Move built-in extensions to fixed wand containers 2024-06-24 23:17:58 +03:00
Wolfsblvt e2089b1e44 Dozens new keyboard interactables
- Made dozens of existing controls keyboard interactable
- Tweaked styling so the keyboard focus looks more pleasant
2024-06-06 02:48:06 +02:00
steve green 00fc40408a
allow char scpoed regex (#2271)
* Update engine.js to allow char scpoed regex

no ui because i'm not good at it, but works.

* add typedef

* update

* little fix

* Rework scoped scripts UI

* Add locale attributes

* Purge allowance on delete

* add d&d for `saved_scoped_scripts`

* better code

* Save settings on regex scope toggle

* Fix reordering logic

* Fix scoped setter

* Add unique ids for regex scripts

* Wording

* Reload chat after deleting scripts

* Reload chat after toggling scoped regex

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-05-26 17:19:00 +03:00
Cohee 993284f9c1 #2164 Disable-able data bank attachments 2024-04-30 00:06:14 +03:00
Cohee f4f0a59e90 Save character data bank attachments as non-exportable 2024-04-18 22:16:51 +03:00
Cohee 242d57c14b Add Data Bank manager 2024-04-16 02:14:34 +03:00
Cohee 3da9fb4efe Switch to module exports 2024-04-11 22:39:42 +03:00
Cohee 369c3512c0 Add async template renderer 2024-04-11 22:36:23 +03:00
Cohee 3aa6aace8c Less claustrophobic extension management modal 2024-03-17 02:22:02 +02:00
Cohee 6b2374c405 Add function to write extension fields to character cards. 2024-03-12 01:49:05 +02:00
Cohee 7d34ed56e6 #1712 Add authorization only if Extras key is set 2024-01-18 16:33:02 +02:00
Cohee 64783e73bd Add prompt to reload page on extension update 2024-01-11 15:03:55 +02:00
LenAnderson 0590b36838 only reload ST after extension popup closed 2023-12-28 10:46:25 +00:00
Doa 41ac2c07b2 Adding negative character prompts for img sources that support it 2023-12-23 16:19:22 +00:00
Cohee 39e0b0f5cb Remove custom Handlebars helpers for extensions. 2023-12-21 20:33:50 +02:00
Cohee 299749a4e7 Add prerequisites for websearch extension 2023-12-12 01:08:47 +02:00
Cohee 64a3564892 lint: Comma dangle 2023-12-02 22:06:57 +02:00
Cohee c63cd87cc0 lint: Require semicolons 2023-12-02 21:11:06 +02:00
valadaptive a37f874e38 Require single quotes 2023-12-02 13:04:51 -05:00
valadaptive 518bb58d5a Enable no-unused-vars lint
This is the big one. Probably needs thorough review to make sure I
didn't accidentally remove any setInterval or fetch calls.
2023-12-02 12:11:19 -05:00
valadaptive 0a27275772 Enable no-extra-semi lint 2023-12-02 10:32:26 -05:00
Cohee c3259d1929 Bump package version 2023-11-30 01:41:20 +02:00
Cohee 77e5c37c29 Fix extensions menu on long clicks 2023-11-28 02:43:24 +02:00
Cohee 50322ed8b0 Don't show auto-update toast if no extensions installed 2023-11-26 00:52:00 +02:00
Cohee 4f7523b896 Parallelize extensions auto-update + add a toast 2023-11-22 00:58:06 +02:00
Cohee 685bb9742e Fix update button icons 2023-11-19 01:33:54 +02:00
Cohee 53c3fc16c1 Assorted SD fixes 2023-11-19 00:40:21 +02:00
Cohee ddeb42ba55 Close modal send form menus when clicking on button again + fix caption UI labels 2023-11-18 21:17:53 +02:00
Cohee 323b338cdd Add images to quiet prompts if inlining enabled 2023-11-17 01:30:32 +02:00