Renovate Bot
22d19ab575
Update module github.com/blevesearch/bleve/v2 to v2.4.4
2024-12-18 00:05:20 +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
0ko
9352f2566c
chore(i18n): add readme ( #6296 )
...
Give documentation more visibility. I hope it will.
Also document attribution because the TRANSLATORS file is probably confusing.
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6296
Reviewed-by: Antonin Delpeuch <wetneb@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
2024-12-17 13:43:54 +00:00
Renovate Bot
8dd4a6b69e
Update dependency eslint-plugin-sonarjs to v3 (forgejo) ( #6293 )
...
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2024-12-17 11:15:27 +00:00
Earl Warren
fbd6e83a67
Merge pull request 'Update module google.golang.org/protobuf to v1.36.0 (forgejo)' ( #6295 ) from renovate/forgejo-google.golang.org-protobuf-1.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6295
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-12-17 09:01:49 +00:00
Renovate Bot
46e0a0306c
Update module google.golang.org/protobuf to v1.36.0
2024-12-17 00:03:31 +00:00
Otto
66e1975e24
Merge pull request '[gitea] Add links to commit lists in contributors graph page ( #32799 )' ( #6274 ) from wetneb/forgejo:gitea_contributor_link into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6274
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
2024-12-16 21:19:11 +00:00
Otto
f94b159704
Merge pull request 'Put issue actions in a single row on mobile' ( #6044 ) from 0ko/forgejo:ui-commenting-singlerow into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6044
Reviewed-by: Otto <otto@codeberg.org>
2024-12-16 21:13:18 +00:00
Renovate Bot
987fdca9db
Update linters (forgejo) ( #6292 )
...
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2024-12-16 21:12:59 +00:00
Otto
6a4a24e2d7
Merge pull request 'Add sorting functionality to /api/v1/admin/users
endpoint' ( #6228 ) from awiteb/forgejo:sort-user-search-endpoint into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6228
Reviewed-by: Otto <otto@codeberg.org>
2024-12-16 21:00:13 +00:00
Renovate Bot
3d5dfea734
Update dependency @vitest/eslint-plugin to v1.1.16 (forgejo) ( #6290 )
...
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2024-12-16 20:33:06 +00:00
Renovate Bot
07a9178009
Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v1.62.2 (forgejo) ( #6291 )
...
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2024-12-16 20:31:57 +00:00
Awiteb
7603de279a
chore: Update user1 createdunix
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-12-16 23:27:37 +03:00
Awiteb
60c1fa840b
chore: Identify the created_unix
in user fixtures
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-12-16 23:27:37 +03:00
Awiteb
dbbd359984
Add sorting functionality to user search endpoint
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-12-16 23:27:29 +03:00
Antonin Delpeuch
a6a9314bdb
Add copyright header and watch header
2024-12-16 09:13:14 +01:00
Earl Warren
1a5026b4e8
Merge pull request 'Update actions/cascading-pr action to v2.2.0 (forgejo)' ( #6281 ) from renovate/forgejo-actions-cascading-pr-2.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6281
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-12-16 06:36:29 +00:00
Renovate Bot
2aaf74cecd
Update renovate to v39.69.2 (forgejo) ( #6278 )
...
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2024-12-16 05:28:24 +00:00
Renovate Bot
fd5303ecf0
Update actions/cascading-pr action to v2.2.0
2024-12-16 02:03:39 +00:00
Antonin Delpeuch
3cd36c4b21
Add Playwright test
2024-12-15 22:38:01 +01:00
Chai-Shi
ad7df0f70a
Add "n commits" link to contributors in contributors graph page ( #32799 )
...
Fixes Issue #29365 and inherit PR #29429
- I should extend the #29429 fork but the fork is not synced, so I
created another PR.
- Use `silenced` class for the link, as in #29847
---------
Co-authored-by: Ben Chang <ben_chang@htc.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-15 13:21:02 +01:00
Earl Warren
c368df39b0
Merge pull request 'Replace actions/cascading-pr action with actions/cascading-pr v2.1.1 (forgejo)' ( #6226 ) from renovate/forgejo-actions-cascading-pr-replacement into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6226
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-15 07:18:50 +00:00
0ko
f5cfdd80a7
Merge pull request 'Regular visual regression testing' ( #6117 ) from fnetx/playwright-visual into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6117
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-14 12:54:07 +00:00
Otto
c1d882df5b
Merge pull request 'fix: Do not offer duplicating a PR for a recently pushed branch' ( #6191 ) from wetneb/forgejo:6187-recent-branches into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6191
Reviewed-by: Otto <otto@codeberg.org>
2024-12-13 19:09:39 +00:00
Otto
05fb3692f7
Merge pull request 'Simplify main-attribute labels' ( #6201 ) from 0ko/forgejo:ui-simple-spec-labels into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6201
Reviewed-by: Otto <otto@codeberg.org>
2024-12-13 19:05:52 +00:00
Otto
3fc0979f63
Merge pull request 'Add missing automerge feed message' ( #6233 ) from 0ko/forgejo:ui-feeds-automerge into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6233
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-by: Otto <otto@codeberg.org>
2024-12-13 19:04:02 +00:00
Renovate Bot
ad9c5acba9
Update module github.com/gliderlabs/ssh to v0.3.8 (forgejo) ( #6258 )
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6258
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-13 05:55:36 +00:00
Renovate Bot
53334af9e4
Update module golang.org/x/tools/gopls to v0.17.0 (forgejo) ( #6260 )
...
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2024-12-13 05:43:42 +00:00
Awiteb
70348e159f
Ensure source_id
parameter is not skipped when set to 0 and correctly filter users in /api/v1/admin/users
endpoint ( #6240 )
...
Signed-off-by: Awiteb <a@4rs.nl>
Fixes: #6239
## Checklist
### Tests
- I added test coverage for Go changes...
- [ ] in their respective `*_test.go` for unit tests.
- [X] in the `tests/integration` directory if it involves interactions with a live Forgejo server.
- I added test coverage for JavaScript changes...
- [ ] in `web_src/js/*.test.js` if it can be unit tested.
- [ ] in `tests/e2e/*.test.e2e.js` if it requires interactions with a live Forgejo server (see also the [developer guide for JavaScript testing](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/tests/e2e/README.md#end-to-end-tests )).
### Documentation
- [ ] I created a pull request [to the documentation](https://codeberg.org/forgejo/docs ) to explain to Forgejo users how to use this change.
- [X] I did not document these changes and I do not expect someone else to do it.
### Release notes
- [ ] I do not want this change to show in the release notes.
- [X] I want the title to show in the release notes with a link to this pull request.
- [ ] I want the content of the `release-notes/<pull request number>.md` to be be used for the release notes instead of the title.
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6240
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Awiteb <a@4rs.nl>
Co-committed-by: Awiteb <a@4rs.nl>
2024-12-13 05:42:01 +00:00
forgejo-release-manager
403a81bdb5
chore(release-notes): Forgejo v7.0.12 ( #6255 )
...
https://codeberg.org/forgejo/forgejo/milestone/8832
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6255
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: forgejo-release-manager <contact-forgejo-release-manager@forgejo.org>
Co-committed-by: forgejo-release-manager <contact-forgejo-release-manager@forgejo.org>
2024-12-12 18:13:38 +00:00
forgejo-release-manager
835e72b247
chore(release-notes): Forgejo v9.0.3 ( #6256 )
...
https://codeberg.org/forgejo/forgejo/milestone/8833
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6256
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: forgejo-release-manager <contact-forgejo-release-manager@forgejo.org>
Co-committed-by: forgejo-release-manager <contact-forgejo-release-manager@forgejo.org>
2024-12-12 18:13:29 +00:00
0ko
4948380069
fix(ui): use correct title for container images ( #6254 )
...
Fixed the wrong box title here:
https://codeberg.org/attachments/5e3a8443-f1f3-4fdd-922e-0426ba370bc7
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6254
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-12-12 17:35:52 +00:00
Otto
e21ad7dfaf
Merge pull request 'Adjust MySQL instruction' ( #6245 ) from 0ko/forgejo:doctor into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6245
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
2024-12-12 14:08:10 +00:00
Earl Warren
da76eb3962
Merge pull request 'Update module golang.org/x/crypto to v0.31.0 (forgejo)' ( #6243 ) from renovate/forgejo-golang.org-x-crypto-0.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6243
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-12-12 05:58:41 +00:00
Earl Warren
a6d4505d76
Merge pull request 'fix: ensure correct ssh public key is used for authentication' ( #6248 ) from earl-warren/forgejo:wip-ssh into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6248
2024-12-12 05:57:17 +00:00
Earl Warren
f18f447575
Merge pull request 'fix: Revert "allow synchronizing user status from OAuth2 login providers ( #31572 )"' ( #6249 ) from earl-warren/forgejo:wip-oauth2 into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6249
2024-12-12 05:42:43 +00:00
Gusted
7f8f9b878f
fix: Revert "allow synchronizing user status from OAuth2 login providers ( #31572 )"
...
This commit has a fundamental flaw, in order to syncronize if external
users are still active the commit checks if the refresh token is
accepted by the OAuth provider, if that is not the case it sees that as
the user is disabled and sets the is active field to `false` to signal
that. Because it might be possible (this commit makes this a highly
likelyhood) that the OAuth provider still recognizes this user the
commit introduces code to allow users to re-active themselves via the
oauth flow if they were disabled because of this. However this code
makes no distinction in why the user was disabled and always re-actives
the user.
Thus the reactivation via the OAuth flow allows users to bypass the
manually activation setting (`[service].REGISTER_MANUAL_CONFIRM`) or if
the admin for other reasons disabled the user.
This reverts commit 21fdd28f08
.
2024-12-12 05:59:06 +01:00
Gusted
3e1b03838e
fix: ensure correct ssh public key is used for authentication
...
- The root cause is described in b4f1988a35
- Move to a fork of `github.com/gliderlabs/ssh` that exposes the
permissions that was chosen by `x/crypto/ssh` after succesfully
authenticating, this is the recommended mitigation by the Golang
security team. The fork exposes this, since `gliderlabs/ssh` instead
relies on context values to do so, which is vulnerable to the same
attack, although partially mitigated by the fix in `x/crypto/ssh` it
would not be good practice and defense deep to rely on it.
- Existing tests covers that the functionality is preserved.
- No tests are added to ensure it fixes the described security, the
exploit relies on non-standard SSH behavior it would be too hard to
craft SSH packets to exploit this.
2024-12-12 05:54:07 +01:00
0ko
eef45a73c9
branding: adjust mysql instruction
2024-12-12 09:08:24 +05:00
Renovate Bot
eda4d1b753
Update module golang.org/x/crypto to v0.31.0
2024-12-12 00:03:06 +00:00
Gusted
80179a373d
Merge pull request 'Update dependency katex to v0.16.15 (forgejo)' ( #6229 ) from renovate/forgejo-katex-0.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6229
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-12-11 20:34:09 +00:00
Earl Warren
8a8de046f8
Merge pull request 'Replace actions/setup-forgejo action with actions/setup-forgejo v1.0.1 (forgejo)' ( #6227 ) from renovate/forgejo-actions-setup-forgejo-replacement into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6227
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-11 17:23:52 +00:00
0ko
ac6f9ea17d
i18n: avoid storing i18n linter exceptions for <filename> ( #6237 )
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6237
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-12-11 16:38:42 +00:00
Codeberg Translate
0c74cde4e6
i18n: update of translations from Codeberg Translate ( #6161 )
...
Co-authored-by: earl-warren <earl-warren@users.noreply.translate.codeberg.org>
Co-authored-by: artnay <artnay@users.noreply.translate.codeberg.org>
Co-authored-by: Edgarsons <Edgarsons@users.noreply.translate.codeberg.org>
Co-authored-by: emansije <emansije@users.noreply.translate.codeberg.org>
Co-authored-by: Benedikt Straub <benedikt-straub@web.de>
Co-authored-by: yeziruo <yeziruo@users.noreply.translate.codeberg.org>
Co-authored-by: xtex <xtexchooser@duck.com>
Co-authored-by: Wuzzy <wuzzy@disroot.org>
Co-authored-by: SomeTr <SomeTr@users.noreply.translate.codeberg.org>
Co-authored-by: Outbreak2096 <Outbreak2096@users.noreply.translate.codeberg.org>
Co-authored-by: Fjuro <fjuro@alius.cz>
Co-authored-by: antaanimosity <antaanimosity@users.noreply.translate.codeberg.org>
Co-authored-by: 0ko <0ko@users.noreply.translate.codeberg.org>
Co-authored-by: Kita Ikuyo <searinminecraft@courvix.com>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6161
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-11 15:26:40 +00:00
Gusted
4cbcd41bf2
Merge pull request 'Update github.com/grafana/go-json digest to a119ee5 (forgejo)' ( #6234 ) from renovate/forgejo-github.com-grafana-go-json-digest into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6234
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-12-11 14:24:22 +00:00
Earl Warren
1b66719357
Merge pull request 'chore(release-notes): keep release notes in release-notes-published' ( #6165 ) from earl-warren/forgejo:wip-release-notes into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6165
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
2024-12-11 09:23:35 +00:00
Renovate Bot
3bca714bb2
Update github.com/grafana/go-json digest to a119ee5
2024-12-11 00:03:09 +00:00
Antonin Delpeuch
9c2f3dac71
Reduce delay to 30 minutes
2024-12-10 22:51:44 +01:00
0ko
3149aee3cc
fix(ui): add missing automerge feed message
2024-12-10 23:10:16 +05:00