wxiaoguang
d03e7fd65e
Support disable passkey auth ( #33348 ) ( #33819 )
...
* Backport #33348
* Backport #33820
---------
Co-authored-by: yp05327 <576951401@qq.com>
2025-03-07 21:31:25 +02:00
Giteabot
7ded86f5af
Remove superflous tw-content-center ( #33741 ) ( #33743 )
...
Backport #33741 by @silverwind
Co-authored-by: silverwind <me@silverwind.io>
2025-02-28 12:38:27 -05:00
Giteabot
27a60fd91b
Fix inconsistent closed issue list icon ( #33722 ) ( #33728 )
...
Backport #33722 by @lunny
Fixe #33718
Before

After

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2025-02-25 17:29:07 -08:00
Giteabot
0512b02b01
Fix project issues list and counting ( #33594 ) ( #33619 )
...
Backport #33594 by lunny
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-02-18 00:59:32 +08:00
Lunny Xiao
58daaf66e8
Fix a bug caused by status webhook template ( #33512 )
...
Fix #33511
2025-02-06 08:48:22 +08:00
Lunny Xiao
200cb6140d
Fix commit status events ( #33320 ) ( #33493 )
...
Fix #32873
Fix #33201
~Fix #33244~
~Fix #33302~
depends on ~#33396~
backport #33320
2025-02-05 11:35:47 +08:00
Giteabot
2746c6f1aa
Correct bot label vertical-align
( #33477 ) ( #33480 )
2025-02-02 15:08:59 -05:00
Giteabot
9780da583d
Fix issue sidebar dropdown keyboard support ( #33447 ) ( #33450 )
...
Backport #33447 by wxiaoguang
Just a quick fix, fix #33444
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-31 10:11:51 +08:00
Giteabot
826fffb59e
Add missed auto merge feed message on dashboard ( #33309 ) ( #33405 )
...
Backport #33309 by @lunny
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2025-01-26 18:57:45 +00:00
Giteabot
12347f07ae
Repo homepage styling tweaks ( #33289 ) ( #33381 )
...
Backport #33289 by @silverwind
Reduce it to a value that results in `.repo-home-sidebar-top` and
`.repo-home-sidebar-bottom` having 240px content width, the same as
GitHub.
Co-authored-by: silverwind <me@silverwind.io>
2025-01-24 13:41:01 -05:00
Giteabot
e08eed9040
Fix code button alignment ( #33345 ) ( #33351 )
...
Backport #33345 by silverwind
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-22 15:18:34 +08:00
wxiaoguang
8f45a11919
Improve sync fork behavior ( #33319 ) ( #33332 )
...
Backport #33319
Fix #33271
The only conflict is `reqctx` in
`services/repository/merge_upstream.go`, which could keep using
`context.Context` in 1.23
2025-01-20 07:50:38 +00:00
Giteabot
e72d001708
Fix Account linking page ( #33325 ) ( #33327 )
...
Backport #33325 by CrimsonEdgeHope
Fix password form missing whilst linking account even with
`ENABLE_PASSWORD_SIGNIN_FORM = true`.
Remove redundant empty box in account linking sign up page when
`LinkAccountMode` is true.
Co-authored-by: CrimsonEdgeHope <92579614+CrimsonEdgeHope@users.noreply.github.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-19 13:02:33 +00:00
wxiaoguang
8d9ea68f19
Fix push message behavior ( #33215 ) ( #33317 )
...
Backport #33215
Manually resolved "reqctx" conflict
---------
Co-authored-by: Chai-Shi <changchaishi@gmail.com>
2025-01-19 10:48:28 +08:00
wxiaoguang
bf664c2e85
Trivial fixes ( #33304 ) ( #33312 )
...
Backport #33304
The only conflict is caused by `templates/shared/issueicon.tmpl`
2025-01-18 03:09:17 +08:00
wxiaoguang
52d298890b
Fix "stop time tracking button" on navbar ( #33084 ) ( #33300 )
...
Backport #33084 (no conflict)
Fix #33299 , and remove incorrect translations
2025-01-17 04:48:31 +08:00
wxiaoguang
c09e43acf5
Fix closed dependency title ( #33285 ) ( #33287 )
...
Backport #33285
2025-01-15 16:05:01 +00:00
Giteabot
3b4af01633
Fix sidebar milestone link ( #33269 ) ( #33272 )
...
Backport #33269 by wxiaoguang
Fix #33266
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-15 00:19:37 +00:00
Giteabot
b4e2d5e8ee
Add a confirm dialog for "sync fork" ( #33270 ) ( #33273 )
...
Backport #33270 by @wxiaoguang
Try to quickly fix #33264
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-15 00:51:17 +02:00
Giteabot
d70348836b
Fix sync fork for consistency ( #33147 ) ( #33192 )
...
Backport #33147 by changchaishi
Fixes #33145
An integration test could be added.
---------
Co-authored-by: Chai-Shi <changchaishi@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-10 15:11:45 +08:00
Giteabot
15ad001aef
Fix branch dropdown not display ref name ( #33159 ) ( #33183 )
...
Backport #33159 by @yp05327
Before:

After:

Co-authored-by: yp05327 <576951401@qq.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-10 01:41:52 +00:00
Giteabot
3cfff5af0d
Move repo size to sidebar ( #33155 ) ( #33182 )
...
Backport #33155 by @yp05327

Co-authored-by: yp05327 <576951401@qq.com>
2025-01-09 20:29:37 +00:00
Giteabot
6f6c66a07d
Fix assignee list overlapping in Issue sidebar ( #33176 ) ( #33181 )
...
Backport #33176 by wxiaoguang
Fix #33170
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-09 18:36:32 +00:00
wxiaoguang
0fad40dd8c
Fix package error handling and npm meta and empty repo guide ( #33112 )
2025-01-06 14:17:28 +08:00
wxiaoguang
e637008fe3
Fix empty git repo handling logic and fix mobile view ( #33101 ) ( #33102 )
...
Backport #33101 and UI fix from main (including #33108 )
2025-01-05 23:18:02 +08:00
wxiaoguang
e10d222434
Fix bleve fuzziness search ( #33078 ) ( #33087 )
2025-01-02 21:45:14 +00:00
wxiaoguang
81768675d4
Inherit submodules from template repository content ( #16237 ) ( #33068 )
...
Backport #16237 (it more likely a bug fix)
Co-authored-by: Steffen Schröter <steffen@vexar.de>
2025-01-02 12:17:05 +08:00
Giteabot
74159a8855
Fix templating in pull request comparison ( #33025 ) ( #33038 )
...
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>
2024-12-29 18:24:22 +00:00
wxiaoguang
ce6464123f
fix toggle commit body button ui when latest commit message is long ( #32997 ) ( #33034 )
...
backport #32997 and #33002
2024-12-29 17:54:23 +00:00
Giteabot
7f0050cf39
Fix review code comment avatar alignment ( #33031 ) ( #33032 )
...
Backport #33031 by henrygoodman
Fixes #33017
Co-authored-by: Henry Goodman <79623665+henrygoodman@users.noreply.github.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-30 00:58:40 +08:00
Giteabot
90bd08ceef
Use env GITEA_RUNNER_REGISTRATION_TOKEN as global runner token ( #32946 ) ( #32964 )
...
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>
2024-12-24 00:37:11 +08:00
Giteabot
0c581106d2
Fix outdated tmpl code ( #32953 ) ( #32961 )
...
Backport #32953 by wxiaoguang
Some PRs were before tmpl ctx refactoring and used outdated code
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-23 07:57:36 +00:00
Giteabot
c442c682ef
Use primary as button color ( #32949 ) ( #32950 )
...
Backport #32949 by wxiaoguang
* Fix #32871
* Fix #32948
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-22 15:28:36 +00:00
wxiaoguang
e98dd6ee5b
Backport 1.23 ( #32868 )
...
Co-authored-by: delvh <dev.lh@web.de>
2024-12-17 11:58:27 +08:00
wxiaoguang
d28a4843b8
Fix incomplete Actions status aggregations ( #32859 )
...
fix #32857
2024-12-16 11:18:00 +08:00
hiifong
276f43330c
Do not display attestation-manifest
and use short sha256 instead of full sha256 ( #32851 )
...
Related: #24973
Before:

After:

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>
2024-12-16 10:22:49 +08:00
silverwind
74b06d4f5c
Repo file list enhancements ( #32835 )
...
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>
2024-12-15 16:56:56 +00:00
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>
2024-12-15 10:01:46 +00:00
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.
2024-12-15 07:44:13 +00:00
mevius4
32059158da
Fix SSPI button visibility when SSPI is the only enabled method ( #32841 )
2024-12-15 09:41:36 +08:00
silverwind
1a07ebe549
Fix overflow on org header ( #32837 )
2024-12-14 06:50:12 +00:00
wxiaoguang
5bc030efa2
Fix various UI bugs ( #32821 )
2024-12-13 01:45:32 -05:00
hiifong
30008fcfcf
Fix bug of branch/tag selector in the issue sidebar ( #32744 )
...
Fix : #32731
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-13 00:45:06 +00:00
Lunny Xiao
6370d2fb93
Detect whether action view branch was deleted ( #32764 )
...
Fix #32761

2024-12-12 19:28:23 +00:00
Chai-Shi
c9487a755b
Add "n commits" link to contributors in contributors graph page ( #32799 )
...
Fixes Issue #29365 and inherit PR #29429
- I should extend the #29429 fork but the fork is not synced, so I
created another PR.
- Use `silenced` class for the link, as in #29847
---------
Co-authored-by: Ben Chang <ben_chang@htc.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-12 19:02:54 +00:00
wxiaoguang
00e2b339b6
Fix "unicode escape" JS error ( #32806 )
...
<details>




</details>
---------
Co-authored-by: silverwind <me@silverwind.io>
2024-12-12 18:37:44 +00:00
Kemal Zebari
01b1896bf5
Implement update branch API ( #32433 )
...
Resolves #22526 .
Builds upon #23061 .
---------
Co-authored-by: sillyguodong <33891828+sillyguodong@users.noreply.github.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-12 05:02:35 +00:00
wxiaoguang
4814f43af7
Fix repo home file list ( #32788 )
...
1. use grid instead of table, completely drop "ui table" from that list
2. move some "commit sign" related styles into a new file by the way (no
change) because I need to figure out where `#repo-files-table` is used.
3. move legacy "branch/tag selector" related code into repo-legacy.ts,
now there are 13 `import $` files left.
2024-12-11 23:54:42 +08:00
Blender Defender
18061af490
Rearrange Clone Panel ( #31142 )
...
Rearrange the clone panel to use less horizontal space.
The following changes have been made to achieve this:
- Moved everything into the dropdown menu
- Moved the HTTPS/SSH Switch to a separate line
- Moved the "Clone in VS Code"-Button up and added a divider
- Named the dropdown button "Code", added appropriate icon
---------
Co-authored-by: techknowlogick <techknowlogick@gitea.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-11 21:54:30 +08:00
wxiaoguang
e619384098
Add label/author/assignee filters to the user/org home issue list ( #32779 )
...
Replace #26661 , fix #25979
Not perfect, but usable and much better than before. Since it is quite
complex, I am not quite sure whether there would be any regression, if
any, I will fix in first time.
I have tested the related pages many times: issue list, milestone issue
list, project view, user issue list, org issue list.
2024-12-11 06:33:24 +00:00