d22d0c7cc2
Merge branch 'staging' into content-manager-router
2023-12-04 21:46:25 +02:00
a2387130f3
Merge branch 'staging' into classify-router
2023-12-04 21:39:39 +02:00
1d4ac50fd7
Merge branch 'staging' into caption-router
2023-12-04 21:31:01 +02:00
68049afd84
Use Express router for vectors endpoint
2023-12-04 13:01:52 -05:00
15ba2441ce
Use Express router for translate endpoint
2023-12-04 13:00:59 -05:00
4e073250a2
Use Express router for tokenizers endpoint
2023-12-04 13:00:13 -05:00
2d54a67a1f
Use Express router for thumbnails endpoint
2023-12-04 12:59:24 -05:00
7f129df7b8
Use Express router for stable diffusion endpoint
2023-12-04 12:58:02 -05:00
173bc5975f
Use Express router for sprites endpoint
2023-12-04 12:57:13 -05:00
35ce955b00
Use Express router for serpapi endpoint
2023-12-04 12:56:22 -05:00
091255d451
Use Express router for secrets endpoint
2023-12-04 12:55:13 -05:00
ba74288e4a
Use Express router for presets endpoint
2023-12-04 12:54:18 -05:00
2d19645c4e
Use Express router for openai endpoint
2023-12-04 12:53:17 -05:00
e6b549bc48
Use Express router for novelai endpoint
2023-12-04 12:52:27 -05:00
2e990bf336
Use Express router for horde endpoint
2023-12-04 12:51:02 -05:00
babe9abbe9
Use Express router for extensions endpoint
2023-12-04 12:48:29 -05:00
4c911d3155
Use Express router for content endpoint
2023-12-04 12:47:38 -05:00
0ad753f317
Use Express router for classify endpoint
2023-12-04 12:45:17 -05:00
d2e1577acb
Use Express router for caption endpoint
2023-12-04 12:43:37 -05:00
d24c1dde10
Use Express router for assets + "files" endpoints
...
I've split out the "file/upload" endpoint into its own module, and
renamed it to "files" to be consistent with the existing naming scheme.
2023-12-04 12:40:53 -05:00
893ca25199
lint: format
2023-12-04 19:12:41 +02:00
95ef108e84
Merge branch 'staging' into express-common
2023-12-04 19:09:20 +02:00
fcbfdc70af
Merge branch 'staging' into sd-next-upscalers
2023-12-04 19:07:34 +02:00
8476ec7570
Merge branch 'staging' into tokenizer-renames
2023-12-04 19:01:38 +02:00
3931f791b2
Move parsers into express-common module
...
This will allow endpoint modules to import them themselves, instead of
requiring server.js to pass them in.
2023-12-04 10:25:40 -05:00
4919a2e9a2
Move endpoints into their own folder
2023-12-04 10:24:21 -05:00
9d4990d25d
Rename sd-next/upscalers to sd/next/upscalers
2023-12-04 10:22:47 -05:00
57bc95133e
Rename tokenizer routes
...
They're all under tokenizers/ now, and there are "count", "encode", and
"decode" endpoints. This forms a clearer hierarchy.
2023-12-04 10:17:43 -05:00
c073a89e2c
Move endpoints into their own folder
2023-12-04 10:17:43 -05:00
baae99831d
Move endpoints into their own folder
2023-12-04 10:16:11 -05:00
2180610363
Rename /viewsecrets to /api/secrets/view
2023-12-04 10:14:51 -05:00
db4da0b8aa
Move endpoints into their own folder
2023-12-04 10:14:51 -05:00
ebde9c2c1f
Copy chat_completion_sources enum to server code
2023-12-03 15:04:01 -05:00
a68505e857
Copy textgen-types enum to server code
2023-12-03 15:00:25 -05:00
40b132176d
Add preset restoration
2023-12-03 17:16:33 +02:00
45df576f1c
Re-add default presets for content manager
2023-12-03 15:07:21 +02:00
64a3564892
lint: Comma dangle
2023-12-02 22:06:57 +02:00
08fedf3a96
lint: Use 4 space indent
2023-12-02 21:56:16 +02:00
c63cd87cc0
lint: Require semicolons
2023-12-02 21:11:06 +02:00
a37f874e38
Require single quotes
2023-12-02 13:04:51 -05:00
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
a367285ac2
Merge pull request #1430 from valadaptive/eslint-fixes-2
...
ESLint fixes, part 2 - bulky changes
2023-12-02 19:43:11 +02:00
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
c893e2165e
Enable no-prototype-builtins lint
2023-12-02 12:10:31 -05:00
c98b23ee72
#1405 Don't add formality for unsupported languages
2023-12-02 19:08:21 +02:00
b023312117
Enable no-useless-escape lint
2023-12-02 10:32:26 -05:00
0a27275772
Enable no-extra-semi lint
2023-12-02 10:32:26 -05:00
27e63a7a77
Enable no-case-declarations lint
2023-12-02 10:32:26 -05:00
367f3dba27
Enable no-unsafe-finally lint
2023-12-02 10:32:07 -05:00
12cdb76a20
Enable no-regex-spaces lint
...
I noticed the old code was replacing two spaces with one space, over and
over. Instead, I changed it to remove all consecutive strings of spaces
just once, using the "+" quantifier. This should behave the same but is
nicer to read and faster.
2023-12-02 10:32:07 -05:00