Lunny Xiao
7fd34c0517
fix lfs version check warning log when using ssh protocol ( #5501 )
6 years ago
Lunny Xiao
af6bce3ad5
fix detect force push failure on deletion of protected branches ( #5522 )
6 years ago
Lunny Xiao
0ba57949e4
remove unused db init on commands serv, update, hooks ( #5225 )
6 years ago
Lunny Xiao
a2ee2a3c67
fix showing pull request link when delete a branch ( #5166 )
6 years ago
Julien Tant
dea3d849e1
Give user a link to create PR after push ( #4716 )
...
* Give user a link to create PR after push
* Forks now create PR in the base repository + make sure PR creation is allowed
* fix code style
6 years ago
Morgan Bazalgette
2b52f77e1b
General refactor of the cmd package ( #3328 )
...
* General refactor of the cmd package
* Address breakage in runCreateUser
* Place "common" functions into cmd.go
7 years ago
Lunny Xiao
9ddbbd9d5a
improve force push detect when push ( #2798 )
7 years ago
Lunny Xiao
1739e84ac0
improve protected branch to add whitelist support ( #2451 )
...
* improve protected branch to add whitelist support
* fix lint
* fix style check
* fix tests
* fix description on UI and import
* fix test
* bug fixed
* fix tests and languages
* move isSliceInt64Eq to util pkg; improve function names & typo
7 years ago
Lunny Xiao
1773e88643
Drop db operations from hook commands ( #1514 )
...
* move all database operations from hook command to web command and instead of internal routes
* bug fixed
* adjust the import path sequences
* remove unused return value on hookSetup
8 years ago
Lunny Xiao
cfdc62e7fa
Comment force push detect to fix bug #1073 ( #1077 )
...
* umcomment force push detect to fix bug #1073
* fix #1086
* handle global config set and fix #1086
8 years ago
Lunny Xiao
9084bdd863
fix push ( #1076 )
8 years ago
Lunny Xiao
cd1821a7e2
Move push update to post-receive and protected branch check to pre-receive ( #1030 )
...
* move all push update to git hook post-receive and protected branch check to git hook pre-receive
* add SSH_ORIGINAL_COMMAND check back
* remove all unused codes
* fix the import
8 years ago
Lunny Xiao
0e6b9ea786
Take back control of hooks ( #1006 )
...
* git: delegate all server-side Git hooks (#1623 )
* create hooks directories
* take control hooks back
* fix lint
* bug fixed and minor changes
* fix imports style
* fix migration scripts
8 years ago