mirror of
1
Fork 0
Commit Graph

17804 Commits

Author SHA1 Message Date
erik 33c60ebdff Add logging 2024-04-05 17:06:57 +02:00
Michael Jerger 41f066a1a6 add notes for setup 2024-04-04 18:33:08 +02:00
Michael Jerger 15bb774409 add relation details 2024-04-04 18:05:55 +02:00
Clemens 8d78c3edca make fmt 2024-04-04 15:12:41 +02:00
Clemens b4e6a7ea3f make lint-go-fix 2024-04-04 15:09:40 +02:00
Clemens 92d011f1a5 fix some linting issues 2024-04-04 15:08:02 +02:00
Clemens 976d79044f show apapiurl in repo settings 2024-04-04 08:32:37 +02:00
Clemens 73cf1e3901 Revert "added repoUri to federationService"
This reverts commit 8cd89bf4d3.
2024-04-04 07:22:04 +02:00
Clemens 8cd89bf4d3 added repoUri to federationService
This does not work yet. APAPI url OR host and id have to be derived from repoUri.
2024-04-03 15:39:37 +02:00
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
Clemens d240a9bc90 trim trailing semicolon 2024-04-03 10:25:40 +02:00
Clemens 5671566df6 adjust fed repo splitting 2024-04-03 09:53:19 +02:00
Michael Jerger 7a142c876e remove federated user in case of user deletion 2024-04-02 18:36:22 +02:00
erik 5edf7d0e61 Also trim whitespaces within the list items 2024-04-02 17:33:32 +02:00
Clemens 431b4c2829 optimize function 2024-04-02 12:38:06 +02:00
Clemens 962cd374e2 delete federated repos when deleting repository 2024-04-02 12:36:04 +02:00
Clemens 8b56159042 prevent error when setting no fed repos 2024-04-02 11:13:50 +02:00
Michael Jerger 9212fb1633 feedback from discussion 2024-04-02 09:03:49 +02:00
Michael Jerger b747342672 separate collecting activities from sending them 2024-03-28 16:08:29 +01:00
Clemens 2ad685fd2c fix like target 2024-03-28 15:41:43 +01:00
Michael Jerger e2b11b93bc Merge branch 'forgejo-federated-star' of codeberg.org:meissa/forgejo into forgejo-federated-star 2024-03-28 15:21:40 +01: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
Michael Jerger 992fbf6898 comments 2024-03-28 07:44:22 +01:00
Michael Jerger 259c0202c7 fix test & add some review 2024-03-27 19:56:32 +01:00
Michael Jerger 8eae48761f add some pictures 2024-03-27 19:26:55 +01:00
Michael Jerger e75bcb2f89 rename file 2024-03-27 19:02:37 +01:00
Clemens 97b5e0da91 revise NewForgeLike
Also added new test, which still fails since time.Now() does not match
2024-03-27 16:20:33 +01:00
Clemens 911e916a4f Added new blog post 2024-03-27 11:33:00 +01:00
Clemens a2a5956d79 Added context and choices to new adr 2024-03-27 09:29:23 +01:00
Michael Jerger dd37e3a7b8 wip 2024-03-27 08:25:16 +01:00
Michael Jerger a950ba4631 prepare state of the month 2024-03-27 08:21:44 +01:00
erik 84f73d9db8 Add ToDo 2024-03-26 16:56:06 +01:00
erik 01e9853161 Add ToDo for storing federated repos
We need to check whether federated repos already exist in db. This way multiple repos on a server (forks) can have the same federated repos.
2024-03-26 16:54:55 +01:00
erik 45cddb4ac7 Add logging 2024-03-26 16:53:02 +01:00
erik 436466dcad Check if federation enabled in StarRepo 2024-03-26 16:21:28 +01:00
erik e9bbdc678b Not using object URL 2024-03-26 16:21:09 +01:00
erik 04f907c8c8 Revert 2024-03-26 15:28:55 +01:00
erik 32d457f9a3 StarRepo Wrapper 2024-03-26 15:28:36 +01:00
erik 0b8aa3105c Create object manually 2024-03-26 15:28:11 +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
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