wxiaoguang
80e4f4c4eb
Refactor package (routes and error handling, npm peer dependency) ( #33111 )
4 weeks ago
wxiaoguang
ef736b7e27
Refactor legacy JS ( #33115 )
4 weeks ago
wxiaoguang
40765b5d45
Fix repo empty guide ( #33114 )
4 weeks ago
GiteaBot
3c1c508421
[skip ci] Updated translations via Crowdin
4 weeks ago
wxiaoguang
cf60734a4d
Fix dropdown menu header and mobile view ( #33108 )
...
![image](https://github.com/user-attachments/assets/3f831c8c-ef87-4282-880a-c2738f3e1d17 )
----
![image](https://github.com/user-attachments/assets/c4c0519b-cfa6-42b4-bd28-205ee514eb34 )
----
![image](https://github.com/user-attachments/assets/8624a605-9f2b-4905-9cbc-0af073972874 )
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
df9d1fe8c5
Trivial fixes ( #33103 )
...
1. remove `gock` dependency, it is not needed
2. fix a regression from org private profile readme
4 weeks ago
wxiaoguang
3d544a3ad3
Fix empty git repo handling logic ( #33101 )
...
Fix #33092
4 weeks ago
wxiaoguang
2b064b8637
Refactor legacy line-number and scroll code ( #33094 )
...
1. remove jquery
2. rewrite the "line number selection", fix various edge cases
3. fix the scroll
4 weeks ago
Kemal Zebari
188e0ee8e4
Use `Project-URL` metadata field to get a PyPI package's homepage URL ( #33089 )
...
Resolves #33085 .
4 weeks ago
wxiaoguang
68972a9947
Clean up legacy form CSS styles ( #33081 )
4 weeks ago
GiteaBot
a739c784d9
[skip ci] Updated translations via Crowdin
4 weeks ago
metiftikci
83b7e12d4c
add myself to maintainers ( #33088 )
4 weeks ago
wxiaoguang
e709cc76da
Make Gitea always use its internal config, ignore `/etc/gitconfig` ( #33076 )
...
In history, Gitea could use the system config `/etc/gitconfig` because
some users said that "they might put certNonceSeed in it"
Actually, we shouldn't not use it, because it also causes conflicts
(there are already some fixes like #28848 )
To make the system clear, I think it's worth to introduce the breaking
change: add `GIT_CONFIG_NOSYSTEM=1` to all git commands.
## ⚠️ BREAKING ⚠️
For most users, nothing need to do.
If you have made changes to `/etc/gitconfig` to affect Gitea's behavior,
you need to move these config options to Gitea's internal git config
file, it is usually in Gitea's `{AppDataPath}/home/.git` directory.
4 weeks ago
wxiaoguang
9ac536a904
Fix "stop time tracking button" on navbar ( #33084 )
...
Fix #33083
By the way (something I was working on):
1. relax color/background-color for more markup elements
2. fix a command line sentence error
4 weeks ago
wxiaoguang
45973a100b
Fix bleve fuzziness search ( #33078 )
...
Close #31565
4 weeks ago
wxiaoguang
9882917bce
Try to fix ACME directory problem ( #33072 )
4 weeks ago
wxiaoguang
4f386e2c5e
Refactor env var related code ( #33075 )
...
And add more comments
4 weeks ago
GiteaBot
2852708fdf
[skip ci] Updated translations via Crowdin
4 weeks ago
JonRB
233b7959e0
unset XDG_HOME_CONFIG as gitea manages configuration locations ( #33067 )
...
unset XDG_CONFIG_HOME early to enable gitea to manage git configuration.
simple error checking to satisfy the linting. Closes #33039
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
4 weeks ago
wxiaoguang
c1167709ed
Refactor repo-new.ts ( #33070 )
...
1. merge `repo-template.ts` into `repo-new.ts` (they are all for "/repo/create")
2. remove jquery
3. fix an anonying fomantic dropdown bug, see the comment of `onResponseKeepSelectedItem`
4 weeks ago
wxiaoguang
85c756e279
Refactor pull-request compare&create page ( #33071 )
...
The old code is unnecessarily complex.
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>
1 month ago
wxiaoguang
2564c15cb0
Remove some unnecessary template helpers ( #33069 )
...
DisableGitHooks and DisableImportLocal are only used when editing a
user, so only set them in `editUserCommon`
1 month ago
Steffen Schröter
57eb9d0b64
Inherit submodules from template repository content ( #16237 )
...
Fix #10316
---------
Signed-off-by: Steffen Schröter <steffen@vexar.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 month ago
GiteaBot
92a2900a2d
[skip ci] Updated translations via Crowdin
1 month ago
Bo-Yi Wu
6c89de494a
feat(action): issue change title notifications ( #33050 )
...
- Add `IssueChangeTitle` method to handle issue title changes
- Add `notifyIssueChangeWithTitleOrContent` method to generalize
notification handling for issue title or content changes
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: Giteabot <teabot@gitea.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 month ago
Lunny Xiao
20c7fba601
Use project's redirect url instead of composing url ( #33058 )
...
Fix #32992
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 month ago
wxiaoguang
a0853e2278
Fix unittest and repo create bug ( #33061 )
...
1. `StatDir` was not right, fix the FIXME
2. Clarify the test cases for `IsUsableRepoName`
3. Fix regression bug in `repo-new.ts`
Fix #33060
1 month ago
wxiaoguang
58c092cfea
Fix locale type ( #33059 )
...
Follow #32872
1 month ago
wxiaoguang
e5c576e92b
Refactor maven package registry ( #33049 )
...
Close #33036
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
wxiaoguang
c09656e0e0
Make issue suggestion work for new PR page ( #33035 )
...
Fix #33026
1 month ago
hiifong
4a254856b3
Add IntelliJ Gateway's .uuid to gitignore ( #33052 )
1 month ago
Lunny Xiao
a54cc05d2a
Fix issue comment number ( #30556 )
1 month ago
hiifong
a87168869a
Fix duplicate co-author in squashed merge commit messages ( #33020 )
...
Fix : #31980
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 month ago
Lunny Xiao
fe32ffe181
Merge updatecommentattachment functions ( #33044 )
...
Extract from #32178
1 month ago
Lunny Xiao
d45456b1b5
Move SetMerged to service layer ( #33045 )
...
No code change.
Extract from #32178
1 month ago
Lunny Xiao
8eecca3478
Remove aws go sdk package dependency ( #33029 )
...
This PR removed the dependency of `github.com/aws/aws-sdk-go/aws`
Patially fix for #33023
1 month ago
cassio zareck
1e2c8eb494
Fix settings not being loaded at CLI ( #26402 )
...
Closes #25898
The problem was that the default settings weren't being loaded
---------
Signed-off-by: cassiozareck <cassiomilczareck@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 month ago
wxiaoguang
dafadf0028
Refactor fixture loading for testing ( #33024 )
...
To help binary size and testing performance
1 month ago
Lunny Xiao
f4ccbd38dc
Use gitrepo.GetTreePathLatestCommit to get file lastest commit instead from latest commit cache ( #32987 )
...
The latest commit cache is currently used only for listing tree files.
However, a cold start may take longer than directly invoking the Git
command. This PR addresses the issue of slow response times when
accessing raw files, improving performance in such scenarios.
```log
gitea.log:105521:2024/12/23 08:22:18 ...eb/routing/logger.go:68:func1() [W] router: slow GET /xxxx/xxxxxx/raw/commit/xxxxxxxxxxxxxxxxxxxxxxxxxxx/.editorconfig for 172.18.0.5:53252, elapsed 3526.8ms @ repo/download.go:117(repo.SingleDownload)
```
1 month ago
Lunny Xiao
344c89ea34
Fix bug automerge cannot be chosed when there is only 1 merge style ( #33040 )
...
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
auto-merge.
Fix #32448
1 month ago
techknowlogick
232867cff6
use `-s -w` ldflags for release artifacts ( #33041 )
...
fix #33030
1 month ago
wxiaoguang
cd1b5488a3
Refactor pagination ( #33037 )
...
I am sure the simple approach should work, let's try it in 1.24
Follow #29834 and #29841
1 month ago
wxiaoguang
1dbf0d7f08
Test webhook email ( #33033 )
...
Close #27918
1 month ago
Henry Goodman
a96776b3cb
Fix review code comment avatar alignment ( #33031 )
...
Fixes #33017
Avatar should only have offset if the `Comment` has `Content` or
`Attachment` to align with the speech bubble.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 month ago
TheFox0x7
ff96873e3e
Fix templating in pull request comparison ( #33025 )
...
Adds test for expected behavior
Closes: https://github.com/go-gitea/gitea/issues/33013
1 month ago