1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-06-27 19:55:23 +00:00
Commit Graph

6 Commits

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