forgejo/models
wxiaoguang 6f48a36227
Refactor GetNextResourceIndex to make it work properly with transaction (#21469)
Related:
* #21362

This PR uses a general and stable method to generate resource index (eg:
Issue Index, PR Index)

If the code looks good, I can add more tests

ps: please skip the diff, only have a look at the new code. It's
entirely re-written.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-10-16 18:44:16 +08:00
..
activities Add generic set type (#21408) 2022-10-12 13:18:26 +08:00
admin
appstate
asymkey
auth Allow creation of OAuth2 applications for orgs (#18084) 2022-10-09 20:07:41 +08:00
avatars
db Refactor GetNextResourceIndex to make it work properly with transaction (#21469) 2022-10-16 18:44:16 +08:00
fixtures Improve OAuth integration tests (#21390) 2022-10-12 12:22:43 +08:00
foreignreference
git
issues Refactor GetNextResourceIndex to make it work properly with transaction (#21469) 2022-10-16 18:44:16 +08:00
migrations Add generic set type (#21408) 2022-10-12 13:18:26 +08:00
organization
packages Add generic set type (#21408) 2022-10-12 13:18:26 +08:00
perm
project
pull
repo Add generic set type (#21408) 2022-10-12 13:18:26 +08:00
unit
unittest
user Make e-mail sanity check more precise (#20991) 2022-10-11 22:44:09 -04:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate.go Add generic set type (#21408) 2022-10-12 13:18:26 +08:00
migrate_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go Refactor GetNextResourceIndex to make it work properly with transaction (#21469) 2022-10-16 18:44:16 +08:00
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go
user.go