Commit Graph

2136 Commits

Author SHA1 Message Date
Cohee 2c949b672a Fix bulk edit and message context action styles 2023-12-03 02:17:02 +02:00
Cohee 3e9927dc67 Add editor textareas maximize 2023-12-03 02:01:06 +02:00
Cohee c9ab85d8c9 Add /forcesave command 2023-12-03 00:53:45 +02:00
LenAnderson 1eb32b247e add close stop for cancel button 2023-12-02 21:45:08 +00:00
LenAnderson c10e298777 fix old popup closing next popup 2023-12-02 21:22:58 +00:00
Cohee ff46a249d8 Add {{maxPrompt}} macro 2023-12-02 22:47:43 +02:00
Cohee 6e09e45651 Fix /trigger and /continue auto-execution 2023-12-02 22:34:46 +02:00
Cohee 64a3564892 lint: Comma dangle 2023-12-02 22:06:57 +02:00
Cohee 08fedf3a96 lint: Use 4 space indent 2023-12-02 21:56:16 +02:00
Cohee c63cd87cc0 lint: Require semicolons 2023-12-02 21:11:06 +02:00
Cohee 9faa1e34b0 Merge branch 'staging' into singlequote 2023-12-02 20:43:41 +02:00
Cohee a28c23d295 Wait for generation unlock before running continue or trigger 2023-12-02 20:12:36 +02:00
valadaptive a37f874e38 Require single quotes 2023-12-02 13:04:51 -05:00
Cohee a06f1e8ad6
Merge pull request #1431 from valadaptive/eslint-fixes-3
ESLint fixes part 3 - more significant changes
2023-12-02 19:55:54 +02:00
Cohee a367285ac2
Merge pull request #1430 from valadaptive/eslint-fixes-2
ESLint fixes, part 2 - bulky changes
2023-12-02 19:43:11 +02:00
Cohee 0477f6a553 Use best match API tokenizers for Text Completion sources 2023-12-02 19:42:15 +02: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 39bbef376f Enable no-undef lint
I'm not sure where run_edit is supposed to go or if any logic is
missing. I just made my best guess.
2023-12-02 12:11:19 -05:00
valadaptive 14afa1575b Enable no-redeclare lint 2023-12-02 12:11:19 -05:00
valadaptive 66f704bdda Refactor prompt itemization to not redeclare vars 2023-12-02 12:11:19 -05:00
valadaptive 45ad0683d9 Remove characterName silliness
If mes.name is name1, we set it to name1. Otherwise, we set it to
mes.name. It's always mes.name.
2023-12-02 12:10:31 -05:00
valadaptive c893e2165e Enable no-prototype-builtins lint 2023-12-02 12:10:31 -05:00
Cohee a91694ebbc Change audio format check 2023-12-02 18:41:54 +02:00
valadaptive b023312117 Enable no-useless-escape lint 2023-12-02 10:32:26 -05:00
valadaptive 97c49a405b Enable no-extra-boolean-cast lint 2023-12-02 10:32:26 -05:00
valadaptive 0a27275772 Enable no-extra-semi lint 2023-12-02 10:32:26 -05:00
valadaptive 27e63a7a77 Enable no-case-declarations lint 2023-12-02 10:32:26 -05:00
valadaptive a665a4897d Enable no-unused-labels lint
I'm not sure why "esversion: 6" was at the top of the file. My best
guess is that whoever initially created it was using jshint, which says
"use 'esversion: 6'" if used to lint a file which contains ES6 code.
Even then, the proper syntax would be a comment.
2023-12-02 10:32:07 -05:00
valadaptive 1c121f1ba5 Enable use-isnan lint 2023-12-02 10:32:07 -05:00
valadaptive 9204a31d32 Enable no-self-assign lint 2023-12-02 10:32:07 -05:00
valadaptive c05aee8e72 Enable no-unsafe-negation lint
This actually fixes a bug--the old code was negating "audioData.type"
2023-12-02 10:32:07 -05:00
valadaptive 60ac1aa1c7 Enable no-empty lint 2023-12-02 10:32:07 -05:00
valadaptive 367f3dba27 Enable no-unsafe-finally lint 2023-12-02 10:32:07 -05:00
valadaptive e7ae1c4787 Enable no-dupe-keys lint 2023-12-02 10:32:07 -05:00
valadaptive 7c3dd75e6a Enable no-fallthrough lint 2023-12-02 10:32:07 -05:00
Cohee 249f9f649f Escape QR button labels 2023-12-02 15:19:44 +02:00
Cohee 1e4471a9b5
Merge pull request #1425 from valadaptive/kobold-classic-api-url 2023-12-02 13:59:47 +02:00
valadaptive cadf5163ad Fix temperature slider label 2023-12-02 05:37:27 -05:00
valadaptive 4c4e4caeb7 Pass in Kobold Classic API server url from client 2023-12-02 04:45:20 -05:00
Cohee 04ef9fba54 Disable context stop strings on pull but enable for new installs 2023-12-02 02:19:32 +02:00
Cohee 690c058a46 Fix boolean comparison 2023-12-02 00:04:38 +02:00
Cohee a2f293b6af Make context stop strings togglable 2023-12-01 23:06:37 +02:00
Cohee 9ad42025e5 Add depth to entry template 2023-12-01 22:09:13 +02:00
Cohee 07962e0e4e Add /setentryfield command 2023-12-01 21:51:49 +02:00
Cohee 69659e79e3 Add chat start and example separator as stop sequences 2023-12-01 19:01:06 +02:00
Cohee 6b348f6128 Fix trailing stopping strings removal 2023-12-01 18:55:11 +02:00
Cohee bb9d302c3a Don't skip ephemeral stop strings if there are no custom stop strings 2023-12-01 17:18:30 +02:00
Cohee 8797508aa3 Fix h-centering of mobile zoomed avatars 2023-12-01 14:59:17 +02:00
Cohee 95df016d57 Adjustments for zoomed_avatar on ultrawide screens 2023-12-01 14:47:11 +02:00
Cohee 48a866971a koboldcpp icon (placeholder) 2023-12-01 12:29:29 +02:00