Michael Jerger
|
9633a2005a
|
add a sql injection threat
|
2024-02-10 15:14:17 +01:00 |
|
Michael Jerger
|
bad8e04c3c
|
cleanup & minor refactorings
|
2024-02-10 15:14:15 +01:00 |
|
Michael Jerger
|
3172eb69d2
|
introduce RepositoryId
|
2024-02-10 15:14:08 +01:00 |
|
Michael Jerger
|
1fe35e14a5
|
mv our actor code to forgefed
|
2024-02-10 15:14:07 +01:00 |
|
Michael Jerger
|
abdf56dde1
|
move forgefed to models
|
2024-02-10 15:14:06 +01:00 |
|
Michael Jerger
|
0b2cf2a55b
|
remov unused experiments
|
2024-02-10 15:10:40 +01:00 |
|
Michael Jerger
|
184388015d
|
added more tests
|
2024-02-10 15:10:39 +01:00 |
|
Michael Jerger
|
b5a467e94d
|
remove unused & implement webfinger
|
2024-02-10 15:10:38 +01:00 |
|
Michael Jerger
|
73a38ea0d1
|
use new factory function
|
2024-02-10 15:10:38 +01:00 |
|
Michael Jerger
|
e8371ca94c
|
ActorId -> PersonId
|
2024-02-10 15:10:37 +01:00 |
|
Michael Jerger
|
3151c8fe81
|
make validate more compact
|
2024-02-10 15:10:37 +01:00 |
|
Michael Jerger
|
be4d3544ae
|
Refactor ActorID -> ActorId
|
2024-02-10 15:10:36 +01:00 |
|
Michael Jerger
|
7c86f13728
|
make route more compact
|
2024-02-10 15:10:36 +01:00 |
|
Michael Jerger
|
afcc7f0def
|
factory instead of parse & validate
|
2024-02-10 15:10:35 +01:00 |
|
Michael Jerger
|
6fef54ed1c
|
there is a validation module
|
2024-02-10 15:10:34 +01:00 |
|
erik
|
a10a9141f8
|
Remove useless call to repo, add todos
|
2024-02-10 15:10:34 +01:00 |
|
erik
|
3c515c2614
|
Add review todos
|
2024-02-10 15:10:33 +01:00 |
|
erik
|
22d71e6b30
|
Update ToDo
|
2024-02-10 15:10:33 +01:00 |
|
erik
|
afe659f9f4
|
Implement 5s waiting
|
2024-02-10 15:10:32 +01:00 |
|
erik
|
745598bba4
|
Implement starring
|
2024-02-10 15:10:29 +01:00 |
|
erik
|
976256bf3d
|
Refactor if conditional to switch, use split up functions
|
2024-02-10 15:10:28 +01:00 |
|
erik
|
75ee273f40
|
Split user creation and saving user to db
|
2024-02-10 15:10:27 +01:00 |
|
erik
|
7f4667696f
|
Cleanup imports
|
2024-02-10 15:10:25 +01:00 |
|
erik
|
6ad52a6d67
|
Update tests
|
2024-02-10 15:10:24 +01:00 |
|
erik
|
25d34e0c14
|
Check for empty path in IRI
|
2024-02-10 15:10:22 +01:00 |
|
erik
|
f84e0b27e1
|
Use ValidateAndParseIRI, pass this to ParseActorID
|
2024-02-10 15:10:21 +01:00 |
|
erik
|
fa1acd1ebb
|
Extract url string validation and parsing from ActorID parsing
|
2024-02-10 15:10:19 +01:00 |
|
erik
|
4d3ab4dda2
|
Update Validate()
|
2024-02-10 15:10:19 +01:00 |
|
erik
|
39d4c8dd2d
|
Generalize validate_is_not_empty
|
2024-02-10 15:10:17 +01:00 |
|
erik
|
085db0c127
|
Remove todo
|
2024-02-10 15:10:16 +01:00 |
|
erik
|
54ef78034e
|
Don't parse received repoID
|
2024-02-10 15:10:15 +01:00 |
|
erik
|
e3defaa212
|
Split getPersonByRest function
This leaves us with two easier to read functions, encapsulating
two different functionalities.
|
2024-02-10 15:10:14 +01:00 |
|
erik
|
bdddde8b68
|
Fix erroneous param and deprecated --name
|
2024-02-10 15:10:14 +01:00 |
|
Michael Jerger
|
28a290da10
|
reviewed current work
|
2024-02-10 15:10:13 +01:00 |
|
erik
|
02dc8901af
|
Fix tests
|
2024-02-10 15:10:13 +01:00 |
|
erik
|
68cd621053
|
Test for empty string
|
2024-02-10 15:10:12 +01:00 |
|
erik
|
d27cac5bae
|
Move federated user creation to func
|
2024-02-10 15:10:11 +01:00 |
|
erik
|
01506f9836
|
Clearer description
|
2024-02-10 15:10:11 +01:00 |
|
erik
|
77b6402e77
|
Add missing error treatment
|
2024-02-10 15:10:10 +01:00 |
|
erik
|
946e5cf34c
|
Remove typo in func
|
2024-02-10 15:10:10 +01:00 |
|
erik
|
c0f1681fa3
|
Allow parsing of repository-id too
|
2024-02-10 15:10:09 +01:00 |
|
erik
|
4f25e5057a
|
Make the source an argument to the parser
|
2024-02-10 15:10:08 +01:00 |
|
erik
|
2fb893843b
|
Move getting person to own function
|
2024-02-10 15:10:08 +01:00 |
|
erik
|
6d143e74cf
|
More clear distinction between sender and receiver of star
|
2024-02-10 15:10:07 +01:00 |
|
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
|
ed1af14ceb
|
Panic on error, use correct function names
|
2024-02-10 15:10:04 +01:00 |
|
erik
|
9dcbe0177e
|
Rename targe to remoteStargazer
|
2024-02-10 15:10:03 +01:00 |
|