26 Commits

Author SHA1 Message Date
Cohee
cd5aec7368 Split user directories from public, part 1 2024-04-06 20:09:39 +03:00
Wolfsblvt
3ccb63dd21 Server logging utilize tracking branch
- Use tracking branch instead of hardcoded "origin"
- Remove dev logging message if not on "staging" or "release"
2024-04-02 22:51:43 +02:00
Wolfsblvt
514c40228c Improve server version logging info
- Capture commit date and print that next to the branch
- Info for being on a dev branch
- Info for not being on the latest commit (fetch should've gotten it, if update script was run)
2024-04-02 22:17:21 +02:00
Cohee
0391179c3c Remove HTTP/2 workaround for pygsite 2024-02-17 17:04:37 +02:00
Cohee
b7a338e130 Move all Horde requests to server 2023-12-22 22:10:09 +02:00
Cohee
b782a8cc03 Add util for trim v1 2023-12-21 22:40:08 +02:00
Cohee
3001db3a47 Add additional parameters for custom endpoints 2023-12-20 23:39:10 +02:00
Cohee
ac70a0a592 Add TogetherAI for image generation 2023-12-18 03:33:05 +02:00
Cohee
0d0dd5e170 Revert old comment 2023-12-13 02:50:50 +02:00
Cohee
52de5869fe Rename file, add missing fetch 2023-12-13 02:22:35 +02:00
Cohee
b107ace719 Avoid sending 401 in forwarded responses.
Status code 401 resets the client Basic auth, so we replace it with 400. This can produce an interesting artifact as "400 Unauthorized", but it's not out of spec.

"The reason phrases listed here are only recommendations -- they can be replaced by local equivalents or left out altogether without affecting the protocol."

https://www.rfc-editor.org/rfc/rfc9110.html#name-overview-of-status-codes
2023-12-10 18:00:04 +02:00
valadaptive
055d6c4337 Properly forward status codes from streams 2023-12-07 18:06:17 -05:00
valadaptive
32c86c1e95 Move backgrounds endpoints into separate file 2023-12-07 15:24:05 -05:00
valadaptive
e870c35613 Move chat endpoints into separate file 2023-12-06 19:59:32 -05:00
valadaptive
9c850b0b0c Fix double file extension on uploaded images 2023-12-06 17:29:10 -05:00
valadaptive
5096e70c11 Move client-relative path logic to helper function 2023-12-06 17:22:37 -05:00
valadaptive
a457484c2d Move character endpoints into their own module 2023-12-04 17:35:06 -05:00
Cohee
64a3564892 lint: Comma dangle 2023-12-02 22:06:57 +02:00
Cohee
e541c2b186 #1412 Add randomized user ids to OpenAI 2023-11-29 00:11:10 +02:00
Cohee
a7024a1d34 Migrate to config.yaml 2023-11-25 23:45:33 +02:00
artisticMink
6eb6527d11 Prototyping 2023-11-06 16:13:34 +01:00
Cohee
11e7ca76e1 Use simpleGit to get app version 2023-09-17 14:27:41 +03:00
Cohee
599904d589 Move NovelAI endpoints to separate file 2023-09-15 17:54:13 +03:00
Cohee
6ad786f348 Add alternative local vectors source.
x5 speed boost!!
2023-09-14 23:40:13 +03:00
Cohee
66ec17620f Move Horde and SD endpoints into separate files 2023-09-12 20:45:36 +03:00
Cohee
7aeb098212 Fix config access. Add Top K to classification results 2023-09-11 01:49:47 +03:00