1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 13:29:12 -05:00
Commit graph

4435 commits

Author SHA1 Message Date
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
erik
e18e90f8df Add fieldname and type 2024-02-10 15:08:31 +01:00
erik
e8013250b8 Add question 2024-02-10 15:08:23 +01:00
erik
7790e98f47 Remove unused funcs and structs 2024-02-10 15:08:22 +01:00
Michael Jerger
14c74f27cb tests are now working 2024-02-10 15:08:18 +01:00
bom
d28ea1a30b Start implementing UnmarshalJSON for Star 2024-02-10 15:08:15 +01:00
bom
43014ca473 Implement MarshallJSON for Star activity 2024-02-10 15:08:15 +01:00
Michael Jerger
a1885a5767 star: test first 2024-02-10 15:08:13 +01:00