Commit Graph

208 Commits

Author SHA1 Message Date
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 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
DarkCat09
5b7ce0bb3c
"Original page" button in error.ejs 2023-09-20 14:40:57 +04:00
DarkCat09
2245e73c7f
.menu -> common.css; 1rem for buttons, 0.9rem for /get menu 2023-09-20 13:26:10 +04:00
DarkCat09
d65c34e848
Buttons in main page: GitHub, Docs 2023-09-20 13:13:23 +04:00
DarkCat09
e5ccbfe434
Store parsed DOM in InputHandler 2023-09-20 12:03:44 +04:00
Andrey
66ae5226b7
Merge pull request #48 from TxtDot/fix-google
feat: fix google parsing
2023-09-17 12:38:45 +04:00
Artemy
8fc3c2a6b9 1.3.0 2023-09-17 11:32:08 +03:00
Artemy
c6cef00f63 feat: fix google parsing
there's no more navigation
2023-09-17 11:25:17 +03:00
Andrey
92579334a0
Merge pull request #47 from TxtDot/docker-package-push-to-ghcr
ci: push docker image to ghcr
2023-09-13 14:17:48 +04:00
Artemy
7079d88017 ci: fix on 2023-09-13 11:31:39 +03:00
Artemy
90096c2ede ci: push docker image to ghcr 2023-09-13 11:30:37 +03:00
Artemy Egorov
6a906377a7
Merge pull request #46 from TxtDot/engine-upd
Engine upd
2023-09-13 11:29:09 +03:00
DarkCat09
b847f40991
Bugfix: [Google] window is not defined 2023-09-11 13:34:50 +04:00
DarkCat09
bbbfe480eb
Adapted engines to work with HandlerInput 2023-09-11 13:07:02 +04:00
DarkCat09
456a472031
Bugfix: parseDom return statement 2023-09-11 13:01:27 +04:00
DarkCat09
3a7abd93d9
Created HandlerInput class 2023-09-11 12:59:19 +04:00
DarkCat09
62d408ef98
Refactor/cleanup: moved types to other file 2023-09-11 11:23:27 +04:00
DarkCat09
f6dc1f953e
Moved engine selecting logic into separate function 2023-09-11 11:16:26 +04:00
Andrey
da67666a6c
Merge pull request #45 from TxtDot/artegoser
refactor: optional lang and title for engines response
2023-09-07 17:48:10 +04:00
Artemy Egorov
945d237fd6 refactor: optional lang and title for engines response 2023-09-07 13:19:43 +03:00
Andrey
7d0d5f1888
Merge pull request #44 from TxtDot/new-match-system
feat: micromatch system to match domains
2023-09-05 16:20:20 +04:00
DarkCat09
c61adaa546
Checking if DOM array is empty before operations 2023-09-05 16:17:16 +04:00