GiteaBot
ec10c6ba5a
[skip ci] Updated translations via Crowdin
2025-05-19 00:38:52 +00:00
ChristopherHX
d89eed998f
Fix edithook api can not update package, status and workflow_job events ( #34495 )
...
* the origin of this problem is duplicated code
2025-05-18 09:43:56 -07:00
Lunny Xiao
972381097c
Fix url validation in webhook add/edit API ( #34492 )
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
2025-05-17 20:05:55 +00:00
Ryo Hanafusa
b6c0667474
Add R-HNF to the TRANSLATORS file ( #34494 )
...
I would like to be added to the TRANSLATORS file.
Here are my related activities:
* https://crowdin.com/profile/R-HNF/activity
* commit: [skip ci] Updated translations via Crowdin
319d03fbc0
I also referred to the following PRs:
* #8451
* #8292
2025-05-17 09:58:27 -07:00
Lunny Xiao
e92c4f1808
Add missing setting load in dump-repo command ( #34479 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
Fix #34465
2025-05-16 14:35:20 +00:00
techknowlogick
6fbf0e6738
nix flake update ( #34476 )
2025-05-16 14:09:45 +00:00
ChristopherHX
59df03b554
Fix get / delete runner to use consistent http 404 and 500 status ( #34480 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
* previously deleting an already deleted runner returned http 500
* previously any database error for the get endpoint was http 404 and never 500
2025-05-16 06:44:29 +00:00
Sebastian Weigand
7b518bc6c7
Change "rejected" to "changes requested" in 3rd party PR review notification ( #34481 )
...
This PR changes 3rd party notifications wording on a PR review that
requests changes and can be considered a follow up for #5858 to also fix
#5857 in 3rd party notifications.
The difference in the actual notification would be the following:
```diff
- Pull request review rejected
+ Pull request review changes requested
```
While this is a simple string change at first look, it has a deeper UX
meaning.
# Motivation
We could observe that some developers are hesitant to press the "Request
changes" button since their peers first see that their changes were
rejected, thus a more appropriate wording that also falls in line with
the meaning and UI would be beneficial.
## Meaning
Pressing the `Request changes` button in a PR review means that as a
reviewer you are willing to merge the general change in a PR if changes
requested review comments are implemented.
Rejecting a PR on the other hand would be equivalent with closing it
since that change isn't welcome at all (e.g. out of scope feature).
## Sync with UI
The UI button says `request changes` and the other options

## Considered Problems
This might break some automation for users who rely on string matching.
2025-05-15 23:56:26 -04:00
Lunny Xiao
c24f4b3d29
Add migrations tests ( #34456 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
Fix #34455
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-15 16:28:31 +00:00
wxiaoguang
bf338bb9e2
Fix project board view ( #34470 )
...
Fix #34469
2025-05-15 23:25:46 +08:00
GiteaBot
319d03fbc0
[skip ci] Updated translations via Crowdin
2025-05-15 00:35:31 +00:00
NorthRealm
dd500ce559
Fix Workflow run Not Found page ( #34459 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
Related:
https://github.com/go-gitea/gitea/pull/34337#issuecomment-2863593738
https://github.com/go-gitea/gitea/pull/34337#discussion_r2086332493
2025-05-14 14:40:10 -07:00
GiteaBot
b6bf128f1e
[skip ci] Updated translations via Crowdin
2025-05-14 00:36:37 +00:00
NorthRealm
1e2f3514b9
Add endpoint deleting workflow run ( #34337 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
Add endpoint deleting workflow run
Resolves #26219
/claim #26219
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-13 19:18:13 +00:00
ChristopherHX
a0595add72
Fix remove org user failure on mssql ( #34449 )
...
* mssql does not support fetching 0 repositories
* remove paging by NumRepos that might be 0
* extend admin api test to purge user 2
Fixes #34448
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-14 02:33:56 +08:00
wxiaoguang
5cb4cbf044
Fix repo broken check ( #34444 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
Fix #34424
2025-05-13 08:18:45 +00:00
silverwind
b5fd3e7210
Fix comment textarea scroll issue in Firefox ( #34438 )
...
In the comment editor, there is a bug in Firefox where the scroll
position unexpectedly moves up, which is annoying. This is not
reproducible in Chrome and Safari. To reproduce here are some steps:
- Go into an editable issue
- Scroll page to bottom
- Focus the textarea and press Return many times, causing the textarea
to get a scrollbar
- Scroll page to bottom again
- Press Return once more
- Page should not scroll up.
This fixes the bug by adding a temporary margin, and I verified it works
in all browsers.
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-13 08:52:25 +02:00
badhezi
4011e2245b
Fix releases sidebar navigation link ( #34436 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
Resolves https://github.com/go-gitea/gitea/issues/34435
2025-05-12 16:10:40 -04:00
Lunny Xiao
355e9a9d54
Add a webhook push test for dev branch ( #34421 )
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
2025-05-12 01:06:34 +00:00
GiteaBot
0902d42fc7
[skip ci] Updated translations via Crowdin
2025-05-12 00:38:34 +00:00
Lunny Xiao
34281bc198
Fix bug webhook milestone is not right. ( #34419 )
...
Fix #34400
---------
Co-authored-by: silverwind <me@silverwind.io >
2025-05-11 23:56:24 +00:00
Lunny Xiao
780e92ea99
Only git operations should update last changed
of a repository ( #34388 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
Try to fix #32046
2025-05-11 19:18:46 +00:00
Lunny Xiao
b07e03956a
When updating comment, if the content is the same, just return and not update the databse ( #34422 )
...
Fix #34318
2025-05-11 18:53:23 +00:00
wxiaoguang
4a98ab0540
Remove legacy template helper functions ( #34426 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
These functions have been marked as `panicIfDevOrTesting` since 1.23
(#32422 )
2025-05-11 01:42:21 -04:00
wxiaoguang
9b8609e017
Fix GetUsersByEmails ( #34423 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
Fix #34418 , fix #34353
2025-05-10 11:47:58 -07:00
GiteaBot
0f63a5ef48
[skip ci] Updated translations via Crowdin
2025-05-10 00:34:13 +00:00
Lunny Xiao
ad271444e9
Fix a bug when uploading file via lfs ssh command ( #34408 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-09 16:17:08 +00:00
silverwind
8b16ab719c
Merge and tweak markup editor expander CSS ( #34409 )
...
- Merge the CSS for the two expanders (text-expander-element and
tribute.js) into one file
- Fix overflow issues
- Remove min-width
- Various other tweaks like borders, colors, padding, gaps.
text-expander:
<img width="645" alt="Screenshot 2025-05-09 at 02 21 24"
src="https://github.com/user-attachments/assets/33276dc4-38e8-45e1-8216-2a4baa9bc039 "
/>
tribute:
<img width="624" alt="Screenshot 2025-05-09 at 02 21 37"
src="https://github.com/user-attachments/assets/91fbcd1a-9bfc-40fd-93f0-a05b4bd4c98d "
/>
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-09 17:14:21 +02:00
Yarden Shoham
2ecd73d2e5
Bump @github/relative-time-element
to v4.4.8 ( #34413 )
...
Tested, it works as before.
Changelog:
https://github.com/github/relative-time-element/releases/tag/v4.4.8
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
2025-05-09 14:11:13 +00:00
wxiaoguang
179068fddb
Refactor commit message rendering and fix bugs ( #34412 )
...
Fix #34398 , fix #33308
Remove all `repo.ComposeCommentMetas` from templates,
only use `repo` to render commit message.
2025-05-09 20:42:35 +08:00
GiteaBot
44aadc37c9
[skip ci] Updated translations via Crowdin
2025-05-09 00:36:27 +00:00
wxiaoguang
f63822fe64
Fix autofocus behavior ( #34397 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
The "autofocus" was abused or misbehaved:
1. When users visit a page but they are not going to change a field,
then the field shouldn't get "autofocus"
* the "auth" / "user" page: in most cases, users do not want to change
the names
* see also the GitHub's "settings" page behavior.
2. There shouldn't be duplicate "autofocus" inputs in most cases, only
the first one focuses
3. When a panel is shown, the "autofocus" should get focus
* "add ssh key" panel
This PR fixes all these problems and by the way remove duplicate
"isElemHidden" function.
2025-05-08 18:26:18 +00:00
GWDx
71a1187209
Fix incorrect divergence cache after switching default branch ( #34370 )
...
Issue: After switching the default branch, other branches are still
compared against the old default branch due to outdated divergence
cache.
Change: Clear the divergence cache in SetRepoDefaultBranch to ensure
correct comparisons against the new default branch.
Fixes #34369
2025-05-08 18:00:29 +00:00
NorthRealm
4c611bf280
Add a button editing action secret ( #34348 )
...
Add a button editing action secret
Closes #34190
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-08 17:11:43 +00:00
bytedream
2fbc8f9e87
Fix LFS file not stored in LFS when uploaded/edited via API or web UI ( #34367 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
Files that should be stored in LFS and are uploaded/edited from the API
or web UI aren't stored in LFS. This may be a regression from #34154 .
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-08 13:07:53 +08:00
GiteaBot
82071ee730
[skip ci] Updated translations via Crowdin
2025-05-08 00:36:14 +00:00
Kerwin Bryant
bbfc21e74f
Fix "The sidebar of the repository file list does not have a fixed height #34298 " ( #34321 )
...
There is a known issue where scrolling to the bottom of the page is
affected by unknown elements in the footer area:
24145f8110/templates/base/footer.tmpl (L11-L18)

2025-05-07 21:33:30 +00:00
Tobias Balle-Petersen
020e774b91
feat: add label 'state' to metric 'gitea_users' ( #34326 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
This PR adds the label _state_ to the metric _gitea_users_. With the
change, _gitea_users_ would be reported like this:
```
...
# HELP gitea_users Number of Users
# TYPE gitea_users gauge
gitea_users{state="active"} 20
gitea_users{state="inactive"} 10
...
```
The metrics above would be from a Gitea instance with 30 user accounts.
20 of the accounts are active and 10 of the accounts are not active.
Resolve #34325
2025-05-07 18:00:53 +00:00
silverwind
dd886d729f
Update JS and PY dependencies ( #34391 )
...
Result of `make update-js update-py svg`. Quick test of the UI worked.
2025-05-07 13:21:38 -04:00
Lunny Xiao
2a660b4a1b
Upgrade go-github v61 -> v71 ( #34385 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
There will be a possible bug when migrating from Github
https://github.com/google/go-github/issues/3229
This PR upgrades go-github from v61 to v71 to resolve that problem.
2025-05-06 20:10:14 -07:00
Yarden Shoham
6bd8fe5353
Bump @github/relative-time-element
to v4.4.7 ( #34384 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
Tested, it works as before.
Changelog:
https://github.com/github/relative-time-element/releases/tag/4.4.7
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
2025-05-06 12:44:25 -04:00
6543
a2024953c5
gitignore: Visual Studio settings folder ( #34375 )
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
2025-05-06 03:29:48 -04:00
NorthRealm
6b2c506e05
Grey out expired artifact on Artifacts list ( #34314 )
...
Grey out expired artifact on Artifacts list.


---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-05 21:53:17 -07:00
bytedream
12bf0b8e42
Fix only text/* being viewable in web UI ( #34374 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
Regression from #34356 , files like SVGs should be editable too
(https://github.com/go-gitea/gitea/pull/34356#discussion_r2072766240 ).
2025-05-06 00:15:22 +03:00
Tobias Balle-Petersen
712fccadd6
add maintainer tobiasbp ( #34372 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
This PR adds me as a _maintainer_ as suggested by @techknowlogick.
A couple of my recent PRs:
* https://github.com/go-gitea/gitea/pull/34324
* https://github.com/go-gitea/gitea/pull/34323
2025-05-05 09:17:45 -07:00
GiteaBot
833c2a432b
[skip ci] Updated translations via Crowdin
2025-05-05 00:38:37 +00:00
Lunny Xiao
62f73491f3
Use lfs label for lfs file rather than a long description ( #34363 )
...
Before

After

2025-05-05 00:07:29 +03:00
Lunny Xiao
51aafb4278
Fix bug when API get pull changed files for deleted head repository ( #34333 )
2025-05-04 19:17:17 +00:00
Lunny Xiao
41f3d062a2
Fix bug when visiting comparation page ( #34334 )
...
The `ci.HeadGitRepo` was opened and closed in the function
`ParseCompareInfo` but reused in the function `PrepareCompareDiff`.
2025-05-04 18:52:00 +00:00
bytedream
180aa00abf
Fix LFS files being editable in web UI ( #34356 )
...
It's possible to edit "raw" lfs files in the web UI when accessing the path manually.

2025-05-04 11:23:28 -07:00