Commit Graph

133 Commits

Author SHA1 Message Date
Cohee 5848806e6a Merge branch 'release' into staging 2024-10-26 21:40:30 +03:00
Cohee d716bc0a07 Revert Google Translate client library 2024-10-26 21:39:37 +03:00
Cohee f5bdb52c25 Merge branch 'staging' into webpack 2024-10-26 19:11:29 +03:00
Cohee 2a60b6be0b Bump package version 2024-10-26 15:45:40 +03:00
Cohee 8d3efcf83d Add startup scripts for Deno and Bun 2024-10-18 11:19:11 +00:00
Cohee 2620522333 Revert epubjs vendoring 2024-10-17 20:59:42 +03:00
Cohee e48cf68a13 Revert pdfjsLib vendoring 2024-10-17 20:53:18 +03:00
Cohee b78c948d26 [chore] Fix spacing in package.json 2024-10-17 11:20:49 +00:00
Cohee e03e32d66a unvendor: Replace morphdom 2024-10-17 11:12:22 +00:00
Cohee e9a002bc2b unvendor: Replace droll 2024-10-17 08:12:28 +00:00
Cohee ec4763b0c5 unvendor: Replace popperjs/core 2024-10-17 08:03:58 +00:00
Cohee e1694ede9d unvendor: Replace seedrandom 2024-10-17 02:19:47 +03:00
Cohee 81bdeb6da8 unvendor: Replace moment 2024-10-17 02:02:45 +03:00
Cohee 7b0f7306c0 unvendor: Replace showdown 2024-10-17 01:51:35 +03:00
Cohee 8b8f2f1144 unvendor: Replace SVGInject 2024-10-17 01:39:15 +03:00
Cohee ca844c8b0a unvendor: Replace Readability 2024-10-17 01:30:04 +03:00
Cohee b195983510 unvendor: Replace diff_match_patch 2024-10-17 01:23:22 +03:00
Cohee a32fe00e34 unvendor: Replace pdfjs-dist 2024-10-17 01:16:39 +03:00
Cohee 553920ee8e unvendor: Replace epubjs 2024-10-17 01:03:33 +03:00
Cohee 14037b6e30 unvendor: Replace Bowser 2024-10-17 00:56:09 +03:00
Cohee c3f62b8699 unvendor: Replace css-tools 2024-10-17 00:40:11 +03:00
Cohee d5fdf307c8 unvendor: Replace handlebars 2024-10-17 00:34:07 +03:00
Cohee 1c4e87b25b unvendor: Replace localforage 2024-10-16 23:37:54 +03:00
Cohee 416282ae1f unvendor: Replace hljs 2024-10-16 23:18:23 +03:00
Cohee 3387fe4bd6 unvendor: Replace DOMPurify 2024-10-16 23:11:13 +03:00
Cohee 4725b869eb Add webpack for external frontend libraries. 2024-10-16 22:00:14 +03:00
Cohee bb9700b478 [deps] Update jimp 2024-10-15 00:43:54 +03:00
Cohee 131e60ffe6 Update node types 2024-10-12 11:36:26 +03:00
Cohee 89c0b0e1cd Replace Google Translate API package 2024-10-12 10:47:05 +03:00
Cohee 4fcad0752f [chore] Fix type errors 2024-10-11 21:33:36 +03:00
Cohee afc3bfb740 Install correct version of express types 2024-10-11 20:33:55 +03:00
Cohee d52b4fbbde Node: Migrate to ES Modules 2024-10-10 22:37:22 +03:00
Cohee b6a7929c4e Fix npm audit 2024-10-09 11:42:51 +00:00
Cohee 2e36f45e24 Fix types for dompurify and toastr 2024-10-06 19:51:59 +03:00
Cohee c2e5a0e64f Bump package version 2024-09-24 20:22:18 +03:00
Cohee 94771c780d Fix npm audits of locked overrides 2024-09-21 19:16:04 +03:00
Cohee bb170c11fe Update express 2024-09-21 19:09:35 +03:00
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