aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [skip ci] Updated translations via CrowdinGiteaBot9 days1-0/+63
|
* Only hide dropzone when no files have been uploaded (#35156)Bart van der Braak9 days1-1/+6
| | | | | | | | | | | Instead of always hiding the dropzone when it's not active: - hide it when when there are no uploaded files and it becomes inactive - don't hide it when there are uploaded files Fixes #35125 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Change some columns from text to longtext and fix column wrong type caused ↵Lunny Xiao12 days8-5/+145
| | | | | | | | | | | | | | | | | | by xorm (#35141) This PR upgrade xorm to v1.3.10 which fixed a bug when both `longtext json` tags in the struct field. The `longtext` will be ignored and `json` will be considered as `text`. A migration has been introduced to modify the column directly to longtext. And another two columns should also be migrated from text to longtext. All these changes only affect mysql database because for other databases Gitea supported, text is the same as longtext. Fix #27244 Fix #34764 Fix #35042
* [skip ci] Updated translations via CrowdinGiteaBot12 days28-2722/+21
|
* Add `owner` and `parent` fields clarification to docs (#35023)AlexMaryW13 days8-61/+62
| | | | | | | | | | | | | | | | | | Issue: https://github.com/go-gitea/gitea/issues/9637 Changes introduced: I have clarified the problematic terms (owner and parent) in all affected endpoints. The changes were made to relevant: - HTTP endpoint parameters' descriptions - response/request models' fields This MR is big, but most changes are the same. If you'd like me to break this MR into several smaller ones, let me know :) --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Improve language in en-US locale strings (#35124)Dominik Rubo13 days2-172/+172
| | | | | | | | | | | | | | | | | | | | | | | #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>
* Remove unused poetry.toml file (#35143)silverwind13 days1-3/+0
| | | Forgot to remove this in https://github.com/go-gitea/gitea/pull/35084.
* Use db.WithTx/WithTx2 instead of TxContext when possible (#35130)Lunny Xiao13 days56-2591/+1950
|
* [skip ci] Updated translations via CrowdinGiteaBot14 days1-0/+19
|
* Fix session gob (#35128)wxiaoguang2025-07-2012-72/+131
| | | Fix #35126
* Replace `setup-python` with `setup-uv` (#35116)silverwind2025-07-181-8/+4
|
* Don't use full-file highlight when there is a git diff textconv (#35114)wxiaoguang2025-07-182-2/+6
| | | Fix #35106
* Fix submodule parsing when the gitmodules is missing (#35109)wxiaoguang2025-07-186-9/+28
| | | | | | Follow up #35096, fix #35095, fix #35115 and add more tests The old code used some fragile behaviors which depend on the "nil" receiver. This PR should be a complete fix for more edge cases.
* Align `issue-title-buttons` with `list-header` (#35018)silverwind2025-07-181-10/+2
| | | | | | | | | | | | | | | | | | | This change concerns the "Edit" and "New Issue" button on top right. With this change, switching from the issue list into an issue, the "New Issue" button will no longer "shift" from the postion on the previous page. <img width="1299" alt="Screenshot 2025-07-09 at 17 37 31" src="https://github.com/user-attachments/assets/1ea55d8a-2abd-49b0-951a-ccc6466a74ee" /> <img width="1300" alt="Screenshot 2025-07-09 at 17 37 19" src="https://github.com/user-attachments/assets/05997d9d-25eb-4786-803d-00c575f78bef" /> --------- Signed-off-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2025-07-182-0/+64
|
* Increase gap on latest commit (#35104)silverwind2025-07-171-1/+1
|
* Fix job status aggregation logic (#35000)NorthRealm2025-07-172-3/+3
| | | | | | | For a run (assume 2 jobs) that has a failed job and a waiting job, the run status should be waiting, **as the run is not done yet.** Related #34823
* Fix some missed GitHeadRefName when renaming (#35102)Lunny Xiao2025-07-173-3/+3
|
* Fix error logs and improve some comments/messages (#35105)wxiaoguang2025-07-1714-41/+19
|
* Support Basic Authentication for archive downloads (#35087)pvgoran2025-07-161-2/+2
| | | Resolves #35083
* Run `uv run` with `--frozen` (#35097)silverwind2025-07-161-2/+2
|
* Improve package API log handling (#35100)wxiaoguang2025-07-1623-132/+101
| | | Simplify code and fix log processing logic
* Rename pull request GetGitRefName to GetGitHeadRefName (#35093)Lunny Xiao2025-07-1627-81/+81
|
* Fix review comment/dimiss comment x reference can be refereced back (#35094)Lunny Xiao2025-07-161-1/+1
| | | Fix #15977
* Fix submodule nil check (#35096)wxiaoguang2025-07-163-2/+14
| | | Fix #35095
* Redirect to a presigned URL of HEAD for HEAD requests (#35088)Risu2025-07-1642-72/+85
| | | | | | | Resolves https://github.com/go-gitea/gitea/issues/35086. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Send email on Workflow Run Success/Failure (#34982)NorthRealm2025-07-1514-41/+364
| | | | | | | | | | | | | | | Closes #23725 ![1](https://github.com/user-attachments/assets/9bfa76ea-8c45-4155-a5d4-dc2f0667faa8) ![2](https://github.com/user-attachments/assets/49be7402-e5d5-486e-a1c2-8d3222540b13) /claim #23725 --------- Signed-off-by: NorthRealm <155140859+NorthRealm@users.noreply.github.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: ChristopherHX <christopher.homberger@web.de>
* [skip ci] Updated translations via CrowdinGiteaBot2025-07-161-1/+1
|
* Replace `poetry` with `uv` (#35084)silverwind2025-07-159-447/+351
|
* nix flake update (#35085)techknowlogick2025-07-151-3/+3
|
* Use monospace font in PR command line instructions (#35074)silverwind2025-07-151-2/+2
| | | | | | | | | | | | | | | Before: <img width="878" height="426" alt="Screenshot 2025-07-14 at 17 17 11" src="https://github.com/user-attachments/assets/6e27acb9-bad5-4811-b7b1-5418f0ef12eb" /> After: <img width="878" height="429" alt="Screenshot 2025-07-14 at 17 17 22" src="https://github.com/user-attachments/assets/b0bd2bfa-e4e2-492a-9c08-66607343a459" /> Co-authored-by: Giteabot <teabot@gitea.io>
* Add gitignore rules to exclude LLM instruction files (#35076)techknowlogick2025-07-141-0/+12
| | | | | | Similar to how we have ignores for other tooling (eg vscode & IntelliJ) we shouldn’t include these files in our repo. If they get added then we’d have to maintain them and keep them up to date, and personally there are too many tools to do that for.
* [skip ci] Updated translations via CrowdinGiteaBot2025-07-1527-387/+0
|
* Fix form property assignment edge case (#35073)wxiaoguang2025-07-142-8/+27
| | | | | | | "form" has an edge case: its `<input name=action>` element overwrites the `action` property, we can only set attribute. This PR makes `assignElementProperty` can handle such case, and add more tests
* Improve submodule relative path handling (#35056)wxiaoguang2025-07-1418-102/+98
| | | | | | | Fix #35054 --------- Co-authored-by: Giteabot <teabot@gitea.io>
* Fixed all grammatical errors in locale_en-US.ini (#35053)Joshdike2025-07-141-30/+30
| | | Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* UI: add hover background to table rows in user and repo admin page (#35072)Gary Wang2025-07-143-2/+10
|
* Refactor view issue & comment list styles (#35061)wxiaoguang2025-07-1314-240/+110
| | | Fix #35060
* Fix user's sign email check (#35045)wxiaoguang2025-07-124-30/+55
| | | Fix #21692
* [skip ci] Updated translations via CrowdinGiteaBot2025-07-123-63/+105
|
* Fix incorrect comment diff hunk parsing, fix github asset ID nil panic (#35046)Lunny Xiao2025-07-113-11/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | * Fix missing the first char when parsing diff hunk header * Fix #35040 * Fix #35049 ---- Introduced in https://github.com/go-gitea/gitea/pull/12047/files#diff-de48c2f70e24ff5603180acf8b5ce9d0356ede8a45bfbf2a485707282ace6d6aR268 Before: <img width="487" height="167" alt="image" src="https://github.com/user-attachments/assets/17524c76-a296-4b4b-a4f9-c5150c41bae5" /> After: <img width="749" height="144" alt="image" src="https://github.com/user-attachments/assets/bcb12c76-c1ae-40f1-81b7-183d15f891db" /> --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Add Notifications section in User Settings (#35008)NorthRealm2025-07-116-58/+109
| | | | | | | | Related: #34982 --------- Signed-off-by: NorthRealm <155140859+NorthRealm@users.noreply.github.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix updating user visibility (#35036)Lunny Xiao2025-07-104-2/+15
| | | | | | | Fix #35030 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix git commit committer parsing and add some tests (#35007)Lunny Xiao2025-07-1012-106/+93
| | | | | | | | * Fix #34991 * Fix #34882 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Refactor OpenIDConnect to support SSH/FullName sync (#34978)wxiaoguang2025-07-1027-206/+459
| | | | | * Fix #26585 * Fix #28327 * Fix #34932
* Support base64-encoded agit push options (#35037)wxiaoguang2025-07-102-2/+32
|
* Also display "recently pushed branch" alert on PR view (#35001)Naxdy2025-07-109-60/+100
| | | | | | | | | | | This commit adds the "You recently pushed to branch X" alert also to PR overview, as opposed to only the repository's home page. GitHub also shows this alert on the PR list, as well as the home page. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io>
* Make submodule link work with relative path (#35034)wxiaoguang2025-07-103-27/+44
| | | Fix #35033
* Update to go 1.24.5 (#35031)silverwind2025-07-101-1/+1
| | | https://go.dev/doc/devel/release#go1.24.5
* Improve CLI commands (#34973)TheFox0x72025-07-108-164/+112
| | | | | Improve help related commands and flags and add tests Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>