activity: route to show activity activity log

filterable by type, sortable by time, and paginated.
This commit is contained in:
Harvey Tindall
2023-10-19 22:10:42 +01:00
parent 9d1c7bba6f
commit df1581d48e
5 changed files with 171 additions and 0 deletions

View File

@@ -232,6 +232,8 @@ func (app *appContext) loadRoutes(router *gin.Engine) {
api.DELETE(p+"/profiles/referral/:profile", app.DisableReferralForProfile)
}
api.GET(p+"/activity", app.GetActivities)
if userPageEnabled {
user.GET("/details", app.MyDetails)
user.POST("/contact", app.SetMyContactMethods)