Commit Graph

163 Commits

Author SHA1 Message Date
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