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
1 month ago
GiteaBot
604365efd7
[skip ci] Updated translations via Crowdin
1 month ago
GiteaBot
a7e750414c
[skip ci] Updated translations via Crowdin
1 month ago
Lunny Xiao
fd7d393c67
Fix unpin hint on the pinned pull requests ( #33207 )
1 month ago
GiteaBot
8f8ad8e272
[skip ci] Updated translations via Crowdin
1 month ago
GiteaBot
fa9191b7b9
[skip ci] Updated translations via Crowdin
1 month 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>
1 month ago
GiteaBot
ec84687df9
[skip ci] Updated translations via Crowdin
1 month ago
GiteaBot
485d184a5c
[skip ci] Updated translations via Crowdin
1 month ago
GiteaBot
3c1c508421
[skip ci] Updated translations via Crowdin
1 month 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>
1 month ago
GiteaBot
3078826d01
[skip ci] Updated translations via Crowdin
1 month ago
wxiaoguang
3d544a3ad3
Fix empty git repo handling logic ( #33101 )
...
Fix #33092
1 month ago
GiteaBot
a739c784d9
[skip ci] Updated translations via Crowdin
1 month ago
GiteaBot
2852708fdf
[skip ci] Updated translations via Crowdin
1 month 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>
1 month 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
2 months ago
GiteaBot
14ed553fae
[skip ci] Updated translations via Crowdin
2 months ago
GiteaBot
3c00e89129
[skip ci] Updated translations via Crowdin
2 months 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>
2 months ago
GiteaBot
65e45fdcfd
[skip ci] Updated translations via Crowdin
2 months ago
GiteaBot
02c64e48b7
[skip ci] Updated translations via Crowdin
2 months 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.
2 months ago
bytedream
6279646ee4
Add auto-expanding running actions step ( #30058 )
...
Auto-expands the currently running action step.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 months ago
GiteaBot
35c86af164
[skip ci] Updated translations via Crowdin
2 months ago
wxiaoguang
143946834a
Fix locale ( #32937 )
...
Fix #32936
2 months ago
GiteaBot
c66de245c4
[skip ci] Updated translations via Crowdin
2 months ago
GiteaBot
5ec8df02f6
[skip ci] Updated translations via Crowdin
2 months ago
GiteaBot
e6186bc447
[skip ci] Updated translations via Crowdin
2 months ago
GiteaBot
9f9bff0f04
[skip ci] Updated translations via Crowdin
2 months ago
silverwind
df9a78cd04
Tweak repo sidebar ( #32847 )
...
Before and after:
<img width="218" alt="Screenshot 2024-12-15 at 04 53 53"
src="https://github.com/user-attachments/assets/299b1f0a-ba72-47c6-b662-a9d540d4d741 "
/>
<img width="222" alt="Screenshot 2024-12-15 at 04 53 41"
src="https://github.com/user-attachments/assets/5a2b5332-e324-4d20-82e9-21d1c850e826 "
/>
Diff without whitespace:
https://github.com/go-gitea/gitea/pull/32847/files?diff=unified&w=1
The `tw-mt-2` is fine even if the element renders empty:
<img width="387" alt="image"
src="https://github.com/user-attachments/assets/76a976e4-ba2e-48a5-9248-c361552a937a "
/>
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 months ago
Lunny Xiao
9264811217
Remove translation to issue add time because the format is fixed should not be translated ( #32850 )
...
The input content should always be `1h 2m 3s` and will be the same on
different UI languages. So the translation is wrong.
2 months ago
GiteaBot
1893b32670
[skip ci] Updated translations via Crowdin
2 months ago
GiteaBot
734ddf7118
[skip ci] Updated translations via Crowdin
2 months ago
wxiaoguang
90d20be541
Refactor issue filter (labels, poster, assignee) ( #32771 )
...
Rewrite a lot of legacy strange code, remove duplicate code, remove
jquery, and make these filters reusable.
Let's forget the old code, new code affects:
* issue list open/close switch
* issue list filter (label, author, assignee)
* milestone list open/close switch
* milestone issue list filter (label, author, assignee)
* project view (label, assignee)
2 months ago
GiteaBot
43ca67eb8c
[skip ci] Updated translations via Crowdin
2 months ago
GiteaBot
a78a466383
[skip ci] Updated translations via Crowdin
2 months ago
GiteaBot
5449da7448
[skip ci] Updated translations via Crowdin
2 months ago
wxiaoguang
513da407f4
Support "merge upstream branch" (Sync fork) ( #32741 )
...
Add basic "sync fork" support (GitHub-like)
<details>
![image](https://github.com/user-attachments/assets/e71473f4-4518-48c7-b9e2-fedfcd564fc3 )
</details>
2 months ago
yp05327
faf5705d29
GitHub like repo home page ( #32213 )
...
Move some components (description, license, release, language stats) to sidebar
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 months ago
Illya Marchenko
936665bf85
Issue time estimate, meaningful time tracking ( #23113 )
...
Redesign the time tracker side bar, and add "time estimate" support (in "1d 2m" format)
Closes #23112
---------
Co-authored-by: stuzer05 <stuzer05@gmail.com>
Co-authored-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 months ago
KN4CK3R
0c3c041c88
Add Arch package registry ( #32692 )
...
Close #25037
Close #31037
This PR adds a Arch package registry usable with pacman.
![grafik](https://github.com/user-attachments/assets/81cdb0c2-02f9-4733-bee2-e48af6b45224 )
Rewrite of #25396 and #31037 . You can follow [this
tutorial](https://wiki.archlinux.org/title/Creating_packages ) to build a
package for testing.
Docs PR: https://gitea.com/gitea/docs/pulls/111
Co-authored-by: [d1nch8g@ion.lc ](mailto:d1nch8g@ion.lc)
Co-authored-by: @ExplodingDragon
---------
Co-authored-by: dancheg97 <dancheg97@fmnx.su>
Co-authored-by: dragon <ExplodingFKL@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 months ago
wxiaoguang
c9e582c6b6
Refactor markdown editor and use it for milestone description editor ( #32688 )
...
Refactor markdown editor to clarify its "preview" behavior and remove
jQuery code.
Close #15045
---------
Co-authored-by: silverwind <me@silverwind.io>
2 months ago
Kerwin Bryant
576e31ae3b
Add "View all branches/tags" entry to Branch Selector ( #32653 )
...
![image](https://github.com/user-attachments/assets/7b62a38f-36d5-452a-8a97-204842c68b2e )
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 months ago
Simon Pistache
2abef971dc
fix( #32667 ): 🐛 Fixe a keystring misuse and refactor duplicates keystrings ( #32668 )
...
- Fixes a translation keystring misuse where the string 'open
milestones' is used in place of 'closed milestones'.
- De-duplicates the use of 'open milesones' and 'closed milestones'
keystrings on the sidebar of an issue, reusing the ones on the issues
filter and action bars.
- Closes #32667
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 months ago
Kerwin Bryant
68d9f36543
Allow cropping an avatar before setting it ( #32565 )
...
Provide a cropping tool on the avatar editing page, allowing users to
select the cropping area themselves. This way, users can decide the
displayed area of the image, rather than us deciding for them.
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Giteabot <teabot@gitea.io>
3 months ago