Commit Graph

178 Commits (7bd127522ff8911e57ce36a35bbed4a823b2034f)

Author SHA1 Message Date
Henry Goodman 12cb1d2998
Allow force push to protected branches (#28086) 4 months ago
wxiaoguang 43c7a2e7b1
Refactor names (#31405) 5 months ago
Lunny Xiao ebf0c96940
Move database operations of merging a pull request to post receive hook and add a transaction (#30805) 6 months ago
wxiaoguang 7c613f100e
Make sure git version&feature are always prepared (#30877) 6 months ago
silverwind 610802df85
Fix tautological conditions (#30735) 7 months ago
Chongyi Zheng e80466f734
Resolve lint for unused parameter and unnecessary type arguments (#30750) 7 months ago
silverwind 9b2536b78f
Update misspell to 0.5.1 and add `misspellings.csv` (#30573) 7 months ago
silverwind 74f0c84fa4
Enable more `revive` linter rules (#30608) 7 months ago
wxiaoguang 3feba9f1f4
Allow everyone to read or write a wiki by a repo unit setting (#30495) 7 months ago
Lunny Xiao 263a716cb5
Performance optimization for git push (#30104) 7 months ago
wxiaoguang 83f83019ef
Clean up log messages (#30313) 7 months ago
Lunny Xiao 538790ad1d
Put an edit file button on pull request files to allow a quick operation (#29697) 8 months ago
Jason Song f371f84fa3
Restore deleted branches when syncing (#29898) 8 months ago
Jason Song e6d141182f
Sync branches first (#29714) 8 months ago
Lunny Xiao 25b842df26
Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 8 months ago
Jason Song 5bdf805e05
Sync branches to DB immediately when handle git hook calling (#29493) 8 months ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
yp05327 f8c1efe944
Fix logic error from #28138 (#29417) 9 months ago
wxiaoguang 1ef87773b1
Refactor modules/git global variables (#29376) 9 months ago
Lunny Xiao b79c30435f
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) 9 months ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 10 months ago
Lunny Xiao 4eb2a29910
Improve ObjectFormat interface (#28496) 11 months ago
Lunny Xiao 408a484224
Adjust object format interface (#28469) 11 months ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 11 months ago
Jason Song 0a2b93d411
Fix typo "GetLatestRunnerToken" (#27680) 1 year ago
JakobDev 76a85a4ce9
Final round of `db.DefaultContext` refactor (#27587) 1 year ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
Lunny Xiao 3b2da7e4ae
Redefine the meaning of column is_active to make Actions Registration Token generation easier (#27143) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
CaiCandong 815d267c80
Fix verifyCommits error when push a new branch (#26664) 1 year ago
Lunny Xiao b167f35113
Add context parameter to some database functions (#26055) 1 year ago
Earl Warren ad4c09b59f
parseScope with owner/repo always sets owner to zero (#25987) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
Lunny Xiao f9cfd6ce5b
Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 1 year ago
wxiaoguang 979f08053f
Fix logger refactoring regression: manager logging add (#24847) 2 years ago
Brecht Van Lommel 3588edbb08
Add gitea manager reload-templates command (#24843) 2 years ago
wxiaoguang ec2a01d1e2
Fix regression: access log template, gitea manager cli command (#24838) 2 years ago
wxiaoguang 4647660776
Rewrite logger system (#24726) 2 years ago
wxiaoguang b9a97ccd0e
Refactor web route (#24080) 2 years ago
techknowlogick 4014200021
add CLI command to register runner tokens (#23762) 2 years ago
wxiaoguang f4538791f5
Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" (#23687) 2 years ago
Jason Song 04347eb810
Use context parameter in services/repository (#23186) 2 years ago
Lunny Xiao c53ad052d8
Refactor the setting to make unit test easier (#22405) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
Jason Song 4011821c94
Implement actions (#21937) 2 years ago
Brecht Van Lommel 3ff5a6a365
Fix missing message in git hook when pull requests disabled on fork (#22625) 2 years ago
KN4CK3R 21dd4a252a
Prevent multiple `To` recipients (#22566) 2 years ago
Lunny Xiao 2782c14396
Supports wildcard protected branch (#20825) 2 years ago
Jason Song 7adc2de464
Use context parameter in models/git (#22367) 2 years ago