ychao_1983
a9db0f6725
提交代码
2 years ago
chenyifan01
ea59e675ea
新建非启智项目申请页面项目路径可选的用户和组织
2 years ago
chenyifan01
dd6d1dbf0f
新建非启智项目申请页面提交02
2 years ago
chenyifan01
73c4d22fdd
新建启智项目申请页面提交
2 years ago
chenyifan01
7c5434cf11
#3364
repo-square:fix bug
3 years ago
chenyifan01
73ddd9e7bf
#3169
repo-square:change setting name
3 years ago
chenyifan01
e526cfd817
#3169
repo-square:add internal api
3 years ago
chenyifan01
0c3dd7e968
#3169
bug fix
3 years ago
chenyifan01
0cfbbf06c5
#3169
repo square:improve loading speed
3 years ago
chenyifan01
6c7aa78671
#3169
update
3 years ago
chenyifan01
3dc5fee4b4
#3169
update
3 years ago
chenyifan01
1dee795c0e
#3169
add contributors cache
3 years ago
chenyifan01
400cf927b1
Merge remote-tracking branch 'origin/repo-square' into repo-square
3 years ago
chenyifan01
e8e6cf6b6d
#3169
add contributors in repo search result
3 years ago
chenshihai
c1e4adada7
Merge remote-tracking branch 'origin/V20221214' into repo-square
3 years ago
chenyifan01
8e7aff452a
#3169
update
3 years ago
chenyifan01
363dc27fa5
#3169
update
3 years ago
chenyifan01
788f8807fc
#3188
add active org list query api
3 years ago
chenyifan01
b7d03ff367
#3188
add active user list query api
3 years ago
chenyifan01
c08838caee
#3188
update
3 years ago
chenyifan01
1361b3915f
#3188
update
3 years ago
zouap
befad377f7
推荐项目类别增加中英文
Signed-off-by: zouap <zouap@pcl.ac.cn>
3 years ago
zouap
007dac6c33
首页改版新功能。
Signed-off-by: zouap <zouap@pcl.ac.cn>
3 years ago
zouap
55e3f673a4
首页改版新功能。
Signed-off-by: zouap <zouap@pcl.ac.cn>
3 years ago
zouap
cded6a3932
首页改版新功能。
Signed-off-by: zouap <zouap@pcl.ac.cn>
3 years ago
zouap
aaac5be7cb
首页改版新功能。
Signed-off-by: zouap <zouap@pcl.ac.cn>
3 years ago
zouap
ad72c3a49c
模板添加邀请界面
Signed-off-by: zouap <zouap@pcl.ac.cn>
3 years ago
ychao_1983
a1c59d0a8f
提交代码
3 years ago
zouap
2d8f9d3ba5
提高首页访问速度。
Signed-off-by: zouap <zouap@pcl.ac.cn>
3 years ago
zouap
f94c40a7f0
捕获异常
Signed-off-by: zouap <zouap@pcl.ac.cn>
3 years ago
chenyifan01
67da0c16f9
update
3 years ago
chenyifan01
9731860d9c
#1639
add file total size limit
3 years ago
chenyifan01
d38f55927b
#1639
add error msg for shell
3 years ago
chenyifan01
2e405768a9
#1639
add repo total size limit
3 years ago
ychao_1983
7c3d70a654
精品课程通过课程名查找仓库
3 years ago
ychao_1983
b0febe62c9
merge
3 years ago
chenyifan01
66913993cd
#1392
fix bug
3 years ago
ychao_1983
05eb0a31a9
提交代码
3 years ago
ychao_1983
c802b47c27
千校计划后端代码合入
3 years ago
chenyifan01
8dd288ecb4
fix bug
3 years ago
chenyifan01
714945ca55
#719
add notice
4 years ago
6543
13bc82009c
API endpoint for repo transfer ( #9947 )
* squash
* optimize
* fail before make any changes
* fix-header
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 )
* fix pull view when head repository or head branch missed and close related pull requests when delete branch
* fix pull view broken when head repository deleted
* close pull requests when head repositories deleted
* Add tests for broken pull request head repository or branch
* fix typo
* ignore special error when close pull request
Co-authored-by: Lauris BH <lauris@nix.lv>
5 years ago
Lunny Xiao
d32eac44b1
Move RepoWorkingPool to services/repository package ( #9754 )
* Move RepoWorkingPool to services/repository package
* Make repoWorkingPool private
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
5 years ago
Lunny Xiao
b465d0d787
Move create/fork repository from models to modules/repository ( #9489 )
* Move create/fork repository from models to modules/repository
* fix wrong reference
* fix test
* fix test
* fix lint
* Fix DBContext
* remove duplicated TestMain
* fix lint
* fix conflicts
5 years ago
John Olheiser
6715677b2b
Push to create repo ( #8419 )
* Refactor
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add push-create to SSH serv
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Cannot push for another user unless admin
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Get owner in case admin pushes for another user
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Set new repo ID in result
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update to service and use new org perms
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move pushCreateRepo to services
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix import order
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Changes for @guillep2k
* Check owner (not user) in SSH
* Add basic tests for created repos (private, not empty)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
6 years ago
Lunny Xiao
77730db257
Move repoWorkPool outside rename/transfer repository ( #9086 )
* Move repoWorkPool outside rename/transfer repository
* fix import
* Fix test
6 years ago
John Olheiser
62bcb2b7f1
Add avatar and issue labels to template repositories ( #9149 )
* Add avatar and issue labels
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix redundant if-err
Signed-off-by: jolheiser <john.olheiser@gmail.com>
6 years ago
John Olheiser
e84326aaec
Add git hooks and webhooks to template repositories; move to services ( #8926 )
* Add git hooks and webhooks to template options
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update models/repo.go
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Add tooltip if the user can't edit git hooks
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Close repositories after copying git hooks
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Wording
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Restructure for services
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Return errors
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move GenerateRepository to using a DBContext
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Wrap with models.WithTx
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Remove debug print
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move if-error-delete-repo outside WithTx
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Return nil if no repo generated
Signed-off-by: jolheiser <john.olheiser@gmail.com>
6 years ago
Lunny Xiao
21ae9838e0
Move transfer repository and rename repository on a service package and start action notification ( #8573 )
* move transfer repository and rename repository on a service package and start action notification
* remove unused codes
* fix lint
* fix bugs
* fix test
* fix test
* fix test
* fix lint
* update go mod and sum
6 years ago