1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-11-03 02:37:23 -05:00
Commit Graph

68 Commits

Author SHA1 Message Date
makeworld
9198572f34
cview update (#107)
Co-authored-by: makeworld <25111343+makeworld-the-better-one@users.noreply.github.com>
Co-authored-by: Stephen Robinson <stephen@drsudo.net>
Co-authored-by: Trevor Slocum <trevor@rocketnine.space>
Co-authored-by: Stephen Robinson <sudobash1@users.noreply.github.com>
2021-02-17 14:17:13 -05:00
makeworld
dd7550dffb Add pagination 2020-12-06 20:57:57 -05:00
makeworld
1a2fba92c2 Add subscription manager, fix corrupt read/write & short URI panic
More info on corrupt reads and writes:
https://github.com/makeworld-the-better-one/amfora/issues/61#issuecomment-735042805

The panic was occuring due to lines like:

    if u[:6] == "about:"

These would cause panics for URIs that were shorter than 6, like "docs/".
strings.HasPrefix was used instead to fix this.
2020-12-05 20:35:15 -05:00
makeworld
62102d4f98 Add handleAbout() 2020-11-27 18:25:17 -05:00
makeworld
5722c50432 Move funcs to handlers.go 2020-11-27 17:57:19 -05:00
makeworld
f6e89fdaa1 Switch subscription-based naming 2020-11-27 17:01:29 -05:00
makeworld
ba28b2b5f9 Merge branch 'master' into feeds 2020-11-23 21:11:51 -05:00
makeworld
c53c36a4d0 ⬆️ go-gemini v0.9.3
Timeout when header takes too long, downloading uses proxies if appropriate
2020-11-23 21:09:48 -05:00
Mattias Jadelius
51fd32e1ea
fix for #103: Simple handling of local (file://) urls (#117)
Co-authored-by: Mattias Jadelius <mattias.jadelius>
2020-11-22 16:25:20 -05:00
makeworld
8875af6c57 Ask about downloading if user doesn't add feed 2020-11-19 21:14:19 -05:00
makeworld
12321f82a7 Update every X minutes with X workers 2020-11-18 21:24:26 -05:00
makeworld
d0d8b15bbb 🚧 Autodetect all kinds of feeds 2020-11-18 20:39:27 -05:00
makeworld
cf5e65f75a 🚧 Adding & displaying feeds/pages works
See NOTES.md for things still left
2020-11-17 20:56:15 -05:00
makeworld
81fee446d4 🚑 Remove unused import
Whoops
2020-11-05 10:42:07 -05:00
makeworld
383d8bcee0 🐛 Remove newlines from META error strings 2020-11-05 10:38:40 -05:00
makeworld
b05885e710 Disable cache for redirects - fixes #114 2020-11-04 21:11:33 -05:00
makeworld
277cc91881 More fine-grained error codes, support client cert errors 2020-11-04 20:55:34 -05:00
makeworld
b7efbdaeea 🐛 Fixes #81 2020-11-04 20:01:11 -05:00
makeworld
4fbaa978d4 Don't cache client cert domains 2020-11-04 19:40:34 -05:00
makeworld
5adb676a68 🚨 Make linter happy 2020-11-04 18:47:27 -05:00
makeworld
b3482d3a09 🐛 Fixes #77 2020-11-04 18:35:56 -05:00
makeworld
c0c1ef898c 🐛 Make link colors all purple on proxy pages - fixes #84 2020-09-01 16:41:30 -04:00
makeworld
e1dc0a0ccd 🚨 Fix lint issues 2020-09-01 16:30:06 -04:00
makeworld
1d3e309556 Support mutiple proxies per-scheme - fixes #80 2020-09-01 16:22:44 -04:00
makeworld
30873e1b0b 🐛 Fix empty proxy bug, start on #80 2020-09-01 14:55:52 -04:00
makeworld
3dfbeb5bda 🐛 Make TOFU warning accurate when proxy enabled 2020-09-01 12:56:44 -04:00
makeworld
11c3b1fec9 🔥 Use gemini.QueryEscape instead 2020-08-27 20:04:02 -04:00
Sotiris Papatheodorou
4452fcfec6
Add option to automatically follow redirects (#75)
Co-authored-by: makeworld
2020-08-27 18:55:42 -04:00
makeworld
580e87bcc9 🚨 Add .golangci.yml, run gofmt, add PR to changelog 2020-08-27 18:52:38 -04:00
Sotiris Papatheodorou
6c3583b1ac
Add option to open unknown URLs (#74) 2020-08-27 18:02:19 -04:00
makeworld
8371960fd8 🚨 All lint issues should be fixed 2020-08-27 17:57:19 -04:00
makeworld
6853bb9c6d 🚨 More linting fixes and unix build fix 2020-08-27 11:47:57 -04:00
makeworld
13163352b3 🚨 More linting fixes
Source: https://github.com/makeworld-the-better-one/amfora/actions/runs/224468383
2020-08-25 21:03:21 -04:00
makeworld
de41930d0a 🚨 Fix linting errors and switch to disable-all model
Lint errors source: https://github.com/makeworld-the-better-one/amfora/actions/runs/224352889
2020-08-25 19:17:06 -04:00
makeworld
789e7e23a6 🐛 Support text/* for favicon 2020-08-05 17:55:43 -04:00
makeworld
0bc5939600 Emoji favicon support - fixes #62 2020-08-05 13:31:59 -04:00
makeworld
edd128e7c5 🎨 Rename page cache funcs 2020-08-04 21:05:12 -04:00
makeworld
2d81886dda 🐛 Repeated redirects don't leave "Loading..." - fixes #53 2020-07-28 19:17:15 -04:00
makeworld
aa28bc78b2 ️ Don't re-set text when there hasn't been changes 2020-07-26 11:50:18 -04:00
makeworld
d32fc9159a 🐛 Stop double requests - fixes #50 2020-07-26 11:31:13 -04:00
makeworld
28b2235ddb Permanent redirects are cached - fixes #22 2020-07-25 20:26:40 -04:00
makeworld
258c8589ce 🚚 Create util.go file and move funcs 2020-07-21 11:30:32 -04:00
makeworld
9b8985905f Add cert expiry info to TOFU warning - fixes #34 2020-07-10 18:59:51 -04:00
makeworld
74d5edd695 Support text/x-ansi - fixes #45 2020-07-10 17:45:14 -04:00
makeworld
7fe78f4d6b Response size and time limit - fixes #30 2020-07-10 15:33:39 -04:00
makeworld
eae118faac 🚧 Downloading all content seems to work 2020-07-10 14:37:18 -04:00
makeworld
06a112b1cc 🐛 Portal open uses http config setting - fixes #42 2020-07-07 21:51:20 -04:00
makeworld
543d15abfc 🔀 Refactor to use tab struct
Squashed commit of the following:

commit 72f36afc9e
Author: makeworld <colecmac@protonmail.com>
Date:   Tue Jul 7 16:15:45 2020 -0400

    🚧 Scroll is applied correctly when navigating around

commit 4b8982723f
Author: makeworld <colecmac@protonmail.com>
Date:   Tue Jul 7 15:34:45 2020 -0400

    🚧 Fix bottomBar code

    Make sure it always resets to a selected link if one was selected before

commit be09ffcf91
Author: makeworld <colecmac@protonmail.com>
Date:   Mon Jul 6 20:30:54 2020 -0400

    🚧 Switch to using tab pointers instead of ints

    Almost finished overall work.

commit ef8ab3da39
Author: makeworld <colecmac@protonmail.com>
Date:   Mon Jul 6 12:10:50 2020 -0400

    🚧 Fixed some bugs, major ones remain

commit d3d47a344d
Author: makeworld <colecmac@protonmail.com>
Date:   Sat Jul 4 20:58:46 2020 -0400

    🚧 Everything uses tab struct, no compile errors, untested

commit 44bf54c12f
Author: makeworld <colecmac@protonmail.com>
Date:   Sat Jul 4 13:24:49 2020 -0400

    🚧 Initial work on tab struct
2020-07-07 21:13:45 -04:00
makeworld
518c35453a 🎨 Rename reformat func 2020-07-04 11:32:11 -04:00
makeworld
92eb544b0a 🐛 Handle plaintext for dynamic wrapping - fixes #33 2020-07-03 17:28:56 -04:00