Commit graph

4460 commits

Author SHA1 Message Date
Clemens
2b7a22afb3 renamed FederatedRepo to FollowingRepo 2024-04-03 12:26:33 +02:00
erik
daccaed157 Rename federatedRepo to followingRepo 2024-04-03 12:08:44 +02:00
Michael Jerger
fc8e2b3f8a Merge branch 'forgejo-federated-star' of codeberg.org:meissa/forgejo into forgejo-federated-star 2024-03-28 15:05:35 +01:00
Michael Jerger
4d5c8b5563 refactor services 2024-03-28 15:00:55 +01:00
Clemens
7f19247b0a Moved sendLikeActivities to federation_service 2024-03-28 14:27:50 +01:00
Clemens
1ad7bdf983 fixed tests
part1, one test still failing
2024-03-28 09:36:08 +01:00
Michael Jerger
d624ebb712 use doer coming from api 2024-03-28 08:13:00 +01:00
erik
45cddb4ac7 Add logging 2024-03-26 16:53:02 +01:00
Clemens
d251fc2611 set federatedRepoList into context 2024-03-26 08:28:22 +01:00
Michael Jerger
cf8a30efac mob-next: how to store port & schema 2024-03-26 07:58:04 +01:00
erik
6d814447d0 Use Plural 2024-03-25 16:52:39 +01:00
erik
35d3fc199c Rename to StoreFederatedRepo* 2024-03-25 16:35:35 +01:00
Michael Jerger
828e7a76f6 use new table to populate settings 2024-03-25 09:15:32 +01:00
Michael Jerger
a9d18e5327 fixed issues, store now works 2024-03-23 17:01:25 +01:00
Michael Jerger
ce317c33cb fix context 2024-03-23 15:27:45 +01:00
Michael Jerger
950dcd959e implement storage of federated_repo 2024-03-22 20:14:20 +01:00
erik
0f9d1c80be Implement CreateFederatedRepoList 2024-03-22 17:44:27 +01:00
Michael Jerger
9ccad50b05 review 2024-03-22 07:52:03 +01:00
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