1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 12:59:11 -05:00
Commit graph

4134 commits

Author SHA1 Message Date
Clemens
bbe5096307 fixed circular dependencies
next: fix post call error
2024-03-26 14:02:30 +01:00
Clemens
7f0371056e moved functionality
import of forgefed causes circular dependencies. This has to be solved!
2024-03-26 10:23:14 +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
Michael Jerger
5b8173f660 do not return invalid result 2024-03-26 07:36:09 +01:00
erik
6d814447d0 Use Plural 2024-03-25 16:52:39 +01:00
erik
653ced5596 Validate before returning 2024-03-25 16:47:18 +01:00
erik
35d3fc199c Rename to StoreFederatedRepo* 2024-03-25 16:35:35 +01:00
erik
ca7d1c6f78 Localize error messages 2024-03-25 16:30:02 +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
950dcd959e implement storage of federated_repo 2024-03-22 20:14:20 +01:00
erik
6b767684a7 Add discussion ToDo 2024-03-22 17:51:20 +01:00
erik
36c0c1c3c1 Add DB functionality for federated repos 2024-03-22 17:41:59 +01:00
Michael Jerger
508b4deac8 add test & fix compile 2024-03-22 08:37:06 +01:00
Michael Jerger
9ccad50b05 review 2024-03-22 07:52:03 +01:00
erik
0c6c43003c Implement getting APAPIURL for repo and user 2024-03-21 16:27:35 +01:00
erik
ed256ca540 Implement NewForgeLike 2024-03-21 16:27:08 +01:00
Michael Jerger
b4bb41e0e3 introduce federated repo 2024-03-21 08:25:40 +01:00
erik
884e38bdab WIP Implement proper saving of federated repo urls
Added ToDos where relevant
2024-03-19 15:29:37 +01:00
Michael Jerger
9dcdf8d828 Locales, field & action 2024-03-16 12:46:43 +01:00
Clemens
db2f896264 small fix by adding id as pk for FederatedUser 2024-02-13 11:09:31 +01:00
Michael Jerger
181d743a8a update copyright 2024-02-12 10:14:29 +01:00
Michael Jerger
6d17f45986 fix misspell 2024-02-10 15:22:38 +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
e733809ef2 symetric handling for value/reference 2024-02-10 15:20:33 +01:00
Michael Jerger
d2d5e84977 federated user is not entity - so no need for ID 2024-02-10 15:20:26 +01:00
Michael Jerger
91f7541add refactor for semantic and cycle free deps 2024-02-10 15:20:17 +01:00
Michael Jerger
66bc7a9a0c Search federatedUser instead of loginName 2024-02-10 15:20:09 +01:00
Michael Jerger
e44be72251 Add tx around user creation 2024-02-10 15:20:01 +01:00
Michael Jerger
edf7f61b83 mv federated_user_creation to user package 2024-02-10 15:19:55 +01:00
Clemens
e180467760 added user creation from ap 2024-02-10 15:19:47 +01:00
Michael Jerger
a702da69cc added test for federated user 2024-02-10 15:19:40 +01:00
Clemens
67f3f66be4 Created FederatedUser 2024-02-10 15:19:36 +01:00
Michael Jerger
5a7f6f15a6 ensure federation info fqdn to lowercase 2024-02-10 15:19:08 +01:00
Michael Jerger
c58a995fb2 refactor FederationInfo -> FederationHost 2024-02-10 15:18:56 +01:00
Michael Jerger
0453598e3d add some todos 2024-02-10 15:18:51 +01:00
Michael Jerger
0ddc2db46a mitigate Block by future StartTime 2024-02-10 15:18:46 +01:00
Michael Jerger
1b35bd2911 lint fix 2024-02-10 15:18:46 +01:00
Michael Jerger
c4eb763f4a lint fix 2024-02-10 15:18:45 +01:00
Michael Jerger
9a9ac33766 lint fix 2024-02-10 15:18:44 +01:00
Michael Jerger
ca5eaa8c6b introduce FI Factory 2024-02-10 15:18:43 +01:00
Michael Jerger
dabd773f6b Fix error handling & add timestamp check 2024-02-10 15:18:43 +01:00
Clemens
7d30d14c76 breaking struct adjustment 2024-02-10 15:18:42 +01:00
Clemens
1f989f2ecd Added FederationInfo Create function 2024-02-10 15:18:41 +01:00
Michael Jerger
380d3db0bf integrate federation info in api call 2024-02-10 15:18:40 +01:00
Clemens
52400f7978 Added FederationInfo get methods for repository 2024-02-10 15:18:37 +01:00
Michael Jerger
bbccc24ed1 test federationinfo validation 2024-02-10 15:18:32 +01:00