Commit Graph

96 Commits

Author SHA1 Message Date
Cohee 6d79cc015a Add OpenAI o1 2024-09-13 19:44:12 +03:00
Cohee f62e57d737 Merge branch 'staging' into request-proxy 2024-09-11 23:23:46 +03:00
Cohee d201637d67 Fix npm audit 2024-09-11 23:23:21 +03:00
Cohee ab06aa4bf5 Add support for outgoing request proxying
Closes #2824
2024-09-11 22:36:50 +03:00
Cohee 78a25f361b Bump dependencies 2024-09-10 14:47:11 +00:00
Cohee 5098b2435e Bump package version 2024-08-24 09:30:35 +03:00
Cohee ded26f9783 Fix Google translate result decoding
Inspired by #2522
2024-08-18 14:55:17 +03:00
Cohee b0c115bdec Use fixed version of transformers 2024-08-16 12:03:43 +00:00
BPplays da5581e20e
support for Ipv6 (#2593)
* started adding v6 support

* added error checking and change messages to the user

* fixed lsp caused issue

* fixed formatting error

* added error handling to https

* fixed formatting errors

* brought server starting into different func and added enable v6 and v4

* added error checking for disabling both v6 and v4. added option to prefer v6 for dns. added that stuff to the default config

* fixed dumb bug

* changed to settings named disable ipvx

* fixed failed ips still showing as listening

* fixed error handling

* changed ip protocol config layout

* small const name changes

* fixed no error if only available protocol fails, and changed wording of some errors

* fixed error handling saying 'non-fatal error' for protocol fail even when it's the only one enabled

* moved more logic to listen error handler

* fixed eslint issues

* added more info on when to prefer ipv6 for dns

* in conf changed one 'ipv6' to 'IPv6' for consistency

* changed error message and redid how starting the server works

* removed unneeded log

* removed unneeded log

* removed unneeded comments

* fixed errors

* fixed errors

* fixed errors

* changed the wording of ip related error messages

* removed empty lines

* changed to .finally(startServer);

* removed some whitespace

* disabled ipv6 by default ╯︿╰ and changed some message wording

* added auto mode for autorun hostname and changed formatting for listening log and added goto message with autorun url

* added autorun port override

* removed debug log

* changed formatting

* added cli args to ipv6 and autorun stuff

* moved cli args around

* changed formatting

* changed colors for ip

* added avoidLocalhost cli arg

* changed formatting

* changed to not print protocol on listening

* added config option for avoid localhost and changed formatting of messages

* fixed avoid localhost config option

* Fix ipv4 color

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-08-15 20:12:12 +03:00
dependabot[bot] 3491c422bc
Bump axios from 1.6.1 to 1.7.4
Bumps [axios](https://github.com/axios/axios) from 1.6.1 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.1...v1.7.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-14 10:15:39 +00:00
Cohee 008a0c1191 Bump package version 2024-07-27 16:13:39 +03:00
Cohee 2cd85f1a51
Tests (#2499)
* Setup jest framework for unit tests

* Move tests to a separate package

* Remove test script
2024-07-10 00:45:39 +03:00
wrvsrx 3230772909
Fix package-lock.json
This commit add missing `resolved` and `integrity` fields to `package-lock.json` file, so that the build can be more reproducible.
2024-07-07 20:44:24 +08:00
Cohee 6e86ab07dd Bump package version 2024-07-03 09:26:53 +00:00
Cohee 4d67d7d748 Bump package version 2024-06-30 14:16:08 +03:00
Cohee 9923018a49 Update ws dependency 2024-06-19 13:25:29 +03:00
Cohee 66fd973830 Bump package version 2024-06-08 16:55:40 +03:00
Cohee 760af12252 Update AI Horde client library 2024-05-30 21:09:53 +03:00
Cohee 055defa204 Remove unused package reference 2024-05-21 14:18:28 +03:00
Cohee 454a71922d Whack punycode deprecation message 2024-05-20 14:37:10 +03:00
Cohee d902d0d202 Require at least node 18 2024-05-20 14:27:51 +03:00
Cohee 697949c784 Bump package version 2024-05-19 14:31:52 +03:00
Cohee 3113109f0a Use a proper tokenizer for GPT-4o 2024-05-14 15:30:11 +03:00
Cohee db78346bef Add YT script loader for data bank 2024-04-20 19:58:29 +03:00
Cohee 2fbcbe86d2 Bump package version 2024-04-12 22:15:50 +03:00
Cohee 3f65051bd4 Merge branch 'staging' into neo-server 2024-04-12 22:14:32 +03:00
Cohee 89d3673010 Fix npm audit 2024-04-12 22:13:29 +03:00
Cohee 2af4747936 Bump package version 2024-04-12 22:09:09 +03:00
Cohee 396eeca73a Change default user handle. Use async template renderer 2024-04-12 00:35:51 +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 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 d31e4a3bc4 Bump package version 2024-04-05 22:26:35 +03:00
Cohee 8c83095979 Fix npm audit 2024-03-27 14:20:35 +02:00
Cohee ad609c8f94 Fix npm audit 2024-03-15 22:38:20 +02:00
Cohee 2369d35846 Bump package version 2024-03-14 23:10:55 +02:00
Cohee 8bbab12848 Regenerate package lock 2024-03-06 11:53:08 +02:00
valadaptive 4470e87ef9 Un-vendor ai_horde 2024-03-05 08:49:24 -05:00
Cohee 0fcb176408 Bump package version 2024-02-27 21:10:19 +02:00
Cohee 87668f5962 Update tiktoken package 2024-02-10 22:16:59 +02:00
Cohee 97716ea9ca #1681 Remove pkg builds 2024-02-10 21:19:49 +02:00
Cohee 4b845dd442 Add backend for transformers.js whisper 2024-02-02 00:36:40 +02:00
Cohee 4bc7fbcfd7 Bump package version 2024-01-21 15:07:35 +02:00
Cohee 1a80ed7482 Fix npm audit 2024-01-09 01:53:26 +02:00
Cohee 73548faa33 Bump package version 2023-12-23 23:56:09 +02:00
Cohee e74e925428 Bump package version 2023-12-17 03:52:55 +02:00
valadaptive 66953ceba3 Move device type detection to client side
We don't need the server to tell us our user agent--we can get it
ourselves through navigator.userAgent and parse it on the frontend.

I've replaced device-detector-js with Bowser because device-detector-js
is really slow, freezing for up to 500ms to parse a single user agent.
2023-12-14 18:43:59 -05:00