| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Using `strings.EqualFold` is wrong in many cases.
|
|
|
|
|
|
|
|
| |
Fix #18846
Fix #34924
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
|
|
|
|
|
|
|
|
| |
Fix #34870
Fix #34929
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
|
| |
|
|
|
| |
Fix this leftover from the typescript migration.
|
| |
|
|
|
| |
drop "escape-goat"
|
|
|
|
|
|
|
|
|
|
|
| |
Adds a tooltip to the commit counts when comparing branches, making it
easier for novice users to understand what the numbers mean.
Fixes #34867.
---------
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
|
|
|
|
|
|
|
| |
Fix #34919
---------
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
|
|
|
|
|
|
|
| |
See the comment. And due to the abuse, there is a regression: when the
modal is hidden, the form will be reset and it can't submit.
This PR fixes all problems: keep the modal with form open, and add
"loading" indicator.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Symlinks are followed when you click on a link next to an entry, either
until a file has been found or until we know that the link is dead.
When the link cannot be accessed, we fall back to the current behavior
of showing the document containing the target.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
|
|
|
|
|
| |
`0` is zero value and won't be put into query parameter by QueryBuild
Fix #34913
|
|
|
|
|
|
|
|
|
| |
* Fix RPM package download routing
* Fix missing package version count
---------
Signed-off-by: Exploding Dragon <explodingfkl@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
|
|
|
|
|
|
|
| |
Fix #34775
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
parameters and response/request models (#34901)
Issue: [link](https://github.com/go-gitea/gitea/issues/9637)
Changes introduced: I have clarified the problematic terms (`login`,
`login_name`, and `username`) in all affected endpoints.
The changes were made to relevant:
- HTTP endpoint parameters' descriptions
- response/request models' fields
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
### Description
This PR fixes two typos in the pull request merge command warning
message.
- "can not" → "cannot"
- "was not enable" → "is not enabled."
### File Updated
- `options/locale/locale_en-US.ini` (line 1972)
### Related Discussion
https://github.com/go-gitea/gitea/issues/34893
|
|
|
| |
Use standard db.WithTx and introduce db.WithTx2
|
| |
|
|
|
| |
Fix #34888
|
|
|
|
|
|
|
|
|
| |
Release notes:
https://github.com/bigskysoftware/htmx/releases/tag/v2.0.6
Tested Star, Watch, and the admin dashboard page. All functionality
remains unchanged.
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
|
|
|
|
|
|
|
|
|
| |
before:

after:

|
|
|
|
|
|
|
| |
Make labels list use consistent gap
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
|
|
|
|
|
|
|
| |
Follows up https://github.com/go-gitea/gitea/pull/34851
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
|
|
|
| |
Fix a regression when refactoring fork list from #34784
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
enable nolintlint scope requirement
add comments to new directives so it's more obvious why they are in
place
---
I can also toggle the mandatory comments on if that's something of
interest.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
|
| |
|
|
|
|
|
|
|
|
| |
Extract `UpdateRepository`
Follow up #34762
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
|
| |
|
|
|
|
|
|
| |
Fixes https://github.com/go-gitea/gitea/issues/34591
A reference regarding the deletion of issue webhooks on GitHub:
https://docs.github.com/en/webhooks/webhook-events-and-payloads?actionType=deleted#issues
|
|
|
|
|
|
|
|
|
| |
Follow up the "editor" refactor, use the same approach to simplify code,
and fix some docs & comments
---------
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
|
|
|
|
|
| |
Remove the misleading error log, fix #34738
Make the "search" input auto-focused, fix #34807
|
|
|
|
|
|
| |
Tested a few things, everything seems to work.
`editorconfig-checker` is now pinned at v3 to avoid having to maintain
its minor releases.
|
|
|
| |
Fix #34852
|
|
|
|
|
| |
The module now ships type definitions so remove our type stub.
Ref: https://github.com/WebReflection/uint8-to-base64/pull/4
|
|
|
| |
See the updated swagger document for details.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This PR fixes a state de-synchronization bug with the issue stopwatch,
it resolves the issue by replacing the ambiguous `/toggle` endpoint
with two explicit endpoints: `/start` and `/stop`.
- The "Start timer" button now exclusively calls the `/start` endpoint.
- The "Stop timer" button now exclusively calls the `/stop` endpoint.
This ensures the user's intent is clearly communicated to the server,
eliminating the state inconsistency and fixing the bug.
---------
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
|
|
|
|
|
| |
This variable is unused, occurs nowhere in the codebase. I can't
pinpoint the exact commit when it was last used, but I think it's unused
since the docs were moved out.
|
|
|
| |
Fix #34834
|
|
|
|
|
|
|
| |
Fixes #34832
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
|
| |
|
|
|
|
| |
* Fix #34793
* Fix #33456
|
| |
|
| |
|
|
|
|
| |
Previous version reads like we're migrating some kind of status instead
of what it is - status of the migration.
|
|
|
|
|
|
|
|
| |
FIx abuses and remove unused code
---------
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
|
| |
|