1
0
mirror of https://github.com/makew0rld/amfora.git synced 2025-02-02 15:07:34 -05:00

57 Commits

Author SHA1 Message Date
Frank Seifferth
1115614463
Use preformatted_text color for rendering plain text files (#351)
Using a color from the theme should make the rendering of text
files be more in line with the colors chosen for styled content.
Furthermore, allowing some form of user override for the color
of plain text files allows users to individually fix bad color
combinations. Such as in my case, where the combination of a
solarized terminal theme and the default color chosen by amfora
causes plain text files to be rendered as white text on an almost
equally bright background.
2024-12-18 16:55:12 -05:00
makeworld
3823a46152 Prevent link lines (and other types) from being wider than the max_width setting
Fixes #280
2021-12-22 19:35:07 -05:00
mntn
77e3dbed87
Add Chroma support for syntax highlighting (#263) 2021-12-10 23:09:31 -05:00
makeworld
61d8645401 Fix color appearing in no color mode
Fixes #278
2021-12-10 11:52:15 -05:00
makeworld
5ed3afcd52 Fix issue from prev commit when color = true 2021-12-03 20:54:53 -05:00
makeworld
b52263c487 Get recent theme changes to work when color = false 2021-12-03 20:52:30 -05:00
makeworld
5098f125a1 Underline non-gemini links for color blind users
Fixes #189
2021-12-03 11:45:36 -05:00
makeworld
d0998128f9 Update cview (bug fix) to simplify ANSI rendering
https://code.rocketnine.space/tslocum/cview/issues/47
2021-05-29 16:02:16 -04:00
regr4
da88c1b20a
fixed issue#234 (#235) 2021-05-06 22:26: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
d58aa83d71 🐛 Escape plaintext documents 2021-03-01 16:07:50 -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
a7f4ab35cb Display page even if mediatype params are malformed
Fixes #141
2021-02-17 14:58:55 -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
86bde5ec11 🐛 Handle empty META - fixes #176 2021-02-04 18:06:56 -05:00
makeworld
193179ad34 🐛 Fix downloading of pages that are too large or timed out 2020-12-24 23:40:55 -05:00
makeworld
9ad3dd82a0 🐛 Empty quote lines don't disappear 2020-12-20 17:52:06 -05:00
makeworld
b6ad49dfb0 Add cache time limit
Fixes #110
2020-12-20 15:54:47 -05:00
makeworld
d0c8184cc0 Merge branch 'master' into feeds 2020-12-06 22:11:05 -05:00
p1gp1g
cafbb5c4c1
show links (#133)
Co-authored-by: pigpig <pigpig@pig.pig>
2020-12-01 14:00:01 -05:00
makeworld
1aeaadbb19 🐛 Support Go 1.13 and 1.14 2020-11-23 21:26:44 -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
makeworld
cf5e65f75a 🚧 Adding & displaying feeds/pages works
See NOTES.md for things still left
2020-11-17 20:56:15 -05:00
makeworld
6993c24470 🔥 Remove unused func 2020-11-04 20:42:30 -05:00
makeworld
819023daec 🐛 Support ANSI color codes in preformatted blocks 2020-11-04 20:31:04 -05:00
Jansen Price
7b27bd02dd
Strip ANSI codes from page based on config - fixes #79 (#86) 2020-09-04 12:42:01 -04:00
makeworld
c0c1ef898c 🐛 Make link colors all purple on proxy pages - fixes #84 2020-09-01 16:41:30 -04:00
makeworld
d95963aa62 🚨 Remove nolints for now-disabled check 2020-08-28 12:22:49 -04:00
makeworld
8371960fd8 🚨 All lint issues should be fixed 2020-08-27 17:57:19 -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
0bc5939600 Emoji favicon support - fixes #62 2020-08-05 13:31:59 -04:00
makeworld
f3b7437046 💄 >9 link texts are in line - fixes #60 2020-08-04 20:44:43 -04:00
makeworld
56a56896c9 Themeing support 2020-07-28 16:58:32 -04:00
makeworld
e740c58ff9 🐛 Catch errors when downloading 2020-07-26 12:12:54 -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
f00fbce7f9 🐛 Fixed link highlighting when wrapped 2020-07-09 15:21:09 -04:00
makeworld
fc11a308f1 💬 Indent bullet lines one more - fixes #40 2020-07-07 21:33:24 -04:00
makeworld
92eb544b0a 🐛 Handle plaintext for dynamic wrapping - fixes #33 2020-07-03 17:28:56 -04:00
makeworld
6a708d339d Change how wrapping works - fixes #32 fixes #35 2020-07-03 14:02:33 -04:00
makeworld
3aff20f43b 🚧 Dynamic wrapping #33
This is the majority of the work for this issue completed.
2020-07-02 23:55:24 -04:00
makeworld
61e54f4b8f Italics for quotes - fixes #28 2020-07-02 14:29:33 -04:00
makeworld
5bb62f7a80 🐛 Use recover() on WordWrap - fixes #20 2020-06-29 12:54:36 -04:00
makeworld
6b1882f1a4 ️ Fix perf on loading long cached pages - #26 2020-06-28 18:09:52 -04:00
makeworld
5c421e8618 💬 Switch to proper unicode bullet 2020-06-27 11:22:45 -04:00
makeworld
bd6daa5a3c 🐛 Fix heading and link styling when color is disabled 2020-06-24 12:01:09 -04:00
makeworld
cfe58cb5f3 Add bookmarks! - fixes #10 fixes #13 2020-06-23 20:07:25 -04:00