gitea/models
Giteabot f164e38e04
Fix incorrect viewed files counter if file has changed (#36009) (#36047)
Backport #36009 by @bytedream

File changes since last review didn't decrease the viewed files counter

---
<img width="440" height="178" alt="image"
src="https://github.com/user-attachments/assets/da34fcf4-452f-4f71-8da2-97edbfc31fdd"
/>

Also reported here ->
https://github.com/go-gitea/gitea/issues/35803#issuecomment-3567850285

Co-authored-by: bytedream <me@bytedream.dev>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2025-11-28 11:33:37 +01:00
..
actions Add a doctor command to fix inconsistent run status (#35840) (#35845) 2025-11-04 11:16:36 -08:00
activities Fix incorrect pull request counter (#35819) (#35841) 2025-11-04 01:49:47 +00:00
admin Don't block site admin's operation if SECRET_KEY is lost (#35721) (#35724) 2025-10-22 05:02:47 +00:00
asymkey Fix incorrect pull request counter (#35819) (#35841) 2025-11-04 01:49:47 +00:00
auth Don't block site admin's operation if SECRET_KEY is lost (#35721) (#35724) 2025-10-22 05:02:47 +00:00
avatars Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
db Fix various typos in codebase (#35480) 2025-09-13 10:34:43 -04:00
dbfs Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
fixtures Add a doctor command to fix inconsistent run status (#35840) (#35845) 2025-11-04 11:16:36 -08:00
git Fix team member access check (#35899) (#35905) 2025-11-09 03:44:53 +00:00
issues Fix incorrect pull request counter (#35819) (#35841) 2025-11-04 01:49:47 +00:00
migrations Fix incorrect pull request counter (#35819) (#35841) 2025-11-04 01:49:47 +00:00
organization Fix team member access check (#35899) (#35905) 2025-11-09 03:44:53 +00:00
packages Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
perm Fix team member access check (#35899) (#35905) 2025-11-09 03:44:53 +00:00
project Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
pull Fix incorrect viewed files counter if file has changed (#36009) (#36047) 2025-11-28 11:33:37 +01:00
renderhelper Fix commit message rendering and some UI problems (#34680) 2025-06-10 23:20:32 +08:00
repo Fix incorrect pull request counter (#35819) (#35841) 2025-11-04 01:49:47 +00:00
secret Don't block site admin's operation if SECRET_KEY is lost (#35721) (#35724) 2025-10-22 05:02:47 +00:00
shared/types
system Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
unit Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
unittest Refactor db package (#35380) 2025-08-30 01:04:06 +08:00
user Fix various typos in codebase (#35480) 2025-09-13 10:34:43 -04:00
webhook Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
main_test.go
repo_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
repo.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00