gitea/services/repository
ChristopherHX c9505a26b9
Improve instance wide ssh commit signing (#34341)
* Signed SSH commits can look in the UI like on GitHub, just like gpg keys today in Gitea
* SSH format can be added in gitea config
* SSH Signing worked before with DEFAULT_TRUST_MODEL=committer

`TRUSTED_SSH_KEYS` can be a list of additional ssh public key contents
to trust for every user of this instance

Closes #34329
Related #31392

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-06-11 10:32:55 +00:00
..
archiver Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
commitstatus Keeping consistent between UI and API about combined commit status state and fix some bugs (#34562) 2025-06-09 04:05:33 +00:00
files Improve instance wide ssh commit signing (#34341) 2025-06-11 10:32:55 +00:00
gitgraph Split GetLatestCommitStatus as two functions (#34535) 2025-05-26 19:00:22 +00:00
adopt.go Do not mutate incoming options to SearchRepositoryByName (#34553) 2025-06-02 17:33:25 +00:00
adopt_test.go Rework create/fork/adopt/generate repository to make sure resources will be cleanup once failed (#31035) 2025-04-07 22:12:54 -07:00
avatar.go Only git operations should update `last changed` of a repository (#34388) 2025-05-11 19:18:46 +00:00
avatar_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
branch.go Fix incorrect divergence cache after switching default branch (#34370) 2025-05-08 18:00:29 +00:00
cache.go Always enable caches (#28527) 2023-12-19 09:29:05 +00:00
check.go Remove context from git struct (#33793) 2025-03-04 11:56:11 -08:00
collaboration.go Move team related functions to service layer (#32537) 2024-11-27 21:12:26 +00:00
collaboration_test.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 2024-11-07 11:28:11 +08:00
commit.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
contributors_graph.go Remove context from git struct (#33793) 2025-03-04 11:56:11 -08:00
contributors_graph_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
create.go Only git operations should update `last changed` of a repository (#34388) 2025-05-11 19:18:46 +00:00
create_test.go Fix bug when migrating repository (#34182) 2025-04-14 04:48:03 +00:00
delete.go Do not mutate incoming options to SearchRepositoryByName (#34553) 2025-06-02 17:33:25 +00:00
delete_test.go Delete repos of org when purge delete user (#27273) 2023-10-19 13:16:11 +00:00
fork.go Only git operations should update `last changed` of a repository (#34388) 2025-05-11 19:18:46 +00:00
fork_test.go Refactor some tests (#34580) 2025-06-03 01:26:19 +00:00
generate.go Fix some trivial problems (#34579) 2025-06-02 15:22:43 +00:00
generate_test.go Fix some trivial problems (#34579) 2025-06-02 15:22:43 +00:00
hooks.go Don't create duplicated functions for code repositories and wiki repositories (#33924) 2025-03-19 11:17:19 -07:00
init.go Improve instance wide ssh commit signing (#34341) 2025-06-11 10:32:55 +00:00
lfs.go Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 2024-02-24 06:55:19 +00:00
lfs_test.go Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +00:00
license.go Only keep popular licenses (#33832) 2025-03-10 06:40:37 +08:00
license_test.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
merge_upstream.go Improve sync fork behavior (#33319) 2025-01-20 15:17:47 +08:00
migrate.go Performance optimization for tags synchronization (#34355) 2025-05-22 13:54:42 -07:00
push.go Performance optimization for tags synchronization (#34355) 2025-05-22 13:54:42 -07:00
repo_team.go Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00
repo_team_test.go Move team related functions to service layer (#32537) 2024-11-27 21:12:26 +00:00
repository.go Only git operations should update `last changed` of a repository (#34388) 2025-05-11 19:18:46 +00:00
repository_test.go Move and rename UpdateRepository (#34136) 2025-04-12 18:22:18 +00:00
setting.go Fix auto concurrency cancellation skips commit status updates (#33764) 2025-03-10 15:58:48 -07:00
template.go Only git operations should update `last changed` of a repository (#34388) 2025-05-11 19:18:46 +00:00
transfer.go Only git operations should update `last changed` of a repository (#34388) 2025-05-11 19:18:46 +00:00
transfer_test.go Check user/org repo limit instead of doer (#34147) 2025-04-07 23:45:31 -07:00