Commit Graph

19464 Commits

Author SHA1 Message Date
Tyrone Yeh
f27ca985f2
Fix unit test 2025-07-24 14:22:22 +08:00
Tyrone Yeh
93e159fdfa
Fix lint check error 2025-07-24 14:14:54 +08:00
Tyrone Yeh
420b8520d2
Fix unit test 2025-07-24 13:49:13 +08:00
Tyrone Yeh
1e51590711
Modify indexer json field name 2025-07-23 10:13:38 +08:00
Tyrone Yeh
0b78ae4161
Fix LoadProjects function 2025-05-26 09:04:53 +08:00
Tyrone Yeh
57957ecb64
Fix creating new issue redirect link from project 2025-05-26 08:59:30 +08:00
Tyrone Yeh
5c1bc2defc
Revert "Rename variable projectIDs to ids"
This reverts commit 7e6750e998.
2025-05-12 10:29:14 +08:00
Tyrone Yeh
7e6750e998
Rename variable projectIDs to ids 2025-05-12 08:22:09 +08:00
Tyrone Yeh
967a233cbe
Rename LoadProject to LoadProjects 2025-05-11 15:10:44 +08:00
Tyrone Yeh
d132f84323
Change db.Exec to Update method 2025-05-09 15:59:24 +08:00
Tyrone Yeh
388533f97a
Fix list project item has icon issue 2025-05-09 15:20:55 +08:00
Tyrone Yeh
ec78073456
Fix on issue list clear project issue 2025-05-09 14:45:45 +08:00
Tyrone Yeh
4c72c32f9b
Improve string join code for projects id 2025-05-09 14:29:18 +08:00
Tyrone Yeh
e912b7e3db
Improve adjust A to B project bug 2025-05-09 08:45:37 +08:00
Tyrone Yeh
cce417c3a4
Adjuect from Cols to Select 2025-05-08 15:20:24 +08:00
Tyrone Yeh
41be926458
Fix unit test on TestIssueLoadAttributes 2025-05-08 13:27:21 +08:00
Tyrone Yeh
f5717d045c
Fix unit test on Test_Projects fail 2025-05-08 13:19:58 +08:00
Tyrone Yeh
ef8fa684b1
Fix unit test on TestIssueList_LoadAttributes 2025-05-08 11:56:49 +08:00
Tyrone Yeh
0365eecd36
Fix no project filter list issue 2025-05-08 10:57:42 +08:00
Tyrone Yeh
be48c8bada
Try fix unit test issue 2025-05-07 16:32:34 +08:00
Tyrone Yeh
6a272eb0f4
Try fix unit test fail 2025-05-07 15:31:23 +08:00
Tyrone Yeh
4f2532de42
Improject filter search method 2025-05-07 15:24:40 +08:00
Tyrone Yeh
1f43f8a566
Fix search empty issue 2025-05-07 14:55:42 +08:00
Tyrone Yeh
e75c510cb2
Remove lessuse code 2025-05-07 13:27:14 +08:00
Tyrone Yeh
f839864ee5
Fix add issue to multiple project issue 2025-05-07 13:24:24 +08:00
Tyrone Yeh
18f2d469d9
Fix lint issue 2025-05-07 13:15:35 +08:00
Tyrone Yeh
a82a39d322
Try fixing your unit tests 2025-05-07 12:25:12 +08:00
Tyrone Yeh
3a2ffcbc97
Fix board column move issue 2025-05-07 10:41:18 +08:00
Tyrone Yeh
d48061bb19
Added multi-project feature 2025-05-07 09:02:35 +08:00
Yarden Shoham
6bd8fe5353
Bump @github/relative-time-element to v4.4.7 (#34384)
Tested, it works as before.
Changelog:
https://github.com/github/relative-time-element/releases/tag/4.4.7

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
2025-05-06 12:44:25 -04:00
6543
a2024953c5
gitignore: Visual Studio settings folder (#34375) 2025-05-06 03:29:48 -04:00
NorthRealm
6b2c506e05
Grey out expired artifact on Artifacts list (#34314)
Grey out expired artifact on Artifacts list.

![1](https://github.com/user-attachments/assets/79c00e39-29f5-4264-b7b2-7ed638ab71c1)

![2](https://github.com/user-attachments/assets/686b745f-d6d7-4921-8e1b-3472ac8b6c17)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-05-05 21:53:17 -07:00
bytedream
12bf0b8e42
Fix only text/* being viewable in web UI (#34374)
Regression from #34356, files like SVGs should be editable too
(https://github.com/go-gitea/gitea/pull/34356#discussion_r2072766240).
2025-05-06 00:15:22 +03:00
Tobias Balle-Petersen
712fccadd6
add maintainer tobiasbp (#34372)
This PR adds me as a _maintainer_ as suggested by @techknowlogick. 

A couple of my recent PRs:
* https://github.com/go-gitea/gitea/pull/34324
* https://github.com/go-gitea/gitea/pull/34323
2025-05-05 09:17:45 -07:00
GiteaBot
833c2a432b [skip ci] Updated translations via Crowdin 2025-05-05 00:38:37 +00:00
Lunny Xiao
62f73491f3
Use lfs label for lfs file rather than a long description (#34363)
Before


![image](https://github.com/user-attachments/assets/ed6c9221-5a6a-4717-8178-e5528fd180bf)

After


![image](https://github.com/user-attachments/assets/baa94350-ead4-46bf-b4b7-1bfd3aa5dcac)
2025-05-05 00:07:29 +03:00
Lunny Xiao
51aafb4278
Fix bug when API get pull changed files for deleted head repository (#34333) 2025-05-04 19:17:17 +00:00
Lunny Xiao
41f3d062a2
Fix bug when visiting comparation page (#34334)
The `ci.HeadGitRepo` was opened and closed in the function
`ParseCompareInfo` but reused in the function `PrepareCompareDiff`.
2025-05-04 18:52:00 +00:00
bytedream
180aa00abf
Fix LFS files being editable in web UI (#34356)
It's possible to edit "raw" lfs files in the web UI when accessing the path manually.

![image](https://github.com/user-attachments/assets/62610e9e-24db-45ec-ad04-28062073164c)
2025-05-04 11:23:28 -07:00
Yarden Shoham
3446f14ba0
Bump @github/relative-time-element to v4.4.6 (#34352)
Tested, it works as before.

Changelog:
https://github.com/github/relative-time-element/releases/tag/v4.4.6

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
2025-05-03 10:31:16 -07:00
bytedream
cbb2e52911
Fix repo search input height (#34330)
before:

![before](https://github.com/user-attachments/assets/1abdcb8a-d005-4f35-8d2e-1581fde26e0c)

after:

![after](https://github.com/user-attachments/assets/41dab645-c5a7-4c45-9215-1340fb411130)


The difference is minimal, only a few pixels above and beneath, but it
stands out when switching fast between the tabs on the explore route.
2025-05-01 20:41:54 +00:00
Tobias Balle-Petersen
3e49fba578
feat: return time of last usage for public keys and access tokens in the api (#34323)
In the Gitea GUI, the user can see the time that _AccessTokens_ and
_PublicKeys_ were last used. This information is not returned by the
_/users/{username}/tokens_ and _/user/keys_ endpoints in the API. This
PR adds the missing data.

The time of last usage for for _tokens_ & _keys_ seem to be stored in
the _Updated_ field of the structs internally. For consistency, I have
used the name _updated_at_ for the new field returned by the _API_.
However, for the _API_ user, I don't think that name reflects the data
returned, as I believe it is the time of last usage. I propose that we
use the name _last_used_at_ instead. Let's hear reviewers opinion on
that.

* PublicKey
  1. _last_used_at_: string($date-time)
* AccessToken
  1. _created_at_: string($date-time) (for parity with public keys)
  2. _last_used_at_: string($date-time)

Fix #34313
2025-05-01 21:42:17 +03:00
Tobias Balle-Petersen
e67f74efc8
fix: do not return archive download URLs in API if downloads are disabled (#34324)
If archive downloads are are disabled using
_DISABLE_DOWNLOAD_SOURCE_ARCHIVES_, archive links are still returned by
the API.

This PR changes the data returned, so the fields _zipball_url_ and
_tarball_url_ are omitted if archive downloads have been disabled.

Resolve #32159
2025-04-30 10:06:37 -07:00
wxiaoguang
ba5c3f8087
Fix some dropdown problems on the issue sidebar (#34308)
Also fix #34300
2025-04-30 02:00:36 +00:00
GiteaBot
ce6699db01 [skip ci] Updated translations via Crowdin 2025-04-30 00:35:28 +00:00
Kerwin Bryant
1f52304f90
Fix button alignments (#34307)
Continue with #34206.
2025-04-29 16:57:47 +00:00
Mingzhu Yan
7bd2ce7109
fix go version (#34299)
go cmd will download and cache a copy of the Go toolchain, go1.24 is not
a valid version since https://github.com/golang/go/issues/57631.
2025-04-29 12:24:53 +00:00
Lunny Xiao
648df8a5e1
Fix the ci build (#34309)
Fix
https://github.com/go-gitea/gitea/actions/runs/14722306878/job/41318217870

A fork has been created under https://gitea.com/gitea/go-xsd-duration
2025-04-28 20:47:16 -07:00
Kerwin Bryant
2b76993415
support the open-icon of folder (#34168)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-04-28 19:51:32 -07:00
Lunny Xiao
44d7d2973a
Fix wrong review requests when updating the pull request (#34286)
Fix #34224

The previous implementation in #33744 will get the pushed commits
changed files. But it's not always right when push a merged commit. This
PR reverted the logic in #33744 and will always get the PR's changed
files and get code owners.
2025-04-28 22:57:56 +00:00