Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix test code (#33829) | wxiaoguang | 2025-03-10 | 1 | -0/+4 |
| | | | Do not use onGiteaRun if there is no git operation | ||||
* | Full-file syntax highlighting for diff pages (#33766) | Dustin Firebaugh | 2025-03-09 | 1 | -17/+20 |
| | | | | | | | | | | | | Fix #33358, fix #21970 This adds a step in the `GitDiffForRender` that does syntax highlighting for the entire file and then only references lines from that syntax highlighted code. This allows things like multi-line comments to be syntax highlighted correctly. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> | ||||
* | Use batch database operations instead of one by one to optimze api pulls ↵ | Lunny Xiao | 2024-12-11 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | (#32680) Resolve #31492 The response time for the Pull Requests API has improved significantly, dropping from over `2000ms` to about `350ms` on my local machine. It's about `6` times faster. A key area for further optimization lies in batch-fetching data for `apiPullRequest.ChangedFiles, apiPullRequest.Additions, and apiPullRequest.Deletions`. Tests `TestAPIViewPulls` does exist and new tests added. - This PR also fixes some bugs in `GetDiff` functions. - This PR also fixes data inconsistent in test data. For a pull request, the head branch's reference should be equal to the reference in `pull/xxx/head`. | ||||
* | Fix the logic of finding the latest pull review commit ID (#32139) | Zettat123 | 2024-10-01 | 1 | -0/+34 |
Fix #31423 |