Commit Graph

661 Commits

Author SHA1 Message Date
Cohee 7b87f44518 Clean-up API-specific settings 2024-05-03 20:02:13 +03:00
sasha0552 2bd239fe81
Initial vLLM support 2024-05-02 22:40:40 +00:00
Cohee eb4cae4e6d Add WL to config. Code clean-up. 2024-05-01 19:52:34 +03:00
Adam 300b68177b #1958 added support for generic url downloading (current whitelist: discordapp.com, catbox.moe) 2024-04-29 23:42:50 -05:00
Cohee 2847b5ee45 [skip ci] Fix format 2024-04-27 23:02:51 +03:00
Cohee 943906d8a3 Fix UTF-8 file name uploads
https://github.com/expressjs/multer/issues/1104
2024-04-27 22:58:32 +03:00
Cohee cbedfa4664 Use atomic write 2024-04-27 22:02:04 +03:00
Cohee 01ccc32274 Cache config.yaml reads 2024-04-27 21:59:57 +03:00
Cohee 3b153a6c9b Check that path exists before serving 2024-04-27 21:54:28 +03:00
Cohee 5ac0390446 Fix naming convention for LB extension fields 2024-04-27 21:03:55 +03:00
Cohee 413cec8a9f Merge branch 'staging' into wi-entry-inclusion-prio 2024-04-27 18:00:00 +03:00
Wolfsblvt a48a9318c1 Add groupOverride to server endpoint too 2024-04-27 04:49:08 +02:00
Cohee 4c9d52422b [chore] ESLint and JSDoc 2024-04-26 22:46:13 +03:00
Cohee f4ba1f68ef
Merge pull request #2136 from BlueprintCoding/release
Added import function for AICharacterCards.com cards
2024-04-26 22:42:04 +03:00
Cohee 212e61d2a1 Lazy initialization of Claude tokenizer. Add JSDoc for tokenizer handlers 2024-04-26 15:17:02 +03:00
Cohee 1b60e4a013 Init user storage module before server listening 2024-04-26 14:09:40 +03:00
Blueprint Coding 305afb3713 Added import function for AICharacterCards.com cards
Added ability to import cards directly from aicharactercards.com via it's api like Chub and Janny.
Video of it in action: https://streamable.com/gbfdtw

Just pass the last two slash vars from the url (the author and card title) from a page. EX: aicharcards/the-game-master to:
https://aicharactercards.com/wp-json/pngapi/v1/image/

In this example: https://aicharactercards.com/wp-json/pngapi/v1/image/aicharcards/the-game-master
2024-04-24 18:04:17 -06:00
Cohee 01e3964232 Auto-backup settings every 10 minutes. Increase backups limit to 50. 2024-04-24 23:45:49 +03:00
Cohee 51014e7a8d Fix VRM assets console spam 2024-04-24 10:54:55 +03:00
Cohee 530bf81940 #2127 Encode export PNG name 2024-04-24 10:48:08 +03:00
Cohee 71f41d5233 Fix server crash in auto login 2024-04-23 21:11:47 +03:00
Cohee 75372ad0cc Use Map for caches instead of objects 2024-04-23 16:15:54 +03:00
joenunezb 890cf81627 Fix: InformaticAI response without message in choices 2024-04-23 03:56:50 -07:00
Cohee 4370db6bdc Implement World Info activation using Vector Storage 2024-04-23 03:09:52 +03:00
Cohee 2f45f50d37 Add config value for forwarded IPs whitelisting 2024-04-22 15:52:59 +03:00
Cohee 41ad7c5d26 Verify data bank attachments 2024-04-22 02:34:50 +03:00
Cohee bc9c70556e Clean-up mentions of /public/ 2024-04-21 23:53:46 +03:00
Cohee 15f0e491bf Fix Perplexity generation on neo-server 2024-04-21 00:52:03 +03:00
Cohee db78346bef Add YT script loader for data bank 2024-04-20 19:58:29 +03:00
Cohee b3bbec83b6 Merge branch 'staging' into neo-server 2024-04-20 02:56:05 +03:00
Cohee 2a2a63c52c Add Perplexity as Chat Completion source 2024-04-20 00:09:38 +03:00
Cohee d6fd351330
Merge pull request #2105 from isaac-mcfadyen/fs-renamefile-fix
Changed fs.renameSync() to fs.copyFileSync()
2024-04-19 01:13:50 +03:00
Cohee 25cb598694 Add Cohere as embedding source 2024-04-19 00:07:12 +03:00
Isaac McFadyen 15a8adb0b9
Changed fs.cpSync to use recursive copying 2024-04-18 16:04:04 -04:00
Isaac McFadyen 3822ae9356
Switched fs.renameSync to fs.copyFileSync 2024-04-18 15:50:27 -04:00
Cohee 9a1ea7f226 Implement Data Bank vectors querying 2024-04-17 02:09:22 +03:00
Cohee 8546490bcc Improve Scale JWT error handling 2024-04-16 18:59:01 +03:00
Cohee 3dcea41c4e Preserve a query string when redirecting to and from login 2024-04-16 18:44:11 +03:00
Cohee f947c1304a Disable TTL on user accounts.
The biggest skill issue so far.
2024-04-16 02:49:30 +03:00
Cohee 242d57c14b Add Data Bank manager 2024-04-16 02:14:34 +03:00
Cohee 0263be8c1f Merge branch 'staging' into neo-server 2024-04-15 00:26:52 +03:00
Cohee 4a553e1fc8 Merge branch 'release' into staging 2024-04-15 00:26:43 +03:00
Cohee a2e6d1da4f Fix loading plugins from default exports 2024-04-14 23:24:03 +03:00
Cohee 607e85639c Code clean-up 2024-04-14 19:31:38 +03:00
Cohee 9cb777a4e9 Increase default avatar size 400x600 => 512x768 2024-04-14 17:36:48 +03:00
Ondřej Sakala 5ce625fb6b added a web-search toggle for Cohere API 2024-04-14 02:25:11 +02:00
Cohee e8e3834fc0 Merge branch 'staging' into neo-server 2024-04-13 20:06:47 +03:00
Cohee 8ae9212cc5 #2075 Fix Draw Things auth 2024-04-13 20:02:54 +03:00
Cohee 3a4405016c #2075 Fix Draw Things auth 2024-04-13 20:01:17 +03:00
Cohee b340863d52 Auto-extend session if loading the home page 2024-04-13 19:12:50 +03:00
Cohee 1a372abaff Customizable avatars for users 2024-04-13 17:52:37 +03:00
Cohee 10aa268ea2 Filter out invalid character files 2024-04-13 16:21:41 +03:00
Cohee 59657766b5 Switch password hashing function to scrypt 2024-04-13 15:40:47 +03:00
Cohee 716d1fc988 Merge branch 'staging' into neo-server 2024-04-13 15:26:48 +03:00
Cohee 2661f00dd4 Fix loading plugins from default exports 2024-04-13 13:29:41 +03:00
Zhongyi Lu 792be63c5c fix: whitelist in real-ip 2024-04-12 22:03:36 -07:00
Cohee dcd89f2295 Fix public facing messages 2024-04-13 00:13:36 +03:00
Cohee 53386b35c9 Make Reset account functional 2024-04-13 00:11:20 +03:00
Cohee 7183416d1f Check account protection status on startup 2024-04-12 22:04:20 +03:00
Cohee dcbeab0aef Fix absolute paths for data root. Allow setting data root via console args. 2024-04-12 19:53:46 +03:00
Cohee 3e1ff9bc25 Merge branch 'staging' into neo-server 2024-04-12 19:23:10 +03:00
Cohee 9c218455c4 [chore] Run ESLint 2024-04-12 14:22:12 +03:00
Cohee 58359c9682 Control whitelist mode with console flag 2024-04-12 01:33:39 +03:00
Cohee 396eeca73a Change default user handle. Use async template renderer 2024-04-12 00:35:51 +03:00
Cohee d8092ec3eb Merge branch 'staging' into neo-server 2024-04-12 00:01:52 +03:00
sasha0552 7348199f73
Add llama.cpp slots info endpoint (#2070) 2024-04-11 23:53:32 +03:00
Cohee 31ba3cf039 Merge branch 'staging' into neo-server 2024-04-11 21:47:10 +03:00
Cohee 05ae571971 Pass names to Cohere prompt converter 2024-04-11 19:53:45 +03:00
Cohee 58152a60c6 Append example names to converted Google sysprompt 2024-04-11 19:45:50 +03:00
based c4ec97aa50 cleanup 2024-04-11 16:51:05 +10:00
based 34bca69950 system prompt support for gemini 1.5 2024-04-11 16:38:20 +10:00
Cohee 1990a2d9bd Add user snapshot settings management 2024-04-11 01:44:48 +03:00
Cohee c92df1168d Implement change display name 2024-04-11 00:40:01 +03:00
Cohee 01a4aa51f7 Ask for password before resetting settings 2024-04-10 22:34:51 +03:00
Cohee 2306a4e34d Add discreet login mode 2024-04-10 22:00:08 +03:00
Cohee bd4d8847ce Merge branch 'staging' into neo-server 2024-04-10 21:41:03 +03:00
Cohee 5f6d895acf Add attribution links 2024-04-10 21:21:31 +03:00
Cohee c90105e9f6 Merge branch 'staging' into pollinations 2024-04-10 21:14:36 +03:00
Cohee 53baa7aae7 #2051 #2031 Selectable prompt converter for custom OAI type 2024-04-10 21:12:57 +03:00
sasha0552 becd17d7d2
Add some llama.cpp-specific endpoints 2024-04-10 08:11:59 +00:00
Cohee 2b29e14e9f Reset settings option 2024-04-10 03:29:38 +03:00
Cohee 09b44075ed User profile view 2024-04-10 02:09:38 +03:00
Cohee accebd00f5 Stricter handle cleanup 2024-04-10 01:29:35 +03:00
Cohee 189d096834 Admin change password flow 2024-04-10 00:01:03 +03:00
Cohee 31cc6e51b5 Add user backups download 2024-04-09 22:43:47 +03:00
Cohee 411a8ef8a7 Enable CSRF for public endpoints. Split users module. Add rate limiter. 2024-04-09 21:58:16 +03:00
Cohee 497f38111f Merge branch 'staging' into neo-server 2024-04-09 20:26:03 +03:00
Cohee 0594859fb9 #2046 Fix for undefined fields 2024-04-09 10:11:05 +03:00
Cohee 72792ae9f9 Basic account management 2024-04-08 02:38:20 +03:00
Cohee 3f3e23420d Working login flow 2024-04-07 23:08:19 +03:00
Cohee 0230177d27 Optimize server user storage use 2024-04-07 20:36:07 +03:00
Cohee 6be86be0a7 Save user session to cookies 2024-04-07 19:12:22 +03:00
Cohee 0f105e0300 Fix circular deps, add Helmet https://helmetjs.github.io/ 2024-04-07 18:11:23 +03:00
Cohee c6ffe4502a Add user management endpoints 2024-04-07 17:44:40 +03:00
Cohee b07aef02c7 Persist CSRF and cookie secrets across server launches 2024-04-07 16:41:23 +03:00
Cohee 11193896b2 Add data migration procedure 2024-04-07 03:01:55 +03:00
Cohee b07a6a9a78 Update all endpoints to use user directories 2024-04-07 01:47:07 +03:00
Cohee cd5aec7368 Split user directories from public, part 1 2024-04-06 20:09:39 +03:00
Cohee b3b7017bf2 Move default QR and MovingUI to content manager 2024-04-06 17:55:53 +03:00
Cohee 0debe2ca4d they did only move the imagegen towards that api endpoint not upscaling 2024-04-05 22:17:29 +03:00