1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -05:00

Add review todos

This commit is contained in:
erik 2023-12-20 11:27:44 +01:00 committed by Michael Jerger
parent 071b47b8d0
commit ff146a9430

View file

@ -3,6 +3,9 @@
package activitypub package activitypub
// ToDo: Fix linting
// ToDo: Maybe do a request for the node info
// Then maybe save the node info in a DB table - this could be useful for validation
import ( import (
"fmt" "fmt"
"io" "io"
@ -177,6 +180,7 @@ func SearchUsersByLoginName(loginName string) ([]*user_model.User, error) {
} }
// ToDo: Maybe use externalLoginUser
func createUserFromAP(ctx *context.APIContext, personId forgefed.PersonId) (*user_model.User, error) { func createUserFromAP(ctx *context.APIContext, personId forgefed.PersonId) (*user_model.User, error) {
// ToDo: Do we get a publicKeyId from server, repo or owner or repo? // ToDo: Do we get a publicKeyId from server, repo or owner or repo?
var actionsUser = user_model.NewActionsUser() var actionsUser = user_model.NewActionsUser()