1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00
Commit graph

4442 commits

Author SHA1 Message Date
erik
2e0584bdf3 Clearer error message
"May" is also interchangeable with "could". "Should" fits better in this context.
2024-03-21 15:37:37 +01:00
erik
a02ec0363b Add todo 2024-03-21 14:42:04 +01:00
erik
e4242dafd9 Add Function description 2024-03-21 14:41:11 +01:00
erik
689837b63a Fix typos 2024-03-21 12:59:59 +01:00
erik
f327c0da24 Cap max size of federated repo list at 2048 bytes 2024-03-21 12:18:29 +01:00
erik
13bf84e89e Implent checking for list of repos 2024-03-20 16:12:20 +01:00
erik
584af0486d Add Federation specific URL validation 2024-03-20 13:13:23 +01:00
erik
a6d45f8b97 Implement FederationEnabled function for templates 2024-03-19 11:56:25 +01:00
Michael Jerger
eecb9b8040 fmt fix 2024-02-10 15:22:30 +01:00
Michael Jerger
3ef57385ec fix linting 2024-02-10 15:21:22 +01:00
Michael Jerger
3b244d673b small fixes 2024-02-10 15:21:17 +01:00
Michael Jerger
b2cc848e7d clean up aliases 2024-02-10 15:20:48 +01:00
Michael Jerger
e733809ef2 symetric handling for value/reference 2024-02-10 15:20:33 +01:00
Michael Jerger
91f7541add refactor for semantic and cycle free deps 2024-02-10 15:20:17 +01:00
Clemens
67f3f66be4 Created FederatedUser 2024-02-10 15:19:36 +01:00
Michael Jerger
1b35bd2911 lint fix 2024-02-10 15:18:46 +01:00
Michael Jerger
9a9ac33766 lint fix 2024-02-10 15:18:44 +01:00
Michael Jerger
bbccc24ed1 test federationinfo validation 2024-02-10 15:18:32 +01:00
Clemens
9c37272ee9 make validateNotEmpty more generic 2024-02-10 15:18:30 +01:00
Michael Jerger
8610d94af8 start work on federationinfo 2024-02-10 15:18:29 +01:00
bom
12558d62c8 Remove MaxConnsPerHost limit for outgoing connections 2024-02-10 15:18:28 +01:00
bom
87bfa79f71 Configure client against DOS 2024-02-10 15:18:25 +01:00
Michael Jerger
8116214727 introduce nodeinfo 2024-02-10 15:17:07 +01:00
Michael Jerger
587bd07372 mv more fkt to http-client 2024-02-10 15:17:06 +01:00
Michael Jerger
3c2493902d adjust to ugly linting 2024-02-10 15:17:05 +01:00
erik
1e40b814a1 Linting 2024-02-10 15:17:03 +01:00
Michael Jerger
a64ce2feb1 removed resolved todos 2024-02-10 15:17:02 +01:00
erik
2e031a9763 WIP Generic IsValid for *Id structs 2024-02-10 15:17:01 +01:00
Michael Jerger
6e4467d49d experiment on generalization 2024-02-10 15:16:59 +01:00
erik
48cfb521d1 Add suffix checking helper 2024-02-10 15:16:58 +01:00
Michael Jerger
44e10ed65a get wo body 2024-02-10 15:14:24 +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
3151c8fe81 make validate more compact 2024-02-10 15:10:37 +01:00
Michael Jerger
6fef54ed1c there is a validation module 2024-02-10 15:10:34 +01:00
erik
3c515c2614 Add review todos 2024-02-10 15:10:33 +01:00
erik
c61be31c72 Remove redundant person implementation 2024-02-10 15:09:53 +01:00
erik
7071117864 Implement Person creation 2024-02-10 15:09:36 +01:00
erik
7529b9da91 Note ToDos for setting up useful tests 2024-02-10 15:09:33 +01:00
erik
4b490802d7 Test creation of client only 2024-02-10 15:09:32 +01:00
erik
61afc65377 Implement Get method on Client struct 2024-02-10 15:09:31 +01:00
erik
56d11bbff4 Don't hardcode method in NewRequest function 2024-02-10 15:09:31 +01:00
erik
93d79646de Fix api url 2024-02-10 15:09:30 +01:00
erik
43ac3ddca9 Remove star validation as it happens in actor validation now 2024-02-10 15:09:29 +01:00
Michael Jerger
109dbd7d75 swager generated api 2024-02-10 15:09:16 +01:00
Michael Jerger
07bd30cf20 exosy has moved this package to service 2024-02-10 15:09:16 +01:00
erik
b1f3706575 Introduce validation against source 2024-02-10 15:09:05 +01:00
erik
b085ce37a6 Review 2024-02-10 15:08:40 +01:00
erik
d2b464582f Add ToDo 2024-02-10 15:08:34 +01:00