1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-12-04 14:46:29 -05:00
Commit Graph

225 Commits

Author SHA1 Message Date
lostleonardo
40e9d2106a
Adding bindings to yank the current URL and the selected URL (#225) 2021-04-20 17:00:34 -04:00
makeworld
f622a96696 🎨 go fmt 2021-04-07 12:56:32 -04:00
makeworld
7dba1b257d ⬆️ Update cview location 2021-04-07 12:52:22 -04:00
makeworld
3316b68ade ⬆️ Update cview to latest 2021-04-02 11:36:33 -04:00
makeworld
0685127b72 ⬆️ Switch back to original cview
My PR was merged: https://gitlab.com/tslocum/cview/-/merge_requests/14
2021-03-31 10:37:32 -04:00
makeworld
44d92e45e3 💄 Help page scrollbar uses theme config 2021-03-02 22:13:56 -05:00
makeworld
a655ce0eac Works now! 2021-02-27 21:18:03 -05:00
makeworld
8e7300726d 🚧 Initial work 2021-02-27 18:17:49 -05:00
makeworld
215f1a25ee 🚨 Happy linter 2021-02-27 00:17:11 -05:00
makeworld
af5bd00bcb Use XBEL for bookmarks - #68 2021-02-27 00:13:11 -05:00
makeworld
180d108827 🔥 Removed favicon support - fixes #199 2021-02-22 17:41:48 -05:00
makeworld
2951d16486 💄 Help text color matches regular text 2021-02-20 15:24:09 -05:00
makeworld
c9468c11ef Support sensitive input - fixes #106 2021-02-17 14:48:03 -05:00
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
332aa6af9f 💬 Link to makeworld.space instead of .gq 2021-02-17 12:11:57 -05:00
makeworld
5e889967bc 🐛 Don't break visiting IPv6 hosts when port 1965 is specified
Fixes #195
2021-02-17 09:25:02 -05:00
Peter Steinberg
a378eaf37a
Add more about: pages (#187)
Co-authored-by: makeworld
2021-02-12 21:26:07 -05:00
Thomas Adam
2f23390696
search: trim trailing whitespace (#184)
When amfora is given a string to search, if that string contains a
valid protocol (gemini://), and that string contains trailing
whitespace, then the string is treated as a search term.

Although perhaps slightly more uncommon, if the input string was as a
result of copy/paste then it's possible the string could contain
trailing spaces, which is not what was intended, but rather should be
removed so that it's treated either as a valid gemini:// link or a
search term.

Some efforts around this appeared in #138
2021-02-07 21:52:53 -05:00
makeworld
86bde5ec11 🐛 Handle empty META - fixes #176 2021-02-04 18:06:56 -05:00
Peter Steinberg
972cb366a5
Fix Bookmarks modal not closing on ESC (#173) 2021-02-04 17:30:32 -05:00
Art Barnes
d884e1d161
update help text (#172)
Co-authored-by: Art Barnes <art@pin2.io>
2021-02-02 11:34:55 -05:00
makeworld
1540e4f561 'about:' URLs can now be typed in the bottom bar
Fixes #167
2021-01-11 10:06:21 -05:00
makeworld
bf47a1d57a Support streaming; error if cmd or types are empty 2020-12-24 23:38:12 -05:00
makeworld
41ebf22df8 Keep info modal button selected 2020-12-24 19:27:06 -05:00
makeworld
7c2f59fcdc Merge branch 'master' into mediatype-handlers 2020-12-24 16:40:10 -05:00
makeworld
035fca1208 🐛 Don't use cache when URL is typed in bottom bar
Fixes #159
2020-12-24 16:25:39 -05:00
Jeff
f10337e429
Keybinding system for global keys (#135)
Co-authored-by: makeworld <25111343+makeworld-the-better-one@users.noreply.github.com>
2020-12-24 16:13:38 -05:00
makeworld
c93d09b26b 🐛 Allow search for single word, like before 2020-12-20 22:58:25 -05:00
makeworld
36455e800b 🐛 Make sure file:// dir paths end in slash 2020-12-20 16:58:29 -05:00
makeworld
8ec9bb780c about:version page
Fixes #126
2020-12-20 16:39:33 -05:00
makeworld
a0ae0ca835 New search vs. URL detection logic 2020-12-20 15:13:26 -05:00
makeworld
507c6e8dec 📝 Wiki script, link to wiki on new tab 2020-12-20 00:31:14 -05:00
makeworld
95f077c083 Ability to go back to new tab page 2020-12-19 20:19:47 -05:00
makeworld
ae9bfa5e2b 📌 Use replace for progressbar dep 2020-12-19 20:09:25 -05:00
makeworld
f5063c8424 🚨 Ignore line length in tests 2020-12-19 19:43:54 -05:00
makeworld
8aec339283 Fix invalid URLs, NFC norm., support IDNs
Fixes #138
2020-12-19 19:41:25 -05:00
makeworld
008d713de3 🐛 Handle redirects for subscription URLs
Fixes #144
2020-12-17 21:48:23 -05:00
makeworld
2043ed7212 🚨 Lint fixes 2020-12-17 11:37:48 -05:00
makeworld
90089cba0a 🐛 Downloading re-uses request
Fixes #140
2020-12-17 11:29:03 -05:00
Stephen Robinson
0df5effdcf
Mediatypes support (#134)
Co-authored-by: makeworld <25111343+makeworld-the-better-one@users.noreply.github.com>
Co-authored-by: Stephen Robinson <stephen@drsudo.com>
2020-12-14 14:28:07 -05:00
makeworld
39290b09c6 🐛 Make sub popup accurate when viewing a text feed 2020-12-09 22:52:35 -05:00
makeworld
ecf229d3dc 🚸 Show sub popup even if they're already subbed 2020-12-09 16:00:51 -05:00
makeworld
4a2c7da529 🐛 Don't have a Next Page link on the last subs page 2020-12-07 18:09:10 -05:00
makeworld
ef23d9e45f Logging removed 2020-12-06 21:02:41 -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
a04c281ae0 Revert "🚸 Support numpad enter key"
This reverts commit 4b78a13140.
See #123 for more info on why this was reverted.
2020-11-21 19:35:17 -05:00
makeworld
4b78a13140 🚸 Support numpad enter key 2020-11-21 12:45:54 -05:00
makeworld
8875af6c57 Ask about downloading if user doesn't add feed 2020-11-19 21:14:19 -05:00
makeworld
8ffc0ca29c Refine post prefix logic
Improved for hosted users and feeds with titles and authors.
2020-11-19 12:50:49 -05:00
makeworld
fb8af885ab Fix duplicated bookmarks bug 2020-11-19 11:39:08 -05:00
makeworld
ce81c97def Display paths better, remove more unused content, fix author nil panic 2020-11-19 11:34:10 -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
c72a225a43 🚧 Fix duplicate entries in feed page 2020-11-18 16:10:22 -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
781b89af61 🚧 Allow caching, increase curDay initial" 2020-11-17 11:59:06 -05:00
makeworld
bc4c72bba9 Merge branch 'master' into feeds 2020-11-17 10:45:28 -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
fb47eff23e 🐛 Make .. command work like in v1.4.0 2020-11-04 20:41:09 -05:00
makeworld
b7efbdaeea 🐛 Fixes #81 2020-11-04 20:01:11 -05:00
makeworld
eb10c26599 🐛 Fixes #91 2020-11-04 19:54:58 -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
e6a081000b 🔀 Merge branch 'master' into feeds 2020-10-10 20:11:00 -04:00
makeworld
efc10a2b3e 🐛 Don't allow creation of invalid bkmks - fixes #95 2020-10-01 19:08:26 -04:00
grimmware
391f9bfef0 Remove protocol filter for bookmarking 2020-10-01 21:05:29 +01:00
Alex Wennerberg
cceedfac15
Emoji Favicons (#90) 2020-09-18 17:44:31 -04:00
makeworld
e9204022c6 Merge branch 'master' into feeds 2020-09-16 10:57:10 -04:00
Jansen Price
298034078e Add 'e' keybinding feature to edit current URL 2020-09-05 13:04:55 -05:00
makeworld
0f5458c730 🔀 Merge branch 'master' into feeds 2020-09-01 22:26:34 -04: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
Sotiris Papatheodorou
9d7c7370e0
Custom new tab page (#83) 2020-09-01 13:55:09 -04:00
makeworld
3dfbeb5bda 🐛 Make TOFU warning accurate when proxy enabled 2020-09-01 12:56:44 -04:00
makeworld
d4c23638f1 🐛 Fix date rounding and update time comparison 2020-08-29 20:51:51 -04:00
Jansen Price
6d9b954716
Fixes #55 - ignore navigation keypresses while help is open (#78) 2020-08-29 11:52:25 -04:00
makeworld
5c84991940 🚧 Feeds page rendering fixed, still untested 2020-08-28 19:33:37 -04:00
makeworld
d95963aa62 🚨 Remove nolints for now-disabled check 2020-08-28 12:22:49 -04:00
makeworld
2357e25b07 🚨 Fix lint issues 2020-08-28 12:18:30 -04:00
makeworld
3a63b73300 🔀 Merge branch 'master' into feeds 2020-08-28 12:07:08 -04:00
makeworld
11c3b1fec9 🔥 Use gemini.QueryEscape instead 2020-08-27 20:04:02 -04:00
makeworld
dbe87a3e99 🐛 Recog. colon-only scheme URLs and add normalizeURL tests 2020-08-27 19:57:06 -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