Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-29 13:16:10 +01:00
Commit graph

4550 commits

Author SHA1 Message Date
Michael Jerger 4d5c8b5563 refactor services 2024-03-28 15:00:55 +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 04f907c8c8 Revert 2024-03-26 15:28:55 +01:00
erik b2105de36f SendLikeActivity to api
It might not be a good idea to start a possibly long lasting http call during a running DB transaction. I.E. in the case of failing transaction we already sent some data into the world which might not be valid.
2024-03-26 14:39:25 +01:00
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
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 950dcd959e implement storage of federated_repo 2024-03-22 20:14:20 +01:00
erik 0f27f0a05b Add discussion ToDo 2024-03-22 17:49:29 +01:00
erik 288dda282c Add more ToDos 2024-03-22 17:41:36 +01:00
Michael Jerger 4938d38e39 more review 2024-03-22 08:08:54 +01:00
Michael Jerger 9ccad50b05 review 2024-03-22 07:52:03 +01:00
erik 3e6eb255b3 WIP Initial, naive implementation of sending stars to fed repos
Currently no rate limits are respected
The mechanisms to use the Federated repo table need to be used
2024-03-21 16:29:13 +01:00
erik 84f2aab570 Add todo 2024-03-21 14:42:38 +01:00
erik 42a41ce2bc Remove todo 2024-03-21 14:42:16 +01:00
erik f327c0da24 Cap max size of federated repo list at 2048 bytes 2024-03-21 12:18:29 +01:00
erik 6055b4fca0 Add todo 2024-03-21 11:42:12 +01:00
erik d1190423bb Implement single Repo validation and saving POC 2024-03-20 13:21:17 +01:00
Michael Jerger 41da150fb3 add review comment 2024-03-19 19:28:33 +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 6901ae4b99 wip: found backend for settings update 2024-03-19 08:29:57 +01:00
Clemens 2e41fe0a46 fix import 2024-02-12 13:00:47 +01:00
Michael Jerger 6e6813a88b make operatorid unique 2024-02-10 15:23:04 +01:00
Michael Jerger eecb9b8040 fmt fix 2024-02-10 15:22:30 +01:00
Michael Jerger 5fa62287d6 undo rebase conflicts 2024-02-10 15:21:45 +01:00
Michael Jerger 3ef57385ec fix linting 2024-02-10 15:21:22 +01:00
Michael Jerger b2cc848e7d clean up aliases 2024-02-10 15:20:48 +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 edf7f61b83 mv federated_user_creation to user package 2024-02-10 15:19:55 +01:00
Michael Jerger a702da69cc added test for federated user 2024-02-10 15:19:40 +01:00
Michael Jerger a1ca7e958a use local fqdn for generated user email 2024-02-10 15:19:09 +01:00
Michael Jerger c58a995fb2 refactor FederationInfo -> FederationHost 2024-02-10 15:18:56 +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 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
Michael Jerger 40ec049013 add the next todo 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
bom 87bfa79f71 Configure client against DOS 2024-02-10 15:18:25 +01:00
Michael Jerger ecf391dcbf add some user creation unittests 2024-02-10 15:17:24 +01:00
Michael Jerger de2569618c fix: wmail should start with char 2024-02-10 15:17:23 +01:00
Michael Jerger 6e46739090 validate person 2024-02-10 15:17:14 +01:00
Michael Jerger 0505baab2b ad validation for like activity 2024-02-10 15:17:13 +01:00
Michael Jerger 3ab2d9a449 rename star -> ForgeLike 2024-02-10 15:17:12 +01:00
Michael Jerger 4473fb788a start refactoring star->like 2024-02-10 15:17:11 +01:00
Michael Jerger b2a9b53041 use nodeInfo.Source instead of startActivity.Source 2024-02-10 15:17:07 +01:00