alex
978b5d40ec
Merge remote-tracking branch 'origin/master' into redirect
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@131 f3bd38d9-da89-464d-a02a-eb04e43141b5
2020-07-24 14:56:05 +00:00
asciimoo
af8036aa09
[fix] cleanup rebase
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@130 f3bd38d9-da89-464d-a02a-eb04e43141b5
2020-07-14 21:28:16 +00:00
asciimoo
ad9b87840e
[enh] add more verbose debug messages
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@129 f3bd38d9-da89-464d-a02a-eb04e43141b5
2020-07-14 21:24:04 +00:00
asciimoo
640db34ff5
[fix] parse hostnames even if scheme is missing
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@128 f3bd38d9-da89-464d-a02a-eb04e43141b5
2020-07-14 21:24:04 +00:00
asciimoo
756d8c977a
[mod] create own module for config
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@127 f3bd38d9-da89-464d-a02a-eb04e43141b5
2020-07-14 21:23:59 +00:00
asciimoo
3d80d17398
[fix] add default css reset parameters to topbar
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@126 f3bd38d9-da89-464d-a02a-eb04e43141b5
2020-07-14 21:22:08 +00:00
asciimoo
ac6ae34f65
[fix] concatenate url params to existing ones
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@125 f3bd38d9-da89-464d-a02a-eb04e43141b5
2020-07-14 21:22:08 +00:00
asciimoo
5bcbd25e14
[enh] inject header even if the page does not contain body element
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@124 f3bd38d9-da89-464d-a02a-eb04e43141b5
2020-07-14 21:22:08 +00:00
asciimoo
8ff0479076
[fix] do not add mortyhash to forms if there is no mortykey set
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@123 f3bd38d9-da89-464d-a02a-eb04e43141b5
2020-07-14 21:22:08 +00:00
asciimoo
e8b8f58be9
[fix] rename variable
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@122 f3bd38d9-da89-464d-a02a-eb04e43141b5
2020-07-14 21:22:08 +00:00
asciimoo
5d5b7b413f
[enh] use html template for injected html snippets
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@121 f3bd38d9-da89-464d-a02a-eb04e43141b5
2020-07-14 21:22:08 +00:00
asciimoo
53dfdf3070
[enh] allow opening urls without protocol scheme
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@120 f3bd38d9-da89-464d-a02a-eb04e43141b5
2020-07-14 21:22:08 +00:00
asciimoo
d56146f07f
[enh] redesign popup message to a sticky top bar
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@119 f3bd38d9-da89-464d-a02a-eb04e43141b5
2020-07-14 21:22:08 +00:00
asciimoo
0c1aff12b0
[enh] handle get form parameters
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@118 f3bd38d9-da89-464d-a02a-eb04e43141b5
2020-07-14 21:22:08 +00:00
alex
4990b9d86b
[fix] fix self closing tag token
...
Close #57
git-svn-id: file:///srv/svn/repo/yukari/trunk@116 f3bd38d9-da89-464d-a02a-eb04e43141b5
2020-07-14 10:19:04 +00:00
alex
6135642d68
Increase ReadBufferSize ( #74 )
...
fix #61
git-svn-id: file:///srv/svn/repo/yukari/trunk@113 f3bd38d9-da89-464d-a02a-eb04e43141b5
2020-07-14 05:59:36 +00:00
alex
fb075c6bf2
[mod] update User Agent
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@111 f3bd38d9-da89-464d-a02a-eb04e43141b5
2020-07-13 17:36:21 +00:00
sayaka
a6cc8cfb67
add socks5 support, close #70
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@109 f3bd38d9-da89-464d-a02a-eb04e43141b5
2020-04-08 12:51:14 +00:00
polys
da5c5a6c07
Fix tab-separated values content type
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@103 f3bd38d9-da89-464d-a02a-eb04e43141b5
2019-11-29 19:21:38 +00:00
mathieu.brunot
69ab4a55b6
🎨 Keep debug on as default behavior
...
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
git-svn-id: file:///srv/svn/repo/yukari/trunk@100 f3bd38d9-da89-464d-a02a-eb04e43141b5
2019-10-16 09:35:32 +00:00
mathieu.brunot
aefdf0f8a8
🐛 Set DEBUG as a var
...
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
git-svn-id: file:///srv/svn/repo/yukari/trunk@99 f3bd38d9-da89-464d-a02a-eb04e43141b5
2019-10-15 11:56:58 +00:00
mathieu.brunot
3897271cbd
🐛 Simplify DEBUG var init
...
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
git-svn-id: file:///srv/svn/repo/yukari/trunk@98 f3bd38d9-da89-464d-a02a-eb04e43141b5
2019-10-15 10:06:09 +00:00
mathieu.brunot
feb2bf88a4
✨ Var to enable/disable debug logs
...
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
git-svn-id: file:///srv/svn/repo/yukari/trunk@97 f3bd38d9-da89-464d-a02a-eb04e43141b5
2019-10-15 07:56:30 +00:00
alex
25f07b21e8
[mod] follow HTTP redirect (only GET HTTP method)
...
close #48
git-svn-id: file:///srv/svn/repo/yukari/trunk@96 f3bd38d9-da89-464d-a02a-eb04e43141b5
2019-08-11 08:34:33 +00:00
alex
f2c037d6da
[fix] tests
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@94 f3bd38d9-da89-464d-a02a-eb04e43141b5
2019-08-11 08:28:28 +00:00
alex
5233db62d8
Dockerfile : Various modifications
...
- the key is base64 encoded /!\ break compatibility, see searx project PR #1629
- make sure to use golang:1.12-alpine to build morty to support TLS 1.3 (from morty to external)
git-svn-id: file:///srv/svn/repo/yukari/trunk@92 f3bd38d9-da89-464d-a02a-eb04e43141b5
2019-07-02 16:20:01 +00:00
ave
206e8ce20e
Add support for image/x-icon
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@88 f3bd38d9-da89-464d-a02a-eb04e43141b5
2019-01-08 23:38:56 +00:00
asciimoo
f263602862
[enh] add environment variable support to configure listen address and secret key - closes #56
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@78 f3bd38d9-da89-464d-a02a-eb04e43141b5
2018-05-30 15:14:37 +00:00
asciimoo
a6b2ecc870
[enh] v0.2.0
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@77 f3bd38d9-da89-464d-a02a-eb04e43141b5
2018-05-28 13:30:49 +00:00
asciimoo
30585080fe
[enh] v0.1.0
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@74 f3bd38d9-da89-464d-a02a-eb04e43141b5
2018-01-30 18:46:11 +00:00
asciimoo
abd72ce047
[fix] hide morty popup ++ add link to source
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@72 f3bd38d9-da89-464d-a02a-eb04e43141b5
2017-04-15 17:57:47 +00:00
asciimoo
9829a599d1
[fix] handle missing urls
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@71 f3bd38d9-da89-464d-a02a-eb04e43141b5
2017-03-02 02:19:36 +00:00
alex
d0a2e1f525
[enh] for protocols others than HTTP(S) or for .onion domains, Morty serves a HTML page to the original URL with a warning.
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@69 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-12-23 20:10:33 +00:00
asciimoo
f12bd0a629
Merge pull request #46 from dalf/html
...
[mod] different HTML / CSS modifications.
git-svn-id: file:///srv/svn/repo/yukari/trunk@68 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-12-23 19:25:28 +00:00
alex
9ed294432f
[mod] fix HTML in the welcome page. Make sure the morty header is always visible with the same CSS style. Add an empty favicon.ico.
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@67 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-12-23 17:58:04 +00:00
asciimoo
26bec6c5b8
[fix] package name
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@66 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-12-21 23:28:11 +00:00
alex
04b1b48071
[mod] allow different content types according to two while lists.
...
The first white list doesn't modified the Content-Disposition header.
The second white list forces "attachment"
git-svn-id: file:///srv/svn/repo/yukari/trunk@64 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-12-21 17:10:56 +00:00
alex
04ff44b7ef
[enh] parse and filter Content-Type.
...
svg, mathml, multipart, xml (because of namespace) are forbidden.
the charset parameters in Content-Type is only set when it is by the original server.
the */xhtml+* Content-Type : the conversion to UTF-8 is now done (it wasn't the case before).
string type is used because of the mime package API.
git-svn-id: file:///srv/svn/repo/yukari/trunk@63 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-12-15 22:32:34 +00:00
asciimoo
781a5a6588
Merge pull request #38 from dalf/uri
...
[enh] ignore all special characters in the URI protocol
git-svn-id: file:///srv/svn/repo/yukari/trunk@62 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-12-07 11:09:30 +00:00
alex
809239ddc1
[mod] data scheme URL : allow only images (png, jpeg, pjpeg, gif, webp)
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@61 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-12-01 13:01:22 +00:00
alex
b9f693e84b
[enh] ignore all special characters in the URI protocol (example : jav	ascript:alert('XSS'))
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@60 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-12-01 12:45:38 +00:00
asciimoo
9583802a32
Merge pull request #40 from asciimoo/firefox-ua
...
[fix] Firefox user agent instead of Chrome
git-svn-id: file:///srv/svn/repo/yukari/trunk@59 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-12-04 11:00:14 +00:00
alex
bf0abf4ce5
[fix] Firefox user agent instead of Chrome
...
Should fix #31
git-svn-id: file:///srv/svn/repo/yukari/trunk@58 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-12-03 11:56:10 +00:00
asciimoo
fd3b8ebc4c
Merge pull request #39 from dalf/comment
...
[fix] ignore all comments
git-svn-id: file:///srv/svn/repo/yukari/trunk@57 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-12-04 10:58:41 +00:00
alex
5f7d8768fb
[fix] ignore all comments (quick fix about the privacy issue with IE conditional comments)
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@56 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-29 13:52:16 +00:00
asciimoo
c951f11200
[enh] add url proxifier tests ++ fix proxification user url part handling
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@53 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-29 23:11:00 +00:00
asciimoo
46c188539b
Merge pull request #37 from dalf/url_fragment
...
[fix] URI fragment are not encoded in the mortyurl
git-svn-id: file:///srv/svn/repo/yukari/trunk@52 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-29 12:30:07 +00:00
alex
b45f6c0afe
[fix] URI fragment are not encoded in the mortyurl but are encoded as usual fragment so the browser can use them.
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@51 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-29 10:35:59 +00:00
asciimoo
5f79df00a5
[fix] use html content-type on xhtml responses - closes #17
...
git-svn-id: file:///srv/svn/repo/yukari/trunk@50 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-29 10:12:48 +00:00
asciimoo
6202e9d41c
Merge pull request #36 from dalf/head
...
svg, math, link and meta tags
git-svn-id: file:///srv/svn/repo/yukari/trunk@47 f3bd38d9-da89-464d-a02a-eb04e43141b5
2016-11-28 20:34:53 +00:00