Commit Graph

229 Commits

Author SHA1 Message Date
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
Artemy Egorov
a6a69f77f1
Merge pull request #56 from TxtDot/frontend-1
Frontend improvements
2023-09-20 14:12:14 +03:00
Artemy Egorov
0c83a9a60a
Merge pull request #53 from TxtDot/store-dom
Store parsed DOM in InputHandler
2023-09-20 14:11:38 +03:00
DarkCat09
9f0fd5f7a8
Using version and description from publicConfig; v1.3.1 2023-09-20 14:54:51 +04:00