agola/internal/gitsources/gitea
Simone Gotti a7ecfee795 gitea: use custom http request for get tokens
Since the get tokens gitea api is used to do auth by username password we need
to know the api status code to detect if it's an unauthorized error (wrong
username/password) or another error.

Since the gitea client doesn't return the http response to inspect the status
code we'll use our own api call.
2019-05-13 14:21:41 +02:00
..
gitea.go gitea: use custom http request for get tokens 2019-05-13 14:21:41 +02:00
parse.go gitsources: create secret and webhook secret 2019-05-07 18:29:31 +02:00
types.go webhook: use hook provided ssh url for cloning 2019-04-11 16:49:07 +02:00