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

80 Commits

Author SHA1 Message Date
makeworld
08689a400f Bring new master content in line with rendering updates 2021-06-25 19:21:11 -04:00
makeworld
386b585a41 Merge branch 'master' into stream 2021-06-25 19:05:32 -04:00
makeworld
32175a662c Refactor many funcs into methods of tab 2021-06-25 19:03:41 -04:00
David Jimenez
4480e2d540
Render stdin text as Gemtext (#205) (#242) 2021-06-24 23:59:14 -04:00
makeworld
2430cea8a6 Remove Page.Content and use []byte for Page.Raw 2021-05-14 21:00:44 -04:00
makeworld
e3f062e75e Merge branch 'master' into stream 2021-05-14 18:47:43 -04:00
makeworld
ed36eee83c 🐛 Capture all scrolling keys 2021-05-14 18:09:04 -04:00
Anas Mohamed
a3713075dd
Added ability to save about: pages. (#236)
Co-authored-by: makeworld
2021-05-13 16:38:53 -04:00
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
8f216f569b renderer -> render 2021-03-01 15:35:47 -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
180d108827 🔥 Removed favicon support - fixes #199 2021-02-22 17:41:48 -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
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
1540e4f561 'about:' URLs can now be typed in the bottom bar
Fixes #167
2021-01-11 10:06:21 -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
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
95f077c083 Ability to go back to new tab page 2020-12-19 20:19:47 -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
f6e89fdaa1 Switch subscription-based naming 2020-11-27 17:01:29 -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
fb47eff23e 🐛 Make .. command work like in v1.4.0 2020-11-04 20:41:09 -05:00
Jansen Price
298034078e Add 'e' keybinding feature to edit current URL 2020-09-05 13:04:55 -05:00
makeworld
c0c1ef898c 🐛 Make link colors all purple on proxy pages - fixes #84 2020-09-01 16:41:30 -04:00
Sotiris Papatheodorou
9d7c7370e0
Custom new tab page (#83) 2020-09-01 13:55:09 -04:00
Jansen Price
6d9b954716
Fixes #55 - ignore navigation keypresses while help is open (#78) 2020-08-29 11:52:25 -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
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
f22ee7d76c 🎨 Fix comment style and remove reset() 2020-08-18 19:48:10 -04:00
Chloe Kudryavtsev
ef0675fc0b Allow relative URLs in bottom bar 2020-08-18 17:32:53 -04:00
makeworld
5cb629f4c3 F1 & F2 keys for tab nav. - #64 2020-08-06 15:08:19 -04:00
makeworld
70438cfdb5 🔧 Use shift_numbers - #64 2020-08-06 13: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
2d99db371d 🐛 Pressing Esc in bottombar doesn't jump to page beg. 2020-07-28 19:06:00 -04:00
makeworld
0977cabb18 🐛 Stop jumping to top of page
This was a regression, the bug was not present in v1.3.0. This could be due to the cview update?
2020-07-28 18:14:03 -04:00
makeworld
420b8a83a2 🐛 Allow open new tab while loading 2020-07-28 17:16:57 -04:00