all repos — honk @ 40a147c639c07c66917e8c63159ce3d30b4ae64a

my fork of honk

add some pages missing from api
Ted Unangst tedu@tedunangst.com
Fri, 02 Feb 2024 14:26:49 -0500
commit

40a147c639c07c66917e8c63159ce3d30b4ae64a

parent

050fbd39f70c48816e8250002c5e0e7a3a9583be

1 files changed, 15 insertions(+), 0 deletions(-)

jump to
M web.goweb.go

@@ -2592,6 +2592,21 @@ honks = osmosis(honks, userid, true)

case "myhonks": honks = gethonksbyuser(u.Username, true, wanted) honks = osmosis(honks, userid, true) + case "saved": + honks = getsavedhonks(userid, wanted) + case "combo": + c := r.FormValue("c") + honks = gethonksbycombo(userid, c, wanted) + honks = osmosis(honks, userid, false) + case "convoy": + c := r.FormValue("c") + honks = gethonksbyconvoy(userid, c, 0) + honks = osmosis(honks, userid, false) + honks = threadsort(honks) + honks, _ = threadposes(honks, wanted) + case "honker": + xid := r.FormValue("xid") + honks = gethonksbyxonker(userid, xid, wanted) default: http.Error(w, "unknown page", http.StatusNotFound) return