Commit Graph

13 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
6e3e8a0584 🐛 Don't crash if subbed page matches user dir pattern but doesn't have more
Fixes #157
2020-12-23 23:57:18 -05:00
makeworld
d7d7c3054e 🚑 Don't panic when adding a feed/page for the first time
Fixes #151
2020-12-21 12:42:43 -05:00
makeworld
bd7bb5f9f0 🚨 Use err from AddPage 2020-12-18 16:30:06 -05:00
makeworld
008d713de3 🐛 Handle redirects for subscription URLs
Fixes #144
2020-12-17 21:48:23 -05:00
makeworld
8672b78d69 🐛 Detect feed for any XML file 2020-12-17 12:00:34 -05:00
makeworld
ecf229d3dc 🚸 Show sub popup even if they're already subbed 2020-12-09 16:00:51 -05:00
makeworld
dd65368976 Lint fixes 2020-12-06 22:15:24 -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
71be668652 Prevent potential nil error on timestamps 2020-11-27 17:52:36 -05:00
makeworld
f6e89fdaa1 Switch subscription-based naming 2020-11-27 17:01:29 -05:00