1
0
Fork 0
forgejo/routers
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>
2019-12-15 10:49:52 +08:00
..
admin Graceful: Cancel Process on monitor pages & HammerTime (#9213) 2019-11-30 16:40:22 +02:00
api/v1 Remove SavePatch and generate patches on the fly (#9302) 2019-12-13 23:21:06 +01:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
org site admin could view org's members (#9346) 2019-12-14 01:36:59 -05:00
private Push to create repo (#8419) 2019-12-15 10:49:52 +08:00
repo Push to create repo (#8419) 2019-12-15 10:49:52 +08:00
routes Make repository management section handle lfs locks (#8726) 2019-12-12 21:18:07 +08:00
user site admin could view org's members (#9346) 2019-12-14 01:36:59 -05:00
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
home.go Explore page: Add topic param to pagination (#9077) (#9078) 2019-11-20 04:07:09 -05:00
init.go Move code indexer related code to a new package (#9191) 2019-12-08 14:15:35 -05:00
install.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00