forgejo/models
Gusted f6c04d6b86
[GITEA] Make atomic ssh keys replacement robust
- After stumbling upon https://github.com/golang/go/issues/22397 and
reading the implementations I realized that Forgejo code doesn't have
`Sync()` and it doesn't properly error handle the `Close` function.
- (likely) Resolves https://codeberg.org/forgejo/forgejo/issues/1446

(cherry picked from commit 0efcb334c2)
(cherry picked from commit 04ef02c0dd)
(cherry picked from commit 85f2065c9b)
(cherry picked from commit 8d36b5cce6)
(cherry picked from commit 0f406dc4d2)
(cherry picked from commit 347a2e7372)
2023-10-30 14:44:21 +01:00
..
actions [CLI] implement forgejo-cli 2023-10-30 13:04:01 +01:00
activities Add Index to action.user_id (#27403) (#27425) 2023-10-04 08:53:00 +02:00
admin Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
asymkey [GITEA] Make atomic ssh keys replacement robust 2023-10-30 14:44:21 +01:00
auth [v1.21] [GITEA] Drop sha256-simd in favor of stdlib 2023-10-30 14:44:21 +01:00
avatars Refactor system setting (#27000) (#27452) 2023-10-05 10:37:59 +00:00
db [GITEA] Add slow SQL query warning 2023-10-30 14:44:20 +01:00
dbfs
fixtures [GITEA] Improve HTML title on repositories 2023-10-30 14:44:20 +01:00
forgejo/semver [UPGRADE] add sanity checks for [storage*] 2023-10-30 13:54:48 +01:00
forgejo_migrations [SEMVER] store SemVer in ForgejoSemVer after a database upgrade 2023-10-30 13:54:48 +01:00
git Upgrade xorm to 1.3.4 (#27807) (#27813) 2023-10-27 14:17:27 +02:00
issues [GITEA] enable system users for comment.LoadPoster 2023-10-30 14:44:21 +01:00
migrations [v1.21] [GITEA] Drop sha256-simd in favor of stdlib 2023-10-30 14:44:21 +01:00
organization Another round of db.DefaultContext refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
packages move repository deletion to service layer (#26948) 2023-09-08 04:51:15 +00:00
perm move repository deletion to service layer (#26948) 2023-09-08 04:51:15 +00:00
project More db.DefaultContext refactor (#27265) (#27347) 2023-09-29 13:35:01 +00:00
pull
repo [GITEA] Use restricted sanitizer for repository description 2023-10-30 14:44:21 +01:00
secret
shared/types
system Refactor system setting (#27000) (#27452) 2023-10-05 10:37:59 +00:00
unit
unittest [TESTS] tests.AddFixtures helper loads additional per-test fixtures 2023-10-30 13:54:48 +01:00
user [GITEA] enable system users search via the API 2023-10-30 14:44:21 +01:00
webhook
error.go
fixture_generation.go Fix yaml test (#27297) (#27303) 2023-09-27 15:05:35 +08:00
fixture_test.go Fix yaml test (#27297) (#27303) 2023-09-27 15:05:35 +08:00
main_test.go move repository deletion to service layer (#26948) 2023-09-08 04:51:15 +00:00
org.go
org_team.go Use db.WithTx for AddTeamMember to avoid ctx abuse (#27095) 2023-09-16 12:54:23 +00:00
org_team_test.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
org_test.go
repo.go Refactor system setting (#27000) (#27452) 2023-10-05 10:37:59 +00:00
repo_test.go
repo_transfer.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
repo_transfer_test.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00