forgejo/models
Gusted f0abba3eef fix: use buffered iterate for debian searchpackages
- The driver being used for PostgreSQL doesn't handle interleaved
queries (you start a query, read some rows and start another query while
you didn't finish that query yet), this is the case with using
`.Iterate` from XORM.
- Switch to a variant of what exist in the current codebase of
`db.Iterate`, which is a simple buffered iteration and doesn't keep
queries open, which allow other database operations to happen.
- Unit test added. This doesn't cover that postgres does not error on
this case, as this is not run with a postgres database.
- Resolves #5696

(cherry picked from commit 459ab11a8a)
2024-10-27 00:10:02 +00:00
..
actions Always update expiration time when creating an artifact (#32281) 2024-10-22 07:28:30 +02:00
activities fix: correct SQL query for active issues 2024-10-20 23:31:54 +00:00
admin
asymkey Merge pull request '[gitea] week 2024-34 cherry pick (gitea/main -> forgejo)' (#4998) from earl-warren/wcp/2024-34 into forgejo 2024-08-20 06:32:09 +00:00
auth [FEAT] Add support for webauthn credential level 3 2024-08-29 10:05:03 +02:00
avatars chore(build): use a stable mirror for go-libravatar 2024-09-14 09:58:49 +02:00
db style: reenable switch check 2024-08-18 15:19:01 +02:00
dbfs
fixtures fix: Add recentupdated as recognized sort option 2024-10-20 10:58:07 +00:00
forgefed
forgejo/semver
forgejo_migrations [FEAT] Add support for webauthn credential level 3 2024-08-29 10:05:03 +02:00
git Merge pull request '[gitea] week 2024-34 cherry pick (gitea/main -> forgejo)' (#4998) from earl-warren/wcp/2024-34 into forgejo 2024-08-20 06:32:09 +00:00
issues Fix the logic of finding the latest pull review commit ID (#32139) 2024-10-06 11:34:08 +02:00
migrations Fix linting issues 2024-08-18 16:25:13 +02:00
organization fix: Add recentupdated as recognized sort option 2024-10-20 10:58:07 +00:00
packages fix: use buffered iterate for debian searchpackages 2024-10-27 00:10:02 +00:00
perm
project Fix the display of project type for deleted projects (#31732) 2024-08-04 10:14:34 +02:00
pull
quota feat: Trivial default quota configuration 2024-08-26 13:25:34 +02:00
repo fix: Add recentupdated as recognized sort option 2024-10-20 10:58:07 +00:00
secret Clarify Actions resources ownership (#31724) 2024-08-04 18:24:10 +02:00
shared/types
system
unit i18n: UX improvements: Team permissions and issue closing 2024-09-24 19:03:30 +02:00
unittest
user Fix bug when a token is given public only 2024-10-11 05:24:23 +03:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go
repo_transfer_test.go