Kirill Zaitsev
29b44015fd
Fix token problems at first login
2015-04-29 03:13:21 +03:00
Kirill Zaitsev
4b3eaec70c
Since 7.10 token life unlimited
2015-04-25 02:19:28 +03:00
Kirill Zaitsev
961a91dd23
Allow to skip verify in oauths requests
2015-02-24 00:27:17 +03:00
Ulrich Schreiner
05b6dad81e
Merge branch 'master' into delrepo
2015-02-05 14:47:35 +01:00
Ulrich Schreiner
347aa24785
remove Printf output and do a real removal of the repository in the datastore
2015-02-04 15:13:23 +01:00
Ulrich Schreiner
0ed7ae7e3f
impelement a delete of a repository
2015-02-04 14:42:24 +01:00
Kirill Zaitsev
6ca94970d6
Refresh only expired tokens
2015-02-04 13:18:46 +03:00
Kirill Zaitsev
d225181a0f
Refresh tokens before any requests to remote
2015-01-27 02:33:27 +03:00
Kirill Zaitsev
f47ab27702
Gitlab oauth login
2015-01-23 22:28:24 +03:00
Matt Bostock
307aed12bc
Move open registration setting into remote plugins
...
...so that it's possible to enable or disable open registration on a
per-remote basis.
For example, the `DRONE_REGISTRATION_OPEN` environment variable now
becomes `DRONE_GITHUB_OPEN` when using GitHub as a remote.
The default for open registration in this commit is `false` (disabled),
which matches the existing behaviour.
This is useful if you need to support both public and private remotes,
e.g. GitHub.com and GitHub Enterprise, where you trust all of the
private users and want to allow open registration for those but would
not want all GitHub.com users to run builds on your server.
Tested with GitHub and GitLab.
2015-01-16 22:04:24 +00:00
Michael Steinert
d1099bcf53
Add Gitlab certificate verification configuration
...
Requires Bugagazavr/go-gitlab-client@4e00e40109
2014-12-09 10:16:59 -06:00
Kirill Zaitsev
c7649e15b1
Add gitlab repo url
2014-10-28 03:21:19 +03:00
Brad Rydzewski
601e3e6d48
slightly altered the URL token format
2014-10-22 00:41:25 -07:00
Brad Rydzewski
7009778176
added token to post-commit hooks
2014-10-22 00:13:47 -07:00
Brad Rydzewski
b9c103cef8
includes fix for #335 in exp branch
2014-09-06 13:08:56 -07:00
Brad Rydzewski
617476784d
getting gitlab project permissions only if user is not repo owner
...
also move Timeout value to repo activation
2014-09-06 12:07:47 -07:00
Kirill Zaitsev
068a7583be
Fix timeout
2014-09-05 22:49:59 +04:00
Kirill Zaitsev
49f03cd7e7
Updated mocks
2014-09-05 22:14:18 +04:00
Kirill Zaitsev
afa928af0c
Fix gitlab permissions sync #415
2014-09-05 21:37:29 +04:00
Brad Rydzewski
c858c3b2b8
fixed issue when no gitlab permissions exist, but user is repo owner
2014-09-03 01:23:45 -07:00
Brad Rydzewski
ca3d15bca2
refactored how remotes work and how (some) config is loaded
2014-09-03 00:23:36 -07:00
Brad Rydzewski
38379992bf
refactored plugin/remote and adapted @bugBugagazavr Gitlab code
2014-09-02 00:18:17 -07:00
Brad Rydzewski
aa9a8f4878
integrated plugin model for remotes
2014-07-12 19:01:58 -07:00
Brad Rydzewski
170135cb1d
Move Plugins to a /plugin Directory
2014-06-12 14:46:55 -07:00