forgejo-backport-action
f63e5a1cff
[v10.0/forgejo] fix(ui): show oauth divider on signup page ( #6465 )
...
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/6463
Fix a minor UI bug introduced in https://codeberg.org/forgejo/forgejo/pulls/6112 .
The condition `if .EnableInternalSignIn` was added to display of the divider, but it is only available when `oauth_container.tmpl` is called from signIn page, it is not relevant to signUp page.
Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6465
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
2025-01-04 10:35:37 +00:00
Earl Warren
25640f201e
Merge pull request '[v10.0/forgejo] i18n: update of translations from Codeberg Translate' ( #6450 ) from bp-v10.0/forgejo-a33fe60 into v10.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6450
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2025-01-02 08:24:15 +00:00
Codeberg Translate
ef205915cc
i18n: update of translations from Codeberg Translate ( #6378 )
...
Co-authored-by: tacaly <frederick@tacaly.com>
Co-authored-by: Fjuro <fjuro@alius.cz>
Co-authored-by: artnay <artnay@users.noreply.translate.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-authored-by: 0ko <0ko@users.noreply.translate.codeberg.org>
Co-authored-by: Edgarsons <edgarsons@users.noreply.translate.codeberg.org>
Co-authored-by: Benedikt Straub <benedikt-straub@web.de>
Co-authored-by: Atalanttore <atalanttore@users.noreply.translate.codeberg.org>
Co-authored-by: Wuzzy <wuzzy@disroot.org>
Co-authored-by: Juno Takano <jutty@users.noreply.translate.codeberg.org>
Co-authored-by: Dirk <dirk@users.noreply.translate.codeberg.org>
Co-authored-by: thodorisl <thodorisl@users.noreply.translate.codeberg.org>
Co-authored-by: jasonb <jasonb@users.noreply.translate.codeberg.org>
Co-authored-by: SomeTr <sometr@users.noreply.translate.codeberg.org>
Co-authored-by: Outbreak2096 <outbreak2096@users.noreply.translate.codeberg.org>
Co-authored-by: xtex <xtexchooser@duck.com>
Co-authored-by: Salif Mehmed <mail@salif.eu>
Co-authored-by: s-light <s-light@users.noreply.translate.codeberg.org>
Co-authored-by: earl-warren <earl-warren@users.noreply.translate.codeberg.org>
Co-authored-by: Kita Ikuyo <searinminecraft@courvix.com>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6378
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Codeberg Translate <translate@noreply.codeberg.org>
Co-committed-by: Codeberg Translate <translate@noreply.codeberg.org>
(cherry picked from commit a33fe60bbe
)
2025-01-02 07:47:56 +00:00
Gusted
81d351ce5f
Merge pull request '[v10.0/forgejo] feat: Add summary card for repos and releases' ( #6448 ) from JakobDev/forgejo:cardback into v10.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6448
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2025-01-02 05:44:05 +00:00
Gusted
cd08097bbb
Merge pull request '[v10.0/forgejo] Fix editing pr review' ( #6444 ) from bp-v10.0/forgejo-13b6caa into v10.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6444
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2025-01-02 00:55:10 +00:00
JakobDev
13496203bc
[v10.0/forgejo] feat: Add summary card for repos and releases
2025-01-01 22:00:26 +01:00
JakobDev
8f47560bf7
Fix editing pr review
...
(cherry picked from commit 13b6caa608
)
2025-01-01 17:54:01 +00:00
0ko
9e6c3f226c
Merge pull request '[v10.0/forgejo] fix(code search): empty mode dropdown when keyword is empty' ( #6442 ) from bp-v10.0/forgejo-c53d219 into v10.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6442
Reviewed-by: Shiny Nematoda <snematoda@noreply.codeberg.org>
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
2025-01-01 13:36:24 +00:00
Shiny Nematoda
c7c7f69f82
fix(code search): empty mode dropdown when keyword is empty
...
(cherry picked from commit c53d21965a
)
2025-01-01 13:04:56 +00:00
Gusted
86a09562fd
Merge pull request '[v10.0/forgejo] fix(ui): use primary color for button in table modal' ( #6430 ) from bp-v10.0/forgejo-a302506 into v10.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6430
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-12-31 15:18:37 +00:00
0ko
ce5c3e32c1
fix(ui): use primary color for button in table modal ( #6427 )
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6427
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
(cherry picked from commit a302506095
)
2024-12-31 09:39:52 +00:00
Earl Warren
fa9f6e0cdd
Merge pull request '[v10.0/forgejo] Fix edit cancel button' ( #6426 ) from bp-v10.0/forgejo-29c59c9 into v10.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6426
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-12-31 07:30:26 +00:00
JakobDev
172a48be8a
Fix edit cancel button
...
(cherry picked from commit 29c59c96bd
)
2024-12-31 02:11:08 +00:00
Earl Warren
4a25a3e154
Merge pull request '[v10.0/forgejo] Rework user profile settings' ( #6423 ) from bp-v10.0/forgejo-2885ea8 into v10.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6423
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-12-30 21:20:51 +00:00
Earl Warren
6266715486
Merge pull request '[v10.0/forgejo] Fix issue/comment menus' ( #6424 ) from bp-v10.0/forgejo-c67d63d into v10.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6424
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-12-30 21:19:38 +00:00
Otto Richter
3496c819da
Fix issue/comment menus
...
Closes https://codeberg.org/forgejo/forgejo/issues/1120
- Adds labels to reaction and context menu.
- Fixes taborder in markdown combobox buttons. They are now only one
"tab" stop and can be navigated with arrow buttons and in the right
order (previously, it would skip the table button).
- Generates more verbose output for the reactio selectors to provide
content for users who cannot identify the meaning of these buttons
visually. Explicit aria-labels are now preferred over auto-generated
ones.
(cherry picked from commit c67d63d88a
)
2024-12-30 20:29:28 +00:00
Otto Richter
4f8d96a6de
Rework user profile settings
...
Accessibility:
- improved semantic layout
- Fixes unlabelled input for custom pronouns. CC @hazy
- Adds labels to dropdowns.
- Shortens certain texts for less verbose screen reader outputs and
people with slow reading speed.
- Turned optional username rename helper text with low contrast into
"normal" help text.
UI/UX:
- Removes section about primary email which is no longer managed in the
profile section.
- Fixes section about primary email not displaying in user settings when notifications are
not available.
- Removes primary email display, because it is not actually a form
element here. (Alternatively, we could display it and link to the
account settings for managing the email)
(cherry picked from commit 2885ea8da2
)
2024-12-30 20:29:15 +00:00
Earl Warren
8d353ad258
Merge pull request '[v10.0/forgejo] chore(branding): strip metadata information from the footer' ( #6420 ) from bp-v10.0/forgejo-2c81893 into v10.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6420
2024-12-30 16:43:10 +00:00
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