forgejo/models
Gusted 38c812acff
[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 378dc30fb5)
(cherry picked from commit 2b28bf826e)
(cherry picked from commit d0625a001e)
(cherry picked from commit f161a4f60f)
(cherry picked from commit 7430ca43e5)
(cherry picked from commit ab6d38daf7)
(cherry picked from commit 0f703fd02e)
(cherry picked from commit 6931a8f6bb)
(cherry picked from commit 5e2065c1c0)
2024-01-01 15:20:56 +01:00
..
actions [CLI] implement forgejo-cli 2024-01-01 13:02:36 +01:00
activities Refactor timeutil package (#28623) 2023-12-28 10:09:57 +00:00
admin
asymkey [GITEA] Make atomic ssh keys replacement robust 2024-01-01 15:20:56 +01:00
auth [GITEA] Drop sha256-simd in favor of stdlib 2024-01-01 15:20:56 +01:00
avatars Refactor some legacy code and remove unused code (#28622) 2023-12-28 09:38:59 +00:00
db [GITEA] Add slow SQL query warning 2024-01-01 15:20:56 +01:00
dbfs
fixtures [GITEA] Improve HTML title on repositories 2024-01-01 15:20:55 +01:00
forgejo/semver [SEMVER] store SemVer in ForgejoSemVer after a database upgrade 2024-01-01 13:50:27 +01:00
forgejo_migrations [SECURITY] Rework long-term authentication 2024-01-01 13:50:30 +01:00
git Refactor some legacy code and remove unused code (#28622) 2023-12-28 09:38:59 +00:00
issues [FEAT] allow setting the update date on issues and comments 2024-01-01 13:50:27 +01:00
migrations [GITEA] Drop sha256-simd in favor of stdlib 2024-01-01 15:20:56 +01:00
organization Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 2023-12-07 15:27:36 +08:00
packages Revert "packages: Calculate package size quota using package creator ID instead of owner ID (#28007)" (#28049) 2023-11-14 16:03:56 +01:00
perm
project
pull
repo [GITEA] Improve HTML title on repositories 2024-01-01 15:20:55 +01:00
secret
shared/types
system Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
unit
unittest [TESTS] tests.AddFixtures helper loads additional per-test fixtures 2024-01-01 13:50:27 +01:00
user [GITEA] notifies admins on new user registration 2024-01-01 15:20:56 +01:00
webhook Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
org_team.go
org_team_test.go
org_test.go
repo.go Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
repo_test.go
repo_transfer.go
repo_transfer_test.go