You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers
Chai-Shi 1a95d9d6a1
fix empty repo updated time (#33120)
fixes #33119 

routers/web/repo/view_home.go

![image](https://github.com/user-attachments/assets/b0d6c5f5-7abc-478a-8d41-4b44dbd460aa)

Calling `updateContextRepoEmptyAndStatus` will always ask the DB to
update the updated Unix attributes.
When revisiting the repo's home page, the timestamp will be updated
unexpectedly, so I added the needsUpdate variable to check whether, in
the end, the commitment to db update is necessary if columns have not
changed at all.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 month ago
..
api Refactor package (routes and error handling, npm peer dependency) (#33111) 1 month ago
common Fix bleve fuzziness search (#33078) 1 month ago
install Refactor request context (#32956) 2 months ago
private [Feature] Private README.md for organization (#32872) 2 months ago
utils
web fix empty repo updated time (#33120) 1 month ago
init.go Add sub issue list support (#32940) 2 months ago