aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Inherit submodules from template repository content (#16237) (#33068)wxiaoguang2025-01-0217-134/+289
| | | | | Backport #16237 (it more likely a bug fix) Co-authored-by: Steffen Schröter <steffen@vexar.de>
* feat(action): issue change title notifications (#33050) (#33065)Giteabot2024-12-311-0/+8
| | | | | | | | | | | | | | | | | Backport #33050 by appleboy action file as below: ```yaml name: Semantic Pull Request on: pull_request_target: types: [edited] ``` Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Use project's redirect url instead of composing url (#33058) (#33064)Giteabot2024-12-314-11/+26
| | | | | | | | Backport #33058 by lunny Fix #32992 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Refactor maven package registry (#33049) (#33057)wxiaoguang2024-12-314-60/+138
| | | Backport #33049
* Make issue suggestion work for new PR page (#33035) (#33056)Giteabot2024-12-312-2/+4
| | | | | | | Backport #33035 by wxiaoguang Fix #33026 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix duplicate co-author in squashed merge commit messages (#33020) (#33054)Giteabot2024-12-311-1/+5
|
* Fix issue comment number (#30556) (#33055)Giteabot2024-12-315-19/+89
| | | | | | | | | | | Backport #30556 by @lunny Fix #22419 Only comments with types `CommentTypeComment` and `CommentTypeReview` will be counted as conversations of the pull request. `CommentTypeReview` was missed in the previous implementation. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Fix settings not being loaded at CLI (#26402) (#33048)Giteabot2024-12-307-13/+16
| | | | | | | | | | Backport #26402 by cassiozareck Closes #25898 Signed-off-by: cassiozareck <cassiomilczareck@gmail.com> Co-authored-by: cassio zareck <121526696+cassiozareck@users.noreply.github.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Remove aws go sdk package dependency (#33029) (#33047)Giteabot2024-12-304-20/+5
| | | | | Backport #33029 by lunny Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Use gitrepo.GetTreePathLatestCommit to get file lastest commit instead from ↵Giteabot2024-12-304-21/+35
| | | | latest commit cache (#32987) (#33046)
* use `-s -w` ldflags for release artifacts (#33041) (#33042)Giteabot2024-12-301-5/+5
| | | | | | | Backport #33041 by @techknowlogick fix #33030 Co-authored-by: techknowlogick <techknowlogick@gitea.com>
* Fix bug automerge cannot be chosed when there is only 1 merge style (#33040) ↵Giteabot2024-12-301-1/+1
| | | | | | | | | | | | | (#33043) Backport #33040 by @lunny This is a quick bug fix. Even if there is only 1 merge style, the dropdown menu will still be displayed to allow users to choose automerge. Fix #32448 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Refactor testfixtures (#33028)wxiaoguang2024-12-308-164/+215
| | | Partial backport of #33024
* Fix templating in pull request comparison (#33025) (#33038)Giteabot2024-12-292-3/+75
| | | | | | | | | | | Backport #33025 by TheFox0x7 Adds test for expected behavior Closes: https://github.com/go-gitea/gitea/issues/33013 --- Co-authored-by: TheFox0x7 <thefox0x7@gmail.com>
* fix toggle commit body button ui when latest commit message is long (#32997) ↵wxiaoguang2024-12-295-171/+18
| | | | | (#33034) backport #32997 and #33002
* Fix review code comment avatar alignment (#33031) (#33032)Giteabot2024-12-301-2/+3
| | | | | | | | Backport #33031 by henrygoodman Fixes #33017 Co-authored-by: Henry Goodman <79623665+henrygoodman@users.noreply.github.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix bug on activities (#33008) (#33016)Giteabot2024-12-281-2/+5
| | | | | | | | | | | Backport #33008 by @lunny A repository with no issue will display a random number on activities page. This is caused by wrong usage of `And` and `Or`. ![9cdbbf81d50aa5d9bd16604e0dab5eb0](https://github.com/user-attachments/assets/828cebdc-bd35-4716-a58c-c1b43ddf8bf0) Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* fix scoped label ui when contains emoji (#33007) (#33014)Giteabot2024-12-281-1/+1
| | | | | Backport #33007 by metiftikci Co-authored-by: metiftikci <metiftikci@hotmail.com>
* Fix Agit pull request permission check (#32999) (#33005)Giteabot2024-12-282-1/+21
| | | | | | | | | | | | Backport #32999 by @a1012112796 user with read permission should also can create agit flow pull request. looks this logic was broken in https://github.com/go-gitea/gitea/pull/31033 this pull request try fix it and add test code. Signed-off-by: a1012112796 <1012112796@qq.com> Co-authored-by: a1012112796 <1012112796@qq.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Support for email addresses containing uppercase characters when activating ↵Giteabot2024-12-277-35/+61
| | | | | | | | | | user account (#32998) (#33001) Backport #32998 by Zettat123 Fix #32807 Co-authored-by: Zettat123 <zettat123@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Support org labels when adding labels by label names (#32988) (#32996)Giteabot2024-12-274-10/+50
| | | | | | | Backport #32988 by @Zettat123 Fix #32891 Co-authored-by: Zettat123 <zettat123@gmail.com>
* Do not render truncated links in markdown (#32980) (#32983)Giteabot2024-12-265-17/+40
| | | | | Backport #32980 by wxiaoguang Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* demilestone should not include milestone (#32923) (#32979)Giteabot2024-12-252-0/+12
| | | | | | | Backport #32923 by @lunny Fix #32887 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Fix Azure blob object `Seek` (#32974) (#32975)Giteabot2024-12-252-1/+46
| | | | | | Backport #32974 by Zettat123 Co-authored-by: Zettat123 <zettat123@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix maven pom inheritance (#32943) (#32976)Giteabot2024-12-253-9/+63
| | | | | | | | | Backport #32943 by wxiaoguang Fix #30568 At the moment, here only `GroupID` (no `Version`) is parsed & used Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* fix textarea newline handle (#32966) (#32977)Giteabot2024-12-252-5/+20
| | | | | | Backport #32966 by metiftikci Co-authored-by: metiftikci <metiftikci@hotmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Use env GITEA_RUNNER_REGISTRATION_TOKEN as global runner token (#32946) (#32964)Giteabot2024-12-248-18/+152
| | | | | | | | | | Backport #32946 by wxiaoguang Fix #23703 When Gitea starts, it reads GITEA_RUNNER_REGISTRATION_TOKEN or GITEA_RUNNER_REGISTRATION_TOKEN_FILE to add registration token. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix outdated tmpl code (#32953) (#32961)Giteabot2024-12-232-2/+2
| | | | | | | Backport #32953 by wxiaoguang Some PRs were before tmpl ctx refactoring and used outdated code Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix commit range paging (#32944) (#32962)Giteabot2024-12-232-4/+24
| | | | | Backport #32944 by wxiaoguang Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix repo avatar conflict (#32958) (#32960)Giteabot2024-12-234-10/+14
| | | | | | | Backport #32958 by wxiaoguang Continue even if the avatar deleting fails Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Use Alpine 3.21 for the docker images (#32924) (#32951)Giteabot2024-12-222-5/+5
|
* fix trailing comma not matched in the case of alphanumeric issue (#32945) ↵Giteabot2024-12-232-1/+2
| | | | | | | | | | | (#32959) Backport #32945 by @katsusan Fix #32428. Patch the regex to match `,`besides `.` `"` `'` `:` and space. Co-authored-by: katsu <evergonuaa@gmail.com>
* Use primary as button color (#32949) (#32950)Giteabot2024-12-222-2/+2
| | | | | | | | Backport #32949 by wxiaoguang * Fix #32871 * Fix #32948 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix locale (#32937) (#32942)Giteabot2024-12-211-2/+2
|
* Update i18n.go - Language Picker (#32933) (#32935)Giteabot2024-12-211-0/+1
|
* Deprecated gopid in log (#32932)wxiaoguang2024-12-206-88/+27
|
* Relax the version checking for Arch packages (#32908) (#32913)Giteabot2024-12-192-2/+11
| | | | | | | | | | | | | Backport #32908 by ExplodingDragon It is mentioned in https://man.archlinux.org/man/PKGBUILD.5: 'The variable is not allowed to contain colons, forward slashes, hyphens, or whitespace.' `_` is also an allowed character, and some software in the Arch Linux AUR uses this naming convention. Co-authored-by: Exploding Dragon <explodingfkl@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Add more load functions to make sure the reference object loaded (#32901) ↵Giteabot2024-12-192-0/+9
| | | | | | | | | (#32912) Backport #32901 by @lunny Fix #32897 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* bump x/net (#32896) (#32899)techknowlogick2024-12-182-3/+3
| | | backport #32896 to 1.23
* Fix Arch package metadata introduced incorrect field (#32881) (#32882)Giteabot2024-12-183-1/+12
| | | | | | | | Backport #32881 by ExplodingDragon Incorrect content was introduced while generating the index, which has now been removed, and the missing fields have been added. Co-authored-by: Exploding Dragon <explodingfkl@gmail.com>
* Add 1.23.0-rc0 changelog (#32863)v1.23.0-rc0Lunny Xiao2024-12-171-0/+348
| | | | | | | | | | | | | | | | | | | | | Notice: some of pull requests haven't been added to the changelog - Which have been backported to v1.22 - https://github.com/go-gitea/gitea/pulls?q=sort%3Aupdated-desc+is%3Apr+milestone%3A1.23.0+is%3Amerged+label%3Abackport%2Fv1.22 - Which have skip-changelog - https://github.com/go-gitea/gitea/pulls?q=sort%3Aupdated-desc+is%3Apr+milestone%3A1.23.0+is%3Amerged+-label%3Abackport%2Fv1.22+label%3Askip-changelog - Build and Testing - https://github.com/go-gitea/gitea/pulls?q=sort%3Aupdated-desc+is%3Apr+milestone%3A1.23.0+is%3Amerged+label%3Abackport%2Fv1.22+label%3Atype%2Ftesting - https://github.com/go-gitea/gitea/pulls?q=sort%3Aupdated-desc+is%3Apr+milestone%3A1.23.0+is%3Amerged+label%3Abackport%2Fv1.22+label%3Atopic%2Fbuild - No `type` label marked may be missed, I need to check one by one, but I believe those are not too many. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Backport 1.23 (#32868)wxiaoguang2024-12-1716-8/+209
| | | Co-authored-by: delvh <dev.lh@web.de>
* Improve Actions status aggregations (#32860)v1.24.0-devwxiaoguang2024-12-162-9/+31
| | | | | | Make the result the same as GitHub: * all skipped, then result is skipped * any cancelled, then result cancelled
* Fix incomplete Actions status aggregations (#32859)wxiaoguang2024-12-166-38/+106
| | | fix #32857
* Do not display `attestation-manifest` and use short sha256 instead of full ↵hiifong2024-12-162-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sha256 (#32851) Related: #24973 Before: ![image](https://github.com/user-attachments/assets/bca17900-5075-4d15-af7a-c71bf8979c04) After: ![image](https://github.com/user-attachments/assets/c5a24e3b-763b-4463-80db-d4dbd89f7dc4) Index: ```json { "schemaVersion": 2, "mediaType": "application/vnd.oci.image.index.v1+json", "manifests": [ { "mediaType": "application/vnd.oci.image.manifest.v1+json", "digest": "sha256:5967afffdfde104ca1459286a72346baaef8b70ac153325d7a6cd85c7734ac6e", "size": 672, "platform": { "architecture": "amd64", "os": "linux" } }, { "mediaType": "application/vnd.oci.image.manifest.v1+json", "digest": "sha256:f9abfcc55320f9ff1f38eeb7dbb4bea10b29c7febfa49ccd7aab9fa02403b9f0", "size": 672, "platform": { "architecture": "arm64", "os": "linux" } }, { "mediaType": "application/vnd.oci.image.manifest.v1+json", "digest": "sha256:d70ad19d00c19e40691045cbddc3e8a5a4454c31cc454d1132b13bcaf35b6d46", "size": 566, "annotations": { "vnd.docker.reference.digest": "sha256:5967afffdfde104ca1459286a72346baaef8b70ac153325d7a6cd85c7734ac6e", "vnd.docker.reference.type": "attestation-manifest" }, "platform": { "architecture": "unknown", "os": "unknown" } }, { "mediaType": "application/vnd.oci.image.manifest.v1+json", "digest": "sha256:73bc233bf4eac96a404ce3e0430b698831a4ea7050c878d5f76d1d1f133751dd", "size": 566, "annotations": { "vnd.docker.reference.digest": "sha256:f9abfcc55320f9ff1f38eeb7dbb4bea10b29c7febfa49ccd7aab9fa02403b9f0", "vnd.docker.reference.type": "attestation-manifest" }, "platform": { "architecture": "unknown", "os": "unknown" } } ] } ``` --------- Co-authored-by: silverwind <me@silverwind.io>
* Leave MAINTAINERS and the organization (#32820)yp053272024-12-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ## Why join I didn’t talk about myself before, so some people may think that I am an employee from the company. So I think it is necessary to talk about why and how I joined. At the begining, my boss gave me a task to find a git software which can self hosted in on-premise. Then I found that there are not many project which meet our needs. But finally, I found Gitea. A easy use, easy maintenance, and without a good machine you can also run it. At that time, I just finished my previous work which is using helm to deploy something in K8s. So I tried to use Gitea’s helm chart to deploy in my work PC to see whether we can use it. But soon, I found a bug, and reported it (https://gitea.com/gitea/helm-chart/issues/382), but after about 1 month, there’s no fix. So I try to check the source code, and I found that it is caused by Gitea’s code and it is easy to fix it. So I created an issue (https://github.com/go-gitea/gitea/issues/22523) in Gitea. But unfortunately, after a long time again, it is still not fixed. So I tried to finish it by myself. I’m not a pro programmer, coding is just my hobby since I was 13 or 14 years old. (I will tell the reason later), I even don’t know the workflow about the contribution of OSS, so maybe I did some bad things at the early time, I apologize. But the people here are very kind, at that time, I start to consider whether it has worth to recommend to my boss. So I started to use it, but I found more and more bugs in a short time. Japanese company is very sensitive to it, so I gave up to recommend. But I can try to fix them! Because I can learn too many things during the contribution, not just about the programing but also the usage of other tools and the general contribution rule in the world of OSS. It let me grow up, and to become (maybe) a perfect full-stack engineer which is my dream. (Why it is my dream? I made a wrong decision in my college, I took/followed the advice of my parent, choosed communications engineering instead of computer science which is my favorite thing) # Why leave Several days ago, there’s an [article](https://juejin.cn/post/7446578471901626420#comment) came into my eye. Something about JiHu (GitLab Ltd in China) start to file a lawsuit to the company which is using GitLab CE version which is under MIT License. So people start to find other git service/application to avoid it. And in the this article, a project called Fogejo is mentioned. It says it is a hard-fork of Gitea. But I don’t know the meaning of `hard-fork`, so I access the home page of this project to find where it comes from. Finally, I found it here: https://forgejo.org/compare-to-gitea/#why-was-forgejo-created. They said: > As of early 2024, Forgejo is developed independently of Gitea, as a “hard-fork”. `hard-fork` has a quotation, so the meaning is not the original meaning of it, but they said `as`, which means `like` or `similar` I think. So just focus on the words before `as` is ok, because `hard-fork` is a simile, `As of early 2024, Forgejo is developed independently of Gitea` is what they want to say. In my mind, this means: since early 2024 Forgejo’s codes (new changes) are all written by themselves, and emphasize that these changes are not related to Gitea, because they can simply say `As of early 2024, Forgejo is developed independently, as a “hard-fork”` But after I check the commit history, I can still find some strange commits in recent month: https://codeberg.org/forgejo/forgejo/commits/branch/forgejo/search?q=author%3Ayp05327&all= The author is me, but the commit is signed by someone I even never heard. Considering the words they said above, it feels/sounds like my work has become their work. Although Gitea is under MIT license, is this allowed in the OSS world? Even it is allowed, I can not accept it personally. So I created a issue to ask them: https://codeberg.org/forgejo/forgejo/issues/6236 https://codeberg.org/forgejo/discussions/issues/251 Finally, it seems that they understood the problem and promised to improve it. But I also required a public statement to explain it which means they need to apologize, otherwise it is hard to the users who believe these are all their work know it, and it seems they ignored some of my words again? So it is hard for me to believe they will really make changes and post the apologize. If they did, I will consider to come back. Otherwise, I think there’s no worth to continually contribute to any OSS project, so I decided to leave. ps: TOC voting is still ongoing, please remove me from the list. And I will leave the organization after the merge. At the end, thanks to all people who have helped me to finish the contribution and teach me new knowledges.
* [skip ci] Updated licenses and gitignoresGiteaBot2024-12-162-0/+11
|
* Fix bug on action list deleted branch (#32848)Lunny Xiao2024-12-165-4/+72
| | | | | | | | Fix https://github.com/go-gitea/gitea/issues/32761#issuecomment-2540946064 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix remaining typescript issues, enable `tsc` (#32840)silverwind2024-12-1624-134/+152
| | | | | | | | | | | | Fixes 79 typescript errors. Discovered at least two bugs in `notifications.ts`, and I'm pretty sure this feature was at least partially broken and may still be, I don't really know how to test it. After this, only like ~10 typescript errors remain in the codebase but those are harder to solve. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Repo file list enhancements (#32835)silverwind2024-12-154-15/+37
| | | | | | | | | | | | 1. restore background color 2. fix border radius on top/bottom and on hover 3. parent link is now full-row again, much easier to click 4. parent link now uses directory icon, matching github 5 changed grid layout to remove auto width on file name column which could get too small. 6. mobile layout now shows more of the filename. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>