forgejo/routers/private
John Olheiser 6715677b2b Push to create repo ()
* 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>
2019-12-15 10:49:52 +08:00
..
hook.go Branch protection: Possibility to not use whitelist but allow anyone with write access () 2019-12-03 20:08:56 -05:00
internal.go Use gitea forked macaron () 2019-08-23 12:40:29 -04:00
key.go Use gitea forked macaron () 2019-08-23 12:40:29 -04:00
push_update.go Move PushUpdateOptions from models to repofiles () 2019-11-29 10:21:05 +08:00
serv.go Push to create repo () 2019-12-15 10:49:52 +08:00