Gusted
55c30ba266
Merge pull request 'fix: correct SQL query for active issues' ( #5627 ) from gusted/forgejo-fix-active-issues into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5627
Reviewed-by: Otto <otto@codeberg.org>
2024-10-20 23:30:01 +00:00
Gusted
b5ccb55b58
Merge pull request 'fix(i18n): edit should not be lowercase here' ( #5625 ) from fnetx/tagedit-typo into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5625
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-10-20 23:27:57 +00:00
Otto
69e68897e4
Merge pull request 'fix: Specify default value for EXPLORE_DEFAULT_SORT
.' ( #5626 ) from gusted/forgejo-default-sort-value into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5626
Reviewed-by: Otto <otto@codeberg.org>
2024-10-20 23:05:29 +00:00
Gusted
0055fdbdc4
fix: correct SQL query for active issues
...
- The `OR` should be inside the `AND` condition to not 'bypass' the other
conditions.
- Added minimal unit test.
- Regression from 2675a24649
2024-10-21 00:48:04 +02:00
Gusted
f4be4e733c
fix: Specify default value for EXPLORE_DEFAULT_SORT
.
...
- This is another regression from
5a0bc35799
, where the default value was
changed to "alphabetically" because it relied on `ExploreDefaultSort`
providing a fallback value.
- Set the default value for `EXPLORE_DEFAULT_SORT` to `recentupdate`,
this was already the behavior explicitly for existing users of this setting
but with 5a0bc35799
it didn't provide a
explicit fallback to `recentupdate`. So opting for a 'easy' fix, that
doesn't add boilerplate code to those instances.
2024-10-21 00:11:47 +02:00
Otto Richter
1b6ed6dc5b
fix(i18n): edit should not be lowercase here
...
This also propagated to translations and it looks a little odd in the tooltip
2024-10-21 00:11:33 +02:00
Gusted
215700fc83
Merge pull request 'fix: Add recentupdated
as recognized sort option' ( #5613 ) from gusted/forgejo-add-recentupdated-case into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5613
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
2024-10-20 10:57:20 +00:00
Otto
dfe9bdd15f
Merge pull request 'feat: Create temporary user helper function' ( #5617 ) from gusted/forgejo-temp-user-e2e into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5617
Reviewed-by: Otto <otto@codeberg.org>
2024-10-19 22:05:31 +00:00
Gusted
cd7c015dd3
Merge pull request 'mail issue: Display issue type in email header' ( #5389 ) from xenrox/forgejo:mail-issue into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5389
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-10-19 21:54:56 +00:00
Gusted
df38c41c7a
fix: Add recentupdated
as recognized sort option
...
- Add `recentupdated` to the `OrderByMap`.
- Add integration testing for organization and user repository sorting.
- Resolves #5612
- Regression from 12e23ee199
where the
`recentupdated` case was not added to the map, but was handled
seperately as a fallback. The regression came into affect when
5a0bc35799
also relied on this map but
didn't handle the `recentupdated` case.
2024-10-19 23:53:29 +02:00
Gusted
b43d9d5ae6
Merge pull request 'fix: Don't double escape delete branch text' ( #5615 ) from gusted/forgejo-avoid-double-escape into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5615
Reviewed-by: Otto <otto@codeberg.org>
2024-10-19 21:21:33 +00:00
Gusted
0b92d6e0ba
feat: Create temporary user helper function
...
- Add a helper function that creates and log into a temporary user. So
it doesn't affect other users and tests and the test can more easily be
retried with a 'fresh' state instead of a broken state.
- Adjust the Webauthn test to make use of this.
- Relevant: #5291 , #5394
2024-10-19 22:58:32 +02:00
Gusted
8c8b31f304
fix: Don't double escape delete branch text
...
- Don't double escape the 'Delete branch "$BRANCH"' text. `Locale.Tr`
escapes the argument already and Vue does too by default.
- Let Vue escape the text and add a unit test ensuring that it escapes.
- Resolves #5582
2024-10-19 22:05:35 +02:00
Thorben Günther
74403d1f0f
mail issue: Display issue type in email header
...
Currently notification emails for Pull Requests or Issues are
indistinguishable at first glance. This adds the type ("PR" or "Issue")
before the index number.
2024-10-19 21:25:54 +02:00
Earl Warren
e2354703ed
Merge pull request '[gitea] week 2024-42 cherry pick (gitea/main -> forgejo)' ( #5543 ) from earl-warren/wcp/2024-42 into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5543
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-10-19 13:54:24 +00:00
Gusted
b76d7a2b2d
Merge pull request 'Update code.forgejo.org/go-chi/session digest to 2a99226 (forgejo)' ( #5608 ) from renovate/forgejo-code.forgejo.org-go-chi-session-digest into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5608
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-10-19 11:23:03 +00:00
Renovate Bot
dc5de38db0
Update code.forgejo.org/go-chi/session digest to 2a99226
2024-10-19 00:03:40 +00:00
Earl Warren
182761e407
Merge pull request 'Update module github.com/go-enry/go-enry/v2 to v2.9.1 (forgejo)' ( #5601 ) from renovate/forgejo-github.com-go-enry-go-enry-v2-2.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5601
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-10-18 08:40:21 +00:00
Earl Warren
fcd1d3ed66
chore(release-notes): Update module github.com/go-enry/go-enry/v2 to v2.9.1
2024-10-18 10:12:06 +02:00
Renovate Bot
dad18d985a
Update module github.com/go-enry/go-enry/v2 to v2.9.1
2024-10-18 00:05:06 +00:00
Earl Warren
d924d241b0
Merge pull request 'Update github.com/google/pprof digest to a352233 (forgejo)' ( #5435 ) from renovate/forgejo-github.com-google-pprof-digest into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5435
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-10-17 22:33:14 +00:00
Renovate Bot
d01393efd3
Update github.com/google/pprof digest to 017d972
2024-10-17 22:03:13 +00:00
Gusted
11b3db5c80
Merge pull request 'Update dependency @primer/octicons to v19.12.0 (forgejo)' ( #5591 ) from renovate/forgejo-primer-octicons-19.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5591
2024-10-17 20:48:49 +00:00
0ko
19ca039486
feat(ui): set your_repositories as the default filter for org dashboards ( #5593 )
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5593
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: Shiny Nematoda <snematoda@noreply.codeberg.org>
2024-10-17 13:24:41 +00:00
Gusted
67ca1bebc4
Merge pull request 'fix: Add server logging for OAuth server errors' ( #5595 ) from gusted/forgejo-log-oauth-error into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5595
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
2024-10-17 09:45:23 +00:00
Gusted
e68a9e662a
Merge pull request 'Update dependency chart.js to v4.4.5 (forgejo)' ( #5576 ) from renovate/forgejo-chart.js-4.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5576
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-10-17 07:17:11 +00:00
Gusted
a857007d65
fix: Add server logging for OAuth server errors
...
Although an error was presented to the user about that there's an
internal server error, the error itself is never logged.
Relevant: https://codeberg.org/Codeberg/Community/issues/1675
2024-10-17 09:13:48 +02:00
forgejo-renovate-action
fa73b38756
Merge pull request 'Update dependency @playwright/test to v1.48.1 (forgejo)' ( #5590 ) from renovate/forgejo-playwright-monorepo into forgejo
2024-10-17 07:03:16 +00:00
Gusted
663416f097
Update SVGs
2024-10-17 08:47:35 +02:00
Earl Warren
db7a071e5d
Merge pull request 'Update dependency @github/text-expander-element to v2.8.0 (forgejo)' ( #5522 ) from renovate/forgejo-github-text-expander-element-2.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5522
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-10-17 06:45:11 +00:00
Renovate Bot
a28e077e4d
Update dependency @playwright/test to v1.48.1
2024-10-17 06:06:32 +00:00
Earl Warren
b5b7e39981
Merge pull request 'forgejo-cli is now a symlink and cannot be used for sanity checks' ( #5592 ) from earl-warren/forgejo:wip-release-symlink into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5592
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-10-17 05:59:13 +00:00
Earl Warren
54c8ac3e39
vars.SKIP_END_TO_END optionally skip tests when building a release
...
The end-to-end tests will always fail when more than one release is
broken. When trying to fix one, the other will get in the way and vice
versa. The only way to get out of this deadlock is to replace all
broken releases but one by doing the following on forgejo-integration:
* set SKIP_END_TO_END to true in the actions vars tab
* pushing a commit to the corresponding branch, fixing the problem
2024-10-17 07:31:22 +02:00
Earl Warren
1a7a9055e4
forgejo-cli is now a symlink and cannot be used for sanity checks
...
It could be used but then `cp --dereference` would need to be used instead in
the forgejo-build-publish action.
+ docker cp forgejo-amd64:/app/gitea/forgejo-cli forgejo-9.0-test-linux-amd64
+ chmod +x forgejo-9.0-test-linux-amd64
chmod: cannot operate on dangling symlink 'forgejo-9.0-test-linux-amd64'
2024-10-17 06:59:05 +02:00
Renovate Bot
6283a4b187
Update dependency @primer/octicons to v19.12.0
2024-10-17 00:02:56 +00:00
Earl Warren
579233dc75
Merge pull request 'Dockerfile: use alpine:3.20 instead of golang:1.23-alpine3.20' ( #5587 ) from earl-warren/forgejo:wip-docker-runtime into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5587
2024-10-16 20:41:36 +00:00
Earl Warren
a99bb2c61a
Dockerfile: use alpine:3.20 instead of golang:1.23-alpine3.20
...
Runtime does not need golang.
2024-10-16 22:04:26 +02:00
Earl Warren
17e6bccf93
Merge pull request 'unecessary container image layer duplication' ( #5585 ) from earl-warren/forgejo:wip-docker-forgejo-cli into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5585
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-10-16 19:44:55 +00:00
Earl Warren
7d779a7859
unecessary container image layer duplication
...
container images grew by 100MB when
RUN ln /app/gitea/gitea /app/gitea/forgejo-cli
was added because hard links are not preserved.
Use symbolic links instead.
https://tauri.earth/@AliveDevil/113318561067465279
2024-10-16 21:07:22 +02:00
Gusted
67ef2e68a4
Merge pull request 'Update module github.com/buildkite/terminal-to-html/v3 to v3.16.3 (forgejo)' ( #5578 ) from renovate/forgejo-github.com-buildkite-terminal-to-html-v3-3.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5578
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-10-16 15:20:21 +00:00
Earl Warren
cd93d9a0a8
Merge pull request 'docs: add link to the v9.0.0 release notes' ( #5391 ) from earl-warren/forgejo:wip-release-notes into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5391
Reviewed-by: Otto <otto@codeberg.org>
2024-10-16 03:26:29 +00:00
Codeberg Translate
2f1c33b5e0
i18n: update of translations from Codeberg Translate ( #5555 )
...
Co-authored-by: Benedikt Straub <Nordfriese@users.noreply.translate.codeberg.org>
Co-authored-by: SomeTr <SomeTr@users.noreply.translate.codeberg.org>
Co-authored-by: Juno Takano <jutty@users.noreply.translate.codeberg.org>
Co-authored-by: Atul_Eterno <Atul_Eterno@users.noreply.translate.codeberg.org>
Co-authored-by: Outbreak2096 <Outbreak2096@users.noreply.translate.codeberg.org>
Co-authored-by: Xinayder <Xinayder@users.noreply.translate.codeberg.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5555
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-10-16 02:49:05 +00:00
Renovate Bot
0c146ddf72
Update module github.com/buildkite/terminal-to-html/v3 to v3.16.3
2024-10-16 02:05:17 +00:00
Renovate Bot
42092ead8b
Update dependency chart.js to v4.4.5
2024-10-16 00:03:18 +00:00
Earl Warren
69bedb8933
Merge pull request 'fix: correct documentation for non 200 responses in swagger' ( #5491 ) from JakobDev/forgejo:fixswagger into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5491
Reviewed-by: Otto <otto@codeberg.org>
2024-10-15 11:34:35 +00:00
Otto
2ffe7de372
Merge pull request 'fix: use column flex on mobile to prevent project title from wrapping' ( #5536 ) from mzhang/forgejo:mzhang/fix-project-title-wrapping into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5536
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-10-15 11:25:54 +00:00
Gusted
42d6e67402
Merge pull request 'Update module github.com/caddyserver/certmagic to v0.21.4 (forgejo)' ( #5453 ) from renovate/forgejo-github.com-caddyserver-certmagic-0.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5453
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-10-15 10:16:20 +00:00
forgejo-renovate-action
fff95ef76b
Merge pull request 'Update vitest monorepo to v2.1.3 (forgejo)' ( #5569 ) from renovate/forgejo-vitest-monorepo into forgejo
2024-10-15 07:39:20 +00:00
Renovate Bot
10c6ac7779
Update module github.com/redis/go-redis/v9 to v9.6.2 (forgejo) ( #5568 )
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5568
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-10-15 07:07:59 +00:00
Renovate Bot
0605219dcf
Update vitest monorepo to v2.1.3
2024-10-15 00:05:48 +00:00