Giteabot
70ee6b9029
Fix conda null depend issue ( #35900 ) ( #35902 )
...
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
Backport #35900 by Luohaothu
This fixes issue #35895
Co-authored-by: Luohao Wang <luohaothu@live.com >
2025-11-08 16:37:00 +00:00
Lunny Xiao
6a55749359
Fix incorrect pull request counter ( #35819 ) ( #35841 )
...
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 #35781 , #27472
Backport #35819
The PR will not correct the wrong numbers automatically.
There is a cron task `check_repo_stats` which will be run when Gitea
start or midnight. It will correct the numbers.
2025-11-04 01:49:47 +00:00
Giteabot
e95378329b
Fix clone mixed bug ( #35810 ) ( #35822 )
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-11-02 10:20:27 -08:00
Giteabot
fddf6cd63f
Fix cli "Before" handling ( #35797 ) ( #35808 )
...
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
Backport #35797 by @wxiaoguang
Regression of #34973
Fix #35796
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-10-31 22:00:14 +01:00
Zettat123
04b6f90889
Fix actions rerun bug ( #35783 ) ( #35784 )
...
Backport #35783
Fix #35780 , fix #35782
Rerunning a job or a run is only allowed when the job is done and the
run is done.
Related PR: #34970
98ff7d0773/routers/web/repo/actions/view.go (L239)
We don't need to check run status again in `rerunJob` because the run
status has been changed before `rerunJob`.
---
In fact, the bug described in the above issues will not occur on the
main branch. Because `getRunJobs` is called before updating the run.
98ff7d0773/routers/web/repo/actions/view.go (L425-L435)
So the run status that `rerunJob` checks is the old status.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-10-30 09:31:42 +01:00
Giteabot
f85cd7aeb5
Fix actions schedule update issue ( #35767 ) ( #35774 )
...
Backport #35767 by @Zettat123
Fix #34472
Add integration tests for actions schedule update.
---------
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-10-29 18:51:16 +01:00
Lunny Xiao
123c8d2b81
Fix review request webhook bug ( #35339 ) ( #35596 )
...
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
Frontport from #35339
2025-10-24 19:10:50 +00:00
wxiaoguang
b2f2f8528a
Fix external render, make iframe render work ( #35727 , #35730 ) ( #35731 )
...
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
Backport #35727 and #35730
---------
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com >
2025-10-23 16:07:17 +08:00
Giteabot
0925089b5e
Honor delete branch on merge repo setting when using merge API ( #35488 ) ( #35726 )
...
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
Backport #35488 by @kemzeb
Fix #35463 .
---------
Co-authored-by: Kemal Zebari <60799661+kemzeb@users.noreply.github.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-10-22 09:41:40 -07:00
Giteabot
cb338a2ba1
fix attachment file size limit in server backend ( #35519 ) ( #35720 )
...
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
Backport #35519 by @a1012112796
fix #35512
Co-authored-by: a1012112796 <1012112796@qq.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-10-21 18:01:59 +00:00
Giteabot
ac6d38e4b7
Refactor legacy code ( #35708 ) ( #35716 )
...
Backport #35708 by wxiaoguang
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-10-21 05:47:37 +00:00
ChristopherHX
46f695ac65
Fix workflow run event status while rerunning a failed job ( #35689 ) ( #35703 )
...
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
The event reported a completion status instead of requested, therefore
sent an email
Backport #35689
2025-10-19 10:49:20 -07:00
Giteabot
4af1d58c86
Fix various bugs ( #35684 ) ( #35696 )
...
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
Backport #35684 by wxiaoguang
2025-10-19 02:26:03 +08:00
Giteabot
f71df88a6b
Use LFS object size instead of blob size when viewing a LFS file ( #35679 ) ( #35680 )
...
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
Backport #35679 by surya-purohit
shows the main LFS filesize instead of the pointer filesize when viewing
a file
Co-authored-by: Surya Purohit <suryaprakash.sharma@sourcefuse.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-10-16 22:41:24 +08:00
wxiaoguang
53a2aaee35
Fix missing Close when error occurs and abused connection pool ( #35658 ) ( #35670 )
...
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
Backport #35658
2025-10-15 09:56:53 +00:00
Giteabot
b7bb0fa538
Fix diffpatch API endpoint ( #35610 ) ( #35613 )
...
Backport #35610 by @surya-purohit
Updates the swagger documentation for the `diffpatch` API endpoint.
The request body is corrected from the outdated `UpdateFileOptions` to
the current `ApplyDiffPatchOptions` to match the code implementation.
Closes [issue#35602](https://github.com/go-gitea/gitea/issues/35602 )
---------
Co-authored-by: Surya Purohit <suryaprakash.sharma@sourcefuse.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2025-10-10 03:28:40 +00:00
Giteabot
a99761d466
Use inputs context when parsing workflows ( #35590 ) ( #35595 )
...
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
Backport #35590 by @Zettat123
Depends on [gitea/act#143 ](https://gitea.com/gitea/act/pulls/143 )
The [`inputs`
context](https://docs.github.com/en/actions/reference/workflows-and-actions/contexts#inputs-context )
is used when parsing workflows so that `run-name` like `run-name: Deploy
to ${{ inputs.deploy_target }}` can be parsed correctly.
Co-authored-by: Zettat123 <zettat123@gmail.com >
2025-10-06 22:28:17 +00:00
Giteabot
006fe2a907
Add rebase push display wrong comments bug ( #35560 ) ( #35580 )
...
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
Backport #35560 by @lunny
Fix #35518
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-10-04 10:28:32 +02:00
Lunny Xiao
9332ff291b
Move git command to git/gitcmd ( #35483 )
...
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 name cmd is already used in many places and may cause conflicts, so
I chose `gitcmd` instead to minimize potential naming conflicts.
2025-09-15 23:33:12 -07:00
wxiaoguang
4fe1066a17
Replace gobwas/glob package ( #35478 )
...
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
https://github.com/gobwas/glob is unmaintained and has bugs.
2025-09-13 18:01:00 +00:00
luzpaz
688abac5ca
Fix various typos in codebase ( #35480 )
2025-09-13 10:34:43 -04:00
silverwind
9bb08aa822
Update image name in integration README ( #35465 )
...
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
Followup to https://github.com/go-gitea/gitea/pull/35402 .
2025-09-11 17:56:43 +02:00
koalajoe23
2802f96e97
check user and repo for redirects when using git via SSH transport ( #35416 )
...
fixes #30565
When using git with a gitea hosted repository, the HTTP-Transport did
honor the user and repository redirects, which are created when renaming
a user or repo and also when transferring ownership of a repo to a
different organization. This is extremely helpful, as repo URLs remain
stable and do not have to be migrated on each client's worktree and
other places, e.g. CI at once.
The SSH transport - which I favor - did not know of these redirections
and I implemented a lookup during the `serv` command.
2025-09-09 20:13:41 +00:00
Lunny Xiao
e4cb48a7e0
Fix bug when issue disabled, pull request number in the commit message cannot be redirected ( #35420 )
...
Fix #35419
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-09-09 12:14:06 -07:00
Akhan Zhakiyanov
87362b4dc1
fix: add author.name field to Swift Package Registry API response ( #35410 )
...
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
Fixes #35159
Swift Package Manager expects an 'author.name' field in package
metadata, but Gitea was only providing schema.org format fields
(givenName, middleName, familyName). This caused SPM to fail with
keyNotFound error when fetching package metadata.
Changes:
- Add 'name' field to Person struct (inherited from
https://schema.org/Thing )
- Populate 'name' field in API response using existing String() method
- Maintains backward compatibility with existing schema.org fields
- Provides both formats for maximum compatibility
The fix ensures Swift Package Manager can successfully resolve packages
while preserving full schema.org compliance.
2025-09-07 18:24:25 +00:00
Michal Suchánek
ea96ff6b0c
Rename UpdateBranch API to RenameBranch API ( #35374 )
...
Discussed in #35368 , originally implemented in #32433
2025-09-01 16:12:05 +00:00
wxiaoguang
0cbaa0b662
Remove incorrect "db.DefaultContext" usages ( #35366 )
2025-08-28 03:52:43 +00:00
wxiaoguang
60246730b5
Remove wrong "git.DefaultContext" ( #35364 )
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-08-27 16:31:21 +00:00
wxiaoguang
e837c998b7
Fix context usages ( #35348 )
2025-08-27 11:00:01 +00:00
NorthRealm
c7b99c8cc7
Prevent duplicate actions email ( #35215 )
...
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
Trying to prevent duplicate action emails by adding an extra check on job status.
---------
Signed-off-by: NorthRealm <155140859+NorthRealm@users.noreply.github.com >
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
2025-08-24 09:30:56 -07:00
6543
ef613ee760
Add has_code to repository REST API ( #35214 )
...
similar to how we can enable/disable repos or issues on a repo add the
code unit as option to it.
affects
```
PATCH /repos/{owner}/{repo}
```
---
*Sponsored by Kithara Software GmbH*
2025-08-08 18:18:30 +02:00
NorthRealm
becd15f743
Fix Actions API ( #35204 )
...
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
Fixed a nil pointer error.
Related #34337
2025-08-04 23:41:30 -04:00
Lunny Xiao
920d62c0a7
Add webhook test for push event ( #34442 )
...
Confirm #9243 has been fixed.
2025-08-05 02:05:13 +00:00
6543
de570b7dde
Remove unneeded if statements for update repo API ( #35140 )
...
just try to make the update func more redable and be more KISS
---
_Sponsored by Kithara Software GmbH_
2025-08-05 01:38:35 +00:00
Lunny Xiao
be2a6b4414
Fix bug when review pull request commits ( #35192 )
...
cron-translations / crowdin-pull (push) Has been cancelled
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
The commit range in the UI follows a half-open, half-closed convention:
(,]. When reviewing a range of commits, the beforeCommitID should be set
to the commit immediately preceding the first selected commit. For
single-commit reviews, we must identify and use the previous commit of
that specific commit.
The endpoint ViewPullFilesStartingFromCommit is currently unused and can
be safely removed.
Fix #35157
Replace #35184
Partially extract from #35077
2025-08-03 10:23:10 -07:00
wxiaoguang
85b5877bb0
Fix various bugs ( #35177 )
...
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 #35144
* Fix #35117
* Fix https://github.com/go-gitea/gitea/issues/35054#issuecomment-3131793977
* Fix #35136
2025-07-30 07:08:59 +00:00
Dominik Rubo
43831ff0ca
Improve language in en-US locale strings ( #35124 )
...
#35015
For easier review, the changes are split into separate commits by broad
category. The extended commit messages include brief summaries. I am
happy to make a separate pull request for each category if preferred.
While many of the changes are corrections, some are influenced by style.
In those cases I have aimed mainly for consistency throughout the file,
picking a style variant that I think is widely accepted and aids
clarity.
There are additional things that could be improved that I have not
touched. For example, contractions (phrasing variants such as "doesn't"
vs. "does not") could be made more consistent. Not sure how colloquial
or formal the maintainers would like the UI to be.
---------
Signed-off-by: Dominik Rubo <dr-1@posteo.net >
Co-authored-by: Dominik Rubo <dominik.rubo@posteo.net >
Co-authored-by: delvh <dev.lh@web.de >
2025-07-22 23:17:06 -07:00
wxiaoguang
86aafea3fb
Fix session gob ( #35128 )
...
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 #35126
2025-07-20 01:49:36 +00:00
Lunny Xiao
37958e486a
Rename pull request GetGitRefName to GetGitHeadRefName ( #35093 )
2025-07-16 21:33:33 +08:00
Risu
e1e4815a1c
Redirect to a presigned URL of HEAD for HEAD requests ( #35088 )
...
Resolves https://github.com/go-gitea/gitea/issues/35086 .
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-16 11:22:45 +00:00
wxiaoguang
7cc47da78c
Refactor view issue & comment list styles ( #35061 )
...
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 #35060
2025-07-13 22:52:35 +08:00
Lunny Xiao
7a15334656
Fix git commit committer parsing and add some tests ( #35007 )
...
* Fix #34991
* Fix #34882
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-10 19:03:36 +00:00
wxiaoguang
a5a3d9b101
Refactor OpenIDConnect to support SSH/FullName sync ( #34978 )
...
* Fix #26585
* Fix #28327
* Fix #34932
2025-07-10 18:35:59 +00:00
wxiaoguang
4e10adc871
Start automerge check again after the conflict check and the schedule ( #34989 )
...
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 #34988
Co-authored-by: posativ
2025-07-08 14:51:16 +00:00
Scion
f88800d545
Improve NuGet API Parity ( #21291 ) ( #34940 )
...
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
Fixes #21291 , allowing icons and other missing attributes to appear for
NuGet packages from inside Visual Studio like they do with GitHub Nuget
packages.
Adds additional NuGet package information, particularly `IconURL`, to
bring the Gitea NuGet API more in-line with GitHub's NuGet API.
ref: https://learn.microsoft.com/en-us/nuget/api/search-query-service-resource
2025-07-07 10:43:58 +00:00
wxiaoguang
3533263ced
Improve OAuth2 provider (correct Issuer, respect ENABLED) ( #34966 )
...
1. Make "Issuer" strictly follow the spec (see comment)
2. Make "/.well-known/openid-configuration" respond 404 if the OAuth2
provider is not enabled.
Then by the way, remove the JSEscape template helper because it is not
needed any more.
2025-07-06 13:36:45 +08:00
Dan Čermák
58759aeca0
Mark old reviews as stale on agit pr updates ( #34933 )
...
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
Fixes: https://github.com/go-gitea/gitea/issues/34134
2025-07-05 11:30:06 -07:00
wxiaoguang
71e151cc22
Refactor head navbar icons ( #34922 )
...
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: Giteabot <teabot@gitea.io >
2025-07-04 13:03:22 +02:00
RickyMa
6455c8202b
Support getting last commit message using contents-ext API ( #34904 )
...
Fix #34870
Fix #34929
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-03 09:45:42 +08:00
delvh
8dbf13b1cb
Follow file symlinks in the UI to their target ( #28835 )
...
Symlinks are followed when you click on a link next to an entry, either
until a file has been found or until we know that the link is dead.
When the link cannot be accessed, we fall back to the current behavior
of showing the document containing the target.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-01 06:55:36 +08:00