468 Commits

Author SHA1 Message Date
RealBeepMcJeep
ab9594fe62 handle missing user agent case 2023-08-30 13:28:08 -07:00
RealBeepMcJeep
8211e67ed7 generateToken requires req to set cookie 2023-08-30 13:28:08 -07:00
RealBeepMcJeep
aa901883d2 node v18 type-checker hates this, ignore it 2023-08-30 13:28:08 -07:00
RealBeepMcJeep
cd8027aeea fixes 7 errs. see yargs typescript docs. test plz 2023-08-30 13:28:08 -07:00
RealBeepMcJeep
3feeaaa09f listen requires a number, URL port is string wtf 2023-08-30 13:28:08 -07:00
RealBeepMcJeep
113ea1d0ec JSON.parse wants a string 2023-08-30 13:28:08 -07:00
city-unit
86c0974a6e More image support 2023-08-30 15:33:39 -04:00
Cohee
220d19d3ec Remove useless assignments 2023-08-30 22:09:09 +03:00
Cohee
f5e52eab05 Specify read encoding 2023-08-30 22:04:11 +03:00
Cohee
ce46e1a4ca Replace restClient in getstatus_novelai 2023-08-30 21:58:46 +03:00
Cohee
a757532c3e Fix local fetch import for Kobold 2023-08-30 21:46:09 +03:00
Cohee
02f7c9ab64 Merge branch 'staging' into cleanup-imports 2023-08-30 21:19:14 +03:00
Cohee
27b6fe1f76 Fix sendFile usage 2023-08-30 21:14:53 +03:00
Cohee
52dbb916c0
Specify file read encoding where possible 2023-08-30 20:57:19 +03:00
Cohee
938e244987
Change file buffer read handling 2023-08-30 20:55:00 +03:00
RealBeepMcJeep
8b38015fab stop polluting my global namespace 2023-08-30 10:28:58 -07:00
RealBeepMcJeep
271a429a62 default param value does not exist 2023-08-30 10:28:58 -07:00
RealBeepMcJeep
f3f9efb163 check the docs, there is no such option sirs 2023-08-30 10:28:58 -07:00
RealBeepMcJeep
398544407d type checker no trust functions as type guards 2023-08-30 10:28:58 -07:00
RealBeepMcJeep
b648d9bd87 JSON.parse wants a string 2023-08-30 10:28:58 -07:00
RealBeepMcJeep
79e6d4c297 outdated local ai_horde library, bad 2023-08-30 10:28:58 -07:00
RealBeepMcJeep
94c6b453c0 workaround: pkg does not exist on type Process 2023-08-30 10:28:58 -07:00
RealBeepMcJeep
11cef1b234 type checker wants a string 2023-08-30 10:28:58 -07:00
RealBeepMcJeep
6ca678e137 sanitize only accepts strings 2023-08-30 10:28:58 -07:00
RealBeepMcJeep
e1df933368 plz no pollute global namespace 2023-08-30 10:28:58 -07:00
RealBeepMcJeep
b91bc21d60 fixes readableStream fuckery, needs testing 2023-08-30 10:28:58 -07:00
RealBeepMcJeep
baac38f888 types demands we handle null case 2023-08-30 10:28:58 -07:00
RealBeepMcJeep
3422b3e963 inline function immediately called lolwtf 2023-08-30 10:28:58 -07:00
RealBeepMcJeep
4e78c3ec79 should be a string according to types 2023-08-30 10:28:58 -07:00
RealBeepMcJeep
2928c79446 simple-git needs to get their shit together 2023-08-30 10:28:58 -07:00
RealBeepMcJeep
20f807c5c9 async functions return promises silly 2023-08-30 10:28:58 -07:00
RealBeepMcJeep
37e20f6fc5 type-guard vs possible null 2023-08-30 10:28:58 -07:00
RealBeepMcJeep
6bd77bac7a checker thinks this could be undefined, handle it 2023-08-30 10:28:57 -07:00
RealBeepMcJeep
c703b0b25e 'Buffer' is not assignable to param 'string' 2023-08-30 10:28:57 -07:00
RealBeepMcJeep
274b2e5009 fix ambiguous typing 2023-08-30 10:28:57 -07:00
city-unit
165d4b3b75 Merge branch 'staging' of https://github.com/city-unit/SillyTavern into feature/exorcism 2023-08-30 00:12:00 -04:00
RealBeepMcJeep
403546e514 finish moving and organizing require statements 2023-08-29 14:34:41 -07:00
RealBeepMcJeep
7bf72beed7 move AIHorde import to top 2023-08-29 14:29:02 -07:00
RealBeepMcJeep
d07779e5da refactor ambiguous "Client" from node-rest-client 2023-08-29 14:28:13 -07:00
RealBeepMcJeep
26e008e907 move and organize more imports 2023-08-29 14:26:59 -07:00
RealBeepMcJeep
9087736835 move and organize additional imports 2023-08-29 14:23:53 -07:00
RealBeepMcJeep
c0b1ea5f4c grouping native node imports 2023-08-29 14:20:37 -07:00
RealBeepMcJeep
fc59b20f36 cli/fs related library import grouping 2023-08-29 14:16:39 -07:00
RealBeepMcJeep
918aba3eb6 group image processing imports at top 2023-08-29 14:12:47 -07:00
RealBeepMcJeep
288378919a move express imports to top 2023-08-29 14:10:40 -07:00
RealBeepMcJeep
8d5eb062e6 move fs and path imports to top 2023-08-29 14:06:37 -07:00
RealBeepMcJeep
2bd645e271 move child_process import to top 2023-08-29 14:05:18 -07:00
Cohee
01ff9604bd
Merge pull request #1043 from RealBeepMcJeep/patch-1
remove unused symbols
2023-08-29 23:37:46 +03:00
Cohee
9dc908c9aa Merge branch 'staging' of http://github.com/cohee1207/SillyTavern into staging 2023-08-29 23:28:53 +03:00
Cohee
8d2c84c6ef Limit max backups to settings only 2023-08-29 23:28:44 +03:00