federated-star #1680

Merged
earl-warren merged 526 commits from meissa/forgejo:forgejo-federated-star into forgejo 2024-06-06 06:36:39 +00:00
Member

Now you are able to federate the star action with repositories following your fork / mirror repository.

Doing so it will be no longer important at which instance of your honoring work the users express they like it.
All repository instances now are building a community of staring :-)

To test this feature you need to

  1. adjust your config to setting.Federation.Enabled = true
  2. declare the repos should follow yours. E.g. on a mirror the mirror end can declare the origin to follow.

Every new star on your mirror instance now will federate the star action to your origin also.

At https://domaindrivenarchitecture.org/posts/2024-06-05-howto-federated-stars/ you can find a small howto for this feature.

TODOs:
(/) provide first prototype
(/) use NodeInfo instead of source attribute
(/) cache NodeInfo localy & add some threat mitigations (DOS-by-Rate, Replay-*, SlowLories)
(/) find a better mapping for federated users (externalLoginUser ?)
(/) UI star triggers a federated Like Activity (in case of mirrored repos?)
(/) Do a first MergeRequest
(/) Provide a feature-usage howto

Expect this in a followup MR
(-) introduce signature-handling
(-) implement Unlike

Architecture, security & decisions:

Now you are able to federate the star action with repositories following your fork / mirror repository. Doing so it will be no longer important at which instance of your honoring work the users express they like it. All repository instances now are building a community of staring :-) To test this feature you need to 1. adjust your config to `setting.Federation.Enabled = true` 2. declare the repos should follow yours. E.g. on a mirror the mirror end can declare the origin to follow. Every new star on your mirror instance now will federate the star action to your origin also. At https://domaindrivenarchitecture.org/posts/2024-06-05-howto-federated-stars/ you can find a small howto for this feature. TODOs: (/) provide first prototype (/) use NodeInfo instead of source attribute (/) cache NodeInfo localy & add some threat mitigations (DOS-by-Rate, Replay-*, SlowLories) (/) find a better mapping for federated users (externalLoginUser ?) (/) UI star triggers a federated Like Activity (in case of mirrored repos?) (/) Do a first MergeRequest (/) Provide a feature-usage howto Expect this in a followup MR (-) introduce signature-handling (-) implement Unlike Architecture, security & decisions: * General Feedback & Ideas: https://codeberg.org/forgejo/forgejo/issues/2000 * Threat-Analysis: https://codeberg.org/forgejo/forgejo/issues/1854 * ADR about mapping of federated users: https://codeberg.org/forgejo/docs/src/branch/next/docs/developer * ADR about "Who should trigger an Activity": https://codeberg.org/forgejo/discussions/issues/143 * Federation related architecture: https://codeberg.org/forgejo/docs/src/branch/next/docs/developer
jerger added 50 commits 2023-10-27 11:55:01 +00:00
[CI] Revert "Restrict `[actions].DEFAULT_ACTIONS_URL` to only `github` or `self` (#25581)"

This reverts commit 67bd9d4f1e.

(cherry picked from commit 0547e94023)
(cherry picked from commit d21ad654ad)
(cherry picked from commit b905e9d838)
(cherry picked from commit 251a5bf235b1723bc2bc324f9e8c03a8668bb5ae)
(cherry picked from commit b370e47694)
(cherry picked from commit 2cc28d0785)
(cherry picked from commit ed870a39e9)
(cherry picked from commit 7bb0c4654e)
(cherry picked from commit bab1f552c3)

Conflicts:
	custom/conf/app.example.ini
	modules/setting/actions.go
	#1413

[CI] DEFAULT_ACTIONS_URL = https://codeberg.org

(cherry picked from commit 52b364ddbd)
(cherry picked from commit 99887cd567)
(cherry picked from commit cd5788782a)
(cherry picked from commit 71c698a704)
(cherry picked from commit 71386241dd)
(cherry picked from commit b7ab05aeac)
(cherry picked from commit e78b9ca59c)
(cherry picked from commit edb3adf460)
(cherry picked from commit 3e40088197)

[BRANDING] DEFAULT_ACTIONS_URL = https://code.forgejo.org

(cherry picked from commit d0e4512c90)
(cherry picked from commit 8ba6e04709)
(cherry picked from commit 6349081044)
(cherry picked from commit e06bd44495)
(cherry picked from commit d58219d8e1)
(cherry picked from commit 052f2c2aa4)
(cherry picked from commit 29dc395386)
(cherry picked from commit 9eef3f59f3)
(cherry picked from commit d650391fed)
(cherry picked from commit c2e6e8c55d)
(cherry picked from commit e28a47741d)

[CI] DEFAULT_ACTIONS_URL support for self & github (squash)

Refs: #1062
(cherry picked from commit 74cc25376e)
(cherry picked from commit 405430708f)
(cherry picked from commit 0274a6dee7f383bcd6b65b995b991b5ab0ee635a)
(cherry picked from commit be5cda0fd0)
(cherry picked from commit d27474849f)
(cherry picked from commit 4a5e9e2d81)
(cherry picked from commit 65b31906b2)
(cherry picked from commit 13cf0b0963)

Conflicts:
	custom/conf/app.example.ini
	modules/setting/actions.go
	#1413
(cherry picked from commit 49529badce)

Conflicts:
	custom/conf/app.example.ini
	docs/content/administration/config-cheat-sheet.en-us.md
	modules/setting/actions.go
	#1460
(cherry picked from commit 00327b9b1f)
(cherry picked from commit 3b322e43d5)
(cherry picked from commit 492cc52059)

Conflicts:
	modules/setting/actions.go
	#1573
(cherry picked from commit 9027b655df)
(cherry picked from commit 2555e315f7)
(cherry picked from commit 51b9c9092e)

[CLI] implement forgejo-cli (squash) support initDB

(cherry picked from commit 5c31ae602a)
(cherry picked from commit bbf76489a7)

Conflicts:
	because of d0dbe52e76
	upgrade to https://pkg.go.dev/github.com/urfave/cli/v2
(cherry picked from commit b6c1bcc008)

[CLI] implement forgejo-cli actions

(cherry picked from commit 08be2b226e)
(cherry picked from commit b6cfa88c6e)
(cherry picked from commit 59704200de)

[CLI] implement forgejo-cli actions generate-secret

(cherry picked from commit 6f7905c8ec)
(cherry picked from commit e085d6d273)

[CLI] implement forgejo-cli actions generate-secret (squash) NoInit

(cherry picked from commit 962c944eb2)

[CLI] implement forgejo-cli actions register

(cherry picked from commit 2f95143000)
(cherry picked from commit 42f2f8731e)

[CLI] implement forgejo-cli actions register (squash) no private

Do not go through the private API, directly modify the database

(cherry picked from commit 1ba7c0d39d)

[CLI] implement forgejo-cli actions

(cherry picked from commit 6f7905c8ec)
(cherry picked from commit e085d6d273)

[CLI] implement forgejo-cli actions generate-secret (squash) NoInit

(cherry picked from commit 962c944eb2)
(cherry picked from commit 4c121ef022)

Conflicts:
	cmd/forgejo/actions.go
	tests/integration/cmd_forgejo_actions_test.go
(cherry picked from commit 36997a48e3)

[CLI] implement forgejo-cli actions (squash) restore --version

Refs: #1134
(cherry picked from commit 9739eb52d8)

[CI] implement forgejo-cli (squash) the actions subcommand needs config

(cherry picked from commit def638475122a26082ab3835842c84cd03839154)

Conflicts:
	cmd/main.go
	#1209
(cherry picked from commit a1758a3910)
(cherry picked from commit 935fa650c7)
(cherry picked from commit cd21026bc9)
(cherry picked from commit 1700b8973a)
(cherry picked from commit 1def42a379)
(cherry picked from commit 839d97521d)
(cherry picked from commit fd8c13be6b)
(cherry picked from commit 588e5d552f)
(cherry picked from commit 151a726620)

[v1.22] [CLI] implement forgejo-cli

#1541
(cherry picked from commit 46708de7b9)
(cherry picked from commit a8e5c1369e)
(cherry picked from commit 6d910daafb)
(cherry picked from commit d447861cc9)
(cherry picked from commit dc6e9d8799)
(cherry picked from commit ef232fa20c)
(cherry picked from commit 290c55517a)
(cherry picked from commit db48af1784)
(cherry picked from commit 85f33237a2)
(cherry picked from commit 76899ee33e)
(cherry picked from commit 148b3ee9cb)
(cherry picked from commit 1f6ad8f465)
(cherry picked from commit c330afdba3)
(cherry picked from commit b1f87075a7)
(cherry picked from commit 7da40992cc)
(cherry picked from commit 7ab19ff5e5)
(cherry picked from commit e61e44921b)
(cherry picked from commit 83646119fb)
(cherry picked from commit 20cf748e61)
(cherry picked from commit 0a99919cec)
(cherry picked from commit 21215222a6)
(cherry picked from commit 0f6c5658d7)
(cherry picked from commit 1752e43d3c)
(cherry picked from commit 2332080929)
(cherry picked from commit 590aabf2a2)
(cherry picked from commit 87d8b7b315c3e25bd3fcf9dc9c1d359bcd107281)
(cherry picked from commit ff37de38be)
(cherry picked from commit cee32c9e7a)
(cherry picked from commit 39faade524)
(cherry picked from commit 0e5ca477b6)
(cherry picked from commit 70e2730f7b)
(cherry picked from commit 2ad4003944)
(cherry picked from commit 2429de9e87)
(cherry picked from commit c133915fc1)
(cherry picked from commit c607dcaf9f)
(cherry picked from commit 00f006637f)
(cherry picked from commit dd1971d4e6)
(cherry picked from commit 3981dbaf8c)
(cherry picked from commit 8dff3cc2d1)
(cherry picked from commit e7673e5d22)
(cherry picked from commit 326174064b)
(cherry picked from commit eb769dbde4)
(cherry picked from commit 335829ade2)
(cherry picked from commit 5e8e4f549d)

Conflicts:
	Dockerfile
	Dockerfile.rootless
(cherry picked from commit b777fc91d0)
(cherry picked from commit 02cda642ec)
(cherry picked from commit 96ef93f3bc)
(cherry picked from commit aa424551f2)

Conflicts:
	Dockerfile
	Dockerfile.rootless
(cherry picked from commit e54fa86e49)
(cherry picked from commit 043fa6d664)
(cherry picked from commit 805b162480)
(cherry picked from commit 86bf362a3c)
(cherry picked from commit 13e0007959)
(cherry picked from commit 00ff6f7cb3)
(cherry picked from commit 95c7d8e883)
(cherry picked from commit fb033d2bb6)
(cherry picked from commit 1147910a55)
(cherry picked from commit 6590b6e99c)
(cherry picked from commit 78938113e4)
(cherry picked from commit 57338224f172e30a72f03f565aa47876e1213e77)
(cherry picked from commit 4266cbcdd4)
(cherry picked from commit bdc766a5a2)
(cherry picked from commit 6fb9ad8504)
(cherry picked from commit c4e6383240)
(cherry picked from commit 490fa55b3a)
(cherry picked from commit 802c8e72be)
(cherry picked from commit 2b1efe2030)
(cherry picked from commit fdcdd7389a)
(cherry picked from commit b9ae491650)
(cherry picked from commit e7867c6512)
(cherry picked from commit 1d7ce2a39c)
(cherry picked from commit 3af8757583)
(cherry picked from commit 0b81815209)
(cherry picked from commit 7180a3222a)
(cherry picked from commit 069044f4a6)
(cherry picked from commit dd1438f389)
(cherry picked from commit 4ae6b5d64d)
(cherry picked from commit c572666d78)
(cherry picked from commit de0a4480bc)
(cherry picked from commit 60272ef4f7)
(cherry picked from commit a68fdde4be)
(cherry picked from commit ff448cf3a6)
(cherry picked from commit 208498caaa)
(cherry picked from commit 1abd3efad8)
(cherry picked from commit 818c7f4ca9)
(cherry picked from commit 1e552bbe44)
(cherry picked from commit 88dbd6da1d)
(cherry picked from commit b1c86fb777)
(cherry picked from commit 185b1e25b1)
(cherry picked from commit 0af35605ae)
(cherry picked from commit 350975b63f)
(cherry picked from commit 2788142515)
(cherry picked from commit b418a53717b247e10d2dda26d1d236400d423a94)
(cherry picked from commit 086cde3f10)
(cherry picked from commit 3e4818c779)
(cherry picked from commit f2bf1fe64f)
(cherry picked from commit db4eb288ee)
(cherry picked from commit f8db31821b)
(cherry picked from commit 2b13c06f49)
(cherry picked from commit 3fd0092056)
(cherry picked from commit 6f7662507f)
(cherry picked from commit 8a15e41887)

Conflicts:
	tests/mysql8.ini.tmpl
	#1573
(cherry picked from commit 56e67e34e2)
(cherry picked from commit e1bbfa3619)
(cherry picked from commit 91245ca917)
(cherry picked from commit 705d0558be)
(cherry picked from commit 9247594970)
(cherry picked from commit 9db1158a48)
(cherry picked from commit 3b36b77d87)
(cherry picked from commit 162fa1d8ae)
(cherry picked from commit d03d0afbb5)
(cherry picked from commit 7b8f92f787)
(cherry picked from commit 035abca969)
(cherry picked from commit a8fbf6bb56)
(cherry picked from commit 3be681d037b07880236cae1aa70245e5eb4d1497)
(cherry picked from commit 7e5d471c83)
(cherry picked from commit 323801d935)
(cherry picked from commit 3fdfe4bfea)
(cherry picked from commit 58a07421a4)
(cherry picked from commit dbb71a4c85)
(cherry picked from commit d442113520)
(cherry picked from commit d3329f01f8)
(cherry picked from commit 069a1d68b8)
(cherry picked from commit 14919e609a)
(cherry picked from commit 49b76be106)
(cherry picked from commit a1381d9146fba42cb97d72d38525fa3e721bfb03)
(cherry picked from commit 74714e0246)
(cherry picked from commit 7749dbfe66)
(cherry picked from commit 4379249711)
(cherry picked from commit a69f55bebf)
(cherry picked from commit 24dd5fbfdb)
(cherry picked from commit dda856d6b8)
(cherry picked from commit bc14f4fa97)
(cherry picked from commit 78fef4f137)
(cherry picked from commit 69e013cc51)
(cherry picked from commit f173c6a273)
(cherry picked from commit 8b11cab677)
(cherry picked from commit be59270696)
(cherry picked from commit e068f8b191)
(cherry picked from commit 7855bb0c60)
(cherry picked from commit 45c4c8f443)
(cherry picked from commit 89520d67ff)
(cherry picked from commit 15eeb417a4)
(cherry picked from commit 6db53a2643)
(cherry picked from commit 2f689b321f)
(cherry picked from commit 04dc478314c3b4927cca78c354ca46ee217f035a)
(cherry picked from commit a554624f40)
(cherry picked from commit abca05f0d1)
(cherry picked from commit dc13e7eb22)
(cherry picked from commit a161c5740e)
(cherry picked from commit 06d33e2773)
(cherry picked from commit f536275161)
(cherry picked from commit 84ac6f314a)
(cherry picked from commit 1e8126edfc)
(cherry picked from commit 0287ac3416)
(cherry picked from commit 3e5fca2aae)
(cherry picked from commit f9d75d4705)
(cherry picked from commit 64f76f4ab2)
(cherry picked from commit 5d02454155)

[CI] Forgejo Actions workflows

(cherry picked from commit 3ff59b5379)
(cherry picked from commit 8af826a6f7)
(cherry picked from commit d7c09d9cc8)

[CI] use the docker label instead of ubuntu-latest

(cherry picked from commit b6a6470db6)

[CI] all tests need compliance before proceeding

(cherry picked from commit b35c496f2c)
(cherry picked from commit 36a4148a8e)
(cherry picked from commit 7ffcffa653)
(cherry picked from commit 8a246d296e)
(cherry picked from commit dd0b6e1826)

[CI] Forgejo Actions based release process (squash) MySQL optimization

Refs: #976
(cherry picked from commit b4b8c489e6)
(cherry picked from commit 1e861db4af)
(cherry picked from commit a6c0e00330)
(cherry picked from commit f97b336465)
(cherry picked from commit 6d65d5f0d6f798556a8f9e547896be03a5ee2f87)
(cherry picked from commit 79bfbadbed)
(cherry picked from commit e86c40a34a)
(cherry picked from commit da0c454adb)
(cherry picked from commit b49d892cda)

[CI] enable minio tests

(cherry picked from commit 4d8f438031)
(cherry picked from commit c4eeb0a61e)

[CI] Forgejo Actions based CI for PR & branches (squash) cleanup

(cherry picked from commit 80eb20e842)
(cherry picked from commit d2ff589858)
(cherry picked from commit f6eedecb67)
(cherry picked from commit cf458091e2)
(cherry picked from commit ddd322cb2d)
(cherry picked from commit f0f5729b64)

Conflicts:
	.github/workflows/pull-db-tests.yml
	#1573
(cherry picked from commit bb347aedd4)
Refs: forgejo/website#230
(cherry picked from commit 87d56bf6c7)

[CI] Forgejo Actions based release process (squash)

base64 -w0 to avoid wrapping when the doer name is long as it creates
a broken config.json

(cherry picked from commit 9efdc27e49)

[CI] Forgejo Actions based release process (squash) generate .xz files and sources

Generate .xz files
Check .sha256
Generate the source tarbal

(cherry picked from commit 7afec520c4)

[CI] Forgejo Actions based release process (squash) release notes

(cherry picked from commit d8f4f4807b)

[CI] Forgejo Actions based release process (squash) publish and sign release

(cherry picked from commit a52778c747)
(cherry picked from commit cf2ec62740)

[CI] Forgejo Actions based release process (squash) version

use Actions environment variables in Makefile (#25319) (#25318)

uses Actions variable to determine the version. But Forgejo builds
happen in a container where they are not available. Do not use them.

Also verify the version of the binary is as expected for sanity check.

(cherry picked from commit 6decf111a1)
(cherry picked from commit 206d0b3886)

[CI] read STORED_VERSION_FILE if available

(cherry picked from commit af74085ebf)

[CI] backward compatible executable compilation

Add a new static-executable target to use in Dockerfiles and restore
the $(EXECUTABLE) target to what it was before to for backward
compatibility.

The release process now builds static executables instead of
dynamically linked ones which makes them more portable. It changes the
requirements at compile time and is not backward compatible. In
particular it may break packaging that rely on the target that
currently creates a dynamically linked executable.

(cherry picked from commit 84d02a174a)
(cherry picked from commit 854be47328)

[CI] Forgejo Actions based release process (squash) doc / ca / verbosity

- Document workflow
- Increase verbosity if VERBOSE=true
- Download the Certificate Authority if behind the VPN

(cherry picked from commit 168d5d5869)
(cherry picked from commit 8756c9a72a)
(cherry picked from commit 2dad7ef20f)

[CI] Forgejo Actions based release process (squash) add assets sources-tarbal

Refs: #1115
(cherry picked from commit 5531d01f19)

[CI] Forgejo Actions based release process (squash) add assets sources-tarbal

bindata.go is a file, not a directory

Refs: #1115
(cherry picked from commit bd88a44778)
(cherry picked from commit b408085138)

[CI] Forgejo Actions based release process (squash) public/assets moved

(cherry picked from commit d8c921d5a6)
(cherry picked from commit f29e50b1a09b1a22fc2dbdb77e9a1def1196175b)

[CI] Fix release notes link

- Use substitution to replace all dots with dashes.
- Resolves #1163

(cherry picked from commit 96783728f53a072915cace392aa269adfe9a5c73)
(cherry picked from commit c8d8bf8996)

[CI] pin go v1.20 for testing

Refs: #1228
(cherry picked from commit fd4b5a013e)
(cherry picked from commit 00bb15f57f)

Conflicts:
	Dockerfile
	Dockerfile.rootless
	see #1303
(cherry picked from commit 6e2be54a6d)
(cherry picked from commit 346c418b4a)
(cherry picked from commit 49061f8422)
(cherry picked from commit 8229d59b7e)
(cherry picked from commit 70d45d9193)

[CI] Forgejo Actions based release process (squash) need node 18

(cherry picked from commit 722b1f4590)
(cherry picked from commit a91d786169)

[CI] Forgejo Actions based release process (squash) fix indentation

(cherry picked from commit fbdf9d6abb)
(cherry picked from commit 2deff90a13)
(cherry picked from commit 5710a27fda)

[CI] Forgejo Actions based release process (squash) FQIN for docker

Refs: #1600
(cherry picked from commit f63d38deb6)

[CI] Forgejo Actions based release process (squash) use forgejo-curl.sh
Reviewed-on: #1298
Co-authored-by: oliverpool <git@olivier.pfad.fr>
Co-committed-by: oliverpool <git@olivier.pfad.fr>
(cherry picked from commit 2aebc5ab4d)
(cherry picked from commit 8d66b6e7bc)
(cherry picked from commit c782935f1b)
(cherry picked from commit 51e071da73)
(cherry picked from commit 81dbc87e16)
(cherry picked from commit 7a98204743)
(cherry picked from commit c679954950)
(cherry picked from commit 8e4a03f302)
(cherry picked from commit 5846953f61)
(cherry picked from commit 8cbbab7fef)
(cherry picked from commit 51113f0f29)
(cherry picked from commit 0d061e411f)
(cherry picked from commit 1eb4e7e691)
(cherry picked from commit 3c3760f3b6)
(cherry picked from commit c11907373d)
(cherry picked from commit d990fcf446)
(cherry picked from commit 62fd8a0b39)
(cherry picked from commit 16381262c5)
(cherry picked from commit c93f41dcef)
(cherry picked from commit cf17c69487)
(cherry picked from commit 174b8cf327)
(cherry picked from commit ae1b8dd441)
(cherry picked from commit 1b56d9049f)
(cherry picked from commit 6b00196175)
(cherry picked from commit 087b38c3f3)
[CI] gitignore: emacs backups
Some checks reported warnings
testing / lint-backend (pull_request) Has been cancelled
testing / checks-backend (pull_request) Has been cancelled
testing / test-unit (pull_request) Has been cancelled
testing / test-mysql (pull_request) Has been cancelled
testing / test-pgsql (pull_request) Has been cancelled
testing / test-sqlite (pull_request) Has been cancelled
testing / lint-backend (push) Successful in 2m4s
Integration tests for the release process / release-simulation (push) Successful in 4m24s
testing / checks-backend (push) Successful in 2m55s
testing / test-unit (push) Successful in 5m46s
testing / test-mysql (push) Successful in 13m23s
testing / test-sqlite (push) Successful in 14m17s
testing / test-pgsql (push) Successful in 15m49s
914b1dcaf6
(cherry picked from commit 5e418789d9)
(cherry picked from commit 3af6fd2ad3)
(cherry picked from commit 6926787d67)
(cherry picked from commit fe58e86a97)
(cherry picked from commit 5bf7ead625)
(cherry picked from commit 44480ea794)
(cherry picked from commit 813848cebe)
(cherry picked from commit 9c8d889e78)
Although it would be possible to modify these files, it would create
conflicts when rebasing. Instead, this commit removes them entirely
and another commit can start from scratch, borrowing content from the
original files.

The drawback of this approach is that some content updates from Gitea
that also need updating in Forgejo will have to be copy/pasted
instead of being merged.

(cherry picked from commit eb85782115)
(cherry picked from commit 34401f2004)
(cherry picked from commit ef43b1c691)
(cherry picked from commit d17fe25e2f)
(cherry picked from commit 3f65dea3e7)
(cherry picked from commit 3cacb64a1b)
(cherry picked from commit b531b014b7)
(cherry picked from commit adf6e7a840)
(cherry picked from commit 68c19d977d)
(cherry picked from commit 31aa8647ec)
(cherry picked from commit be70dd7208)
(cherry picked from commit 7f44bb60b1)
(cherry picked from commit 5098f1224b)
(cherry picked from commit dc7a859144)
(cherry picked from commit f1e78dd006)
(cherry picked from commit c41ba7a148)
(cherry picked from commit f1da66a918)
(cherry picked from commit 99194a3664)
(cherry picked from commit 52f356f6a9)
(cherry picked from commit c93ffa72ae)
(cherry picked from commit 477c7454d3)
(cherry picked from commit 413df23a40)

[DOCS] delete Gitea specific files that need rewriting for Forgejo (squash)

(cherry picked from commit df78cedd05)
(cherry picked from commit 3b9178b3e5)
(cherry picked from commit 9044dcb0e7)
(cherry picked from commit e138685bac)
(cherry picked from commit 2f1f3fd6b8)
(cherry picked from commit 0b47d02df6)
(cherry picked from commit 7625ca6c42)
(cherry picked from commit e0d720a728)
(cherry picked from commit 19aa974d12)
(cherry picked from commit bb637d398c)
(cherry picked from commit 5357fc952d)
(cherry picked from commit bee0395044)
(cherry picked from commit 5e574bfc8f)
Refs: #8
Reviewed-on: #153
Refs: #123
Reviewed-on: #299
(cherry picked from commit 08dcef0c8c)

[DOCS] CONTRIBUTING/RELEASE: https://forgejo.org/docs/admin

Because the version is not displayed on the landing page of Forgejo,
there cannot be a link to a versionned documentation. There must exist
a link that points to the latest version on the website for the
forgejo instance to display.

Better but more complicated approaches could be to:

* Embed the documentation in Forgejo
* Allow the admin to not display the help
* Allow the admin to display a versionned help or not

(cherry picked from commit 83cc389239)
(cherry picked from commit 5df52b8a4f)
(cherry picked from commit 9a66b3d70b)

[DOCS] CONTRIBUTING/RELEASE: reminder to update FORGEJO_VERSION

(cherry picked from commit 2a4d0bd164)
(cherry picked from commit d68576ba67)

[DOCS] CONTRIBUTING: updates

* Remove obsolete description of the well being & moderation team and
  replace them with a link to the moderation email.

* Remove description of the governance process and replace with a link
  to the governance readme that did not exist at the time.

* Add links to the Forgejo documentation

(cherry picked from commit df749da272)
(cherry picked from commit 4da39128c5)
(cherry picked from commit f442ca6f40)
(cherry picked from commit 031928c447)
(cherry picked from commit 1e6ba47216)
(cherry picked from commit 8916a1f8c6)
(cherry picked from commit 663e28c412)
(cherry picked from commit d56b130baa)

[DOCS] CONTRIBUTING (squash)

(cherry picked from commit 0dc4b6e5c9)
(cherry picked from commit 52f2163807)
(cherry picked from commit 47d0ae3e10)
(cherry picked from commit 7757a5c34c)
(cherry picked from commit 5b4d25bd03)
(cherry picked from commit 78798cc25e)
(cherry picked from commit 3001fb8c7b)
(cherry picked from commit da27bf1bc5)
(cherry picked from commit 2fb13da8ed)
(cherry picked from commit ea19e0efb3)

[DOCS] Add link to build instructions in CONTRIBUTING.md

(cherry picked from commit 50d86aa4ad)

Replace 'v1.20' with 'next'

(cherry picked from commit 3e99f49fc5)
(cherry picked from commit f5c89e88cf)
(cherry picked from commit 8e70433dac)
(cherry picked from commit 31cc99588c)

fixes 404 links in CONTRIBUTING.md

(cherry picked from commit b7326919ab)
(cherry picked from commit cd88e7d177)
(cherry picked from commit 09d33f2050)
(cherry picked from commit 8ea49fc0c7)
(cherry picked from commit a434c76f4b)
(cherry picked from commit c61e1b8797)
(cherry picked from commit 1ce9dc9def)
(cherry picked from commit a90927d0b1)
(cherry picked from commit 17ca38d29a)
(cherry picked from commit 70986dddc9)
(cherry picked from commit a47b474586)
(cherry picked from commit 2fcc61c1d9)
(cherry picked from commit 67debe2247)
(cherry picked from commit b90ffbb309)
(cherry picked from commit 07a7448148)
(cherry picked from commit a7fe270c08)
(cherry picked from commit 2f15389a9c)
(cherry picked from commit 16ba587f5d)
(cherry picked from commit 683a23b2ca)
(cherry picked from commit 3e5de3f656)
(cherry picked from commit 5789005c43)
(cherry picked from commit 75c0f11079)
(cherry picked from commit e78a272e11)
(cherry picked from commit 464a534a3a)
(cherry picked from commit 7c0b73ca6f)
(cherry picked from commit e66b8edbc6)
(cherry picked from commit a91864340d)
(cherry picked from commit 504905bc88)
(cherry picked from commit 650137433f)
(cherry picked from commit 3e00bdaf2a)
(cherry picked from commit 43efcc1a29)
(cherry picked from commit 4984ba13c5)
(cherry picked from commit 02b7928710)
(cherry picked from commit 0db0feaee2)
(cherry picked from commit 94d141bc7f)
(cherry picked from commit 392fb15891)
(cherry picked from commit c5699a7bb7)
(cherry picked from commit b975597a78)
(cherry picked from commit 5395e74d72)
(cherry picked from commit bc8060dee4)
(cherry picked from commit 3b64f1477a)
(cherry picked from commit d40378e1c7)
(cherry picked from commit a713f7e3f9)
(cherry picked from commit 87f65ccf78)
(cherry picked from commit 9dd224f00c)
(cherry picked from commit 710af007bc)
(cherry picked from commit 2ccd6e2bd6)
(cherry picked from commit b90dc5fc4f)
(cherry picked from commit bf25d98a98)
(cherry picked from commit d7c71e5985)

[WORKFLOW] Add Forgejo Next and reproducing to issue template

(cherry picked from commit 17a3988fe0)
(cherry picked from commit 9ee5b3a619)
(cherry picked from commit bebdd8d5f3)
(cherry picked from commit be7bb96d5c)
(cherry picked from commit 4ae659d63a)
(cherry picked from commit 82426f376d)
(cherry picked from commit 1cb28e3671)
(cherry picked from commit c6a2db94c4)
(cherry picked from commit 90d3eb2d13)
(cherry picked from commit 3c3e656f58)
(cherry picked from commit 54ece82417)
(cherry picked from commit 55a042485a)
(cherry picked from commit 4e984aeba6)
(cherry picked from commit 52ea3f32b6)
(cherry picked from commit 00b0d0621e)
(cherry picked from commit dc4acfa6db)
(cherry picked from commit 0d26574fe3)
(cherry picked from commit 81acdf5a84)
(cherry picked from commit bcb063e157)
(cherry picked from commit 3e3bd36e6d)
(cherry picked from commit 7767bafbff)
(cherry picked from commit c98e1afb4c)
(cherry picked from commit 8ebc60b949)
(cherry picked from commit 59555d146e)
(cherry picked from commit 8ec25e8838)
(cherry picked from commit 6e568c70d7)
(cherry picked from commit 5a36052803)
(cherry picked from commit c7e6dc6b13)
(cherry picked from commit 005557f7ef)
It is for instance useful with:

GOLANGCI_LINT_ARGS="--concurrency $(expr $(nproc) / 2)" make lint-backend

on a laptop where overcommitting the CPU degrades the UI performances.

(cherry picked from commit 76023319c4)
(cherry picked from commit 55eb05b03d)
(cherry picked from commit 49c84de3df)
(cherry picked from commit e8e26f08a6)
(cherry picked from commit 401aa12cac)
(cherry picked from commit 4ae8f663ad)
(cherry picked from commit b07123ee7b)
(cherry picked from commit ca85c880b4)
(cherry picked from commit 723ead94cb)
(cherry picked from commit ff148318da)

[DOCS] RELEASE-NOTES: 1.19.0

(cherry picked from commit e84e43887b)

[DOCS] RELEASE-NOTES: add scoped access tokens

(cherry picked from commit 688f831853)

[DOCS] RELEASE-NOTES: Scoped labels

(cherry picked from commit 747479a07b)

[DOCS] RELEASE-NOTES: OIDC groups

(cherry picked from commit 10c505fe89)

[DOCS] RELEASE-NOTES: Copy Link is broken

On firefox it fails with Uncaught TypeError: navigator.clipboard is
   undefined
On chromium it fails with Uncaught TypeError: Cannot read properties of undefined (reading 'writeText')

(cherry picked from commit 148b2ff093)

[DOCS] RELEASE-NOTES: Copy citation

(cherry picked from commit d0f217735f)

[DOCS] RELEASE-NOTES: Support org/user level projects

(cherry picked from commit de845c7bcf)

[DOCS] RELEASE-NOTES: v1.19 has a documentation

(cherry picked from commit 9a5b46da32)

[DOCS] RELEASE-NOTES: do not split webhook section

(cherry picked from commit 00ed020321)

[DOCS] RELEASE-NOTES: Incoming emails

(cherry picked from commit 06c455b33b)

[DOCS] RELEASE-NOTES: secrets are an implementation detail

(cherry picked from commit 8236dc3a57)

[DOCS] RELEASE-NOTES: Prohibit fork if user reached maximum

(cherry picked from commit 0f80b8c696)

[DOCS] RELEASE-NOTES: scoped tokens: do not duplicate the docs

(cherry picked from commit 9bc4793c07)

[DOCS] RELEASE-NOTES: rss feed for tags and releases

(cherry picked from commit 599b36fada)

[DOCS] RELEASE-NOTES: protected branches wildcard

(cherry picked from commit 2b316c4950)

[DOCS] RELEASE-NOTES: disable releases

(cherry picked from commit 9a60773f1d)

[DOCS] RELEASE-NOTES: review box

(cherry picked from commit 09867dd122)

[DOCS] RELEASE-NOTES: asciicast support

(cherry picked from commit ea9658379b)

[DOCS] RELEASE-NOTES: attention blocks

(cherry picked from commit 70b387750b)

[DOCS] RELEASE-NOTES: commit cross reference

(cherry picked from commit fe706dad13)

[DOCS] RELEASE-NOTES: strip user completion border case

(cherry picked from commit 33ca51b4b6)

[DOCS] RELEASE-NOTES: card preview

(cherry picked from commit 626cd78ca6)

[DOCS] RELEASE-NOTES: raw copy button

(cherry picked from commit edfb467d64)

[DOCS] RELEASE-NOTES: allow edits by maintainers by default

(cherry picked from commit 7006405bc6)

[DOCS] RELEASE-NOTES: database auto migration is a little arcane

(cherry picked from commit 78030fa9af)

[DOCS] RELEASE-NOTES: fix typos & minor rewording

(cherry picked from commit ae1d47f656)
(cherry picked from commit ad08ca9955)

[DOCS] RELEASE-NOTES: webhook authorization header

(cherry picked from commit c35e2c4f6f)

[DOCS] RELEASE-NOTES: video element in markdown

(cherry picked from commit bcb0bd51d2)

[DOCS] RELEASE-NOTES: move scoped labels to the documentation

(cherry picked from commit c5eedaf4f3)

[DOCS] RELEASE-NOTES: cosmetic improvements

(cherry picked from commit b93df350d9)

[DOCS] RELEASE-NOTES: 1.19.0-0 is really : 1.19.0-2

(cherry picked from commit 60d770c2c9)

[DOCS] RELEASE-NOTES: relevant repositories

(cherry picked from commit de6ed5b87f)
(cherry picked from commit 71d91fdf22)

[DOCS] RELEASE-NOTES: semantic version

(cherry picked from commit af062d77f0)

[DOCS] RELEASE-NOTES: reflogs

(cherry picked from commit 084713d8aa)
(cherry picked from commit 90ad322a56)

[DOCS] RELEASE-NOTES: fix broken link to OIDC mapping

(cherry picked from commit 802a252eb5)

[DOCS] RELEASE-NOTES: Fix spaces

(cherry picked from commit a605d36ab6)

[DOCS] RELEASE-NOTES: SemVer

(cherry picked from commit 7b29c90035)
(cherry picked from commit 82799195c9)
(cherry picked from commit 5d9c2e9ec6)

[DOCS] RELEASE-NOTES: 1.19.0-3

(cherry picked from commit c599b2947d)
(cherry picked from commit 8a37027ae7)

[DOCS] RELEASE-NOTES: v1.19.1-0

(cherry picked from commit 89b9e96cc7)
(cherry picked from commit 2b4e881a4e)

[DOCS] RELEASE-NOTES: 1.19.2-0

(cherry picked from commit 0c0d2ec46c)
(cherry picked from commit 437b8caae4)

[DOCS] RELEASE-NOTES: 1.19.3-0

(cherry picked from commit 040740917e)

[DOCS] RELEASE-NOTES: 1.19.3-0 (fix typo)

(cherry picked from commit 24516cb22a)
(cherry picked from commit 429c8e6525)
(cherry picked from commit 8247bddb45)
(cherry picked from commit d77d7b7be7)
(cherry picked from commit a64c899b1d)
(cherry picked from commit 0803eaa2e3)
(cherry picked from commit 8538f2897e)
(cherry picked from commit 45b9037d3c)
(cherry picked from commit 928705f870)
(cherry picked from commit 19e683468c)
(cherry picked from commit 5ae55e8e34)
(cherry picked from commit 7c224d84cf)

[DOCS] RELEASE-NOTES: 1.20.0

(cherry picked from commit 3fbcdd235b)
(cherry picked from commit e7a621acae)
(cherry picked from commit 70adac6d66)

[DOCS] RELEASE-NOTES: 1.20.0-0-rc0 (squash) rewording

(cherry picked from commit 1b79fab57d)

[DOCS] RELEASE-NOTES: 1.20.0-0-rc0 (squash) time

(cherry picked from commit cfd599a132)

[DOCS] RELEASE-NOTES: 1.20.0-0-rc0 (squash) wiki

(cherry picked from commit 6aa2ab41c6)

pick changes from #829

(cherry picked from commit f599598101)

[DOCS] RELEASE-NOTES: 1.20.0-0-rc0 (squash) ui

(cherry picked from commit 5f0aa769b1)

features

(cherry picked from commit d1e788ff4e)

typos

(cherry picked from commit 088d4b2d61)

Mirror Settings

(cherry picked from commit 161412affd)

features

(cherry picked from commit 10cb0379e2)

fix typo

(cherry picked from commit aee096b040)

TODO

(cherry picked from commit 0d4e0bb4a9)

typo

(cherry picked from commit b76a3c1a84)
(cherry picked from commit 4c354196c2)
(cherry picked from commit 6323c6d1a2)

[DOCS] RELEASE-NOTES: 1.20.0 (squash) Woodpecker CI archive repository

(cherry picked from commit 154ee5bc9c)

[DOCS] RELEASE-NOTES: 1.20.0 (squash)

(cherry picked from commit 656f955448)

[DOCS] RELEASE-NOTES: 1.19.4-0

(cherry picked from commit 85bd997176)

[DOCS] RELEASE-NOTES: 1.19.4-0 (squash) fix typo

(cherry picked from commit e5c364c586)
(cherry picked from commit c123048e51)
(cherry picked from commit ad2fedb693)

[DOCS] RELEASE-NOTES: 1.20.0 (squash) blog

Pick changes from https://blog.gitea.com/release-of-1.20.0/

(cherry picked from commit c8068a9d7b)

[DOCS] RELEASE-NOTES: 1.20.0 (squash) Gitea release notes

Review https://github.com/go-gitea/gitea/releases/tag/v1.20.0

(cherry picked from commit dd58b50403)

[DOCS] RELEASE-NOTES: 1.20.0 (squash) commits

git log --no-merges --oneline 64ed262e1..gitea/release/v1.20 . ':(exclude,glob)docs/**' ':(exclude)CONTRIBUTING.md' ':(exclude)MAINTAINERS' ':(exclude,glob).github/**' ':(exclude)CHANGELOG.md' ':(exclude,glob)options/locale/**' ':(exclude,glob)options/license/**' ':(exclude,glob)snap/**' ':(exclude).drone.yml' ':(exclude)custom/conf/app.example.ini'

9159964ad Avoid opening/closing PRs which are already merged (#25883) (#25903)
9369b3831 Skip unuseful error message in dev mode when watching local filesystem (#25919) (#25927)
6e82d0bb7 Add shutting down notice (#25920) (#25922)
36b9a86bd Fix incorrect milestone count when provide a keyword (#25880) (#25904)
de8127e78 fix incorrect repo url when changed the case of ownername (#25733) (#25881)
de8127e78 fix incorrect repo url when changed the case of ownername (#25733) (#25881)
186f07bbf Make `add line comment` buttons focusable (#25894) (#25896)
45b1f4dd3 Add support for different Maven POM encoding (#25873) (#25890)
026e745b9 Fix incorrect release count (#25879) (#25887)
c334be828 Fix empty project displayed in issue sidebar (#25802) (#25854)
353dcc5ad Fix the error message when the token is incorrect (#25701) (#25836)
abe9c641c Show correct SSL Mode on "install page" (#25818) (#25838)
052e65e63 Fix incorrect oldest sort in project list (#25806) (#25835)
c1a10be07 Fix activity type match in `matchPullRequestEvent` (#25746) (#25796)
2b79d3fd5 For API attachments, use API URL (#25639) (#25814)
b4460cf54 Make "install page" respect environment config (#25648) (#25799)
a1bc2aa05 Avoid amending the Rebase and Fast-forward merge if there is no message template (#25779) (#25809)
d713cf615 Fix WORK_DIR for docker (root) image (#25738) (#25811)
012b804a9 Clarify "text-align" CSS helpers, fix clone button padding (#25763) (#25764)
372b622c2 Revert package access change from #23879 (#25707) (#25785)
06bcdfe77 Remove unused code (#25734) (#25788)
a5a3c8141 Fix notification list bugs (#25781) (#25787)
ea2c9de3c Test if container blob is accessible before mounting (#22759) (#25784)
348a6bf70 Always pass 6-digit hex color to monaco (#25780) (#25782)
91dadeddd Translate untranslated string in issues list (#25759) (#25761)
32eaba1b4 Hide `add file` button for pull mirrors (#25748) (#25751)
917ca5ded Several fixes for mobile UI (#25634) (#25689)
e595dfeec Allow/fix review (approve/reject) of empty PRs (#25690) (#25732)
03cacf971 Check `ctx.Written()` for `GetActionIssue` (#25698) (#25711)
68e0c802f Show correct naming for 1 comment (#25704) (#25712)
09668b2e2 Correct permissions for `.ssh` and `authorized_keys` (#25721) (#25730)
04eea29ec Fix tags header and pretty format numbers (#25624) (#25694)
511be9fe6 Fix position of org follow button (#25688) (#25692)
24e64fe37 Replace `interface{}` with `any` (#25686) (#25687)
4e310133f Prevent duplicate image loading (#25675) (#25684)
491f36d32 Actions list enhancements (#25601) (#25678)
5510ed34f Fix the nil pointer when assigning issues to projects (#25665) (#25677)
39fce5750 Prevent SVG shrinking (#25652) (#25669)
1f9037604 Fix show more for image on diff page (#25672) (#25673)
0af6542a3 Add unit test for repository collaboration (#25640) (#25658)
69bdcf41f Log the real reason when authentication fails (but don't show the user) (#25414) (#25660)
e610b0389 Fix UI misalignment on user setting page (#25629) (#25656)
13ffa287b  Fix bug of branches API with tests(#25578) (#25579)

(cherry picked from commit 3e9e862e5e)

[DOCS] RELEASE-NOTES: 1.20.0 (squash) reorder breaking

(cherry picked from commit 4e4cdddc55)

address rome-user review

(cherry picked from commit 8791fe88b1)

[DOCS] RELEASE-NOTES: 1.20.0 (squash) reword breaking

- removed the section about the changed themes: it is an internal
detail and redundant with the above warning regarding themes &
templates

(cherry picked from commit b34e9a7b19)

[DOCS] RELEASE-NOTES: 1.20.0 (squash) minor rewording

The CI & Actions sections were grouped together.

(cherry picked from commit ed236e1ee8)

[DOCS] RELEASE-NOTES: 1.20.1-0 (squash)

(cherry picked from commit 3c11eb1de5)

[DOCS] RELEASE-NOTES: 1.20.1-0 (squash) Forgejo features/optimizations

(cherry picked from commit c516fd0c7a)

[DOCS] RELEASE-NOTES: 1.20.1-0 (squash) fix typo in Alpine version

(cherry picked from commit 1c2a5b5162)

[DOCS] RELEASE-NOTES: 1.20.1-0 (squash) comment out obsoleted queue keys

(cherry picked from commit 8c0d9459c5)

[DOCS] RELEASE-NOTES: 1.20.1-0 (squash) WORK_PATH breaking change

(cherry picked from commit f4ea3b27f5)
(cherry picked from commit 0557568f61)

[DOCS] RELEASE-NOTES.md (squash) obsolete queue `app.ini` keys

(cherry picked from commit e0c943ac3b)

[DOCS] RELEASE-NOTES.md (squash) v1.20.2-0

(cherry picked from commit f2c654d1c8)

[DOCS] RELEASE-NOTES.md (squash) fix LFS issue link

(cherry picked from commit 2461355f2a)
(cherry picked from commit 750652d75a)
(cherry picked from commit 6899dbdc11)
(cherry picked from commit 88b988d084)

[DOCS] RELEASE-NOTES.md (squash) v1.20.3-0

(cherry picked from commit d566e78d68)
(cherry picked from commit 65439eafa4)
(cherry picked from commit a76cc5b8bc)
(cherry picked from commit b4e1ad6020)

[DOCS] RELEASE-NOTES.md (squash) v1.20.4-0

(cherry picked from commit 8a910c0c33)

[DOCS] RELEASE-NOTES.md (squash) link to upgrade docs

Refs: #1199
(cherry picked from commit d4e9030873)
(cherry picked from commit 7da7b9cef4)
(cherry picked from commit 73b64ea895)

[DOCS] RELEASE-NOTES.md (squash) v1.20.4-1

[DOCS] RELEASE-NOTES.md (squash) v1.21.0-0

(cherry picked from commit e618ea55a5)
(cherry picked from commit f3ee986416)

[DOCS] RELEASE-NOTES.md (squash) 1.20.5-0

(cherry picked from commit ce5541c78b)

[DOCS] RELEASE-NOTES.md (squash) 1.20.5-0 is a security release

(cherry picked from commit 5dd66c06e3)

slug of the blog post changed

(cherry picked from commit fc5b52049f)

apply caesar rewording suggestions

(cherry picked from commit 59e9648b71)

[DOCS] RELEASE-NOTES.md (squash) typo

(cherry picked from commit e8daead2a1)
(cherry picked from commit 8af0a2007d)
(cherry picked from commit 7c98a4c54e)
(cherry picked from commit 1ec4a8e6cf)
(cherry picked from commit 79de60a5d8)
(cherry picked from commit e7fbfb34a9)
(cherry picked from commit 7f625d25a3)
(cherry picked from commit 9341e18427)
(cherry picked from commit a03e449c01)
(cherry picked from commit b4c7140bec)
(cherry picked from commit 685c9d4a87)
(cherry picked from commit 48b3594a7d)
(cherry picked from commit 8eefd84d38)
(cherry picked from commit d42f1028eb)
(cherry picked from commit 3bb7f7ed51)
(cherry picked from commit ac109696e7)
(cherry picked from commit d39713efb4)
(cherry picked from commit f0bc5decfb)
(cherry picked from commit 17088c4188)
(cherry picked from commit 6a97494acd)
(cherry picked from commit 261705d6a1)
(cherry picked from commit 601cb8cf6f)
(cherry picked from commit 9812c73692)
(cherry picked from commit 430b4c19a4)
(cherry picked from commit 5b5162aae7)
(cherry picked from commit 26a89ded6a)
(cherry picked from commit 1cfe396d4b)
(cherry picked from commit b9fb3d9f13)
(cherry picked from commit 476efc0063)
(cherry picked from commit 8d71e6b2f8)
(cherry picked from commit e9f1631c3d)
(cherry picked from commit c4d8eef7c5)
(cherry picked from commit 7cfd4147be)
(cherry picked from commit d8cbe27d30)
(cherry picked from commit d7b3f85db2)
(cherry picked from commit b92e54bb36)
(cherry picked from commit 20b5669269)
(cherry picked from commit 1574643a6a)

Update semantic version according to specification

(cherry picked from commit 22510f4130)

Mise à jour de 'Makefile'

(cherry picked from commit c3d85d8409)
(cherry picked from commit 5ea2309851)
(cherry picked from commit ec5217b9d1)
(cherry picked from commit 14f08e364b)
(cherry picked from commit b4465c67b8)

[API] [SEMVER] replace number with version

(cherry picked from commit fba48e6497)
(cherry picked from commit 532ec5d878)

[API] [SEMVER] [v1.20] less is replaced by css

(cherry picked from commit 01ca3a4f42)
(cherry picked from commit 1d928c3ab2)
(cherry picked from commit a39dc804cd)

Conflicts:
	webpack.config.js
(cherry picked from commit adc68578b3)
(cherry picked from commit 9b8d98475f)
(cherry picked from commit 2516103974)
(cherry picked from commit 18e6287963)
(cherry picked from commit e9694e67ab)
(cherry picked from commit a9763edaf0)
(cherry picked from commit e2b550f4fb)
(cherry picked from commit 2edac36701)

[API] Forgejo API /api/forgejo/v1 (squash)

Update semver as v1.20 is entering release candidate mode

(cherry picked from commit 4995098ec3)
(cherry picked from commit 578ccfdd27)
(cherry picked from commit 1bf6ac0952)
(cherry picked from commit 2fe16b2bfe)
(cherry picked from commit 7cd9d027ee)
(cherry picked from commit eaed4be2ae)
(cherry picked from commit cc94f3115f)
(cherry picked from commit d7a77e35cc)
(cherry picked from commit cd8eb68ab7)
(cherry picked from commit 68487ac95f)
(cherry picked from commit 616dceb565)
(cherry picked from commit 545fe5975b)
(cherry picked from commit c042cf8eda)
(cherry picked from commit ae5e5a7468)
(cherry picked from commit 8034ef5fa2)
(cherry picked from commit aaf0293034)
(cherry picked from commit daafa8ce58)
(cherry picked from commit 7ca3681d3e)
(cherry picked from commit 3ea0b287d7)
(cherry picked from commit db8392a8ac)
(cherry picked from commit bd2a5fa292)
(cherry picked from commit 2436acb3d9)
(cherry picked from commit 62f50e1c52)
(cherry picked from commit dba1892521)
(cherry picked from commit 4b58e3b6d4)
(cherry picked from commit 1247056856)
(cherry picked from commit afbaea7009)
(cherry picked from commit dcd4813d96)
(cherry picked from commit b51dc963d1)
(cherry picked from commit 611e895efd)
(cherry picked from commit fd492a03f5)
(cherry picked from commit 2c99991f44)
(cherry picked from commit 7426c1edb4)
(cherry picked from commit 373244f8b2)
(cherry picked from commit 4f6efecdb9)
(cherry picked from commit 61d500808e)
(cherry picked from commit 65f8384b63)
(cherry picked from commit 12ed28e734)
(cherry picked from commit ec6cdc9e1a)
(cherry picked from commit 08653ba051)
(cherry picked from commit d5847c87cb)
(cherry picked from commit 640a96e19b)
(cherry picked from commit 46177814a9)
(cherry picked from commit b0098f5a80)
(cherry picked from commit ce5ddeeca9)
(cherry picked from commit 5736fa1025)
(cherry picked from commit c43ca210fc)
(cherry picked from commit 7f92906bf3)
(cherry picked from commit f726525d2d)
(cherry picked from commit db86c93b0b)
(cherry picked from commit 6751bd93c3)
(cherry picked from commit c1d14c5fff)
(cherry picked from commit e0e8aabc98)
(cherry picked from commit 392a415070)
(cherry picked from commit c7cf1307ca)
(cherry picked from commit 93b13d092b)

[TESTS] createUser via the user model helper for integration tests (squash)

(cherry picked from commit 6ff2383952)
(cherry picked from commit de2a6fe8c3)
(cherry picked from commit 398a6ab072)
(cherry picked from commit 16abc89780)
(cherry picked from commit 312a3ec5d9)
(cherry picked from commit 85c6d8e290)
(cherry picked from commit 79150d30a4)
(cherry picked from commit 436137962d)
(cherry picked from commit e4eb8d471e)
(cherry picked from commit a7257052f4)
(cherry picked from commit d5eba9a6dd)
(cherry picked from commit d89ef2ffa9)
(cherry picked from commit f1d25aa307)
(cherry picked from commit 60c7c07353)
(cherry picked from commit cfeff3afdb)
(cherry picked from commit e11dcc60f2)

use backticks to avoid backslash

(cherry picked from commit 34212791ee)
(cherry picked from commit bde9473c69)
(cherry picked from commit d4deb43084)
(cherry picked from commit 08e91649b0)
(cherry picked from commit 2b988e5415)

[TESTS] auth LinkAccount test coverage (squash)

(cherry picked from commit a2b2e3066b)
(cherry picked from commit 841d1b5073)
(cherry picked from commit 35da630ad8)
(cherry picked from commit caf2dc4fa7)
(cherry picked from commit 6eb81e67ba)
(cherry picked from commit d59757239f)
(cherry picked from commit 38a121b688)
(cherry picked from commit 20613874ee)
(cherry picked from commit 6d2705e108)
(cherry picked from commit f177b72814)
(cherry picked from commit 75e1fc4c83)
(cherry picked from commit ba64fa9867)
(cherry picked from commit 0b8ab0893e)
(cherry picked from commit 1419d11435)
(cherry picked from commit 38766847e0)
(cherry picked from commit aea4ab25a9)
(cherry picked from commit d386b212c4)
(cherry picked from commit c4935f08ad)
(cherry picked from commit dc6ca7cd25)
(cherry picked from commit 25296d5a3c)
(cherry picked from commit 3d54c64c5f)
(cherry picked from commit 6ece0b9d01)
(cherry picked from commit 3b39962033)
(cherry picked from commit 5e2167cd03)
(cherry picked from commit e676d7b265)
(cherry picked from commit 9cd258e865)
(cherry picked from commit 0a8d58c159)
(cherry picked from commit b66d06823a)
(cherry picked from commit 4fbe2a0047)
(cherry picked from commit a225e0c9b4)
(cherry picked from commit f8e1619b99)
(cherry picked from commit 46d8bc9bdf)
(cherry picked from commit e0c7b7055f)
(cherry picked from commit faab747f8e)
(cherry picked from commit 46acb6a9a7)
(cherry picked from commit 22d964e744)
(cherry picked from commit 4c8a6031ac)
(cherry picked from commit 032e8c7a9a)
(cherry picked from commit 7a17a3b0fb)
(cherry picked from commit 8ea71c2a31)
(cherry picked from commit 4b027e2d37)
(cherry picked from commit d787089a5d)
(cherry picked from commit 7b9999357a)
(cherry picked from commit 80eb531c38)
(cherry picked from commit 373b198bfb)
It does not pollute the output because they go to sqlite-log/gitea.log
and it may provide clues for debugging. When trying to figure out a
problem in production, Debug is likely to be used but in a development
environment a very fine grain log is the most useful. If that's really
too much noise, the lines can be trimmed by removing all those with [T].

(cherry picked from commit 666b02eb9d)
(cherry picked from commit b69e4d3058)
(cherry picked from commit 0c1aecd7ec)
(cherry picked from commit 0304e41345)
(cherry picked from commit 4bcc7e02ce)
(cherry picked from commit 98364235f2)
(cherry picked from commit ca465e97c1)
(cherry picked from commit 653045ade1)
(cherry picked from commit 9ca2e644ab)
(cherry picked from commit 47c8a05b37)
(cherry picked from commit 4235d929ed)
(cherry picked from commit 10541c4b1c)
(cherry picked from commit c1a0e1eb2f)
(cherry picked from commit 4107d99f25)
(cherry picked from commit 7e097b945c)
(cherry picked from commit 431edaac36)
(cherry picked from commit 51ecd89e31)
(cherry picked from commit 734d7f5bc7)
(cherry picked from commit f34e88d00c)
(cherry picked from commit cd882a75f9)
(cherry picked from commit 7dfa28db3f)
(cherry picked from commit 4bdaeeb686)
(cherry picked from commit a0e8285914)
(cherry picked from commit 72991a99f3)
(cherry picked from commit c99949bbf7)
(cherry picked from commit d4dd7df8e7)
- Upstream chosen `Handlebars` as language for the templates, presumenly
because Github doesn't have an syntax highlighter for Go.
- Forgejo does have syntax highlighting support for Go templates, so use that.

(cherry picked from commit a79718522d)
(cherry picked from commit 380d847e5c)
(cherry picked from commit 4126a9672d)
(cherry picked from commit afde0ed822)
(cherry picked from commit 6ddaca0061)
(cherry picked from commit 454b2f6b35)
(cherry picked from commit 58c10e1f93)
(cherry picked from commit 19ec0a5536)
(cherry picked from commit c3717ae4de)
(cherry picked from commit 6c74bbe575)
(cherry picked from commit 9cb48db780)
Follow-up to d58c542579 for Forgejo.

By default, Gitea does not select any map service that can be used
to introduce a 'Show this place on a map' button in the location
field of a user profile. Before I tried upstreaming this change to
Gitea, this was the case in Forgejo. This patch essentially recovers
this functionality, which is nice for public-facing instances and
communities.

Links to original PRs:
- #1076
- https://github.com/go-gitea/gitea/pull/26214

(cherry picked from commit bb187d5f61)
(cherry picked from commit ce02ef9078)
(cherry picked from commit 6b75c40e25)
(cherry picked from commit 6bc8e9f573)
(cherry picked from commit 063f8afdf7)
(cherry picked from commit c5cc736b72)
(cherry picked from commit 7b1bb4bedc)
(cherry picked from commit 2a022dceb4)
(cherry picked from commit a946c142d2)
(cherry picked from commit 8a4ea0c7ab)
(cherry picked from commit 37bfb05b34)
- Implements forgejo/discussions#32 (comment)
- Allows to add Forgejo-specific migrations that don't interfere with Gitea's migration logic. Please do note that we cannot liberally add migrations for Gitea tables, as they might do their own migrations in a future version on that table, and that could undo our migrations. Luckily,  we don't have a scenario where that's needed and thus not taken into account.

Co-authored-by: Gusted <postmaster@gusted.xyz>
Reviewed-on: #795
(cherry picked from commit 8ee32978c0)
(cherry picked from commit c240b34f59)
(cherry picked from commit 03936c6492)
(cherry picked from commit a20ed852f8)
(cherry picked from commit 1dfa82676f)
(cherry picked from commit c39ae0bf8a)
(cherry picked from commit cfaff08996)
(cherry picked from commit 94a458835a)
(cherry picked from commit 61a3cf77df)
(cherry picked from commit abb350fde8)
(cherry picked from commit 5194829d6b)
(cherry picked from commit 89239a60f2)
(cherry picked from commit 683cfd86ef)
(cherry picked from commit f4546cfed9)
(cherry picked from commit 86614d5826)
(cherry picked from commit e4b9c32187)
(cherry picked from commit 8c253719af)
(cherry picked from commit 857365d6c1)
(cherry picked from commit a488b3952f)
(cherry picked from commit 98313c4910)
The tests at tests/integration/migration-test/migration_test.go will
not run any Forgejo migration when using the gitea-*.sql.gz files
because they do not contain a ForgejoVersion row which is interpreted
as a new Forgejo installation for which there is no need for migration.

Create a situation by which the ForgejoVersion table exists and has a
version of 0 in tests/integration/migration-test/forgejo-v1.19.0.*.sql.gz
thus ensuring all Forgejo migrations are run.

The forgejo*.sql.gz files do not have any Gitea related records, which
will be interpreted by the Gitea migrations as a new installation that
does not need any migration. As a consequence the migration tests run
when using forgejo-v1.19.0.*.sql.gz are exclusively about Forgejo
migrations.

(cherry picked from commit ec8003859c)
(cherry picked from commit 697570ff39)
(cherry picked from commit f041aec172)
(cherry picked from commit 60463e3bab)
(cherry picked from commit b2fc2a7c13)
(cherry picked from commit fb2759b6af)
(cherry picked from commit 37cfc3b227)
(cherry picked from commit 832607500a)
(cherry picked from commit 143d4007b1)
(cherry picked from commit a17e803fbf)
(cherry picked from commit 86b26436af)
(cherry picked from commit 479cba59ac)
(cherry picked from commit 4765f9a889)
(cherry picked from commit af771410bf)
(cherry picked from commit d1ea9305d8)
(cherry picked from commit f77e1bb7ab)
(cherry picked from commit 0b95f8fe89)
(cherry picked from commit 4f8fb2390a)
(cherry picked from commit 8ea0e22ff6)
(cherry picked from commit 43ac19ac59)
(cherry picked from commit 66afddd511)
(cherry picked from commit 19da0dee9d)
(cherry picked from commit 0b725af693)
(cherry picked from commit 64d4de2b66)
(cherry picked from commit 05bc9d3b7f)
(cherry picked from commit 5958553066)
(cherry picked from commit c4f77e26c9)
(cherry picked from commit 3034832c66)
(cherry picked from commit d48931ec5b)
(cherry picked from commit b7fe7cf401)
(cherry picked from commit cf339eed4f)
(cherry picked from commit 4f3a16168b)
(cherry picked from commit 6f5bbc53fc)
(cherry picked from commit aca42b422e)
(cherry picked from commit 5a7f7580e5)
(cherry picked from commit 06c383c807)
(cherry picked from commit fe831dcb53)
(cherry picked from commit cd12cd0dbc)
(cherry picked from commit cc79163703)
(cherry picked from commit 57e597bf7e)
(cherry picked from commit 643a2b0e81)
(cherry picked from commit f10faffb4f)
(cherry picked from commit b440c5767e)

[TESTS] verify facts for the admin storage documentation (squash)

(cherry picked from commit d83d8ce57b)
(cherry picked from commit d8855ef27c)
(cherry picked from commit 11230466ec)
(cherry picked from commit b2cdd9d971)
(cherry picked from commit a0a5e78524)
(cherry picked from commit 846413110f)
(cherry picked from commit 72b92d5a78)
(cherry picked from commit 88d1b53eea)
(cherry picked from commit f63f71afad)
(cherry picked from commit 1f774145fc)
(cherry picked from commit 53e637693b)
(cherry picked from commit 4974cbf10a)
(cherry picked from commit 554bca7fae)
(cherry picked from commit 61b8cf83b9)
(cherry picked from commit d8bcc6f68c)
(cherry picked from commit ee04c34072)
(cherry picked from commit 713153a6d6)
(cherry picked from commit 69741e4e66)
(cherry picked from commit 2a3c7b09cb)
(cherry picked from commit a1554c1168)
(cherry picked from commit edae2c6d2d)
(cherry picked from commit 49737cf009)
(cherry picked from commit ec53704c34)
(cherry picked from commit 7a1c5c0f32)
(cherry picked from commit e658c20c0f)
(cherry picked from commit baf575468f)
(cherry picked from commit 40cb14eff4)
Refs: https://forgejo.org/2023-08-release-v1-20-3-0/
(cherry picked from commit a266dd0ce3)
(cherry picked from commit b9eb5eccd8)
(cherry picked from commit 7fc2028ede)
(cherry picked from commit 0c988e6120)
(cherry picked from commit 7ba05e8c2b)
(cherry picked from commit 2ed5068abe)
(cherry picked from commit 353913a26d)
(cherry picked from commit 4e63a01a8b)
(cherry picked from commit 99f612aed3)
(cherry picked from commit b4fe189cae)
(cherry picked from commit 884ca63738)
(cherry picked from commit 0a45d9c37b)

[TESTS] upgrade tests for storage (squash) relative paths

(cherry picked from commit 3bb19285f3)
(cherry picked from commit c640c09e61)
(cherry picked from commit 40ffe2d226)

[UPGRADE] S3 storage and fixtures

(cherry picked from commit c466c9c657)
(cherry picked from commit e80abbe2cd)
(cherry picked from commit 50a47df1d1)

[UPGRADE]  add sanity checks for [storage*] (squash) speedup upgrade tests

(cherry picked from commit f578279cfe)
(cherry picked from commit 6dd677f151)
(cherry picked from commit ee7e7eca27)
(cherry picked from commit 879ffca697)
(cherry picked from commit 60b33cc5af)
See https://forgejo.org/2023-10-release-v1-20-5-0/

(cherry picked from commit 7d619f79a0)
(cherry picked from commit ce5c75e153)
Signed-off-by: cassiozareck <cassiomilczareck@gmail.com>
(cherry picked from commit a878adfe62)

Adding description and Forgejo SVG

(cherry picked from commit 13738c0380)

Undo reordering and tmpl redirection

(cherry picked from commit 9ae51c46f4)
(cherry picked from commit 70fffdc61d)
(cherry picked from commit c0ebfa9da3)
(cherry picked from commit 9922c92787)
(cherry picked from commit 00c0effbc7)
(cherry picked from commit e4c9525b13)
(cherry picked from commit 09d7b83211)
(cherry picked from commit bbcd5975c9)
(cherry picked from commit 55c70a0e18)
(cherry picked from commit 28c0f327cf)
(cherry picked from commit 1b532f16c7)
(cherry picked from commit 6e35d3ffb1)
(cherry picked from commit 3e6ba3b3b7)
(cherry picked from commit d47d8dd966)
(cherry picked from commit 2716166cd4)
(cherry picked from commit 50c67cb906)
(cherry picked from commit ba0049afc1)
- As per forgejo/discussions#53 (comment)
- Using the `CODEOWNERS` feature it should speed up the development
process for contributors as for the most common PRs the right reviewers
will be added by Forgejo automatically. They can be added very
precisely according to the changed files of the PR.
- This feature is implemented in v1.21, which means it's not available
on Codeberg.

(cherry picked from commit 1511ef1c80)
(cherry picked from commit 99999e3a03)
(cherry picked from commit 0b0dd6f7a9)
(cherry picked from commit d42940034f)
(cherry picked from commit 5be6e7d254)
- Currently the confirmation for dangerous actions such as transferring
the repository or deleting it only requires the user to ~~copy paste~~
type the repository name.
- This can be problematic when the user has a fork or another repository
with the same name as an organization's repository, and the confirmation
doesn't make clear that it could be deleting the wrong repository. While
it's mentioned in the dialog, it's better to be on the safe side and
also add the owner's name to be an element that has to be typed for
these dangerous actions.
- Added integration tests.

(cherry picked from commit bf679b24dd)
(cherry picked from commit 1963085dd9)
(cherry picked from commit fb94095d19)
(cherry picked from commit e1d1e46afe)
(cherry picked from commit 93a844dd13)
(cherry picked from commit 6d6d1a121c)
#1543
(cherry picked from commit 6146ef6263)
(cherry picked from commit 45b9005ad9)
#1543
(cherry picked from commit fbb71f464b)
(cherry picked from commit 650f849c84)
[v1.22] [FEAT] allow setting the update date on issues and comments
All checks were successful
testing / lint-backend (push) Successful in 2m56s
Integration tests for the release process / release-simulation (push) Successful in 4m23s
testing / checks-backend (push) Successful in 3m24s
testing / test-unit (push) Successful in 5m29s
upgrade / upgrade (push) Successful in 11m2s
testing / test-mysql (push) Successful in 13m26s
testing / test-sqlite (push) Successful in 14m10s
testing / test-pgsql (push) Successful in 15m46s
testing / lint-backend (pull_request) Successful in 3m34s
testing / checks-backend (pull_request) Successful in 4m3s
testing / test-unit (pull_request) Successful in 6m43s
testing / test-mysql (pull_request) Successful in 14m12s
testing / test-sqlite (pull_request) Successful in 13m38s
testing / test-pgsql (pull_request) Successful in 15m0s
8424d0ab3d
This field adds the possibility to set the update date when modifying
an issue through the API.

A 'NoAutoDate' in-memory field is added in the Issue struct.
If the update_at field is set, NoAutoDate is set to true and the
Issue's UpdatedUnix field is filled.

That information is passed down to the functions that actually updates
the database, which have been modified to not auto update dates if
requested.

A guard is added to the 'EditIssue' API call, to checks that the
udpate_at date is between the issue's creation date and the current
date (to avoid 'malicious' changes). It also limits the new feature
to project's owners and admins.

(cherry picked from commit c524d33402)

Add a SetIssueUpdateDate() function in services/issue.go

That function is used by some API calls to set the NoAutoDate and
UpdatedUnix fields of an Issue if an updated_at date is provided.

(cherry picked from commit f061caa655)

Add an updated_at field to the API calls related to Issue's Labels.

The update date is applied to the issue's comment created to inform
about the modification of the issue's labels.

(cherry picked from commit ea36cf80f5)

Add an updated_at field to the API call for issue's attachment creation

The update date is applied to the issue's comment created to inform
about the modification of the issue's content, and is set as the
asset creation date.

(cherry picked from commit 96150971ca)

Checking Issue changes, with and without providing an updated_at date

Those unit tests are added:

- TestAPIEditIssueWithAutoDate
- TestAPIEditIssueWithNoAutoDate

- TestAPIAddIssueLabelsWithAutoDate
- TestAPIAddIssueLabelsWithNoAutoDate

- TestAPICreateIssueAttachmentWithAutoDate
- TestAPICreateIssueAttachmentWithNoAutoDate

(cherry picked from commit 4926a5d7a2)

Add an updated_at field to the API call for issue's comment creation

The update date is used as the comment creation date, and is applied to
the issue as the update creation date.

(cherry picked from commit 76c8faecdc)

Add an updated_at field to the API call for issue's comment edition

The update date is used as the comment update date, and is applied to
the issue as an update date.

(cherry picked from commit cf787ad7fd)

Add an updated_at field to the API call for comment's attachment creation

The update date is applied to the comment, and is set as the asset
creation date.

(cherry picked from commit 1e4ff424d3)

Checking Comment changes, with and without providing an updated_at date

Those unit tests are added:

- TestAPICreateCommentWithAutoDate
- TestAPICreateCommentWithNoAutoDate

- TestAPIEditCommentWithAutoDate
- TestAPIEditCommentWithNoAutoDate

- TestAPICreateCommentAttachmentWithAutoDate
- TestAPICreateCommentAttachmentWithNoAutoDate

(cherry picked from commit da932152f1)

Pettier code to set the update time of comments

Now uses sess.AllCols().NoAutoToime().SetExpr("updated_unix", ...)

XORM is smart enough to compose one single SQL UPDATE which all
columns + updated_unix.

(cherry picked from commit 1f6a42808d)

Issue edition: Keep the max of the milestone and issue update dates.

When editing an issue via the API, an updated_at date can be provided.
If the EditIssue call changes the issue's milestone, the milestone's
update date is to be changed accordingly, but only with a greater
value.

This ensures that a milestone's update date is the max of all issue's
update dates.

(cherry picked from commit 8f22ea182e)

Rewrite the 'AutoDate' tests using subtests

Also add a test to check the permissions to set a date, and a test
to check update dates on milestones.

The tests related to 'AutoDate' are:
- TestAPIEditIssueAutoDate
- TestAPIAddIssueLabelsAutoDate
- TestAPIEditIssueMilestoneAutoDate
- TestAPICreateIssueAttachmentAutoDate
- TestAPICreateCommentAutoDate
- TestAPIEditCommentWithDate
- TestAPICreateCommentAttachmentAutoDate

(cherry picked from commit 961fd13c55)
(cherry picked from commit d52f4eea44)
(cherry picked from commit 3540ea2a43)

Conflicts:
	services/issue/issue.go
	#1415
(cherry picked from commit 56720ade00)

Conflicts:
	routers/api/v1/repo/issue_label.go
	#1462
(cherry picked from commit 47c78927d6)
(cherry picked from commit 2030f3b965)
(cherry picked from commit f02aeb7698)

Conflicts:
	routers/api/v1/repo/issue_attachment.go
	routers/api/v1/repo/issue_comment_attachment.go
	#1575
(cherry picked from commit d072525b35)
Owner

lets assume there will arrive a rest request to ap/inbox having such an activity:

https://codeberg.org/meissa/forgejo/src/branch/forgejo-federated-star/docs/unsure-where-to-put/adr_star_activity.md

The documentation will eventually go somewhere in https://codeberg.org/forgejo/docs but it is fine to have it here while this is in draft stage.

> > lets assume there will arrive a rest request to ap/inbox having such an activity: > > https://codeberg.org/meissa/forgejo/src/branch/forgejo-federated-star/docs/unsure-where-to-put/adr_star_activity.md > The documentation will eventually go somewhere in https://codeberg.org/forgejo/docs but it is fine to have it here while this is in draft stage.
earl-warren added the
enhancement/feature
forgejo/federation
labels 2023-10-27 12:09:26 +00:00
jerger force-pushed forgejo-federated-star from 46b621388f to 8f6f7c405c 2023-10-27 12:26:34 +00:00 Compare
jerger reviewed 2023-10-27 18:31:01 +00:00
@ -0,0 +35,4 @@
// "200":
// "$ref": "#/responses/ActivityPub"
// TODO: Mabe we should use F3 Repo instead?
Author
Member

Is there somewhere a good example how to create a F3 repository (or other actor)?

Is there somewhere a good example how to create a F3 repository (or other actor)?
Owner

f3 is not ready to be used

f3 is not ready to be used
Author
Member

What do you think would be better?

  1. create a own implementation for forgeFed.Repository actor & activities (this will be faster maybe & we can keep f3 compatibility in mind).
  2. enhance f3 by PR (maybe more slow, maybe hard to use this as PR dep in forgejo - so we can not proof that our PR is working at least for us).
What do you think would be better? 1. create a own implementation for forgeFed.Repository actor & activities (this will be faster maybe & we can keep f3 compatibility in mind). 2. enhance f3 by PR (maybe more slow, maybe hard to use this as PR dep in forgejo - so we can not proof that our PR is working at least for us).
Owner

I think anything involving federation and repositories is too soon. inbox / outbox need to exist before that.

I think anything involving federation and repositories is too soon. inbox / outbox need to exist before that.
jerger marked this conversation as resolved
Owner

Heads up: Forgejo is being rebased on Gitea today (that's a weekly occurrence). It means you will need to cherry-pick your commits on top of the newer base branch for this PR and maybe resolve conflicts. You can do that on your own time, you do not need to do that today. It can be in a week or a month and you can keep working in the meantime.

Ideally Gitea would be a package that can be upgraded as any other Go package. But it is not designed in this way and the weekly rebase is the equivalent of such an upgrade, only it is more work.

If you need help doing that, feel free to reach out in the development chatroom.

Heads up: Forgejo is being [rebased on Gitea](https://codeberg.org/forgejo/forgejo/issues?q=Furnace+cleanup) today (that's a weekly occurrence). It means you will need to cherry-pick your commits on top of the newer base branch for this PR and maybe resolve conflicts. You can do that on your own time, you do not need to do that today. It can be in a week or a month and you can keep working in the meantime. Ideally Gitea would be a package that can be upgraded as any other Go package. But it is not designed in this way and the weekly rebase is the equivalent of such an upgrade, only it is more work. If you need help doing that, feel free to reach out in the [development chatroom](https://matrix.to/#/#forgejo-development:matrix.org).
Author
Member

Heads up: Forgejo is being rebased on Gitea today (that's a weekly occurrence). It means you will need to cherry-pick your commits on top of the newer base branch for this PR and maybe resolve conflicts. You can do that on your own time, you do not need to do that today. It can be in a week or a month and you can keep working in the meantime.

Ideally Gitea would be a package that can be upgraded as any other Go package. But it is not designed in this way and the weekly rebase is the equivalent of such an upgrade, only it is more work.

If you need help doing that, feel free to reach out in the development chatroom.

will do this on upcoming fr :-)

> Heads up: Forgejo is being [rebased on Gitea](https://codeberg.org/forgejo/forgejo/issues?q=Furnace+cleanup) today (that's a weekly occurrence). It means you will need to cherry-pick your commits on top of the newer base branch for this PR and maybe resolve conflicts. You can do that on your own time, you do not need to do that today. It can be in a week or a month and you can keep working in the meantime. > > Ideally Gitea would be a package that can be upgraded as any other Go package. But it is not designed in this way and the weekly rebase is the equivalent of such an upgrade, only it is more work. > > If you need help doing that, feel free to reach out in the [development chatroom](https://matrix.to/#/#forgejo-development:matrix.org). > will do this on upcoming fr :-)
jerger force-pushed forgejo-federated-star from 42fe6e6d4c to 1efabebc4b 2023-11-03 15:41:58 +00:00 Compare
jerger reviewed 2023-11-08 09:11:23 +00:00
@ -0,0 +33,4 @@
// Source identifies the system generated this Activity. Exact one value has to be specified.
Source SourceType `jsonld:"source,omitempty"`
}
Author
Member

make gernerate-swagger breaks here ...

maybe ap.Actifity is not accessible by reflection ? It is also not a swagger:model ...

make gernerate-swagger breaks here ... maybe ap.Actifity is not accessible by reflection ? It is also not a `swagger:model` ...
jerger marked this conversation as resolved
jerger force-pushed forgejo-federated-star from d5c53fc35d to 9057e71b2a 2023-11-17 09:30:52 +00:00 Compare
Member

I'm preparing Forgejo's monthly report, would you like to add a short paragraph about your work here?

I'm preparing Forgejo's monthly report, would you like to add a short paragraph about your work here?
Author
Member

Shure - we can prepare a short paragraph on Friday. Would this fit in your timeline?

Shure - we can prepare a short paragraph on Friday. Would this fit in your timeline?
Member

Sure: even if the report is posted before it can be amended a few days later. I look forward to reading it!

Sure: even if the report is posted before it can be amended a few days later. I look forward to reading it!
Author
Member
@dachary here you can find some lines reporting our activities: https://codeberg.org/meissa/forgejo/src/branch/forgejo-federated-star/docs/unsure-where-to-put/blog.md
jerger reviewed 2023-12-03 11:41:33 +00:00
@ -0,0 +91,4 @@
// Is the ActorData Struct valid?
actor.PanicIfInvalid()
Author
Member

@earl-warren At this point in code we have an valid, normalized actor-id.

If the actor does not exist in our forgejo instance, we will create a user out of the actors information. In order to keep the mapping to the original person we tend to store this actor-id in to the users website field (later on an additional field person-id would be a good idea).

So the question is, how can we search for an actor-id stored in the users website field?

@earl-warren At this point in code we have an valid, normalized actor-id. If the actor does not exist in our forgejo instance, we will create a user out of the actors information. In order to keep the mapping to the original person we tend to store this actor-id in to the users website field (later on an additional field `person-id` would be a good idea). So the question is, how can we search for an actor-id stored in the users website field?
Owner

So the question is, how can we search for an actor-id stored in the users website field?

With a database query I suppose? But that's going to be slow because there is no index.

If the actor does not exist in our forgejo instance, we will create a user out of the actors information.

You could store the ID in the login_name field which is only used for external authentication sources. There is an index there.

Does that help?

> So the question is, how can we search for an actor-id stored in the users website field? With a database query I suppose? But that's going to be slow because there is no index. > If the actor does not exist in our forgejo instance, we will create a user out of the actors information. You could store the ID in the login_name field which is only used for external authentication sources. There is an index there. Does that help?
jerger marked this conversation as resolved
jerger force-pushed forgejo-federated-star from 3399546dda to 69660af9fb 2023-12-09 12:11:31 +00:00 Compare
jerger force-pushed forgejo-federated-star from 0cffda6e1c to 03b5cee1a3 2023-12-15 15:12:44 +00:00 Compare
jerger added 1 commit 2023-12-16 16:00:41 +00:00
fix prefix
Some checks failed
testing / checks-backend (pull_request) Failing after 2m49s
testing / lint-backend (pull_request) Successful in 6m47s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
068bf20f45
jerger force-pushed forgejo-federated-star from 92a80674a0 to 83463f0934 2023-12-20 19:36:55 +00:00 Compare
jerger force-pushed forgejo-federated-star from b88e369978 to 35dd9c327a 2023-12-29 17:10:36 +00:00 Compare
jerger force-pushed forgejo-federated-star from 99d8d6485c to 6fbe1d5ac2 2024-01-05 10:54:39 +00:00 Compare
jerger force-pushed forgejo-federated-star from 439b8b08b4 to 249ca24cb6 2024-01-13 15:50:44 +00:00 Compare
jerger force-pushed forgejo-federated-star from 6d87b1426a to 2d4faad15b 2024-01-18 17:40:11 +00:00 Compare
jerger force-pushed forgejo-federated-star from 4680f86c14 to 53ba45cf6a 2024-02-02 16:34:23 +00:00 Compare
jerger force-pushed forgejo-federated-star from 7eef7df629 to 9752ed8033 2024-02-06 11:53:09 +00:00 Compare
jerger force-pushed forgejo-federated-star from d68b9ee5fb to 1ac23e2817 2024-02-09 15:53:27 +00:00 Compare
Owner

Could you please cherry-pick your commit(s) on top of the forgejo branch? You will also need to change the target branch of this PR to be forgejo. You can do that by editing the title of this PR: it will show a drop down menu, under the title input area, that allows you to do select the target branch.

This is the first and last time you will need to do that, Forgejo is now using the development workflow common to most Free Software projects, with a single development branch.

Could you please cherry-pick your commit(s) on top of the `forgejo` branch? You will also need to change the target branch of this PR to be `forgejo`. You can do that by editing the title of this PR: it will show a drop down menu, under the title input area, that allows you to do select the target branch. This is **the first and last time you will need to do that**, Forgejo is now using the development workflow common to most Free Software projects, with a single development branch.
Author
Member

Could you please cherry-pick your commit(s) on top of the forgejo branch? You will also need to change the target branch of this PR to be forgejo. You can do that by editing the title of this PR: it will show a drop down menu, under the title input area, that allows you to do select the target branch.

juhu, will do this the next days :-)

.. done :-)

> Could you please cherry-pick your commit(s) on top of the `forgejo` branch? You will also need to change the target branch of this PR to be `forgejo`. You can do that by editing the title of this PR: it will show a drop down menu, under the title input area, that allows you to do select the target branch. juhu, will do this the next days :-) .. done :-)
jerger changed target branch from forgejo-development to forgejo 2024-02-10 14:31:49 +00:00
jerger force-pushed forgejo-federated-star from 7566195fd0 to 086c66b06a 2024-02-12 14:41:10 +00:00 Compare
clemensgeibel added 1 commit 2024-02-13 10:09:39 +00:00
small fix by adding id as pk for FederatedUser
Some checks failed
e2e / test-e2e (pull_request) Failing after 0s
testing / backend-checks (pull_request) Failing after 0s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
Integration tests for the release process / release-simulation (pull_request) Successful in 4m3s
db2f896264
jerger added 2 commits 2024-02-14 17:23:21 +00:00
Merge branch 'forgejo-federated-star' of codeberg.org:meissa/forgejo into forgejo-federated-star
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m57s
testing / backend-checks (pull_request) Successful in 3m28s
e2e / test-e2e (pull_request) Successful in 4m43s
testing / test-mysql (pull_request) Failing after 3m2s
testing / test-unit (pull_request) Successful in 6m5s
testing / test-sqlite (pull_request) Successful in 12m7s
testing / test-pgsql (pull_request) Successful in 13m54s
0e73dfccbb
earl-warren reviewed 2024-02-29 15:32:44 +00:00
@ -0,0 +178,4 @@
Passwd: password,
MustChangePassword: false,
LoginName: loginName,
Type: user.UserTypeRemoteUser,
Owner

RemoteID: personID.AsURI()

Ref: #2465 (comment)

> RemoteID: personID.AsURI() Ref: https://codeberg.org/forgejo/forgejo/pulls/2465#issuecomment-1624597
jerger marked this conversation as resolved
jerger reviewed 2024-03-04 11:41:50 +00:00
@ -0,0 +10,4 @@
type FederatedUser struct {
ID int64 `xorm:"pk autoincr"`
UserID int64 `xorm:"NOT NULL"`
ExternalID string `xorm:"TEXT UNIQUE(federation_mapping) NOT NULL"`
Author
Member

That is the place, where the remote-id is stored :-)

That is the place, where the remote-id is stored :-)
jerger marked this conversation as resolved
jerger added 1 commit 2024-03-04 12:43:26 +00:00
fix en name of score :-)
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m45s
testing / backend-checks (pull_request) Successful in 3m28s
e2e / test-e2e (pull_request) Successful in 4m50s
testing / test-mysql (pull_request) Failing after 3m2s
testing / test-unit (pull_request) Successful in 6m4s
testing / test-sqlite (pull_request) Successful in 12m22s
testing / test-pgsql (pull_request) Successful in 14m4s
e41fa653d9
jerger added 1 commit 2024-03-08 16:36:43 +00:00
adjust to new dev-model
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 4m12s
testing / backend-checks (pull_request) Failing after 3m30s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 7m6s
93d7de147b
jerger added 1 commit 2024-03-08 17:25:45 +00:00
found the template for frontend
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m52s
e2e / test-e2e (pull_request) Successful in 4m22s
testing / backend-checks (pull_request) Failing after 4m48s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
fdcff3cc43
jerger added 1 commit 2024-03-16 11:46:51 +00:00
Locales, field & action
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 4m4s
testing / backend-checks (pull_request) Failing after 3m58s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 7m42s
9dcdf8d828
jerger added 1 commit 2024-03-19 07:30:06 +00:00
wip: found backend for settings update
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m51s
e2e / test-e2e (pull_request) Successful in 4m18s
testing / backend-checks (pull_request) Failing after 3m38s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
6901ae4b99
zam23 added 1 commit 2024-03-19 09:05:39 +00:00
Federation settigs :: set label name for internationalisation
Some checks failed
e2e / test-e2e (pull_request) Successful in 3m9s
Integration tests for the release process / release-simulation (pull_request) Successful in 3m47s
testing / backend-checks (pull_request) Failing after 3m46s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
3018769d26
zam23 added 1 commit 2024-03-19 09:25:27 +00:00
corr var label name
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m47s
e2e / test-e2e (pull_request) Successful in 4m15s
testing / backend-checks (pull_request) Failing after 3m31s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
26eb01b509
patdyn added 1 commit 2024-03-19 10:57:36 +00:00
Implement FederationEnabled function for templates
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m50s
e2e / test-e2e (pull_request) Successful in 4m33s
testing / backend-checks (pull_request) Failing after 3m55s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
a6d45f8b97
patdyn added 3 commits 2024-03-19 12:52:20 +00:00
Fix typos
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m51s
e2e / test-e2e (pull_request) Successful in 4m51s
testing / backend-checks (pull_request) Failing after 4m9s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
048ff5da11
patdyn added 1 commit 2024-03-19 12:53:13 +00:00
Display data on text area
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m46s
e2e / test-e2e (pull_request) Successful in 6m3s
testing / backend-checks (pull_request) Failing after 4m12s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
abc7aa0972
patdyn added 1 commit 2024-03-19 12:56:18 +00:00
Revert to input
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m51s
testing / backend-checks (pull_request) Failing after 3m50s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 5m8s
9337274334
patdyn added 1 commit 2024-03-19 14:30:19 +00:00
WIP Implement proper saving of federated repo urls
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m51s
e2e / test-e2e (pull_request) Successful in 3m50s
testing / backend-checks (pull_request) Failing after 4m7s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
884e38bdab
Added ToDos where relevant
patdyn added 1 commit 2024-03-19 14:31:02 +00:00
Add more todos
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m44s
testing / backend-checks (pull_request) Failing after 3m46s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 4m59s
84f236a58d
jerger added 1 commit 2024-03-19 18:28:41 +00:00
add review comment
Some checks failed
e2e / test-e2e (pull_request) Successful in 3m50s
Integration tests for the release process / release-simulation (pull_request) Successful in 3m47s
testing / backend-checks (pull_request) Failing after 3m22s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
41da150fb3
patdyn added 5 commits 2024-03-20 12:27:58 +00:00
Considering this from a POC perspective we might want to avoid misuse
of this field. In other words, we want this field to be used as
intended.
Update Locales to reflect changes
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m56s
e2e / test-e2e (pull_request) Successful in 4m24s
testing / backend-checks (pull_request) Failing after 3m39s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
3dda92b52b
patdyn added 4 commits 2024-03-20 15:24:28 +00:00
It wasn't clear how to utilize the "type" field in the .tmpl for our
purposes.
Remove ToDo
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 4m6s
e2e / test-e2e (pull_request) Successful in 4m41s
testing / backend-checks (pull_request) Failing after 4m37s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
3b30c678e7
jerger added 1 commit 2024-03-21 07:26:25 +00:00
introduce federated repo
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m56s
e2e / test-e2e (pull_request) Successful in 5m13s
testing / backend-checks (pull_request) Failing after 3m37s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
b4bb41e0e3
patdyn added 11 commits 2024-03-21 15:44:41 +00:00
"May" is also interchangeable with "could". "Should" fits better in this context.
WIP Initial, naive implementation of sending stars to fed repos
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 4m37s
e2e / test-e2e (pull_request) Successful in 5m51s
testing / backend-checks (pull_request) Failing after 5m55s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
3e6eb255b3
Currently no rate limits are respected
The mechanisms to use the Federated repo table need to be used
jerger added 2 commits 2024-03-22 06:32:44 +00:00
Merge branch 'forgejo-federated-star' of codeberg.org:meissa/forgejo into forgejo-federated-star
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m47s
e2e / test-e2e (pull_request) Successful in 4m34s
testing / backend-checks (pull_request) Failing after 3m57s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
7316108d56
jerger added 1 commit 2024-03-22 06:52:12 +00:00
review
Some checks failed
e2e / test-e2e (pull_request) Successful in 3m21s
Integration tests for the release process / release-simulation (pull_request) Successful in 3m46s
testing / backend-checks (pull_request) Failing after 3m25s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
9ccad50b05
jerger added 1 commit 2024-03-22 07:09:11 +00:00
more review
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m46s
e2e / test-e2e (pull_request) Successful in 4m39s
testing / backend-checks (pull_request) Failing after 3m50s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
4938d38e39
jerger added 1 commit 2024-03-22 07:37:19 +00:00
add test & fix compile
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m45s
e2e / test-e2e (pull_request) Successful in 3m42s
testing / backend-checks (pull_request) Failing after 3m23s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
508b4deac8
patdyn added 4 commits 2024-03-22 16:49:59 +00:00
Add discussion ToDo
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m57s
e2e / test-e2e (pull_request) Failing after 4m28s
testing / backend-checks (pull_request) Failing after 3m33s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
0f27f0a05b
patdyn added 1 commit 2024-03-22 16:51:31 +00:00
Add discussion ToDo
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m51s
testing / backend-checks (pull_request) Failing after 3m29s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Failing after 4m42s
6b767684a7
jerger added 1 commit 2024-03-22 19:15:03 +00:00
implement storage of federated_repo
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 4m7s
e2e / test-e2e (pull_request) Failing after 3m47s
testing / backend-checks (pull_request) Failing after 3m9s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
950dcd959e
jerger added 1 commit 2024-03-23 14:28:02 +00:00
fix context
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m51s
testing / backend-checks (pull_request) Failing after 4m16s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 5m23s
ce317c33cb
jerger added 1 commit 2024-03-23 16:01:37 +00:00
fixed issues, store now works
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m48s
testing / backend-checks (pull_request) Failing after 3m25s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 4m41s
a9d18e5327
jerger added 1 commit 2024-03-25 08:15:39 +00:00
use new table to populate settings
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m46s
e2e / test-e2e (pull_request) Successful in 4m0s
testing / backend-checks (pull_request) Failing after 3m16s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
828e7a76f6
patdyn added 4 commits 2024-03-25 15:52:49 +00:00
Use Plural
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m46s
e2e / test-e2e (pull_request) Successful in 4m38s
testing / backend-checks (pull_request) Failing after 3m51s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
6d814447d0
jerger added 2 commits 2024-03-26 06:58:12 +00:00
mob-next: how to store port & schema
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 4m0s
e2e / test-e2e (pull_request) Failing after 4m1s
testing / backend-checks (pull_request) Failing after 3m22s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
cf8a30efac
clemensgeibel added 1 commit 2024-03-26 07:28:29 +00:00
set federatedRepoList into context
Some checks failed
testing / backend-checks (pull_request) Failing after 3m7s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 4m20s
Integration tests for the release process / release-simulation (pull_request) Successful in 4m34s
d251fc2611
clemensgeibel added 1 commit 2024-03-26 09:23:19 +00:00
moved functionality
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m46s
testing / backend-checks (pull_request) Failing after 3m23s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 4m41s
7f0371056e
import of forgefed causes circular dependencies. This has to be solved!
clemensgeibel added 1 commit 2024-03-26 13:02:36 +00:00
fixed circular dependencies
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m46s
testing / backend-checks (pull_request) Failing after 3m38s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 4m42s
bbe5096307
next: fix post call error
patdyn added 4 commits 2024-03-26 14:29:06 +00:00
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.
Revert
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m45s
e2e / test-e2e (pull_request) Successful in 3m47s
testing / backend-checks (pull_request) Failing after 3m24s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
04f907c8c8
patdyn added 5 commits 2024-03-26 15:56:17 +00:00
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.
Add ToDo
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m52s
e2e / test-e2e (pull_request) Successful in 4m24s
testing / backend-checks (pull_request) Failing after 3m27s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
84f73d9db8
jerger added 1 commit 2024-03-27 07:21:55 +00:00
prepare state of the month
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m47s
e2e / test-e2e (pull_request) Successful in 4m10s
testing / backend-checks (pull_request) Failing after 3m40s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
a950ba4631
jerger added 1 commit 2024-03-27 07:25:29 +00:00
wip
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m45s
testing / backend-checks (pull_request) Failing after 3m7s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 4m34s
dd37e3a7b8
clemensgeibel added 1 commit 2024-03-27 08:29:29 +00:00
Added context and choices to new adr
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m47s
testing / backend-checks (pull_request) Failing after 3m41s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 4m42s
a2a5956d79
clemensgeibel added 1 commit 2024-03-27 10:33:06 +00:00
Added new blog post
Some checks failed
e2e / test-e2e (pull_request) Successful in 3m58s
testing / backend-checks (pull_request) Failing after 3m33s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
Integration tests for the release process / release-simulation (pull_request) Successful in 3m53s
911e916a4f
clemensgeibel added 1 commit 2024-03-27 15:20:40 +00:00
revise NewForgeLike
Some checks failed
e2e / test-e2e (pull_request) Successful in 4m9s
testing / backend-checks (pull_request) Failing after 3m24s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
Integration tests for the release process / release-simulation (pull_request) Successful in 4m21s
97b5e0da91
Also added new test, which still fails since time.Now() does not match
jerger added 1 commit 2024-03-27 18:02:45 +00:00
rename file
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m16s
e2e / test-e2e (pull_request) Successful in 3m49s
testing / backend-checks (pull_request) Failing after 3m28s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e75bcb2f89
jerger added 1 commit 2024-03-27 18:27:02 +00:00
add some pictures
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m16s
e2e / test-e2e (pull_request) Successful in 3m51s
testing / backend-checks (pull_request) Failing after 3m22s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
8eae48761f
jerger added 1 commit 2024-03-27 18:56:42 +00:00
fix test & add some review
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m16s
e2e / test-e2e (pull_request) Successful in 3m41s
testing / backend-checks (pull_request) Failing after 3m20s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
259c0202c7
jerger added 1 commit 2024-03-28 06:44:30 +00:00
comments
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m16s
testing / backend-checks (pull_request) Failing after 4m4s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 5m45s
992fbf6898
jerger added 1 commit 2024-03-28 07:13:09 +00:00
use doer coming from api
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m16s
e2e / test-e2e (pull_request) Failing after 4m4s
testing / backend-checks (pull_request) Failing after 3m49s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
d624ebb712
clemensgeibel added 1 commit 2024-03-28 08:36:15 +00:00
fixed tests
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m16s
e2e / test-e2e (pull_request) Successful in 4m15s
testing / backend-checks (pull_request) Failing after 3m25s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
1ad7bdf983
part1, one test still failing
clemensgeibel added 1 commit 2024-03-28 13:28:09 +00:00
Moved sendLikeActivities to federation_service
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m16s
e2e / test-e2e (pull_request) Successful in 4m14s
testing / backend-checks (pull_request) Failing after 3m59s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
7f19247b0a
jerger added 3 commits 2024-03-28 14:21:48 +00:00
Merge branch 'forgejo-federated-star' of codeberg.org:meissa/forgejo into forgejo-federated-star
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m17s
e2e / test-e2e (pull_request) Successful in 4m0s
testing / backend-checks (pull_request) Failing after 3m37s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2b11b93bc
clemensgeibel added 1 commit 2024-03-28 14:41:50 +00:00
fix like target
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m16s
e2e / test-e2e (pull_request) Successful in 4m33s
testing / backend-checks (pull_request) Failing after 3m37s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
2ad685fd2c
jerger added 1 commit 2024-03-28 15:08:36 +00:00
separate collecting activities from sending them
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m17s
e2e / test-e2e (pull_request) Successful in 4m44s
testing / backend-checks (pull_request) Failing after 4m12s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
b747342672
jerger added 1 commit 2024-04-02 07:03:58 +00:00
feedback from discussion
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m17s
testing / backend-checks (pull_request) Failing after 3m32s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 4m36s
9212fb1633
clemensgeibel added 1 commit 2024-04-02 09:13:57 +00:00
prevent error when setting no fed repos
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m16s
e2e / test-e2e (pull_request) Successful in 4m20s
testing / backend-checks (pull_request) Failing after 3m24s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
8b56159042
clemensgeibel added 1 commit 2024-04-02 10:36:11 +00:00
delete federated repos when deleting repository
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m14s
testing / backend-checks (pull_request) Failing after 4m19s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 5m45s
962cd374e2
clemensgeibel added 1 commit 2024-04-02 10:38:12 +00:00
optimize function
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Failing after 2m47s
e2e / test-e2e (pull_request) Successful in 5m37s
testing / backend-checks (pull_request) Failing after 3m48s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
431b4c2829
patdyn added 1 commit 2024-04-02 15:33:43 +00:00
Also trim whitespaces within the list items
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m17s
e2e / test-e2e (pull_request) Successful in 4m54s
testing / backend-checks (pull_request) Failing after 3m38s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
5edf7d0e61
jerger added 1 commit 2024-04-02 16:36:30 +00:00
remove federated user in case of user deletion
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m12s
e2e / test-e2e (pull_request) Successful in 3m43s
testing / backend-checks (pull_request) Failing after 3m50s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
7a142c876e
clemensgeibel added 1 commit 2024-04-03 07:53:25 +00:00
adjust fed repo splitting
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m16s
e2e / test-e2e (pull_request) Successful in 4m43s
testing / backend-checks (pull_request) Failing after 4m4s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
5671566df6
clemensgeibel added 1 commit 2024-04-03 08:25:47 +00:00
trim trailing semicolon
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m16s
e2e / test-e2e (pull_request) Successful in 5m18s
testing / backend-checks (pull_request) Failing after 4m37s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
d240a9bc90
patdyn added 1 commit 2024-04-03 10:08:53 +00:00
Rename federatedRepo to followingRepo
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m22s
e2e / test-e2e (pull_request) Successful in 3m24s
testing / backend-checks (pull_request) Failing after 3m28s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
daccaed157
clemensgeibel added 1 commit 2024-04-03 10:26:38 +00:00
renamed FederatedRepo to FollowingRepo
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m17s
e2e / test-e2e (pull_request) Successful in 3m54s
testing / backend-checks (pull_request) Failing after 3m29s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
2b7a22afb3
clemensgeibel added 1 commit 2024-04-03 13:42:37 +00:00
added repoUri to federationService
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m17s
e2e / test-e2e (pull_request) Successful in 5m2s
testing / backend-checks (pull_request) Failing after 4m12s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
8cd89bf4d3
This does not work yet. APAPI url OR host and id have to be derived from repoUri.
clemensgeibel added 2 commits 2024-04-04 06:32:46 +00:00
This reverts commit 8cd89bf4d3.
show apapiurl in repo settings
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m16s
testing / backend-checks (pull_request) Failing after 4m2s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 5m40s
976d79044f
clemensgeibel added 1 commit 2024-04-04 13:08:19 +00:00
fix some linting issues
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m11s
testing / backend-checks (pull_request) Failing after 4m10s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 5m26s
92d011f1a5
clemensgeibel added 1 commit 2024-04-04 13:10:39 +00:00
make lint-go-fix
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m15s
e2e / test-e2e (pull_request) Successful in 5m12s
testing / backend-checks (pull_request) Failing after 3m45s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
b4e6a7ea3f
clemensgeibel added 1 commit 2024-04-04 13:15:27 +00:00
make fmt
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m18s
testing / backend-checks (pull_request) Failing after 4m37s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 5m47s
8d78c3edca
jerger added 1 commit 2024-04-04 16:06:04 +00:00
add relation details
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m18s
testing / backend-checks (pull_request) Failing after 3m29s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 6m50s
15bb774409
jerger added 1 commit 2024-04-04 16:33:18 +00:00
add notes for setup
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m16s
e2e / test-e2e (pull_request) Successful in 3m50s
testing / backend-checks (pull_request) Failing after 3m28s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
41f066a1a6
patdyn added 2 commits 2024-04-05 15:07:23 +00:00
Add ToDo
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m17s
e2e / test-e2e (pull_request) Successful in 4m51s
testing / backend-checks (pull_request) Failing after 3m52s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
765298814c
jerger added 2 commits 2024-04-06 08:59:47 +00:00
Merge branch 'forgejo-federated-star' of codeberg.org:meissa/forgejo into forgejo-federated-star
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 3m25s
e2e / test-e2e (pull_request) Successful in 9m36s
testing / backend-checks (pull_request) Failing after 4m48s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
213fc3a97d
patdyn added 3 commits 2024-04-09 09:31:24 +00:00
Use federated staring func
Some checks failed
testing / frontend-checks (pull_request) Successful in 50s
Integration tests for the release process / release-simulation (pull_request) Successful in 4m20s
testing / backend-checks (pull_request) Failing after 3m1s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 7m20s
511ef0bf5b
patdyn added 1 commit 2024-04-09 09:51:15 +00:00
Linting
Some checks failed
testing / frontend-checks (pull_request) Successful in 49s
Integration tests for the release process / release-simulation (pull_request) Successful in 4m27s
e2e / test-e2e (pull_request) Successful in 4m17s
testing / backend-checks (pull_request) Failing after 4m9s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
2b9977d843
patdyn added 3 commits 2024-04-09 11:03:34 +00:00
make fmt
Some checks failed
testing / frontend-checks (pull_request) Successful in 52s
Integration tests for the release process / release-simulation (pull_request) Successful in 4m21s
testing / backend-checks (pull_request) Failing after 3m16s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 7m43s
bb83a8d85e
patdyn added 1 commit 2024-04-09 12:22:07 +00:00
Bits of format
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 4m24s
testing / frontend-checks (pull_request) Successful in 1m13s
testing / backend-checks (pull_request) Failing after 4m9s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 6m2s
bbcb8e7060
patdyn added 3 commits 2024-04-09 14:07:14 +00:00
use context
Some checks failed
testing / frontend-checks (pull_request) Successful in 1m1s
testing / backend-checks (pull_request) Successful in 4m15s
testing / test-mysql (pull_request) Failing after 3m17s
testing / test-unit (pull_request) Successful in 7m29s
testing / test-sqlite (pull_request) Successful in 22m19s
testing / test-pgsql (pull_request) Successful in 27m6s
19628b84c6
patdyn added 3 commits 2024-04-09 14:41:49 +00:00
Don't use TEXT type
Some checks failed
testing / frontend-checks (pull_request) Successful in 1m21s
testing / backend-checks (pull_request) Successful in 4m55s
testing / test-unit (pull_request) Successful in 9m1s
testing / test-mysql (pull_request) Successful in 21m47s
testing / test-pgsql (pull_request) Failing after 22m23s
testing / test-sqlite (pull_request) Successful in 20m57s
94091cc144
jerger changed title from WIP: forgejo-federated-star to forgejo-federated-star 2024-04-12 11:25:17 +00:00
jerger requested review from caesar 2024-04-12 11:25:17 +00:00
jerger requested review from crystal 2024-04-12 11:25:17 +00:00
jerger requested review from Gusted 2024-04-12 11:25:17 +00:00
jerger requested review from dachary 2024-04-12 11:25:17 +00:00
jerger requested review from earl-warren 2024-04-12 11:25:17 +00:00
jerger requested review from 0ko 2024-04-12 11:25:17 +00:00
jerger added 1 commit 2024-04-12 11:52:35 +00:00
unify copyright comment
All checks were successful
testing / frontend-checks (pull_request) Successful in 1m11s
Integration tests for the release process / release-simulation (pull_request) Successful in 4m19s
testing / backend-checks (pull_request) Successful in 4m20s
e2e / test-e2e (pull_request) Successful in 6m34s
testing / test-unit (pull_request) Successful in 7m22s
testing / test-mysql (pull_request) Successful in 18m54s
testing / test-sqlite (pull_request) Successful in 18m38s
testing / test-pgsql (pull_request) Successful in 21m13s
37420442de
patdyn added 5 commits 2024-04-12 12:34:19 +00:00
Merge branch 'forgejo-federated-star' of codeberg.org:meissa/forgejo into forgejo-federated-star
All checks were successful
Integration tests for the release process / release-simulation (pull_request) Successful in 4m52s
testing / frontend-checks (pull_request) Successful in 1m6s
testing / backend-checks (pull_request) Successful in 5m17s
e2e / test-e2e (pull_request) Successful in 7m53s
testing / test-unit (pull_request) Successful in 9m4s
testing / test-mysql (pull_request) Successful in 22m16s
testing / test-sqlite (pull_request) Successful in 21m56s
testing / test-pgsql (pull_request) Successful in 25m31s
b878e74f76
Owner

I assume this PR has many different layers and does not need to be merged altogether. Could you please extract in a separate PR the smallest possible independent subset so that I can start reviewing it independently? That would greatly help speed up the process and get things moving.

I assume this PR has many different layers and does not need to be merged altogether. Could you please extract in a separate PR the smallest possible independent subset so that I can start reviewing it independently? That would greatly help speed up the process and get things moving.
Author
Member

I assume this PR has many different layers and does not need to be merged altogether. Could you please extract in a separate PR the smallest possible independent subset so that I can start reviewing it independently? That would greatly help speed up the process and get things moving.

Hmm .. I am not completely sure but let's try :-)

  • documentation has no dependency - if you point me the best place I can open an PR there.
  • repository & db changes
  • services on top of db
  • api
  • frontend

Might work. Will such a separation help you?

How can I keep authorship informations? Cherrypick and deleting files will lead to many conflicts I assume ...
Do you have an better idea?

> I assume this PR has many different layers and does not need to be merged altogether. Could you please extract in a separate PR the smallest possible independent subset so that I can start reviewing it independently? That would greatly help speed up the process and get things moving. Hmm .. I am not completely sure but let's try :-) * documentation has no dependency - if you point me the best place I can open an PR there. * repository & db changes * services on top of db * api * frontend Might work. Will such a separation help you? How can I keep authorship informations? Cherrypick and deleting files will lead to many conflicts I assume ... Do you have an better idea?
Owner

Splitting everything as you describe could help but it is a lot of work. I'm suggesting something simpler. Just extract one PR out of this one. Get it merged, rebase and iterate.

Splitting everything as you describe could help but it is a lot of work. I'm suggesting something simpler. Just extract **one** PR out of this one. Get it merged, rebase and iterate.
jerger added 3 commits 2024-04-26 15:13:19 +00:00
drop some words on normalized uri as id
Some checks failed
testing / frontend-checks (pull_request) Successful in 1m7s
Integration tests for the release process / release-simulation (pull_request) Successful in 4m21s
testing / backend-checks (pull_request) Failing after 3m32s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 7m57s
df2fd904b3
jerger added 1 commit 2024-04-26 15:16:35 +00:00
Merge branch 'forgejo' into forgejo-federated-star
Some checks failed
testing / backend-checks (pull_request) Failing after 2m7s
testing / frontend-checks (pull_request) Successful in 1m13s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
70ae102597
jerger added 1 commit 2024-04-28 11:52:59 +00:00
first integration test
Some checks failed
testing / backend-checks (pull_request) Failing after 1m43s
testing / frontend-checks (pull_request) Successful in 1m1s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
Integration tests for the release process / release-simulation (pull_request) Successful in 4m31s
e2e / test-e2e (pull_request) Successful in 6m7s
2f2330c450
jerger added 1 commit 2024-04-29 06:49:40 +00:00
remove resolved todo & integration test
Some checks failed
testing / backend-checks (pull_request) Failing after 1m47s
testing / frontend-checks (pull_request) Successful in 1m6s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
Integration tests for the release process / release-simulation (pull_request) Successful in 4m22s
e2e / test-e2e (pull_request) Successful in 5m59s
a9a30fc212
jerger added 1 commit 2024-04-29 17:51:37 +00:00
found issue during test
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 4m26s
testing / backend-checks (pull_request) Failing after 2m7s
testing / frontend-checks (pull_request) Successful in 1m13s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 5m33s
285e72e4e6
jerger added 1 commit 2024-04-29 18:13:50 +00:00
found NPE
Some checks failed
testing / backend-checks (pull_request) Failing after 1m40s
testing / frontend-checks (pull_request) Successful in 1m8s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
Integration tests for the release process / release-simulation (pull_request) Successful in 4m28s
e2e / test-e2e (pull_request) Successful in 5m30s
e9fed7a488
patdyn added 1 commit 2024-05-01 12:54:29 +00:00
Fix test and add symmetry
Some checks failed
testing / frontend-checks (pull_request) Successful in 1m22s
testing / backend-checks (pull_request) Failing after 2m24s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
Integration tests for the release process / release-simulation (pull_request) Successful in 4m47s
e2e / test-e2e (pull_request) Successful in 6m22s
bbec2e2960
This maybe was a mixup with TestActivityValidation.
We now test if the UnmarshalJSON actually threw an error.
jerger added 4 commits 2024-05-01 13:03:09 +00:00
Merge branch 'forgejo-federated-star' of codeberg.org:meissa/forgejo into forgejo-federated-star
Some checks failed
testing / backend-checks (pull_request) Failing after 1m55s
testing / frontend-checks (pull_request) Successful in 1m10s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
Integration tests for the release process / release-simulation (pull_request) Successful in 4m36s
e2e / test-e2e (pull_request) Successful in 11m17s
87036ec719
jerger added 1 commit 2024-05-01 13:23:52 +00:00
remove unused & fix wording
Some checks failed
testing / frontend-checks (pull_request) Successful in 1m33s
testing / backend-checks (pull_request) Failing after 2m38s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
Integration tests for the release process / release-simulation (pull_request) Successful in 4m34s
e2e / test-e2e (pull_request) Successful in 7m32s
715ff0eb7f
jerger added 2 commits 2024-05-01 13:46:33 +00:00
wix the invalid test
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Failing after 2m27s
testing / backend-checks (pull_request) Failing after 1m40s
testing / frontend-checks (pull_request) Successful in 1m10s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 5m30s
ded7b60d0c
jerger added 1 commit 2024-05-02 06:56:40 +00:00
fix linting
Some checks failed
testing / backend-checks (pull_request) Failing after 1m59s
testing / frontend-checks (pull_request) Successful in 1m25s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
Integration tests for the release process / release-simulation (pull_request) Successful in 4m41s
e2e / test-e2e (pull_request) Successful in 6m21s
42837f5dab
jerger added 1 commit 2024-05-03 06:00:25 +00:00
refactoring: separaate model & module
Some checks failed
testing / backend-checks (pull_request) Failing after 1m58s
testing / frontend-checks (pull_request) Successful in 1m15s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
Integration tests for the release process / release-simulation (pull_request) Successful in 5m41s
e2e / test-e2e (pull_request) Successful in 6m40s
957b1023e9
jerger added 1 commit 2024-05-03 06:44:59 +00:00
Merge branch 'forgejo' into forgejo-federated-star
Some checks failed
testing / backend-checks (pull_request) Failing after 1m30s
testing / frontend-checks (pull_request) Successful in 1m7s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
ee71f86432
jerger added 1 commit 2024-05-04 15:58:59 +00:00
omit linting maybe?
Some checks failed
testing / backend-checks (pull_request) Failing after 1m29s
testing / frontend-checks (pull_request) Successful in 1m1s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
ca0a53bf5f
jerger added 1 commit 2024-05-05 14:35:28 +00:00
omit linting next try
Some checks failed
testing / backend-checks (pull_request) Failing after 1m51s
testing / frontend-checks (pull_request) Successful in 1m4s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
1a07db1a40
jerger added 1 commit 2024-05-05 14:58:20 +00:00
linting
Some checks failed
testing / backend-checks (pull_request) Failing after 1m43s
testing / frontend-checks (pull_request) Successful in 1m4s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
510868731d
jerger added 1 commit 2024-05-05 15:10:19 +00:00
linting
Some checks failed
testing / backend-checks (pull_request) Failing after 2m11s
testing / frontend-checks (pull_request) Successful in 1m14s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
3a6dfadcd0
jerger added 1 commit 2024-05-05 16:04:17 +00:00
linting
Some checks failed
testing / frontend-checks (pull_request) Successful in 1m9s
testing / backend-checks (pull_request) Failing after 2m20s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
b99d66b530
jerger added 2 commits 2024-05-06 06:12:49 +00:00
linting
Some checks failed
testing / frontend-checks (pull_request) Successful in 1m5s
testing / backend-checks (pull_request) Failing after 2m14s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
c70b8d28a3
jerger added 1 commit 2024-05-06 06:52:25 +00:00
removed unused code
Some checks failed
testing / frontend-checks (pull_request) Successful in 1m8s
testing / backend-checks (pull_request) Failing after 2m19s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
a485837b9c
clemensgeibel added 1 commit 2024-05-06 14:01:27 +00:00
make fmt
All checks were successful
testing / frontend-checks (pull_request) Successful in 1m5s
testing / backend-checks (pull_request) Successful in 3m39s
testing / test-unit (pull_request) Successful in 7m25s
testing / test-mysql (pull_request) Successful in 18m56s
testing / test-sqlite (pull_request) Successful in 19m20s
testing / test-pgsql (pull_request) Successful in 21m44s
82fe1d3e42
jerger added 1 commit 2024-05-07 05:38:22 +00:00
review results
All checks were successful
testing / frontend-checks (pull_request) Successful in 1m8s
testing / backend-checks (pull_request) Successful in 3m43s
testing / test-unit (pull_request) Successful in 7m17s
testing / test-mysql (pull_request) Successful in 19m6s
testing / test-sqlite (pull_request) Successful in 19m33s
testing / test-pgsql (pull_request) Successful in 21m58s
fdfc21a6b8
jerger added 2 commits 2024-05-07 15:58:30 +00:00
Merge branch 'forgejo' into forgejo-federated-star
Some checks failed
testing / backend-checks (pull_request) Failing after 1m43s
testing / frontend-checks (pull_request) Successful in 58s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
8ec570841a
jerger added 1 commit 2024-05-10 13:28:03 +00:00
on the way to test with second server
Some checks failed
testing / frontend-checks (pull_request) Successful in 1m9s
testing / backend-checks (pull_request) Failing after 3m35s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
Integration tests for the release process / release-simulation (pull_request) Successful in 4m50s
e2e / test-e2e (pull_request) Successful in 9m8s
c4c03dab4b
jerger added 1 commit 2024-05-10 14:25:55 +00:00
make start time more flexible
Some checks failed
testing / frontend-checks (pull_request) Successful in 1m10s
Integration tests for the release process / release-simulation (pull_request) Successful in 4m38s
testing / backend-checks (pull_request) Failing after 3m33s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 6m27s
0665c1252e
jerger added 1 commit 2024-05-10 15:01:15 +00:00
Now we've an intergration test with second federation server
Some checks failed
testing / frontend-checks (pull_request) Successful in 1m5s
Integration tests for the release process / release-simulation (pull_request) Successful in 4m32s
testing / backend-checks (pull_request) Failing after 3m44s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 6m51s
8d330fdb5d
jerger added 1 commit 2024-05-10 15:29:59 +00:00
assert, that federation-host is present.
Some checks failed
testing / frontend-checks (pull_request) Successful in 1m22s
testing / backend-checks (pull_request) Failing after 3m17s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
Integration tests for the release process / release-simulation (pull_request) Successful in 4m32s
e2e / test-e2e (pull_request) Successful in 7m5s
3bf423c97f
jerger added 1 commit 2024-05-10 15:44:23 +00:00
format
Some checks failed
testing / frontend-checks (pull_request) Successful in 1m23s
Integration tests for the release process / release-simulation (pull_request) Successful in 4m40s
testing / backend-checks (pull_request) Failing after 3m34s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 6m10s
3cc48a5c9f
jerger added 1 commit 2024-05-13 05:45:32 +00:00
linting
Some checks failed
testing / frontend-checks (pull_request) Successful in 1m11s
Integration tests for the release process / release-simulation (pull_request) Successful in 4m36s
e2e / test-e2e (pull_request) Successful in 6m22s
testing / backend-checks (pull_request) Successful in 5m49s
testing / test-unit (pull_request) Successful in 4m59s
testing / test-mysql (pull_request) Failing after 13m51s
testing / test-sqlite (pull_request) Successful in 14m9s
testing / test-pgsql (pull_request) Failing after 16m25s
cb4690e570
clemensgeibel added 1 commit 2024-05-13 09:14:10 +00:00
Introduced ErrNotValid
Some checks failed
testing / frontend-checks (pull_request) Successful in 1m11s
Integration tests for the release process / release-simulation (pull_request) Successful in 4m48s
testing / backend-checks (pull_request) Failing after 3m47s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 6m24s
c4f9f8578a
clemensgeibel added 1 commit 2024-05-13 09:24:52 +00:00
Renamed field of FederationHost
Some checks failed
testing / frontend-checks (pull_request) Successful in 1m25s
testing / backend-checks (pull_request) Failing after 3m26s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
Integration tests for the release process / release-simulation (pull_request) Successful in 4m47s
e2e / test-e2e (pull_request) Successful in 6m19s
8f42684599
clemensgeibel added 2 commits 2024-05-13 10:00:21 +00:00
fixed some comments
Some checks failed
testing / frontend-checks (pull_request) Successful in 1m12s
Integration tests for the release process / release-simulation (pull_request) Successful in 4m47s
testing / backend-checks (pull_request) Failing after 3m57s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 7m55s
c3fb34d5b4
clemensgeibel added 1 commit 2024-05-13 10:28:28 +00:00
linting
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 4m41s
testing / frontend-checks (pull_request) Successful in 1m18s
testing / backend-checks (pull_request) Successful in 7m46s
e2e / test-e2e (pull_request) Successful in 9m56s
testing / test-unit (pull_request) Successful in 6m22s
testing / test-mysql (pull_request) Failing after 16m23s
testing / test-sqlite (pull_request) Successful in 16m10s
testing / test-pgsql (pull_request) Failing after 18m39s
cf9953a612
clemensgeibel added 1 commit 2024-05-13 12:15:28 +00:00
Added migration for creation of federation_host table
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 4m31s
testing / frontend-checks (pull_request) Successful in 1m33s
testing / backend-checks (pull_request) Failing after 5m2s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 9m26s
e55533d64d
clemensgeibel added 1 commit 2024-05-13 12:29:54 +00:00
linting
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 4m32s
testing / frontend-checks (pull_request) Successful in 1m27s
e2e / test-e2e (pull_request) Successful in 8m27s
testing / backend-checks (pull_request) Successful in 7m30s
testing / test-unit (pull_request) Successful in 5m21s
testing / test-mysql (pull_request) Failing after 19m39s
testing / test-sqlite (pull_request) Successful in 19m37s
testing / test-pgsql (pull_request) Failing after 24m8s
57a9729094
jerger added 1 commit 2024-05-14 05:48:08 +00:00
Do not relay on ID start at 1
All checks were successful
testing / frontend-checks (pull_request) Successful in 1m12s
Integration tests for the release process / release-simulation (pull_request) Successful in 4m44s
e2e / test-e2e (pull_request) Successful in 6m23s
testing / backend-checks (pull_request) Successful in 5m54s
testing / test-unit (pull_request) Successful in 4m59s
testing / test-mysql (pull_request) Successful in 14m3s
testing / test-sqlite (pull_request) Successful in 14m13s
testing / test-pgsql (pull_request) Successful in 16m17s
08fe47d5c8
jerger added 1 commit 2024-05-15 07:35:07 +00:00
Merge branch 'forgejo' into forgejo-federated-star
All checks were successful
testing / frontend-checks (pull_request) Successful in 1m10s
testing / backend-checks (pull_request) Successful in 3m51s
testing / test-unit (pull_request) Successful in 7m1s
testing / test-mysql (pull_request) Successful in 16m6s
testing / test-sqlite (pull_request) Successful in 16m17s
testing / test-pgsql (pull_request) Successful in 18m18s
94be68725a
clemensgeibel added 1 commit 2024-05-16 08:06:33 +00:00
Extended AP like-repo integration test
All checks were successful
testing / frontend-checks (pull_request) Successful in 1m20s
testing / backend-checks (pull_request) Successful in 4m17s
testing / test-unit (pull_request) Successful in 7m56s
testing / test-mysql (pull_request) Successful in 17m11s
testing / test-sqlite (pull_request) Successful in 17m33s
testing / test-pgsql (pull_request) Successful in 19m51s
1b3c4dcd85
clemensgeibel added 1 commit 2024-05-16 08:29:52 +00:00
Added migrations for User and FederatedUser
All checks were successful
testing / frontend-checks (pull_request) Successful in 1m22s
testing / backend-checks (pull_request) Successful in 4m16s
testing / test-unit (pull_request) Successful in 7m4s
testing / test-mysql (pull_request) Successful in 16m27s
testing / test-sqlite (pull_request) Successful in 16m30s
testing / test-pgsql (pull_request) Successful in 18m54s
6457ace318
clemensgeibel added 1 commit 2024-05-16 08:55:54 +00:00
Set LowerName to name with lower case
All checks were successful
testing / frontend-checks (pull_request) Successful in 1m9s
testing / backend-checks (pull_request) Successful in 3m40s
testing / test-unit (pull_request) Successful in 8m53s
testing / test-mysql (pull_request) Successful in 18m10s
testing / test-sqlite (pull_request) Successful in 17m33s
testing / test-pgsql (pull_request) Successful in 19m54s
a9c00d49da
jerger added 1 commit 2024-05-16 16:22:35 +00:00
choose a not local avail federated userid
All checks were successful
Integration tests for the release process / release-simulation (pull_request) Successful in 4m52s
testing / frontend-checks (pull_request) Successful in 1m33s
testing / backend-checks (pull_request) Successful in 6m6s
e2e / test-e2e (pull_request) Successful in 13m18s
testing / test-unit (pull_request) Successful in 9m51s
testing / test-mysql (pull_request) Successful in 27m2s
testing / test-sqlite (pull_request) Successful in 25m48s
testing / test-pgsql (pull_request) Successful in 29m37s
307b27bbaa
jerger added 1 commit 2024-05-16 16:28:55 +00:00
Merge branch 'forgejo' into forgejo-federated-star
All checks were successful
testing / frontend-checks (pull_request) Successful in 1m45s
testing / backend-checks (pull_request) Successful in 6m15s
testing / test-unit (pull_request) Successful in 9m11s
testing / test-mysql (pull_request) Successful in 24m56s
testing / test-sqlite (pull_request) Successful in 23m6s
testing / test-pgsql (pull_request) Successful in 26m51s
86db5f612c
jerger added 1 commit 2024-05-17 06:15:30 +00:00
rename fxct name
All checks were successful
testing / frontend-checks (pull_request) Successful in 1m26s
testing / backend-checks (pull_request) Successful in 5m10s
testing / test-unit (pull_request) Successful in 9m50s
testing / test-mysql (pull_request) Successful in 22m27s
testing / test-sqlite (pull_request) Successful in 22m4s
testing / test-pgsql (pull_request) Successful in 24m46s
07659a5e7e
clemensgeibel added 1 commit 2024-05-21 09:43:35 +00:00
Extended integration test
All checks were successful
testing / frontend-checks (pull_request) Successful in 1m24s
testing / backend-checks (pull_request) Successful in 3m54s
testing / test-unit (pull_request) Successful in 7m4s
testing / test-mysql (pull_request) Successful in 16m46s
testing / test-sqlite (pull_request) Successful in 17m13s
testing / test-pgsql (pull_request) Successful in 19m34s
a62c2afcea
jerger added 1 commit 2024-05-21 16:47:35 +00:00
make mocked user consistent
All checks were successful
testing / frontend-checks (pull_request) Successful in 1m22s
testing / backend-checks (pull_request) Successful in 4m6s
testing / test-unit (pull_request) Successful in 8m40s
testing / test-mysql (pull_request) Successful in 21m4s
testing / test-sqlite (pull_request) Successful in 20m59s
testing / test-pgsql (pull_request) Successful in 23m44s
a1acc46c88
jerger added 1 commit 2024-05-22 16:23:40 +00:00
Merge branch 'forgejo' into forgejo-federated-star
Some checks failed
testing / frontend-checks (pull_request) Successful in 1m40s
testing / backend-checks (pull_request) Failing after 3m22s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
4c87b0b3ee
jerger added 1 commit 2024-05-24 05:55:49 +00:00
Merge branch 'forgejo' into forgejo-federated-star
Some checks failed
testing / backend-checks (pull_request) Failing after 1m43s
testing / frontend-checks (pull_request) Successful in 1m9s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
2e72b5e05b
jerger added 1 commit 2024-05-24 06:24:38 +00:00
mv doc to doc project
Some checks failed
testing / backend-checks (pull_request) Failing after 1m26s
testing / frontend-checks (pull_request) Successful in 1m6s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
30e2582f24
jerger added 2 commits 2024-05-24 06:51:03 +00:00
remove todo - no change required
Some checks failed
testing / backend-checks (pull_request) Failing after 1m28s
testing / frontend-checks (pull_request) Successful in 1m6s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
5ace6816ac
jerger added 1 commit 2024-05-24 11:27:23 +00:00
field no longer in use
Some checks failed
testing / backend-checks (pull_request) Failing after 1m29s
testing / frontend-checks (pull_request) Successful in 1m7s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
a3c90e3085
jerger added 1 commit 2024-05-24 14:34:15 +00:00
lint
All checks were successful
testing / frontend-checks (pull_request) Successful in 1m20s
testing / backend-checks (pull_request) Successful in 4m25s
testing / test-unit (pull_request) Successful in 9m56s
testing / test-mysql (pull_request) Successful in 22m56s
testing / test-sqlite (pull_request) Successful in 21m37s
testing / test-pgsql (pull_request) Successful in 25m19s
6ef691b8d7
jerger added 2 commits 2024-05-27 06:20:27 +00:00
translation hast to be done in translation tool
All checks were successful
testing / frontend-checks (pull_request) Successful in 1m32s
Integration tests for the release process / release-simulation (pull_request) Successful in 5m7s
testing / backend-checks (pull_request) Successful in 4m16s
e2e / test-e2e (pull_request) Successful in 8m4s
testing / test-unit (pull_request) Successful in 7m33s
testing / test-mysql (pull_request) Successful in 18m2s
testing / test-sqlite (pull_request) Successful in 18m51s
testing / test-pgsql (pull_request) Successful in 20m48s
3d1586d9cb
jerger added 2 commits 2024-05-28 06:56:40 +00:00
wip integration test
Some checks failed
testing / backend-checks (pull_request) Failing after 2m6s
testing / frontend-checks (pull_request) Successful in 1m46s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
Integration tests for the release process / release-simulation (pull_request) Successful in 5m9s
e2e / test-e2e (pull_request) Successful in 7m58s
72f2f35bd8
patdyn added 2 commits 2024-05-28 10:38:06 +00:00
Add todo
Some checks failed
testing / backend-checks (pull_request) Failing after 1m35s
testing / frontend-checks (pull_request) Successful in 1m13s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
Integration tests for the release process / release-simulation (pull_request) Successful in 4m58s
e2e / test-e2e (pull_request) Successful in 7m17s
9c9333868c
We currently validate RepositoryID uris to be a valid api address from our own server.
patdyn added 1 commit 2024-05-28 10:54:29 +00:00
Update NewRepositoryID with case for following repo
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 4m58s
testing / backend-checks (pull_request) Failing after 1m56s
testing / frontend-checks (pull_request) Successful in 1m34s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 8m21s
75c93e5319
patdyn added 2 commits 2024-05-28 13:38:13 +00:00
Add ToDo
Some checks failed
testing / backend-checks (pull_request) Failing after 2m37s
testing / frontend-checks (pull_request) Successful in 1m41s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
Integration tests for the release process / release-simulation (pull_request) Successful in 5m29s
e2e / test-e2e (pull_request) Successful in 7m19s
26612aa75b
jerger added 1 commit 2024-05-29 06:43:36 +00:00
relax validation
Some checks failed
testing / backend-checks (pull_request) Failing after 2m14s
testing / frontend-checks (pull_request) Successful in 1m29s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
Integration tests for the release process / release-simulation (pull_request) Successful in 5m13s
e2e / test-e2e (pull_request) Successful in 6m45s
dadfb29ae9
jerger added 2 commits 2024-05-29 06:57:58 +00:00
lint
Some checks failed
testing / backend-checks (pull_request) Failing after 2m15s
testing / frontend-checks (pull_request) Successful in 1m33s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
Integration tests for the release process / release-simulation (pull_request) Successful in 4m45s
e2e / test-e2e (pull_request) Successful in 7m42s
e7580da130
jerger added 1 commit 2024-05-29 06:59:10 +00:00
lint
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 4m57s
testing / backend-checks (pull_request) Failing after 2m23s
testing / frontend-checks (pull_request) Successful in 1m35s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
e2e / test-e2e (pull_request) Successful in 7m36s
07e2708e3d
jerger added 1 commit 2024-05-29 07:00:41 +00:00
Merge branch 'forgejo' into forgejo-federated-star
Some checks failed
testing / backend-checks (pull_request) Failing after 2m12s
testing / frontend-checks (pull_request) Successful in 1m28s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
c3650cb2fe
jerger added 1 commit 2024-05-29 07:20:18 +00:00
more lint
All checks were successful
testing / frontend-checks (pull_request) Successful in 1m29s
testing / backend-checks (pull_request) Successful in 4m1s
testing / test-unit (pull_request) Successful in 6m57s
testing / test-mysql (pull_request) Successful in 18m2s
testing / test-sqlite (pull_request) Successful in 18m41s
testing / test-pgsql (pull_request) Successful in 20m45s
58b8f57d3f
jerger added 1 commit 2024-05-31 16:02:58 +00:00
Merge branch 'forgejo' into forgejo-federated-star
All checks were successful
testing / frontend-checks (pull_request) Successful in 1m33s
testing / backend-checks (pull_request) Successful in 4m44s
testing / test-unit (pull_request) Successful in 9m38s
testing / test-mysql (pull_request) Successful in 25m9s
testing / test-sqlite (pull_request) Successful in 25m25s
testing / test-pgsql (pull_request) Successful in 28m25s
17e3f6c6f3
jerger added 1 commit 2024-05-31 16:05:15 +00:00
remove no longer used doc
All checks were successful
testing / frontend-checks (pull_request) Successful in 2m11s
testing / backend-checks (pull_request) Successful in 6m12s
testing / test-unit (pull_request) Successful in 9m56s
testing / test-mysql (pull_request) Successful in 23m45s
testing / test-sqlite (pull_request) Successful in 22m36s
testing / test-pgsql (pull_request) Successful in 26m36s
98939c4745
Member

Very impressive work 👍
This doesn't appear to have code I could review (i18n/ui).

Very impressive work 👍 This doesn't appear to have code I could review (i18n/ui).
0ko refused to review 2024-05-31 16:41:58 +00:00
earl-warren removed review request for dachary 2024-06-02 15:40:08 +00:00
earl-warren removed review request for crystal 2024-06-02 15:40:15 +00:00
earl-warren requested changes 2024-06-02 15:41:34 +00:00
Dismissed
earl-warren left a comment
Owner

It is nice and small 👍

Can you please add an integration test to demonstrate it works as it should?

It is nice and small 👍 Can you please add an integration test to demonstrate it works as it should?
Member

Can you give this PR a title that reflects its purpose?

Can you give this PR a title that reflects its purpose?
clemensgeibel added 1 commit 2024-06-04 10:36:48 +00:00
Extend integration test for staring federated repo
Some checks failed
testing / backend-checks (pull_request) Failing after 1m4s
testing / frontend-checks (pull_request) Successful in 1m30s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
Integration tests for the release process / release-simulation (pull_request) Successful in 5m18s
e2e / test-e2e (pull_request) Successful in 7m20s
c0b9ab2060
Owner

As of today there is an environment for end-to-end testing where the integration test you just added can be repeated between two live instances instead of using a mock. If you have suggestions on how to do that, I'll follow them. Otherwise I'll figure it out, it should not be that difficult.

As of today there is [an environment for end-to-end testing](https://code.forgejo.org/forgejo/end-to-end/src/branch/main/federation/scenario-star/run.sh) where the integration test you just added can be repeated between two live instances instead of using a mock. If you have suggestions on how to do that, I'll follow them. Otherwise I'll figure it out, it should not be that difficult.
Owner

The CI failure is unrelated to your PR, you just need to rebase/merge the latest development branch to resolve it.

The CI failure is unrelated to your PR, you just need to rebase/merge the latest development branch to resolve it.
Owner

You will need this otherwise the settings form is a noop.

modified   templates/repo/settings/options.tmpl
@@ -77,7 +77,7 @@
 						<p><b>{{.RepositoryAPActorID}}</b></p>
 						<div class="divider"></div>
 						<label for="following_repos">{{ctx.Locale.Tr "repo.settings.federation_following_repos"}}</label>
-						<input id="following_repos" name="federation_repos" value="{{.FollowingRepos}}">
+						<input id="following_repos" name="following_repos" value="{{.FollowingRepos}}">
 					</div>
 					<div class="field">
 						<button class="ui primary button">{{ctx.Locale.Tr "repo.settings.update_settings"}}</button>

You will need this otherwise the settings form is a noop. ```diff modified templates/repo/settings/options.tmpl @@ -77,7 +77,7 @@ <p><b>{{.RepositoryAPActorID}}</b></p> <div class="divider"></div> <label for="following_repos">{{ctx.Locale.Tr "repo.settings.federation_following_repos"}}</label> - <input id="following_repos" name="federation_repos" value="{{.FollowingRepos}}"> + <input id="following_repos" name="following_repos" value="{{.FollowingRepos}}"> </div> <div class="field"> <button class="ui primary button">{{ctx.Locale.Tr "repo.settings.update_settings"}}</button> ```
Owner

The end-to-end scenario passes with this PR https://code.forgejo.org/forgejo/end-to-end/pulls/196

The end-to-end scenario passes with this PR https://code.forgejo.org/forgejo/end-to-end/pulls/196
jerger added 1 commit 2024-06-05 05:33:08 +00:00
Merge branch 'forgejo' into forgejo-federated-star
All checks were successful
testing / frontend-checks (pull_request) Successful in 1m43s
testing / backend-checks (pull_request) Successful in 5m8s
testing / test-unit (pull_request) Successful in 9m42s
testing / test-mysql (pull_request) Successful in 28m58s
testing / test-sqlite (pull_request) Successful in 29m14s
testing / test-pgsql (pull_request) Successful in 33m26s
81236bc9ef
Author
Member

The end-to-end scenario passes with this PR https://code.forgejo.org/forgejo/end-to-end/pulls/196

Nice work :-)

If we follow this way down, we should expose federated objects also by api, I assume.

How do you plan to inject test-data &-config?
E.g. the federation test needs setting federation=true and repository & user being present or absent.

> The end-to-end scenario passes with this PR https://code.forgejo.org/forgejo/end-to-end/pulls/196 Nice work :-) If we follow this way down, we should expose federated objects also by api, I assume. How do you plan to inject test-data &-config? E.g. the federation test needs setting `federation=true` and `repository` & `user` being present or absent.
jerger changed title from forgejo-federated-star to federated-star 2024-06-05 05:44:48 +00:00
Author
Member

Can you give this PR a title that reflects its purpose?

I reworked PR title & description. This is the original PR - so I collect here the description for the whole feature.

> Can you give this PR a title that reflects its purpose? I reworked PR title & description. This is the original PR - so I collect here the description for the whole feature.
Owner

The end-to-end scenario passes with this PR https://code.forgejo.org/forgejo/end-to-end/pulls/196

Nice work :-)

If we follow this way down, we should expose federated objects also by api, I assume.

How do you plan to inject test-data &-config?
E.g. the federation test needs setting federation=true and repository & user being present or absent.

I do not understand the question? The test script runs with Forgejo instances where [federation].ENABLED=true and they create the user, repository and click on the star.

#
# create a repo on each instance
#
$ONE_CURL api_json --data '{"name":"test","auto_init":true}' $ONE_HOST_PORT/api/v1/user/repos > $TMPDIR/one-repo.json
one_repo_id=$(jq -r .id < $TMPDIR/one-repo.json)
$TWO_CURL api_json --data '{"name":"test","auto_init":true}' $TWO_HOST_PORT/api/v1/user/repos > $TMPDIR/two-repo.json
two_repo_id=$(jq -r .id < $TMPDIR/two-repo.json)

#
# the repo in instance two is federated with the repo in instance one
#
$ONE_CURL web --form action=federation --form following_repos=http://$TWO_HOST_PORT/api/v1/activitypub/repository-id/$two_repo_id http://$ONE_HOST_PORT/root/test/settings

#
# check that both repo have 0 star
#
star_count $ONE_CURL $ONE_HOST_PORT 0
star_count $TWO_CURL $TWO_HOST_PORT 0

#
# star the repo on instance one and expect the star to show on instance two
#
$ONE_CURL api_json -X PUT $ONE_HOST_PORT/api/v1/user/starred/root/test

#
# check that both repo have 1 star
#
star_count $ONE_CURL $ONE_HOST_PORT 1
star_count $TWO_CURL $TWO_HOST_PORT 1
> > The end-to-end scenario passes with this PR https://code.forgejo.org/forgejo/end-to-end/pulls/196 > > Nice work :-) > > If we follow this way down, we should expose federated objects also by api, I assume. > > How do you plan to inject test-data &-config? > E.g. the federation test needs setting `federation=true` and `repository` & `user` being present or absent. I do not understand the question? The test script runs with Forgejo instances where `[federation].ENABLED=true` and they create the user, repository and click on the star. ```sh # # create a repo on each instance # $ONE_CURL api_json --data '{"name":"test","auto_init":true}' $ONE_HOST_PORT/api/v1/user/repos > $TMPDIR/one-repo.json one_repo_id=$(jq -r .id < $TMPDIR/one-repo.json) $TWO_CURL api_json --data '{"name":"test","auto_init":true}' $TWO_HOST_PORT/api/v1/user/repos > $TMPDIR/two-repo.json two_repo_id=$(jq -r .id < $TMPDIR/two-repo.json) # # the repo in instance two is federated with the repo in instance one # $ONE_CURL web --form action=federation --form following_repos=http://$TWO_HOST_PORT/api/v1/activitypub/repository-id/$two_repo_id http://$ONE_HOST_PORT/root/test/settings # # check that both repo have 0 star # star_count $ONE_CURL $ONE_HOST_PORT 0 star_count $TWO_CURL $TWO_HOST_PORT 0 # # star the repo on instance one and expect the star to show on instance two # $ONE_CURL api_json -X PUT $ONE_HOST_PORT/api/v1/user/starred/root/test # # check that both repo have 1 star # star_count $ONE_CURL $ONE_HOST_PORT 1 star_count $TWO_CURL $TWO_HOST_PORT 1 ```
jerger requested review from earl-warren 2024-06-05 10:32:26 +00:00
Author
Member

For current test the setup is completely fine. But for future tests it might be good to know how you plan to adjust data.

How can I add a specific, lets say, user to the TWO_HOST ?

For current test the setup is completely fine. But for future tests it might be good to know how you plan to adjust data. How can I add a specific, lets say, user to the TWO_HOST ?
earl-warren requested changes 2024-06-05 18:24:22 +00:00
Dismissed
earl-warren left a comment
Owner
modified   templates/repo/settings/options.tmpl
@@ -77,7 +77,7 @@
 						<p><b>{{.RepositoryAPActorID}}</b></p>
 						<div class="divider"></div>
 						<label for="following_repos">{{ctx.Locale.Tr "repo.settings.federation_following_repos"}}</label>
-						<input id="following_repos" name="federation_repos" value="{{.FollowingRepos}}">
+						<input id="following_repos" name="following_repos" value="{{.FollowingRepos}}">
 					</div>
 					<div class="field">
 						<button class="ui primary button">{{ctx.Locale.Tr "repo.settings.update_settings"}}</button>

```diff modified templates/repo/settings/options.tmpl @@ -77,7 +77,7 @@ <p><b>{{.RepositoryAPActorID}}</b></p> <div class="divider"></div> <label for="following_repos">{{ctx.Locale.Tr "repo.settings.federation_following_repos"}}</label> - <input id="following_repos" name="federation_repos" value="{{.FollowingRepos}}"> + <input id="following_repos" name="following_repos" value="{{.FollowingRepos}}"> </div> <div class="field"> <button class="ui primary button">{{ctx.Locale.Tr "repo.settings.update_settings"}}</button> ```
jerger added 1 commit 2024-06-06 05:25:58 +00:00
adjust field name
Some checks failed
Integration tests for the release process / release-simulation (pull_request) Successful in 5m14s
e2e / test-e2e (pull_request) Successful in 7m11s
testing / frontend-checks (pull_request) Successful in 1m29s
testing / backend-checks (pull_request) Failing after 2m41s
testing / test-unit (pull_request) Has been skipped
testing / test-mysql (pull_request) Has been skipped
testing / test-pgsql (pull_request) Has been skipped
testing / test-sqlite (pull_request) Has been skipped
62856e639e
jerger requested review from earl-warren 2024-06-06 05:30:16 +00:00
Owner

The CI failure is unrelated, you should merge the current development branch to get rid of it.

The CI failure is unrelated, you should merge the current development branch to get rid of it.
Owner

For current test the setup is completely fine. But for future tests it might be good to know how you plan to adjust data.

How can I add a specific, lets say, user to the TWO_HOST ?

Using the API with something similar to $TWO_CURL api_json --data '{"name":"test","auto_init":true}' $TWO_HOST_PORT/api/v1/user/repos . It has an admin token and can do whatever you want.

> For current test the setup is completely fine. But for future tests it might be good to know how you plan to adjust data. > > How can I add a specific, lets say, user to the TWO_HOST ? Using the API with something similar to `$TWO_CURL api_json --data '{"name":"test","auto_init":true}' $TWO_HOST_PORT/api/v1/user/repos `. It has an admin token and can do whatever you want.
earl-warren added 1 commit 2024-06-06 06:07:48 +00:00
Merge branch 'forgejo' into forgejo-federated-star
All checks were successful
testing / frontend-checks (pull_request) Successful in 1m26s
testing / backend-checks (pull_request) Successful in 3m51s
testing / test-unit (pull_request) Successful in 7m26s
testing / test-mysql (pull_request) Successful in 20m28s
testing / test-sqlite (pull_request) Successful in 20m51s
testing / test-pgsql (pull_request) Successful in 23m10s
/ backporting (pull_request) Has been skipped
130981af64
earl-warren approved these changes 2024-06-06 06:08:22 +00:00
earl-warren scheduled this pull request to auto merge when all checks succeed 2024-06-06 06:08:37 +00:00
earl-warren merged commit 1be80cfdbc into forgejo 2024-06-06 06:36:39 +00:00
Owner

For the record, I merged instead of squash merging. That's a mistake and I would normally not try to fix it. Except in this case it landed over 500 commits in the development branch and that's a little too much noise, it makes the history very difficult to read. So I fixed my mistake as follows:

  • Deactivate branch protection on forgejo
  • Force pushed the commit previous to the merge to the forgejo branch c01b10a593
  • Squash merged with git merge --squash wip-federated where wip-federated is 1be80cfdbc
  • Changed the title of the resulting commit dd0cabdaa4 to feat(federated-star) star repositories via ActivityPub (#1680)
  • Pushed the commit to forgejo
  • Re-activate branch protection on forgejo
For the record, I merged instead of squash merging. That's a mistake and I would normally not try to fix it. Except in this case it landed over 500 commits in the development branch and that's a little too much noise, it makes the history very difficult to read. So I fixed my mistake as follows: * Deactivate branch protection on `forgejo` * Force pushed the commit previous to the merge to the forgejo branch c01b10a593088014e9e77ad65e87b16d02e0542d * Squash merged with `git merge --squash wip-federated ` where `wip-federated` is 1be80cfdbca10d5014cec904e96c7a390b338493 * Changed the title of the resulting commit dd0cabdaa40b9e4a0e4a606c2fdae11a1b433557 to `feat(federated-star) star repositories via ActivityPub (#1680)` * Pushed the commit to `forgejo` * Re-activate branch protection on `forgejo`
Sign in to join this conversation.
No reviewers
No labels
arch
amd64
arch
arm6
arch
arm64
arch
arm7
arch
riscv64
backport/v1.19
backport/v1.20
backport/v1.21/forgejo
backport/v7.0/forgejo
backport/v8.0/forgejo
breaking
bug
bug
confirmed
bug
duplicate
bug
needs-more-info
bug
new-report
bug
reported-upstream
codeberg
database
CockroachDB
database
MySQL
database
PostgreSQL
database
SQLite
dependency-upgrade
dependency
ACT
dependency
alpine
dependency
asciinema-player
dependency
bleve
dependency
cache
dependency
certmagic
dependency
chart.js
dependency
Chi
dependency
Chroma
dependency
citation.js
dependency
codespell
dependency
css-loader
dependency
devcontainers
dependency
dropzone
dependency
editorconfig-checker
dependency
elasticsearch
dependency
enmime
dependency
F3
dependency
ForgeFed
dependency
garage
dependency
Git
dependency
git-backporting
dependency
Gitea
dependency
gitignore
dependency
go-ap
dependency
go-enry
dependency
go-gitlab
dependency
Go-org
dependency
go-rpmutils
dependency
go-sql-driver mysql
dependency
go-swagger
dependency
go-version
dependency
go-webauthn
dependency
gocron
dependency
Golang
dependency
goldmark
dependency
goquery
dependency
Goth
dependency
grpc-go
dependency
happy-dom
dependency
Helm
dependency
image-spec
dependency
jsonschema
dependency
KaTeX
dependency
lint
dependency
MariaDB
dependency
Mermaid
dependency
minio-go
dependency
misspell
dependency
Monaco
dependency
PDFobject
dependency
playwright
dependency
postcss
dependency
postcss-plugins
dependency
pprof
dependency
prometheus client_golang
dependency
protobuf
dependency
relative-time-element
dependency
renovate
dependency
reply
dependency
ssh
dependency
swagger-ui
dependency
tailwind
dependency
temporal-polyfill
dependency
terminal-to-html
dependency
tests-only
dependency
text-expander-element
dependency
urfave
dependency
vfsgen
dependency
vite
dependency
Woodpecker CI
dependency
x tools
dependency
XORM
Discussion
duplicate
enhancement/feature
forgejo/accessibility
forgejo/actions
forgejo/api
forgejo/branding
forgejo/ci
forgejo/documentation
forgejo/email
forgejo/federation
forgejo/furnace cleanup
forgejo/internationalization
forgejo/moderation
forgejo/privacy
forgejo/release
forgejo/scaling
forgejo/security
forgejo/ui
Gain
High
Gain
Nice to have
Gain
Undefined
Gain
Very High
good first issue
issue
closed
issue
do-not-exist-yet
issue
open
manual test
Manually tested during feature freeze
OS
FreeBSD
OS
Linux
OS
MacOS
OS
Windows
regression
release blocker
Release Cycle
Feature Freeze
release-blocker
v7.0
release-blocker
v7.0.1
release-blocker
v7.0.2
release-blocker
v7.0.3
release-blocker
v7.0.4
release-blocker
v8.0.0
run-end-to-end-tests
test
manual
test
needed
test
needs-help
test
not-needed
test
present
untested
valuable code
worth a release-note
User Research - Accessibility
User Research - bug
User Research - Config (instance)
User Research - Dashboard
User Research - documentation
User Research - Errors
User Research - feature
User Research - federation
User Research - Filters
User Research - governance
User Research - Labels
User Research - Moderation
User Research - Needs Input
User Research - Notifications
User Research - release
User Research - Repo creation
User Research - Repo Units
User Research - security
User Research - Settings (in-app)
User Research - testing
User Research - UI
User Research - UX
No milestone
No project
No assignees
9 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: forgejo/forgejo#1680
No description provided.