Lunny Xiao
a5399b473f
Add more load functions to make sure the reference object loaded ( #32901 )
...
Fix #32897
(cherry picked from commit dc8f59baa54d4f47edab6feb76a6903947584326)
2024-12-22 08:46:38 +01:00
wxiaoguang
1e7b2cb6c9
Improve Actions status aggregations ( #32860 )
...
Make the result the same as GitHub:
* all skipped, then result is skipped
* any cancelled, then result cancelled
(cherry picked from commit 22c4599542ee3e10bcab4c9136467bbac8e90ba0)
2024-12-22 08:46:38 +01:00
wxiaoguang
90b65da7e4
Fix incomplete Actions status aggregations ( #32859 )
...
fix #32857
(cherry picked from commit d28a4843b8de5d5e01ef3d7b2ad25f22853247ad)
Conflicts:
web_src/js/components/ActionRunStatus.vue
remove the refactoring, keep the additional cancelled status
2024-12-22 08:46:38 +01:00
hiifong
5c1983644e
Do not display attestation-manifest
and use short sha256 instead of full sha256 ( #32851 )
...
Related: #24973
Before:
![image](https://github.com/user-attachments/assets/bca17900-5075-4d15-af7a-c71bf8979c04 )
After:
![image](https://github.com/user-attachments/assets/c5a24e3b-763b-4463-80db-d4dbd89f7dc4 )
Index:
```json
{
"schemaVersion": 2,
"mediaType": "application/vnd.oci.image.index.v1+json",
"manifests": [
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"digest": "sha256:5967afffdfde104ca1459286a72346baaef8b70ac153325d7a6cd85c7734ac6e",
"size": 672,
"platform": {
"architecture": "amd64",
"os": "linux"
}
},
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"digest": "sha256:f9abfcc55320f9ff1f38eeb7dbb4bea10b29c7febfa49ccd7aab9fa02403b9f0",
"size": 672,
"platform": {
"architecture": "arm64",
"os": "linux"
}
},
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"digest": "sha256:d70ad19d00c19e40691045cbddc3e8a5a4454c31cc454d1132b13bcaf35b6d46",
"size": 566,
"annotations": {
"vnd.docker.reference.digest": "sha256:5967afffdfde104ca1459286a72346baaef8b70ac153325d7a6cd85c7734ac6e",
"vnd.docker.reference.type": "attestation-manifest"
},
"platform": {
"architecture": "unknown",
"os": "unknown"
}
},
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"digest": "sha256:73bc233bf4eac96a404ce3e0430b698831a4ea7050c878d5f76d1d1f133751dd",
"size": 566,
"annotations": {
"vnd.docker.reference.digest": "sha256:f9abfcc55320f9ff1f38eeb7dbb4bea10b29c7febfa49ccd7aab9fa02403b9f0",
"vnd.docker.reference.type": "attestation-manifest"
},
"platform": {
"architecture": "unknown",
"os": "unknown"
}
}
]
}
```
---------
Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit 276f43330cb86e2ce6bc5a902a43f02727e009e9)
Conflicts:
templates/package/content/container.tmpl
simplify to only skip unknown/unknown and not change the display
2024-12-22 08:46:38 +01:00
Lunny Xiao
967e04534e
Fix bug on action list deleted branch ( #32848 )
...
Fix
https://github.com/go-gitea/gitea/issues/32761#issuecomment-2540946064
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit 42090844ed2de5e615abc6ece351c152d3344295)
Conflicts:
models/fixtures/action_run.yml
models/fixtures/branch.yml
routers/web/repo/actions/actions_test.go
trivial context conflict
2024-12-22 07:21:38 +01:00
Gusted
1e7b922e44
Merge pull request 'fix: keep commit count limit in file history pagination static and not increase with every page' ( #6337 ) from emilylange/fix-file-history-commit-pagination-limit into forgejo
...
/ release (push) Waiting to run
testing / backend-checks (push) Waiting to run
testing / frontend-checks (push) Waiting to run
testing / test-unit (push) Blocked by required conditions
testing / test-e2e (push) Blocked by required conditions
testing / test-remote-cacher (redis) (push) Blocked by required conditions
testing / test-remote-cacher (valkey) (push) Blocked by required conditions
testing / test-remote-cacher (garnet) (push) Blocked by required conditions
testing / test-remote-cacher (redict) (push) Blocked by required conditions
testing / test-mysql (push) Blocked by required conditions
testing / test-pgsql (push) Blocked by required conditions
testing / test-sqlite (push) Blocked by required conditions
testing / security-check (push) Blocked by required conditions
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6337
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-12-22 00:02:38 +00:00
emilylange
cd2c1361c5
fix: keep commit count limit in file history pagination static and not increase with every page
...
This fixes a regression introduced by 58a4407acb
from 2022 which reintroduced passing `--skip` to `git rev-list` in favor
of the custom skipping reader based on `io.CopyN` from 59d1cc49f1
and then forgetting to also revert the
`--max-count=CommitsRangeSize*Page` math.
Before this commit:
~~~bash
# curl -s "http://localhost:3000/api/v1/repos/forgejo/forgejo/commits?path=templates&page=1 " | jq length
50
# curl -s "http://localhost:3000/api/v1/repos/forgejo/forgejo/commits?path=templates&page=2 " | jq length
100
# curl -s "http://localhost:3000/api/v1/repos/forgejo/forgejo/commits?path=templates&page=10 " | jq length
500
~~~
With this commit applied:
~~~bash
# curl -s "http://localhost:3000/api/v1/repos/forgejo/forgejo/commits?path=templates&page=1 " | jq length
50
# curl -s "http://localhost:3000/api/v1/repos/forgejo/forgejo/commits?path=templates&page=2 " | jq length
50
# curl -s "http://localhost:3000/api/v1/repos/forgejo/forgejo/commits?path=templates&page=10 " | jq length
50
~~~
2024-12-21 23:46:29 +01:00
Gusted
5b542d6c79
Merge pull request 'fix: maven package where actual pom has no group-id defined, fallback to parent group-id' ( #6329 ) from JSchlarb/forgejo:forgejo into forgejo
...
/ release (push) Waiting to run
testing / backend-checks (push) Waiting to run
testing / frontend-checks (push) Waiting to run
testing / test-unit (push) Blocked by required conditions
testing / test-e2e (push) Blocked by required conditions
testing / test-remote-cacher (redis) (push) Blocked by required conditions
testing / test-remote-cacher (valkey) (push) Blocked by required conditions
testing / test-remote-cacher (garnet) (push) Blocked by required conditions
testing / test-remote-cacher (redict) (push) Blocked by required conditions
testing / test-mysql (push) Blocked by required conditions
testing / test-pgsql (push) Blocked by required conditions
testing / test-sqlite (push) Blocked by required conditions
testing / security-check (push) Blocked by required conditions
Integration tests for the release process / release-simulation (push) Has been cancelled
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6329
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-12-21 15:46:58 +00:00
Julian Schlarb
b15352ceb0
fix: maven fallback to parent groupId
2024-12-21 11:48:09 +01:00
Earl Warren
248977c518
Merge pull request 'Update dependency forgejo-lxc to v12 (forgejo)' ( #6210 ) from renovate/forgejo-forgejo-lxc-12.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6210
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-12-21 08:30:27 +00:00
Renovate Bot
c1898c745e
Update dependency forgejo-lxc to v12
renovate / renovate (push) Has been cancelled
2024-12-21 04:03:00 +00:00
Gusted
2102163f2f
Merge pull request 'chore: avoid using gock' ( #6311 ) from gusted/forgejo-gock into forgejo
...
/ release (push) Waiting to run
testing / backend-checks (push) Waiting to run
testing / frontend-checks (push) Waiting to run
testing / test-unit (push) Blocked by required conditions
testing / test-e2e (push) Blocked by required conditions
testing / test-remote-cacher (redis) (push) Blocked by required conditions
testing / test-remote-cacher (valkey) (push) Blocked by required conditions
testing / test-remote-cacher (garnet) (push) Blocked by required conditions
testing / test-remote-cacher (redict) (push) Blocked by required conditions
testing / test-mysql (push) Blocked by required conditions
testing / test-pgsql (push) Blocked by required conditions
testing / test-sqlite (push) Blocked by required conditions
testing / security-check (push) Blocked by required conditions
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6311
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-20 21:15:11 +00:00
Codeberg Translate
26797a868b
i18n: update of translations from Codeberg Translate ( #6242 )
...
Co-authored-by: Kita Ikuyo <searinminecraft@courvix.com>
Co-authored-by: Benedikt Straub <benedikt-straub@web.de>
Co-authored-by: Edgarsons <Edgarsons@users.noreply.translate.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-authored-by: xtex <xtexchooser@duck.com>
Co-authored-by: Fjuro <fjuro@alius.cz>
Co-authored-by: artnay <artnay@users.noreply.translate.codeberg.org>
Co-authored-by: Nirei <Nirei@users.noreply.translate.codeberg.org>
Co-authored-by: 0ko <0ko@users.noreply.translate.codeberg.org>
Co-authored-by: Juno Takano <jutty@users.noreply.translate.codeberg.org>
Co-authored-by: Anonymous <anonymous@users.noreply.translate.codeberg.org>
Co-authored-by: SomeTr <SomeTr@users.noreply.translate.codeberg.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6242
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: Codeberg Translate <translate@noreply.codeberg.org>
Co-committed-by: Codeberg Translate <translate@noreply.codeberg.org>
2024-12-20 16:30:05 +00:00
Earl Warren
6a978972df
Merge pull request 'fix: actions move to data.forgejo.org' ( #6313 ) from earl-warren/forgejo:wip-data into forgejo
...
Integration tests for the release process / release-simulation (push) Waiting to run
/ release (push) Waiting to run
testing / backend-checks (push) Waiting to run
testing / frontend-checks (push) Waiting to run
testing / test-unit (push) Blocked by required conditions
testing / test-e2e (push) Blocked by required conditions
testing / test-remote-cacher (redis) (push) Blocked by required conditions
testing / test-remote-cacher (valkey) (push) Blocked by required conditions
testing / test-remote-cacher (garnet) (push) Blocked by required conditions
testing / test-remote-cacher (redict) (push) Blocked by required conditions
testing / test-mysql (push) Blocked by required conditions
testing / test-pgsql (push) Blocked by required conditions
testing / test-sqlite (push) Blocked by required conditions
testing / security-check (push) Blocked by required conditions
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6313
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-20 10:45:18 +00:00
Earl Warren
9cc9ea8d40
Merge pull request 'branding: update contrib/legal' ( #6330 ) from 0ko/forgejo:branding-legal into forgejo
...
/ release (push) Waiting to run
testing / backend-checks (push) Waiting to run
testing / frontend-checks (push) Waiting to run
testing / test-unit (push) Blocked by required conditions
testing / test-e2e (push) Blocked by required conditions
testing / test-remote-cacher (redis) (push) Blocked by required conditions
testing / test-remote-cacher (valkey) (push) Blocked by required conditions
testing / test-remote-cacher (garnet) (push) Blocked by required conditions
testing / test-remote-cacher (redict) (push) Blocked by required conditions
testing / test-mysql (push) Blocked by required conditions
testing / test-pgsql (push) Blocked by required conditions
testing / test-sqlite (push) Blocked by required conditions
testing / security-check (push) Blocked by required conditions
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6330
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-12-20 07:08:19 +00:00
0ko
424cc169bb
branding: update contrib/legal
2024-12-19 18:55:20 +05:00
Renovate Bot
456d059982
Update dependency @playwright/test to v1.49.1 (forgejo) ( #6308 )
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6308
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2024-12-19 11:20:42 +00:00
Renovate Bot
a941b878ea
Update dependency katex to v0.16.18 (forgejo) ( #6319 )
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6319
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2024-12-19 10:32:24 +00:00
Earl Warren
d07c5cf69c
fix: actions move to data.forgejo.org
...
code.forgejo.org is meant for development, the actions need to be
highly available and can be read-only. This is what data.forgejo.org
will provide.
2024-12-19 10:55:05 +01:00
Earl Warren
06dac2b448
Merge pull request 'Update actions/cascading-pr action to v2.2.0 (forgejo)' ( #6320 ) from renovate/forgejo-actions-cascading-pr-2.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6320
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-12-19 08:54:00 +00:00
Earl Warren
743cea91c1
Merge pull request 'chore(release): link to the standalone release notes file' ( #6324 ) from earl-warren/forgejo:wip-publish into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6324
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-19 08:30:35 +00:00
Earl Warren
0e02397915
chore(release): link to the standalone release notes file
2024-12-19 09:18:42 +01:00
Renovate Bot
e06ca8cf59
Update actions/cascading-pr action to v2.2.0
2024-12-19 08:03:44 +00:00
Earl Warren
380e266440
Merge pull request '[gitea] week 2024-51 cherry pick (gitea/main -> forgejo)' ( #6271 ) from earl-warren/wcp/2024-51 into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6271
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-12-19 07:08:01 +00:00
Renovate Bot
9ebef52038
Update dependency globals to v15.14.0 (forgejo) ( #6321 )
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6321
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2024-12-19 06:42:06 +00:00
Michael Kriese
bbfc63a621
Merge pull request 'Update module golang.org/x/net to v0.33.0 (forgejo)' ( #6316 ) from renovate/forgejo-golang.org-x-net-0.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6316
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-19 06:00:19 +00:00
Renovate Bot
3d55c2976a
Update module golang.org/x/net to v0.33.0
2024-12-18 23:14:16 +00:00
0ko
cb2e9fb1f4
i18n(en): some improvements ( #6288 )
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6288
Reviewed-by: Otto <otto@codeberg.org>
2024-12-18 11:30:06 +00:00
Earl Warren
729c18bd54
Merge pull request 'Replace actions/cascading-pr action with actions/cascading-pr v2.1.1 (forgejo)' ( #6301 ) from renovate/forgejo-actions-cascading-pr-replacement into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6301
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-18 09:57:20 +00:00
Earl Warren
e59bf129e0
Merge pull request 'Update forgejo/forgejo-build-publish action to v5.2.1 (forgejo)' ( #6264 ) from renovate/forgejo-forgejo-forgejo-build-publish-5.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6264
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-18 09:49:39 +00:00
viceice
f87c9ee73e
ci: use full action url
...
Signed-off-by: viceice <michael.kriese@gmx.de>
2024-12-18 07:46:12 +00:00
Renovate Bot
516c42892f
Replace actions/cascading-pr action with actions/cascading-pr v2.1.1
2024-12-18 07:46:12 +00:00
Earl Warren
dc86771502
Merge pull request 'Update actions/setup-forgejo action to v2 (forgejo)' ( #6298 ) from renovate/forgejo-actions-setup-forgejo-2.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6298
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-12-18 06:58:32 +00:00
Gusted
c26c60ccd1
chore: avoid using gock
...
- Avoid using gock to do HTTP mocking, this is fairly simply to do
ourselves and avoids a dependency, this commit does right that.
2024-12-18 06:40:02 +01:00
Gusted
4d335c25bf
Merge pull request 'Update dependency katex to v0.16.17 (forgejo)' ( #6304 ) from renovate/forgejo-katex-0.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6304
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-12-18 04:57:37 +00:00
Gusted
3991d76013
Merge pull request 'Update dependency markdownlint-cli to v0.43.0 (forgejo)' ( #6309 ) from renovate/forgejo-markdownlint-cli-0.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6309
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-12-18 04:57:23 +00:00
Gusted
8bf0001441
Merge pull request 'Update dependency tailwindcss to v3.4.17 (forgejo)' ( #6305 ) from renovate/forgejo-tailwindcss-3.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6305
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-12-18 04:49:05 +00:00
Gusted
5ec1cae50e
Merge pull request 'Update module github.com/blevesearch/bleve/v2 to v2.4.4 (forgejo)' ( #6306 ) from renovate/forgejo-github.com-blevesearch-bleve-v2-2.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6306
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-12-18 04:48:46 +00:00
Renovate Bot
c69b3cb917
Update forgejo/forgejo-build-publish action to v5.2.1
2024-12-18 02:03:41 +00:00
Renovate Bot
3b16651ae1
Update dependency markdownlint-cli to v0.43.0
2024-12-18 02:03:37 +00:00
Renovate Bot
0e01b79506
Update vitest monorepo to v2.1.8 (forgejo) ( #6307 )
...
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2024-12-18 01:30:42 +00:00
Renovate Bot
b7dc6f0bba
Update dependency eslint-plugin-import-x to v4.5.1 (forgejo) ( #6303 )
...
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2024-12-18 01:29:21 +00:00
Gusted
a0d824e344
Merge pull request 'Update dependency @primer/octicons to v19.14.0 (forgejo)' ( #6259 ) from renovate/forgejo-primer-octicons-19.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6259
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-12-18 00:22:32 +00:00
Gusted
275e029fc9
chore: Update katex import path
2024-12-18 01:17:23 +01:00
Gusted
60e19ce502
Merge pull request 'Update module github.com/go-chi/chi/v5 to v5.2.0 (forgejo)' ( #6282 ) from renovate/forgejo-github.com-go-chi-chi-v5-5.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6282
Reviewed-by: Otto <otto@codeberg.org>
2024-12-18 00:06:44 +00:00
Renovate Bot
22d19ab575
Update module github.com/blevesearch/bleve/v2 to v2.4.4
2024-12-18 00:05:20 +00:00
Renovate Bot
3fd562368c
Update dependency tailwindcss to v3.4.17
2024-12-18 00:04:26 +00:00
Renovate Bot
9096a14801
Update dependency katex to v0.16.17
2024-12-18 00:04:06 +00:00
Gusted
43b09077c5
Merge pull request 'chore: Make Forgejo build with go1.24' ( #6299 ) from gusted/forgejo-go1.24 into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6299
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-by: Otto <otto@codeberg.org>
2024-12-17 23:37:23 +00:00
Gusted
61e21d7ded
chore: Make Forgejo build with go1.24
...
- [Go 1.24](https://groups.google.com/g/golang-announce/c/vYMfuq_XO6w )
is currently out for rc1.
- Using it to test unit tests and integration testing it failed horribly
with strange panics and errors, it is caused by
ca63101df4
and Forgejo trying to access the wrong internal data structures that
have been changed in Go 1.24.
- Use the new data structure for Go 1.24 and above.
2024-12-17 16:12:22 +01:00