forgejo/modules/setting
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
..
cache.go
cors.go
cron.go Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) 2019-10-14 09:10:42 +03:00
database.go Expose db.SetMaxOpenConns and allow non MySQL dbs to set conn pool params (#8528) 2019-10-21 22:20:47 +01:00
database_sqlite.go
database_test.go
git.go
indexer.go Restore Graceful Restarting & Socket Activation (#7274) 2019-10-15 14:39:51 +01:00
indexer_test.go
log.go Fix #9151 - smtp logger configuration sendTos should be an array (#9154) 2019-11-25 13:38:57 +00:00
mailer.go
markup.go Markdown: Sanitizier Configuration (#9075) 2019-12-07 14:49:04 -05:00
migrations.go Add retry for migration http/https requests (#9019) 2019-11-16 16:30:06 +08:00
repository.go Push to create repo (#8419) 2019-12-15 10:49:52 +08:00
service.go Default NO_REPLY_ADDRESS to DOMAIN (#9325) 2019-12-13 23:14:43 -05:00
session.go
setting.go FCGI: Allow FCGI over unix sockets (#9298) 2019-12-10 13:23:26 +01:00
task.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
webhook.go Webhook support custom proxy (#8760) 2019-11-08 16:25:53 -05:00