X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=config%2Fapp.ini;h=201de74a4ca65f5d6c5fd871bc615d17d20ece93;hb=eb76e9bb9a39fe2725301f6cf6fc3cf29bbc4e00;hp=1cdc655a37f08abd42591a3e3a0e7d4963143602;hpb=26494fb5cdfb9cf103904d10b6bda564bcf2d0bd;p=pharext%2Fpharext.org diff --git a/config/app.ini b/config/app.ini index 1cdc655..201de74 100644 --- a/config/app.ini +++ b/config/app.ini @@ -1,12 +1,15 @@ [production] +github.api.url = https://api.github.com/ +github.api.accept = application/vnd.github.v3+json + +github.api.call.listrepos.args.per_page = 10 +github.api.call.listhooks.args.per_page = 100 + github.hook.url = https://pharext.org/github/hook github.hook.content_type = json github.hook.insecure_ssl = 0 -github.fetch.repos.per_page = 10 -github.fetch.hooks.per_page = 100 - github.storage.token.ttl = 3600 github.storage.cache.repo.ttl = 3600 github.storage.cache.repos.ttl = 3600 @@ -14,6 +17,8 @@ github.storage.cache.hooks.ttl = 3600 github.storage.cache.tags.ttl = 3600 github.storage.cache.releases.ttl = 3600 +github.log = github + session.use_cookies = 1 session.use_only_cookies = 1 session.use_strict_mode = 1 @@ -27,6 +32,11 @@ session.cache_expire = 0 pq.flags = 0 pq.dsn = "user=pharext host=localhost" +log.github.streamhandler.handler = StreamHandler +log.github.streamhandler.args[] = ../logs/github.log +; Logger::DEBUG == 100 +log.github.streamhandler.args[] = 100 + [localhost : production] github.hook.url = https://pharext.ngrok.io/src/pharext.org.git/public/github/hook