gitea/modules
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
..
auth Branch protection: Possibility to not use whitelist but allow anyone with write access (#9055) 2019-12-03 20:08:56 -05:00
avatar
base
cache
charset deps: update and fix chardet import (#9351) 2019-12-14 02:15:48 +02:00
context Fix nil context user (#9099) 2019-11-20 19:44:35 +00:00
convert [Bug] [API] Add language to user api (#9215) 2019-11-30 11:18:40 -05:00
cron
generate
git Remove SavePatch and generate patches on the fly (#9302) 2019-12-13 23:21:06 +01:00
gitgraph Move git graph from models to modules/graph (#9027) 2019-11-16 08:47:57 +08:00
graceful Add comment to exported function WindowsServiceName (make revive) (#9241) 2019-12-03 19:16:29 -05:00
highlight
httplib
indexer DefaultBranch needs to be prefixed by BranchPrefix (#9356) 2019-12-14 21:29:41 +08:00
lfs Make repository management section handle lfs locks (#8726) 2019-12-12 21:18:07 +08:00
log Log: Ensure FLAGS=none is -1 (#9287) 2019-12-07 23:36:47 -05:00
markup Markdown: Sanitizier Configuration (#9075) 2019-12-07 14:49:04 -05:00
metrics
migrations Move some repository methods from models to modules/repository (#9353) 2019-12-14 18:30:01 +01:00
notification fix issue indexer not triggered when migrating a repository (#9332) 2019-12-12 23:46:43 +02:00
options
password Add password requirement info on error (#9074) 2019-11-19 22:44:58 +00:00
pprof
private Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
process Graceful: Cancel Process on monitor pages & HammerTime (#9213) 2019-11-30 16:40:22 +02:00
public
recaptcha fixed reCAPTCHA URL (#9083) 2019-11-22 08:03:45 +00:00
references Alternate syntax for cross references (#9116) 2019-12-01 15:57:05 +02:00
repofiles File Edit: Author/Committer interchanged [BugFix] (#9297) 2019-12-09 21:11:24 +08:00
repository Move some repository methods from models to modules/repository (#9353) 2019-12-14 18:30:01 +01:00
search Move modules/indexer to modules/indexer/code (#9301) 2019-12-10 14:29:40 +01:00
secret
session
setting Push to create repo (#8419) 2019-12-15 10:49:52 +08:00
ssh Add Graceful shutdown for Windows and hooks for shutdown of goroutines (#8964) 2019-11-21 13:32:02 -05:00
structs [API] extend StopWatch (#9196) 2019-12-11 23:23:05 -05:00
sync
task Fix bug when migrate from API (#8631) 2019-11-08 17:21:00 -05:00
templates Add USE_SERVICE_WORKER setting (#9110) 2019-11-21 15:06:23 -05:00
test Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
timeutil
upload
user
util Convert EOL to UNIX-style to render MD properly (#8925) 2019-11-13 03:27:11 +01:00
validation
webhook Make consistent links to repository in the Slack/Mattermost notificiations (#9205) 2019-11-30 12:23:37 +02:00