Commit graph

14 commits

Author SHA1 Message Date
cmj
74423bfacd Missing the strings library 2020-02-14 16:08:08 +08:00
cmj
3e74e30845 Fix bug when refresh gitea access token
When the URI has extra '/' in DRONE_GITEA_SERVER, the drone
	will not pull the repo since it cannot refresh the access token.
	The log in gitea shows the drone try to access '//login/oauth/access_token'

	Related to commit 5414bb75f
2020-02-14 16:06:58 +08:00
Toni Moreno
af34ac8b18 add http.Client with skipverify option to oauth renew token method, fix #2876 2019-11-16 10:46:27 +01:00
techknowlogick
448f1d54b4
rm basic auth option from Gitea 2019-06-05 17:36:10 -04:00
techknowlogick
6adbacd11c
update docs per feedback 2019-04-22 19:52:37 -04:00
techknowlogick
18b0959bbf
update per feedback 2019-04-22 19:50:31 -04:00
Matti Ranta
b7fc433b31
use switch case 2019-04-22 19:36:47 -04:00
techknowlogick
9ced52ab50
Refresh Gitea Oauth2 token 2019-04-22 16:54:25 -04:00
徐胖
1042b18716 fix some typos 2019-04-16 09:55:38 +08:00
techknowlogick
911f7c1e64
update per @appleboy feedback 2019-03-08 21:56:45 -05:00
techknowlogick
e4f5498850
pass redirect URL to Gitea 2019-03-08 14:35:41 -05:00
techknowlogick
63ba489310
Update inject_login.go 2019-03-08 13:38:20 -05:00
Matti Ranta
665398fb4f
Add Gitea Oauth
With fallback to basic auth if Gitea server does not support oauth
2019-03-08 12:22:20 -05:00
Brad Rydzewski
5b6a3d8ff4 squash and merge local branch 2019-02-19 15:56:41 -08:00