forgejo/cmd
zeripath 356854fc5f Move serv hook functionality & drop GitLogger (#6993)
* Move hook functionality internally

* Internalise serv logic

* Remove old internal paths

* finally remove the gitlogger

* Disallow push on archived repositories

* fix lint error

* Update modules/private/key.go

* Update routers/private/hook.go

* Update routers/private/hook.go

* Update routers/private/hook.go

* Updated routers/private/serv.go

* Fix LFS Locks over SSH

* rev-list needs to be run by the hook process

* fixup

* Improve git test

* Ensure that the lfs files are created with a different prefix

* Reduce the replication in git_test.go

* slight refactor

* Remove unnecessary "/"

* Restore ensureAnonymousClone

* Restore ensureAnonymousClone

* Run rev-list on server side

* Try passing in the alternative directories instead

* Mark test as skipped

* Improve git test

* Ensure that the lfs files are created with a different prefix
* Reduce the replication in git_test.go
* Remove unnecessary "/"
2019-06-01 23:00:21 +08:00
..
admin.go Generate access token in admin cli (#6847) 2019-05-04 23:03:09 +01:00
cert.go General refactor of the cmd package (#3328) 2018-01-12 23:16:49 +01:00
cmd.go Disallow empty titles (#5785) 2019-01-21 13:45:32 +02:00
dump.go Change verbose flag in dump command to avoid colliding with global version flag (#6822) 2019-05-01 21:36:09 +01:00
generate.go Rename LFS_JWT_SECRET to include OAUTH2 as well (#6826) 2019-05-01 22:32:06 -04:00
hook.go Move serv hook functionality & drop GitLogger (#6993) 2019-06-01 23:00:21 +08:00
keys.go Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631) 2019-04-29 14:08:21 -04:00
migrate.go Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631) 2019-04-29 14:08:21 -04:00
serv.go Move serv hook functionality & drop GitLogger (#6993) 2019-06-01 23:00:21 +08:00
web.go Fix wrong init dependency on markup extensions (#7038) 2019-05-25 18:15:39 +01:00
web_graceful.go Better logging (#6038) (#6095) 2019-04-02 08:48:31 +01:00
web_windows.go fix windows build broken by #416 2016-12-31 17:16:02 +08:00