Commit Graph

10 Commits

Author SHA1 Message Date
Artemy Egorov
c04ea407ae
Plugins (#146)
* refactor: move engines to the sdk

* refactor: move engines to plugins

* refactor: move engines to plugins

* fix: prettier
2024-04-27 16:21:41 +00:00
Artemy Egorov
7c72d985f7
Merge pull request from GHSA-4gj5-xj97-j8fp
* ci: add build check to pull requests

* Build(deps-dev): Bump @types/node from 20.10.6 to 20.11.24 (#91)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.10.6 to 20.11.24.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: image compression (#101)

* feat: image compression

* fix: not compress svg

Maybe we should add a function to disable this fix. Since I noticed that if you compress svg in webp it becomes magically smaller.

* Configuration page (#104)

* feat: image compression

* feat: configuration page

* refactor: json stringify

and change engine buttons to ordered list

* fix: engine distributor matching

* fix: formatting

* build: update txtdot version to 1.7.0

* fix: configuration page title

* doc: features (#102)

* fix: ssrf

GHSA-4gj5-xj97-j8fp

Doesn't fully correct the error! You need to configure the server to block requests.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-07 14:49:54 +03:00
Artemy Egorov
8f707c800e
Timeout (#70)
* fix: long response time due to many <a>...

... without hrefs. It's a temporary measure until it's clear how to deal with such performance issues.

* perf: remove jsdom install linkedom

* feat: timeout

But still this timeout works only for the time of transfer of the page itself, not its processing by the server

* fix: links

* format
2023-12-13 21:08:24 +04:00
DarkCat09
86c033bdaa
Use common getConfig() 2023-09-21 16:32:08 +04:00
DarkCat09
1fc1d8e88b
NotHtmlMimetype error handling 2023-09-21 13:18:12 +04:00
DarkCat09
5b7ce0bb3c
"Original page" button in error.ejs 2023-09-20 14:40:57 +04:00
DarkCat09
66ce1caab0
Error handler for API, separated schemas 2023-08-23 13:46:19 +04:00
DarkCat09
77058ede74
Refactored error handling 2023-08-21 18:35:25 +04:00
DarkCat09
7cb254f523
Weird error matching 2023-08-21 17:03:28 +04:00
Artemy
9e29561ad3 refactor: Error Handler 2023-08-16 13:20:24 +03:00