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
f241a46e05
fix: isLocalResourse for proxy ( #103 )
...
GHSA-4c78-229v-hf6m
2024-03-05 21:53:40 +03:00
Artemy Egorov
a7fdaf80fd
Fix dependabot ( #95 )
...
* Build(deps): Bump linkedom from 0.16.6 to 0.16.8 (#89 )
Bumps [linkedom](https://github.com/WebReflection/linkedom ) from 0.16.6 to 0.16.8.
- [Commits](https://github.com/WebReflection/linkedom/compare/v0.16.6...v0.16.8 )
---
updated-dependencies:
- dependency-name: linkedom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): Bump @typescript-eslint/parser from 6.18.0 to 7.1.0 (#88 )
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 6.18.0 to 7.1.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.1.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): Bump @fastify/swagger from 8.13.0 to 8.14.0 (#87 )
Bumps [@fastify/swagger](https://github.com/fastify/fastify-swagger ) from 8.13.0 to 8.14.0.
- [Release notes](https://github.com/fastify/fastify-swagger/releases )
- [Commits](https://github.com/fastify/fastify-swagger/compare/v8.13.0...v8.14.0 )
---
updated-dependencies:
- dependency-name: "@fastify/swagger"
dependency-type: direct:production
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>
* Build(deps): Bump @fastify/view from 8.2.0 to 9.0.0 (#86 )
Bumps [@fastify/view](https://github.com/fastify/point-of-view ) from 8.2.0 to 9.0.0.
- [Release notes](https://github.com/fastify/point-of-view/releases )
- [Commits](https://github.com/fastify/point-of-view/compare/v8.2.0...v9.0.0 )
---
updated-dependencies:
- dependency-name: "@fastify/view"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): Bump @types/node from 20.10.6 to 20.11.20 (#85 )
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 20.10.6 to 20.11.20.
- [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>
* ci: fix dependabot branches and create packages in dev
* fix: version link in index
* dep: update eslint-plugin
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 08:10:37 +00:00
Artemy Egorov
b8ed1ec711
Update dependabot.yml ( #84 )
2024-02-27 15:08:55 +00:00
Artemy Egorov
b78da40255
Mass refactoring and stackoverflow users parser ( #83 )
...
* refactor: public config
delete public config, replace with package.json. Update version to 1.6.0 for this pull request.
* fix: searx pagination
* refactor: type system for routes
* refactor: universal redirection
* fix: stackoverflow questions
add No handler Found error
* feat: stackoverflow users parser
2024-02-25 18:17:56 +00:00
Artemy Egorov
c9f9e48acb
Engine routing ( #82 )
...
* refactor: move engines to folder
* refactor: engine class
* refactor: add distributor and readability, searx engines class
* delete: google engine
useless since searx added
* fix: stackoverflow
* update version
2024-02-17 12:25:54 +00:00
Andrey
92ab68c587
Fix build scripts ( #77 )
...
* Copy all templates, fix #76
* copy any folders in templates
---------
Co-authored-by: Artemy <artegoser@gmail.com>
2024-02-14 09:42:48 +00:00
dependabot[bot]
af29af9f16
Build(deps): Bump @fastify/swagger-ui from 2.0.1 to 2.1.0 ( #75 )
...
Bumps [@fastify/swagger-ui](https://github.com/fastify/fastify-swagger-ui ) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/fastify/fastify-swagger-ui/releases )
- [Commits](https://github.com/fastify/fastify-swagger-ui/compare/v2.0.1...v2.1.0 )
---
updated-dependencies:
- dependency-name: "@fastify/swagger-ui"
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-14 10:31:52 +03:00
Artemy Egorov
3b5f402d77
Interface improvements ( #74 )
...
* fix: interface style improvements
and components in ejs templates
* fix: improvement of improvements
* Redesign: kind of MD3
* Working url/search switch
* formatting
* Add switch animation, adjust sizes, adjust btn colors, rename bg2 to outline
* Format
---------
Co-authored-by: DarkCat09 <gh@dc09.ru>
2024-02-14 10:23:13 +03:00
Artemy Egorov
ead78e79ab
Fix connection refusion ( #72 )
...
* fix: socket connection refused
* chore: update versions
2024-01-06 18:46:55 +00:00
Artemy Egorov
fa6c9cc2a0
Search by default ( #71 )
...
* feat: searx parser
* feat: search form in get page
* feat: search in main page
* fix: button naming
* chore: update version
2024-01-06 17:46:10 +00:00
Artemy Egorov
8524289f55
Code format ( #69 )
...
* ci: format
* Create format-check.yml
* Update package.json
* format
2023-12-14 14:27:23 +04: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
Andrey
b805f19f78
Merge pull request #66 from TxtDot/artegoser-patch-1
...
Create dependabot.yml
2023-11-17 18:28:25 +00:00
Artemy Egorov
bc59e73c89
Create dependabot.yml
2023-11-11 18:05:49 +03:00
Artemy Egorov
0b6087d2ab
Merge pull request #65 from TxtDot/npm-upd
...
NPM deps updated
2023-11-11 18:03:23 +03:00
DarkCat09
17ada35e7a
Updated deps, cleanup
2023-11-10 18:11:04 +04:00
DarkCat09
60c7ed6e98
Update: dompurify
2023-11-10 18:04:56 +04:00
DarkCat09
7fd791c8a3
Security fix: Axios updated
2023-11-10 18:03:02 +04:00
Artemy Egorov
c64eef7794
Merge pull request #64 from TxtDot/compose-upd
...
Updated docker-compose
2023-09-28 11:04:16 +03:00
DarkCat09
272613e099
Fix: .env config path
2023-09-26 17:45:17 +04:00
DarkCat09
51bcc663b6
Compose: use pre-built image on ghcr, pass .env
2023-09-25 12:54:39 +04:00
Andrey
a6088914f7
Merge pull request #62 from TxtDot/nev-version
...
1.4.0
2023-09-25 12:08:23 +04:00
Artemy Egorov
edf8a4ffdd
Merge pull request #63 from TxtDot/dompurify
...
Security bugfix: HTML sanitizing
2023-09-25 11:07:12 +03:00
DarkCat09
b31bbc547e
Rearranged imports
2023-09-25 12:06:50 +04:00
DarkCat09
7f6b7c2215
Security bugfix: HTML sanitizing
2023-09-25 12:04:22 +04:00
Artemy
2e662ea30f
1.4.0
2023-09-25 10:53:42 +03:00
Artemy Egorov
b486877736
Merge pull request #60 from TxtDot/proxy
...
Proxy, config changes
2023-09-25 10:51:03 +03:00
DarkCat09
9ffba003e6
Use "swagger" config entry
2023-09-25 11:16:15 +04:00
DarkCat09
809a389b6a
New config entry: swagger
2023-09-25 11:14:19 +04:00
DarkCat09
29e923cce6
Simpified boolean check (see fix in prev commit)
2023-09-25 10:55:06 +04:00
DarkCat09
a8d4b3a2d3
SECURITY BUGFIX: "false" env var value was parsed as true
2023-09-25 10:48:34 +04:00
DarkCat09
3a8198ea14
Bugfix: do not convert base64 and non-http(s)://
2023-09-22 13:37:17 +04:00
DarkCat09
d0d3dfd7b9
Bugfix: trim spaces in srcset, replace srcset in imgs
2023-09-22 13:23:02 +04:00
DarkCat09
1cec7ac3f0
app.ts: unused import
2023-09-22 13:00:44 +04:00
DarkCat09
40092d8227
replace-href: code cleanup
2023-09-22 13:00:16 +04:00
DarkCat09
4994bd5e54
Refactor: move links replacement into utils, call it after Readability
2023-09-22 12:53:25 +04:00
DarkCat09
64054ff627
Replacing all hrefs/srcs
2023-09-21 17:58:43 +04:00
DarkCat09
645542795d
Template variable bugfix
2023-09-21 17:58:23 +04:00
DarkCat09
86c033bdaa
Use common getConfig()
2023-09-21 16:32:08 +04:00
DarkCat09
f56b79c563
getConfig()
2023-09-21 16:28:55 +04:00
DarkCat09
553efb1da6
New config entries
2023-09-21 16:26:32 +04:00
DarkCat09
47e4db1fc8
Proxying
2023-09-21 13:51:25 +04:00
DarkCat09
1fc1d8e88b
NotHtmlMimetype error handling
2023-09-21 13:18:12 +04:00
Artemy Egorov
e6b61fb814
Merge pull request #59 from TxtDot/iconv-fix
...
Fix: install iconv-lite
2023-09-21 10:15:48 +03:00
Artemy Egorov
4b8f04d83a
Merge pull request #58 from TxtDot/gha-fix
...
Build releases
2023-09-21 10:14:16 +03:00
DarkCat09
f951fa254c
Build releases
2023-09-21 11:13:05 +04:00
DarkCat09
3a058c5da1
Forgot to install iconv-lite
2023-09-21 11:00:17 +04:00
Artemy Egorov
28bbcda513
Merge pull request #57 from TxtDot/encoding
...
Decode response stream manually with iconv-lite
2023-09-21 09:49:09 +03:00
DarkCat09
a0ea2ae82f
Decode response stream manually with iconv-lite
...
F-ck axios
2023-09-21 10:32:07 +04:00