Earl Warren
1bee6fa839
Add support for searching users by email ( #30908 ) (testifylint)
2024-10-06 08:29:19 +02:00
Earl Warren
122baf4de8
chore(release-notes): weekly cherry-pick week 2024-41
2024-10-06 08:21:41 +02:00
yp05327
af901ac7bb
Add support for searching users by email ( #30908 )
...
Fix #30898
we have an option `SearchByEmail`, so enable it, then we can search user
by email.
Also added a test for it.
(cherry picked from commit 5d6d025c9b8d2abca9ec2bfdc795d1f0c1c6592d)
2024-10-06 08:10:22 +02:00
Job
1dfe58ad11
Fix PR creation on forked repositories ( #31863 )
...
Resolves #20475
(cherry picked from commit 7e68bc88238104d2ee8b5a877fc1ad437f1778a4)
Conflicts:
tests/integration/pull_create_test.go
add missing testPullCreateDirectly from
c63060b130d34e3f03f28f4dccbf04d381a95c17 Fix code owners will not be mentioned when a pull request comes from a forked repository (#30476 )
2024-10-06 08:08:40 +02:00
Bruno Sofiato
a681daaca2
Fixed race condition when deleting documents by repoId in ElasticSearch ( #32185 )
...
Resolves #32184
---------
Signed-off-by: Bruno Sofiato <bruno.sofiato@gmail.com>
(cherry picked from commit d266d190bd744b7b6f572bf69a42013e21b9be62)
2024-10-06 07:59:42 +02:00
Zettat123
b67b7c1238
Fix the logic of finding the latest pull review commit ID ( #32139 )
...
Fix #31423
(cherry picked from commit f4b8f6fc40ce2869135372a5c6ec6418d27ebfba)
Conflicts:
models/fixtures/comment.yml
comment fixtures have to be shifted because there is one more in Forgejo
2024-10-06 07:44:28 +02:00
Earl Warren
388e7c9719
Ensure GetCSRF
doesn't return an empty token ( #32130 ) (followup)
...
Modifies the calls to createAttachment() for tests that do not exist
in Gitea.
2024-10-06 07:35:19 +02:00
Jason Song
2bc47e81a3
Ensure GetCSRF
doesn't return an empty token ( #32130 )
...
Since page templates keep changing, some pages that contained forms with
CSRF token no longer have them.
It leads to some calls of `GetCSRF` returning an empty string, which
fails the tests. Like
3269b04d61/tests/integration/attachment_test.go (L62-L63)
The test did try to get the CSRF token and provided it, but it was
empty.
(cherry picked from commit 13283873e9d523d5a5557f55d64f702c1a9f76ec)
Conflicts:
tests/integration/integration_test.go
trivial context conflict
2024-10-06 07:29:45 +02:00
forgejo-renovate-action
4337b8321b
Merge pull request 'Update dependency @stylistic/eslint-plugin-js to v2.9.0 (forgejo)' ( #5476 ) from renovate/forgejo-linters into forgejo
2024-10-06 04:58:42 +00:00
Earl Warren
506e5d6058
Merge pull request 'Update actions/cache action to v4.1.0 (forgejo)' ( #5474 ) from renovate/forgejo-actions-cache-4.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5474
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-10-06 04:56:35 +00:00
Earl Warren
58545a3586
Merge pull request 'Update module github.com/mattn/go-sqlite3 to v1.14.24 (forgejo)' ( #5473 ) from renovate/forgejo-github.com-mattn-go-sqlite3-1.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5473
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-10-06 04:52:13 +00:00
Renovate Bot
0875dbf3d7
Update dependency @stylistic/eslint-plugin-js to v2.9.0
2024-10-06 02:07:00 +00:00
Otto
c28011c4ea
Merge pull request 'fix: "forked from" note alignment on 404 error pages #5324 ' ( #5472 ) from timedin/forgejo:forgejo into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5472
Reviewed-by: Otto <otto@codeberg.org>
2024-10-06 01:56:32 +00:00
Renovate Bot
e4866d9c9a
Update actions/cache action to v4.1.0
2024-10-06 00:04:15 +00:00
Renovate Bot
aad9e21f57
Update module github.com/mattn/go-sqlite3 to v1.14.24
2024-10-06 00:03:58 +00:00
TimedIn
8cbb9f3116
#5324 Fix centered fork note
2024-10-06 00:14:30 +02:00
Kwonunn
b20c0b1469
fix: don't cancel schedule workflows on push to main branch
2024-10-05 12:14:44 +02:00
forgejo-renovate-action
1806e336fc
Merge pull request 'Update dependency @vitest/eslint-plugin to v1.1.6 (forgejo)' ( #5467 ) from renovate/forgejo-vitest-eslint-plugin-1.x into forgejo
2024-10-05 06:52:18 +00:00
forgejo-renovate-action
52a133fad1
Merge pull request 'Update dependency @stylistic/stylelint-plugin to v3.1.1 (forgejo)' ( #5466 ) from renovate/forgejo-stylistic-stylelint-plugin-3.x into forgejo
2024-10-05 06:51:59 +00:00
Renovate Bot
d7e2bb6b94
Update dependency @vitest/eslint-plugin to v1.1.6
2024-10-05 00:03:15 +00:00
Renovate Bot
983919153b
Update dependency @stylistic/stylelint-plugin to v3.1.1
2024-10-05 00:02:50 +00:00
Otto
f7f7800460
Merge pull request 'feat: support regexp in git-grep search' ( #4968 ) from yoctozepto/git-grep-regexp into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4968
Reviewed-by: Shiny Nematoda <snematoda@noreply.codeberg.org>
2024-10-04 17:10:14 +00:00
Otto
cb91e5a4dc
Merge pull request 'Makefile: support gotestsum' ( #5249 ) from yoctozepto/gotestsum into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5249
Reviewed-by: Otto <otto@codeberg.org>
2024-10-04 14:24:12 +00:00
Otto
2c4a3d6641
Merge pull request 'Remove some Windows-specific files' ( #5353 ) from 0ko/forgejo:no-windows into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5353
Reviewed-by: Otto <otto@codeberg.org>
2024-10-04 14:03:07 +00:00
Otto
386e3d17cd
Merge pull request 'ci/tests(e2e): always run e2e tests, but only on changed files' ( #5450 ) from fnetx/e2e-on-changes into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5450
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-10-04 13:43:18 +00:00
Otto Richter
88f653b583
docs(e2e): Update e2e test instructions for changed file patterns
...
chore: let fnetx review e2e tests
2024-10-04 15:15:10 +02:00
Otto Richter
72749bcf70
ci: (always|only) run e2e tests based on changes
...
- detect changed files for the run
- let e2e files specify which related files they "watch"
- only run e2e tests based on pattern matching or when generic files
change
- fallback to full runs if env not specified
2024-10-04 15:14:45 +02:00
Otto Richter
7765153b40
tests(e2e): Allow tests to run only on file changes
...
- supports glob patterns in testfiles
- only runs tests on changes
- always runs tests without specified patterns
tests(e2e): refactor global watch patterns
tests(e2e): add watch patterns to test files
2024-10-04 15:14:45 +02:00
Otto Richter
f2a23c962a
ci: merge e2e workflow into testing.yml
...
ci: cache frontend build across jobs
ci: ensure caches are saved with zstd
work around https://github.com/actions/cache/issues/1169
ci: require unit tests for remote cacher
- prevents unnecessary runs in case the unit tests already fail
- starts the integration tests about 2 minutes earlier
- should give some overall speedup to the CI run, because the long integration tests are run and finish earlier, and the cacher tests should still usually finish in time
- does not save any computing resources, just provides quicker results when runners are not under high load
2024-10-04 15:14:28 +02:00
Gusted
14b6f26aab
Merge pull request 'log concise repo names in lfs doctor' ( #5456 ) from kwonunn/fix-lfs-log-output into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5456
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-10-04 12:44:18 +00:00
Earl Warren
ad54c72b90
Merge pull request 'Update dependency mermaid to v11.3.0 (forgejo)' ( #5459 ) from renovate/forgejo-mermaid-11.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5459
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-10-04 07:23:47 +00:00
Earl Warren
3d97c0f941
chore(release-notes): Update dependency mermaid to v11.3.0
2024-10-04 08:53:11 +02:00
Renovate Bot
14ea872f1e
Update dependency mermaid to v11.3.0
2024-10-04 00:03:47 +00:00
Codeberg Translate
aca00fa346
i18n: update of translations from Codeberg Translate ( #5413 )
...
Translations update from [Codeberg Translate](https://translate.codeberg.org ) for [Forgejo/forgejo](https://translate.codeberg.org/projects/forgejo/forgejo/ ).
Current translation status:
![Weblate translation status](https://translate.codeberg.org/widget/forgejo/forgejo/horizontal-auto.svg )
Co-authored-by: 0ko <0ko@users.noreply.translate.codeberg.org>
Co-authored-by: fnetX <otto@codeberg.org>
Co-authored-by: be4zad <be4zad@users.noreply.translate.codeberg.org>
Co-authored-by: Fjuro <fjuro@alius.cz>
Co-authored-by: hankskyjames777 <hankskyjames777@users.noreply.translate.codeberg.org>
Co-authored-by: kwoot <kwoot@users.noreply.translate.codeberg.org>
Co-authored-by: emansije <emansije@users.noreply.translate.codeberg.org>
Co-authored-by: xtex <xtexchooser@duck.com>
Co-authored-by: Outbreak2096 <Outbreak2096@users.noreply.translate.codeberg.org>
Co-authored-by: WithLithum <WithLithum@users.noreply.translate.codeberg.org>
Co-authored-by: yeziruo <yeziruo@users.noreply.translate.codeberg.org>
Co-authored-by: kecrily <kecrily@users.noreply.translate.codeberg.org>
Co-authored-by: overloop <overloop@users.noreply.translate.codeberg.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5413
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: Codeberg Translate <translate@noreply.codeberg.org>
Co-committed-by: Codeberg Translate <translate@noreply.codeberg.org>
2024-10-03 21:23:07 +00:00
Kwonunn
15a407a617
log concise repo names in lfs doctor
...
the old log prints the entire repo object
2024-10-03 16:15:08 +02:00
forgejo-renovate-action
44bf8305d4
Merge pull request 'Update dependency @vitest/eslint-plugin to v1.1.5 (forgejo)' ( #5452 ) from renovate/forgejo-vitest-eslint-plugin-1.x into forgejo
2024-10-03 06:30:36 +00:00
Renovate Bot
56bcbbaa31
Update dependency @vitest/eslint-plugin to v1.1.5
2024-10-03 06:02:29 +00:00
forgejo-renovate-action
c8859c5df1
Merge pull request 'Update vitest monorepo to v2.1.2 (forgejo)' ( #5454 ) from renovate/forgejo-vitest-monorepo into forgejo
2024-10-03 05:26:20 +00:00
Renovate Bot
94f04e6fd8
Update vitest monorepo to v2.1.2
2024-10-03 02:02:46 +00:00
Renovate Bot
2bd9a253ed
Update module github.com/caddyserver/certmagic to v0.21.4
2024-10-03 00:03:02 +00:00
Gusted
84e77c41fa
[FEAT] Don't allow modification to internal reference
...
- This a port of https://github.com/go-gitea/gitea/pull/31931 in a
behavior-sense. None of the code was actually ported.
- Follow up for #2834 , now also don't allow modification.
- Integration test added.
- Unit test modified.
2024-10-02 20:50:06 +02:00
Renovate Bot
08b1c609bc
Update dependency go to v1.23.2
2024-10-01 18:05:54 +00:00
Otto
55d9c1bad3
Merge pull request 'ci: move composite workflow location' ( #5421 ) from fnetx/dry-workflow-cleanup into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5421
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-10-01 15:20:28 +00:00
Otto Richter
e6b84f9191
ci: move composite workflow location
...
otherwise, they unfortunately display in the Forgejo UI with an error message
2024-10-01 16:51:02 +02:00
Otto
de99a9c93e
Merge pull request 'Update actions/setup-go action to v5 (forgejo)' ( #5441 ) from renovate/forgejo-actions-setup-go-5.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5441
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-by: Otto <otto@codeberg.org>
2024-10-01 14:17:19 +00:00
forgejo-renovate-action
36f2b8656e
Merge pull request 'Update ghcr.io/devcontainers/features/git-lfs Docker tag to v1.2.3 (forgejo)' ( #5437 ) from renovate/forgejo-devcontainer-packages into forgejo
2024-10-01 13:54:58 +00:00
Renovate Bot
be373e948e
Update actions/setup-go action to v5
2024-10-01 10:02:16 +00:00
Renovate Bot
f79d2fba07
Update ghcr.io/devcontainers/features/git-lfs Docker tag to v1.2.3
2024-10-01 10:02:11 +00:00
forgejo-renovate-action
d2eac83f6a
Merge pull request 'Update dependency eslint-plugin-sonarjs to v2.0.3 (forgejo)' ( #5436 ) from renovate/forgejo-linters into forgejo
2024-10-01 08:53:47 +00:00
Earl Warren
df0e50a08f
Merge pull request 'Update dependency @github/text-expander-element to v2.7.2 (forgejo)' ( #5396 ) from renovate/forgejo-github-text-expander-element-2.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5396
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-10-01 08:38:55 +00:00