mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-22 09:54:24 +01:00
Add review todos
This commit is contained in:
parent
071b47b8d0
commit
ff146a9430
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue