Earl Warren
865d4f538b
chore(branding): strip metadata information from the footer
...
When the Forgejo version is displayed in the footer, the metadata
should not be displayed. It was once an indication that Forgejo
includes all of Gitea. But since the hard fork the codebase diverged
and this is no longer accurate.
The metadata is still displayed in the API, admin panels or headers
for the sake of backward compatibility.
Refs: https://codeberg.org/forgejo/discussions/issues/244
(cherry picked from commit 2c81893c76
)
2024-12-30 15:30:02 +00:00
Gusted
ecbbaabfc8
Merge pull request '[v10.0/forgejo] fix: use DateUtils for blocked users list' ( #6418 ) from bp-v10.0/forgejo-57f7253 into v10.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6418
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-12-30 12:55:05 +00:00
Gusted
38f058a5f0
fix: use DateUtils for blocked users list
...
- Should've been fixed with #5796 but seems I've overlooked.
(cherry picked from commit 57f7253610
)
2024-12-30 10:54:38 +00:00
Earl Warren
1a64ae1dc4
Merge pull request '[v10.0/forgejo] [gitea] week 2024-53 cherry pick (gitea/main -> forgejo)' ( #6416 ) from bp-v10.0/forgejo-0efd713-2ffa9a5-92ac337-b18dcd6-37f0561 into v10.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6416
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-12-30 08:59:18 +00:00
Earl Warren
a8cc73fe87
Improve Actions test ( #32883 ) (followup)
...
(cherry picked from commit 37f05617a5
)
2024-12-30 08:26:54 +00:00
Zettat123
7a84081755
Improve Actions test ( #32883 )
...
This PR adds a mock runner to test more actions features.
(cherry picked from commit df98452c0de9d01338f00aa5d85757623523b1fc)
(cherry picked from commit b18dcd69f2
)
2024-12-30 08:26:54 +00:00
Zettat123
2ac9b16297
Support org labels when adding labels by label names ( #32988 )
...
Fix #32891
(cherry picked from commit 44b4fb21a4e99f327303f66cc7e48f7ca7ba09e1)
(cherry picked from commit 92ac337263
)
2024-12-30 08:26:54 +00:00
Lunny Xiao
2bcbfbc5d4
demilestone should not include milestone ( #32923 )
...
Fix #32887
(cherry picked from commit f44712f22bc7bfce049c64c27f60453ff1e41a5c)
Conflicts:
services/issue/milestone_test.go
trivial conflicts (require vs assert)
(cherry picked from commit 2ffa9a5e6e
)
2024-12-30 08:26:54 +00:00
katsu
4999de50c3
fix trailing comma not matched in the case of alphanumeric issue ( #32945 )
...
Fix #32428 .
Patch the regex to match `,`besides `.` `"` `'` `:` and space.
(cherry picked from commit fb75151fb14e866cab8d893c588f5673902b278b)
(cherry picked from commit 0efd7130f0
)
2024-12-30 08:26:54 +00:00
Earl Warren
eb00a80efc
Merge pull request '[v10.0/forgejo] Rework new repo dialog' ( #6399 ) from bp-v10.0/forgejo-471e5b1-8159915-4cde569-8d32ca3-8d829a9 into v10.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6399
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
2024-12-29 20:49:03 +00:00
Earl Warren
c7c22aae8c
Merge pull request '[v10.0/forgejo] fix: xorm needs to be lowercase otherwise it is ignored' ( #6406 ) from bp-v10.0/forgejo-b03ecf5 into v10.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6406
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-12-29 20:09:11 +00:00
Gusted
0eab84d02e
Merge pull request '[v10.0/forgejo] feat: When comparing in repos, mention that pull request creation requires sign-in' ( #6398 ) from bp-v10.0/forgejo-dd4a110 into v10.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6398
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
2024-12-29 18:40:10 +00:00
Earl Warren
e71fd7d28d
fix: xorm needs to be lowercase otherwise it is ignored
...
Fixes: https://codeberg.org/forgejo/forgejo/issues/6389
(cherry picked from commit b03ecf584c
)
2024-12-29 18:27:08 +00:00
Gusted
055348430e
Merge pull request '[v10.0/forgejo] Cosmetic changes and fixes around repo homepage' ( #6402 ) from bp-v10.0/forgejo-02c34f9 into v10.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6402
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
2024-12-29 18:27:01 +00:00
0ko
440be42baf
ui: cosmetic changes and fixes around repo homepage
...
(cherry picked from commit 02c34f9908
)
2024-12-29 14:47:11 +00:00
Otto Richter
f1b98d16c7
tests(e2e): Test new repo dialog and behaviour
...
- screenshots and basic accessibility scan of collapsed and expanded sections
- the dropdowns do not pass the accessibility checks, but I haven't found an easy fix
- I manually confirmed the dropdown behaviour via orca and firefox, though
(cherry picked from commit 8d829a97b2
)
2024-12-29 13:23:30 +00:00
Otto Richter
662b385596
New repo: Rework initialization
...
- only show settings when ticked
- only offer README selection when there are multiple options
(cherry picked from commit 8d32ca32c2
)
2024-12-29 13:23:30 +00:00
Otto Richter
023aaef2b9
New repo: Rework advanced and template sections
...
- make sections collapsible
- only offer object format selection when there is an actual choice
(cherry picked from commit 4cde56906e
)
2024-12-29 13:23:30 +00:00
Otto Richter
cb745a771a
New repo: Rework basic settings
...
- separate template
- ensure correct labelling of elements
- drop additional required indicators for field that already have
browser semantics (the icon has colour contrast issues anyway),
especially as the first dropdown cannot be left empty
(cherry picked from commit 81599155e8
)
2024-12-29 13:23:30 +00:00
Otto Richter
38d2933cc1
New repo: Clean up and improve CSS
...
- drop custom layout rules for this page
- move form-related content to form.css
- extend new form CSS to add gap between labels and input fields
(cherry picked from commit 471e5b1975
)
2024-12-29 13:23:30 +00:00
Litchi Pi
5a0c79e6b4
template: repo: compare: display a warning if the user is not logged in
...
Signed-off-by: Litchi Pi <litchi.pi@proton.me>
(cherry picked from commit dd4a1107ed
)
2024-12-29 12:52:49 +00:00
Earl Warren
424f85304e
Merge pull request '[v10.0/forgejo] Fix overflow in git notes' ( #6392 ) from bp-v10.0/forgejo-dcdeb23 into v10.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6392
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-12-28 21:17:42 +00:00
JakobDev
382db9e8de
Fix overflow in git notes
...
(cherry picked from commit dcdeb23cc3
)
2024-12-28 20:44:10 +00:00
Earl Warren
0ff66fa3bb
Merge pull request 'Revert "Update dependency idiomorph to v0.4.0"' ( #6382 ) from gusted/forgejo-idiomorph-rever-v10 into v10.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6382
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-12-27 06:43:17 +00:00
Gusted
d5c5724f44
Revert "Update dependency idiomorph to v0.4.0"
...
This reverts commit f9aaefd107
.
I've not not yet been able to determine what commit caused it, but 0.4.0
is broken for Forgejo's usecase it's not morphing and instead
replacing (it seems) elements when there's no need to.
(cherry picked from commit 64deec434a
)
2024-12-27 03:04:25 +01:00
forgejo-backport-action
1da56f0eb8
[v10.0/forgejo] i18n: update of translations from Codeberg Translate ( #6377 )
...
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/6331
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 )
<!--start release-notes-assistant-->
## Release notes
<!--URL:https://codeberg.org/forgejo/forgejo-- >
- Localization
- [PR](https://codeberg.org/forgejo/forgejo/pulls/6331 ): <!--number 6331 --><!--line 0 --><!--description aTE4bjogdXBkYXRlIG9mIHRyYW5zbGF0aW9ucyBmcm9tIENvZGViZXJnIFRyYW5zbGF0ZQ==-->i18n: update of translations from Codeberg Translate<!--description-->
<!--end release-notes-assistant-->
Co-authored-by: Codeberg Translate <translate@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6377
Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
2024-12-26 09:57:35 +00:00
Earl Warren
6a78a71172
Merge pull request '[v10.0/forgejo] chore(i18n): user/label translations in danish/latvian' ( #6376 ) from bp-v10.0/forgejo-5eb0877 into v10.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6376
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-12-26 09:14:28 +00:00
Earl Warren
f6c442c2fe
chore(i18n): user/label translations in danish/latvian
...
Refs: https://codeberg.org/forgejo/forgejo/pulls/6331
(cherry picked from commit 5eb0877381
)
2024-12-26 08:58:09 +00:00
Earl Warren
7b5932738e
Merge pull request 'feat: harden keying implementation' ( #6368 ) from gusted/forgejo-harden-keying into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6368
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-12-25 08:05:56 +00:00
Renovate Bot
f9ffc91ace
Update dependency djlint to v1.36.4 (forgejo) ( #6365 )
...
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2024-12-25 00:37:19 +00:00
Gusted
967603abcc
feat: harden keying implementation
...
Harden the current checks in place, I doubt these will ever hit (you can
prove easily by reading the current source code this cannot happen) but
just in case a new Go version does something weird or something else
goes catastrophicly wrong, this should add an extra defense-in-depth
layer.
`n != aeadKeySize` will panic a nil error, don't think it's needed to
add more logic to this, a nil error is enough to indicate that that
condition failed (given the other condition is `err != nil`).
Also move constant integers to being `const`, this helps reducing the
amount of instructions being done for the extra check.
2024-12-25 00:10:18 +01:00
Renovate Bot
6bbc9001e9
Update dependency @vitest/eslint-plugin to v1.1.20 (forgejo) ( #6364 )
...
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2024-12-24 23:02:35 +00:00
Renovate Bot
f5d868e2d3
Update linters (forgejo) ( #6366 )
...
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2024-12-24 23:01:52 +00:00
Gusted
87994cc2a0
Merge pull request 'Update dependency webpack-cli to v6 (forgejo)' ( #6367 ) from renovate/forgejo-webpack-cli-6.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6367
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-12-24 23:01:11 +00:00
Gusted
8d7bc15f88
Merge pull request 'Update github.com/shurcooL/vfsgen digest to 0000e14 (forgejo)' ( #6363 ) from renovate/forgejo-github.com-shurcool-vfsgen-digest into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6363
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-12-24 23:01:07 +00:00
Renovate Bot
85717dcdd8
Update dependency webpack-cli to v6
2024-12-24 20:05:17 +00:00
Renovate Bot
2a0fad33d6
Update github.com/shurcooL/vfsgen digest to 0000e14
2024-12-24 20:03:41 +00:00
Gusted
e2d3518f04
Merge pull request 'Update dependency idiomorph to v0.4.0 (forgejo)' ( #6355 ) from renovate/forgejo-idiomorph-0.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6355
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-12-24 19:20:13 +00:00
Earl Warren
d96ba346d2
Merge pull request 'chore: remove unused dependency from build.go' ( #6310 ) from gusted/forgejo-build-file into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6310
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-12-24 12:38:31 +00:00
Earl Warren
ec20eaee44
Merge pull request 'fix: avoid Gitea migration warnings' ( #6343 ) from earl-warren/forgejo:wip-gitea-migration into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6343
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-12-24 09:38:33 +00:00
Earl Warren
9524d6d430
fix: keying SQLite migration
...
Also run the keying migration when upgrading from Gitea.
Add type change support for SQLite field from TEXT to BLOB.
2024-12-24 10:05:59 +01:00
Earl Warren
2dc167cbb9
fix: xorm:version default is inconsistent
...
The following message is displayed when upgrading to Forgejo:
[W] Table system_setting Column version db default is , struct default is 1
The same message also shows when upgrading from Gitea 1.21 to Gitea 1.22.
It is fine for the version field to default to zero or NULL instead of one.
2024-12-24 09:42:47 +01:00
Earl Warren
274bc480b4
fix: Gitea last drop
...
Some database fields were added in the database to facilitate
migration from Gitea and do not serve any purpose. Drop them since
v1.22 is the last version of the database to allow a transparent
migration to Forgejo.
2024-12-24 09:42:47 +01:00
Earl Warren
1fffd116e5
Merge pull request '[gitea] week 2024-52 cherry pick (gitea/main -> forgejo)' ( #6342 ) from earl-warren/wcp/2024-52 into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6342
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-12-24 06:28:36 +00:00
Earl Warren
d255a3e3c3
Merge pull request 'Update module google.golang.org/protobuf to v1.36.1 (forgejo)' ( #6354 ) from renovate/forgejo-google.golang.org-protobuf-1.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6354
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-12-24 06:24:18 +00:00
Earl Warren
4718062b4c
Merge pull request 'chore(docs): explain vars.SKIP_END_TO_END when building a release' ( #6357 ) from earl-warren/forgejo:wip-integration-skip into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6357
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-12-24 06:15:27 +00:00
Earl Warren
92b770326f
chore(docs): explain vars.SKIP_END_TO_END when building a release
2024-12-24 06:52:31 +01:00
0ko
5f685bf069
Merge pull request 'Allow changing default branch update style' ( #6265 ) from george.bartolomey/forgejo:1-respect-update-branch-method into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6265
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-12-24 05:08:01 +00:00
Renovate Bot
f9aaefd107
Update dependency idiomorph to v0.4.0
2024-12-24 00:04:32 +00:00
Renovate Bot
7ecd88719e
Update module google.golang.org/protobuf to v1.36.1
2024-12-24 00:04:06 +00:00