Commit Graph

98 Commits (e91229eefbd09fecaebd0e058c3bfe7612a0bc61)

Author SHA1 Message Date
Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao c97d66d23c
Move repofiles from modules/repofiles to services/repository/files (#17774) 3 years ago
Lunny Xiao 0add627182
Fix close issue but time watcher still running (#17643) 3 years ago
Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
Lunny Xiao 5233051e64
Move some functions into services/repository (#17677) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
Lunny Xiao 48ccd325a1
Move some functions into services/repository (#17660) 3 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 3 years ago
Lunny Xiao 4a57c9ea17
Fix some lints (#17337) 3 years ago
a1012112796 bb39359668
Add a simple way to rename branch like gh (#15870) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
Kyle Evans cad70599a6
Refactor the fork service slightly to take ForkRepoOptions (#16744) 3 years ago
KN4CK3R d9ef43a712
Replace `list.List` with slices (#16311) 3 years ago
KN4CK3R aac663e0da
Implemented head_commit for webhooks (#16282) 3 years ago
KN4CK3R e673e42f7e
Fixed issues not updated by commits (#16254) 3 years ago
KN4CK3R 383ffcfa34
Small refactoring of modules/private (#15947) 3 years ago
Nils Dralle f374789fe2
Fix private repo permission problem (#16142) 4 years ago
Lunny Xiao 0909695204
Merge all deleteBranch as one function and also fix bug when delete branch don't close related PRs (#16067) 4 years ago
zeripath 51775f65bc
Make commit info cancelable (#16032) 4 years ago
a1012112796 b27a9d43a5
add permission check for ``GenerateRepository`` (#15946) 4 years ago
6543 a4148c0f12
Repository transfer has to be confirmed, if user can not create repo for new owner (#14792) 4 years ago
6543 a19447aed1
migrate from com.* to alternatives (#14103) 4 years ago
Cirno the Strongest 66379ba7ae
Send push event when tag is created or deleted (#13999) 4 years ago
zeripath f2f99a7d0c
Ensure that pusher is not nil preventing panic in push (#13945) 4 years ago
Lunny Xiao ab22ab4a37
Refactor push update (#13381) 4 years ago
Lunny Xiao a420beda2a
Fix a bug on refactoring (#13373) 4 years ago
Lunny Xiao 4df2ed29f2
Refactor: Move PushUpdateOptions (#13363) 4 years ago
zeripath 2d75d6f664
Move update-server-info to hooks (#12826) 4 years ago
Lunny Xiao 9b81193166
Cache last commit when pushing for big repository (#10109) 4 years ago
James Lakin 6fc129fe62
Fix repository create/delete event webhooks (#13008) 4 years ago
Tait Hoyem c85c9d40c2
Add config option to make create-on-push repositories public by default (#12936) 4 years ago
zeripath 7a7f56044a
Adopt repositories (#12920) 4 years ago
zeripath 037d5a33a0
Update only the repository columns that need updating (#12900) 4 years ago
Lunny Xiao dd1a651b58
Move all push update operations to a queue (#10133) 4 years ago
6543 13bc82009c
API endpoint for repo transfer (#9947) 5 years ago
Lunny Xiao f2d12f7b03
Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch (#9927) 5 years ago
Lunny Xiao d32eac44b1 Move RepoWorkingPool to services/repository package (#9754) 5 years ago
Lunny Xiao b465d0d787
Move create/fork repository from models to modules/repository (#9489) 5 years ago
John Olheiser 6715677b2b Push to create repo (#8419) 5 years ago
Lunny Xiao 77730db257
Move repoWorkPool outside rename/transfer repository (#9086) 5 years ago
John Olheiser 62bcb2b7f1 Add avatar and issue labels to template repositories (#9149) 5 years ago
John Olheiser e84326aaec Add git hooks and webhooks to template repositories; move to services (#8926) 5 years ago
Lunny Xiao 21ae9838e0
Move transfer repository and rename repository on a service package and start action notification (#8573) 5 years ago
John Olheiser 74a6add4d9 Template Repositories (#8768) 5 years ago
Lunny Xiao 9e85358777
Move some repositories' operations to a standalone service package (#8557) 5 years ago