Commit graph

18174 commits

Author SHA1 Message Date
erik
e2c9653b33 Update go version and protobuf deps 2024-04-09 12:47:26 +02:00
erik
2b9977d843 Linting 2024-04-09 11:46:11 +02:00
erik
511ef0bf5b Use federated staring func 2024-04-09 11:24:22 +02:00
erik
8579b7f7bb Use optional.Some 2024-04-09 11:21:57 +02:00
erik
97343470bc Merge branch 'forgejo' into forgejo-federated-star 2024-04-09 10:42:42 +02:00
Michael Jerger
213fc3a97d Merge branch 'forgejo-federated-star' of codeberg.org:meissa/forgejo into forgejo-federated-star 2024-04-06 10:59:41 +02:00
Michael Jerger
c908455998 fix multiple federation in one host 2024-04-06 10:59:36 +02:00
erik
765298814c Add ToDo 2024-04-05 17:07:04 +02:00
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