Commit Graph

2717 Commits (main)

Author SHA1 Message Date
wxiaoguang 256b94e9e9
Support choose email when creating a commit via web UI (#33432)
Initial PR for #24469
1 day ago
GiteaBot a89c735303 [skip ci] Updated translations via Crowdin 2 days ago
GiteaBot 121e4c9624 [skip ci] Updated translations via Crowdin 3 days ago
GiteaBot fae69bc6d4 [skip ci] Updated translations via Crowdin 4 days ago
GiteaBot 2cc65e356e [skip ci] Updated translations via Crowdin 5 days ago
GiteaBot 3e1b63f75b [skip ci] Updated translations via Crowdin 1 week ago
GiteaBot 340d9ec42d [skip ci] Updated translations via Crowdin 1 week ago
GiteaBot 3682231f17 [skip ci] Updated translations via Crowdin 1 week ago
wxiaoguang 7069369e03
Support performance trace (#32973)
1. Add a OpenTelemetry-like shim-layer to collect traces
2. Add a simple builtin trace collector and exporter, end users could
download the diagnosis report to get the traces.

This PR's design is quite lightweight, no hard-dependency, and it is
easy to improve or remove. We can try it on gitea.com first to see
whether it works well, and fine tune the details.

---------

Co-authored-by: silverwind <me@silverwind.io>
1 week ago
GiteaBot 2e42e96ce2 [skip ci] Updated translations via Crowdin 1 week ago
wxiaoguang 39de2955fd
Improve sync fork behavior (#33319)
Fix #33271

Suppose there is a `branch-a` in fork repo:

1. if `branch-a` exists in base repo: try to sync `base:branch-a` to `fork:branch-a`
2. if `branch-a` doesn't exist in base repo: try to sync `base:main` to `fork:branch-a`
2 weeks ago
GiteaBot f250ee6360 [skip ci] Updated translations via Crowdin 2 weeks ago
GiteaBot fffc8550ab [skip ci] Updated translations via Crowdin 2 weeks ago
wxiaoguang 3b839f8dc0
Trivial fixes (#33304)
1. the error check was added for go-git, it was caused by the empty `.keep` file in the test fixtures.
2. use `PostFormValue` instead of `PostForm.Get` (`Get` needs to parse the form ahead)
3. fix incorrect container text (it should show "Images" in the header but not "OS/Arch")
4. align maven xml
5. fix closed PR color&icon
2 weeks ago
GiteaBot 7582eb0419 [skip ci] Updated translations via Crowdin 2 weeks ago
wxiaoguang cfc6e21f06
Fix incorrect ref usages (#33301)
Fix #33297

By the way, improve some locales
2 weeks ago
Kemal Zebari 2483a93fbc
Only allow admins to rename default/protected branches (#33276)
Currently, anyone with write permissions to a repo are able to rename
default or protected branches.

This change follows
[GitHub's](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/renaming-a-branch)
design by only allowing repo/site admins to change these branches.
However, it also follows are current design for protected branches and
only allows admins to modify branch names == branch protection rule
names. Glob-based rules cannot be renamed by anyone (as was already the
case, but we now catch `ErrBranchIsProtected` which we previously did
not catch, throwing a 500).
2 weeks ago
GiteaBot cbf933eb4e [skip ci] Updated translations via Crowdin 2 weeks ago
wxiaoguang 1299fdb084
Add a confirm dialog for "sync fork" (#33270)
Try to quickly fix #33264
2 weeks ago
wxiaoguang a98a836e76
Support public code/issue access for private repositories (#33127)
Close #8649, close #639 (will add "anonymous access" in following PRs)
2 weeks ago
GiteaBot 58ac17c005 [skip ci] Updated translations via Crowdin 2 weeks ago
wxiaoguang 81352542fd
Refactor context RefName and RepoAssignment (#33226)
The `ctx.Repo.RefName` was used to be a "short name", it causes a lot of
ambiguity.

This PR does some refactoring and use `RefFullName` to replace the
legacy `RefName`, and simplify RepoAssignment
3 weeks ago
GiteaBot 604365efd7 [skip ci] Updated translations via Crowdin 3 weeks ago
GiteaBot a7e750414c [skip ci] Updated translations via Crowdin 3 weeks ago
Lunny Xiao fd7d393c67
Fix unpin hint on the pinned pull requests (#33207) 3 weeks ago
GiteaBot 8f8ad8e272 [skip ci] Updated translations via Crowdin 3 weeks ago
GiteaBot fa9191b7b9 [skip ci] Updated translations via Crowdin 3 weeks ago
Rowan Bohde a8e7caedfa
add submodule diff links (#33097)
This adds links to submodules in diffs, similar to the existing link
when viewing a repo at a specific commit. It does this by expanding diff
parsing to recognize changes to submodules, and find the specific refs
that are added, deleted or changed.

Related #25888

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
3 weeks ago
GiteaBot ec84687df9 [skip ci] Updated translations via Crowdin 3 weeks ago
GiteaBot 485d184a5c [skip ci] Updated translations via Crowdin 3 weeks ago
GiteaBot 3c1c508421 [skip ci] Updated translations via Crowdin 4 weeks ago
ChristopherHX 4237736029
workflow_dispatch use workflow from trigger branch (#33098)
* htmx updates the input form on branch switch
* add workflow warning to dispatch modal
* use name if description of input is empty
* show error if workflow_dispatch not available on branch

Closes #33073
Closes #33099

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
4 weeks ago
GiteaBot 3078826d01 [skip ci] Updated translations via Crowdin 4 weeks ago
wxiaoguang 3d544a3ad3
Fix empty git repo handling logic (#33101)
Fix #33092
4 weeks ago
GiteaBot a739c784d9 [skip ci] Updated translations via Crowdin 4 weeks ago
GiteaBot 2852708fdf [skip ci] Updated translations via Crowdin 4 weeks ago
lonix1 d030cace1a
feat: link to nuget dependencies (#26554)
Add links to dependencies and their versions, as done in nuget site.
Makes it easier to use.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
4 weeks ago
GiteaBot 92a2900a2d [skip ci] Updated translations via Crowdin 1 month ago
wxiaoguang 58c092cfea
Fix locale type (#33059)
Follow #32872
1 month ago
Kerwin Bryant 54bd220520
Optimize the installation page (#32994)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 month ago
Chai-Shi 0387195abb
[Feature] Private README.md for organization (#32872)
Implemented #29503

---------

Co-authored-by: Ben Chang <ben_chang@htc.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 month ago
GiteaBot e95b946f6d [skip ci] Updated translations via Crowdin 1 month ago
GiteaBot 14ed553fae [skip ci] Updated translations via Crowdin 1 month ago
GiteaBot 3c00e89129 [skip ci] Updated translations via Crowdin 1 month ago
yp05327 7bb7ba1b5b
Add `show more` organizations icon in user's profile (#32986)
Close #32952

# ⚠️ Doc update is required


![image](https://github.com/user-attachments/assets/296c5109-8fc1-43ea-b7dc-e79919cc1f9a)

![image](https://github.com/user-attachments/assets/d30980f6-22e4-4b97-9143-c750dc399da6)


------
⚠️This PR refuses to be cherry-picked by any forked projects without any
mentions.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 month ago
GiteaBot 65e45fdcfd [skip ci] Updated translations via Crowdin 1 month ago
GiteaBot 02c64e48b7 [skip ci] Updated translations via Crowdin 1 month ago
wxiaoguang 7553ae1a57
Use env GITEA_RUNNER_REGISTRATION_TOKEN as global runner token (#32946)
Fix #23703

When Gitea starts, it reads GITEA_RUNNER_REGISTRATION_TOKEN
or GITEA_RUNNER_REGISTRATION_TOKEN_FILE to add registration token.
1 month ago
bytedream 6279646ee4
Add auto-expanding running actions step (#30058)
Auto-expands the currently running action step.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 month ago
GiteaBot 35c86af164 [skip ci] Updated translations via Crowdin 1 month ago