mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-21 21:27:13 +00:00
adjust urls to changed username
This commit is contained in:
parent
a08e435a1e
commit
5ef823e3af
|
@ -5,7 +5,7 @@ In addition we fixed some bugs, made error responses more meaningful, improved s
|
|||
|
||||
Reply attacks we now mitigate in our k8s ingress. Find the code in our [PR for c4k-forgejo](https://repo.prod.meissa.de/meissa/c4k-forgejo/pulls/3).
|
||||
|
||||
At https://federated-repo.prod.meissa.de/buero/star-me you can try out the current code the same way as described above with the following activity (maybe find an unused user by alternating the actors user-id).
|
||||
At https://federated-repo.prod.meissa.de/me/star-me you can try out the current code the same way as described above with the following activity (maybe find an unused user by alternating the actors user-id).
|
||||
|
||||
``` json
|
||||
{
|
||||
|
@ -25,7 +25,7 @@ In case of interest find the current roadmap at: https://codeberg.org/forgejo/fo
|
|||
|
||||
Hey, we ar on our way to implement federated stars. We created a test instance to show the new feature - an now you can test federation live :-)
|
||||
|
||||
1. **The repo** ready to receive your star is located at: https://federated-repo.prod.meissa.de/buero/star-me
|
||||
1. **The repo** ready to receive your star is located at: https://federated-repo.prod.meissa.de/me/star-me
|
||||
2. **Post a star activity** at: https://federated-repo.prod.meissa.de/api/swagger#/activitypub/activitypubRepository & press the `Try It Out`` button. The input can look like: ![star-via-api.png](star-via-api.png)
|
||||
3. Put "1" in to the repo & add the following payload
|
||||
``` json
|
||||
|
@ -38,7 +38,7 @@ Hey, we ar on our way to implement federated stars. We created a test instance t
|
|||
}
|
||||
```
|
||||
4. As every user can only put one star, we created 12 users for your experiment on our instance `"actor": "https://federated-repo.prod.meissa.de/api/v1/activitypub/user-id/2-13",`. But if you are on a forgejo instance having active `activitypub/user-id` api you can insert also your foreign-instance-user-uri here.
|
||||
5. Press execute & visit again the repo (https://federated-repo.prod.meissa.de/buero/star-me) and enjoy your star :-) ![find-your-new-star](find-your-new-star.png)
|
||||
5. Press execute & visit again the repo (https://federated-repo.prod.meissa.de/me/star-me) and enjoy your star :-) ![find-your-new-star](find-your-new-star.png)
|
||||
|
||||
At the moment we discuss threats arising by this feature. If you are interested we will be happy to get your 2 cents here: https://codeberg.org/forgejo/forgejo/issues/1854
|
||||
|
||||
|
|
Loading…
Reference in a new issue