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 and GitHub
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
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
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 and GitHub
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 and GitHub
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 and GitHub
c09e43acf5
Fix closed dependency title ( #33285 ) ( #33287 )
...
Backport #33285
2025-01-15 16:05:01 +00:00
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
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
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
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
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
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 and GitHub
0fad40dd8c
Fix package error handling and npm meta and empty repo guide ( #33112 )
2025-01-06 14:17:28 +08:00
wxiaoguang and GitHub
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 and GitHub
e10d222434
Fix bleve fuzziness search ( #33078 ) ( #33087 )
2025-01-02 21:45:14 +00:00
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
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 and GitHub
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
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
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
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
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
e98dd6ee5b
Backport 1.23 ( #32868 )
...
Co-authored-by: delvh <dev.lh@web.de >
2024-12-17 11:58:27 +08:00
wxiaoguang and GitHub
d28a4843b8
Fix incomplete Actions status aggregations ( #32859 )
...
fix #32857
2024-12-16 11:18:00 +08:00
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
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
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 and GitHub
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 and GitHub
32059158da
Fix SSPI button visibility when SSPI is the only enabled method ( #32841 )
2024-12-15 09:41:36 +08:00
silverwind and GitHub
1a07ebe549
Fix overflow on org header ( #32837 )
2024-12-14 06:50:12 +00:00
wxiaoguang and GitHub
5bc030efa2
Fix various UI bugs ( #32821 )
2024-12-13 01:45:32 -05:00
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 and GitHub
6370d2fb93
Detect whether action view branch was deleted ( #32764 )
...
Fix #32761

2024-12-12 19:28:23 +00:00
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
00e2b339b6
Fix "unicode escape" JS error ( #32806 )
...
<details>




</details>
---------
Co-authored-by: silverwind <me@silverwind.io >
2024-12-12 18:37:44 +00:00
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 and GitHub
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
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 and GitHub
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
wxiaoguang and GitHub
8f271c6036
Fix wiki ui ( #32781 )
...
Fix #32774
2024-12-10 11:41:44 -05:00
wxiaoguang and GitHub
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)
2024-12-10 11:38:22 +08:00
wxiaoguang and GitHub
5675efb3e0
Fix duplicate dropdown dividers ( #32760 )
...
Fix #27466
The problem is that any item in the menu could be hidden, pure CSS won't
work, and dropdown's builtin "hideDividers" doesn't work with our "scope
dividers". The newly introduced "archived" label makes the dividers
regression more.
2024-12-09 07:54:59 +00:00
wxiaoguang and GitHub
c986718965
Fix repo home row-right grow ( #32763 )
...
Fix #32753
2024-12-09 00:16:32 +08:00
wxiaoguang and GitHub
23471e1333
Refactor issue list ( #32755 )
...
1. add backend support for filtering "poster" and "assignee"
* due to the limits, there is no frontend support at the moment
2. rewrite TS code without jquery, now there are 14 jQuery files left:
2024-12-08 20:44:17 +08:00
wxiaoguang and GitHub
96d3a03a08
Refactor LabelEdit ( #32752 )
...
And fix a regression:
https://github.com/go-gitea/gitea/pull/30053#discussion_r1874405470
Major changes:
* rewrite without jquery
* remove the "delete modal", using "link-action" is good enough
* merge "new modal" and "edit modal"
2024-12-08 02:35:28 +00:00
wxiaoguang and GitHub
513da407f4
Support "merge upstream branch" (Sync fork) ( #32741 )
...
Add basic "sync fork" support (GitHub-like)
<details>

</details>
2024-12-06 21:10:35 +00:00
faf5705d29
GitHub like repo home page ( #32213 )
...
Move some components (description, license, release, language stats) to sidebar
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2024-12-06 14:29:04 +00:00
wxiaoguang and GitHub
f7f68e4cc0
Refactor RepoActionView.vue, add ::group:: support ( #32713 )
...
1. make it able to "force reload", then the previous pending request
won't block the new request
2. make it support `::group::`
3. add some TS types (but there are still many variables untyped, this
PR is large enough, the remaining types could be added in the future)
2024-12-06 12:04:16 +08:00
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 >
2024-12-05 13:07:53 +00:00