Work on AP-ing media and extending likes and whatnot
All checks were successful
/ docker (push) Successful in 1m56s

Also added two fields to roles model, but haven't ran the various
generators yet
This commit is contained in:
Melody Becker 2025-06-18 17:01:31 +02:00
parent 1fcf47bffc
commit 81a01fbf8b
Signed by: mstar
SSH key fingerprint: SHA256:9VAo09aaVNTWKzPW7Hq2LW+ox9OdwmTSHRoD4mlz1yI
10 changed files with 59 additions and 4 deletions

View file

@ -1 +1,5 @@
package activitypub
import "net/http"
func activityLike(w http.ResponseWriter, r *http.Request) {}

View file

@ -0,0 +1,5 @@
package activitypub
import "net/http"
func objectEmote(w http.ResponseWriter, r *http.Request) {}

View file

@ -16,7 +16,9 @@ func BuildActivitypubRouter() http.Handler {
router.HandleFunc("GET /activity/reject/{id}", activityReject)
router.HandleFunc("GET /activity/update/{id}", activityUpdate)
router.HandleFunc("GET /activity/follow/{id}", activityFollow)
router.HandleFunc("GET /activity/like/{id}", activityLike)
router.HandleFunc("GET /note/{id}", objectNote)
router.HandleFunc("GET /note/{id}/reactions", noteReactions)
router.HandleFunc("GET /emote/{id}", objectEmote)
return router
}