Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-29 21:26:10 +01:00
Commit graph

21 commits

Author SHA1 Message Date
erik 52e950a492 Check the path for empty strings 2024-02-10 15:10:06 +01:00
erik 65f7124c67 Use u.Hostname() instead of u.Host
u.Host returns hostname:port.
2024-02-10 15:10:05 +01:00
erik 27c9db1027 Better function descriptions 2024-02-10 15:10:05 +01:00
Michael Jerger 9b5d8bbeda If we use user.loginname to store the actor.id we can search for local users earlier 2024-02-10 15:10:04 +01:00
erik fde8de4f90 Rename to ParseActorIDFromStarActivity 2024-02-10 15:09:35 +01:00
erik ede86df685 Remove todo 2024-02-10 15:09:34 +01:00
erik 8a53331283 Add ToDo 2024-02-10 15:09:30 +01:00
erik 566b3bc459 Parse Actor from star activity, Update function declaration order 2024-02-10 15:09:28 +01:00
erik 3a938b6c3f Use and validate source in ActorID struct 2024-02-10 15:09:28 +01:00
erik fccf5c37ca Add IsValid and PanicIfInvalid methods for ActorID 2024-02-10 15:09:26 +01:00
erik 8300d3fbde Add ToDos from code review 2024-02-10 15:09:25 +01:00
erik 91baf2be32 Add get functions for userId and HostAndPort 2024-02-10 15:09:23 +01:00
erik 8657f70960 Add todo 2024-02-10 15:09:21 +01:00
erik 62eae6564f Fix bug in validation 2024-02-10 15:09:20 +01:00
erik d205c50a43 Implement generic validation on ActorID 2024-02-10 15:09:19 +01:00
erik 7b5d13a625 Split check for schema and host 2024-02-10 15:09:19 +01:00
erik 3d2b5115ad Implement and use Validatable interface 2024-02-10 15:09:18 +01:00
erik 235ed7cd1e Rename to actorID 2024-02-10 15:09:18 +01:00
Michael Jerger fbff67f11a add some more todos 2024-02-10 15:09:09 +01:00
erik 78fc75135f Rename to ActorData 2024-02-10 15:09:04 +01:00
erik 09058c13c5 Rename to actor 2024-02-10 15:09:01 +01:00
Renamed from models/activitypub/parser.go (Browse further)