Joachim Hill-Grannec
6624ff0ce6
Start of refactor to stash implementation to match other remotes
2016-06-25 16:45:33 -07:00
Joachim Hill-Grannec
6d7f1bf295
Getting security to work on the stash. Looks at hooks to see if someone has admin rights.
2016-06-13 22:08:56 -05:00
Joachim Hill-Grannec
a4d28e39a0
Missed an argument
2016-06-13 18:25:31 -05:00
Joachim Hill-Grannec
1152e430c4
Cleaner way to remove the username from the git clone URL
2016-06-13 18:10:16 -05:00
Joachim Hill-Grannec
be1b75fd45
Fix defer location and err check
2016-06-12 22:18:31 -07:00
Joachim Hill-Grannec
6f4c4a37dc
Remove log and fix typo
2016-06-11 18:53:41 -07:00
Joachim Hill-Grannec
2ce566483b
Handling some of the error in bitbucksetserver
...
Fixed returning the http(s) version of the clone link which had the username in it however should not to work with netrc
Quick typo fix
2016-06-11 18:42:55 -07:00
Fabio Rapposelli
837446825d
Add modifiable context for Github status API
2016-05-27 20:22:32 +02:00
jdamick
577dfbab27
fix for issue #1502
2016-05-12 13:09:52 -04:00
Brad Rydzewski
70c4676880
Merge pull request #1634 from bradrydzewski/master
...
ability to get team list from Gogs
2016-05-11 12:41:36 -07:00
Brad Rydzewski
2e709fb6a9
ability to get team list from Gogs
2016-05-11 12:32:18 -07:00
jdamick
d9c369bdc7
added scopes to the oauth2 config
2016-05-11 10:32:11 -04:00
Brad Rydzewski
4040dfceb8
significant improvement to GitHub remote coverage (from 5% to 50%)
2016-05-03 13:01:16 -07:00
Brad Rydzewski
f930545410
refactoring github package to increase test coverage
2016-05-02 17:47:58 -07:00
Brad Rydzewski
d8617cb7f9
fix mock remote to conform to interface
2016-05-02 12:43:09 -07:00
Brad Rydzewski
0fb4aeda3f
bump to 0.5 in master
2016-05-02 12:21:25 -07:00
Brad Rydzewski
ebd547deac
refactoring remotes to remove deprecated variables, adding tests
2016-05-01 16:30:00 -07:00
Brad Rydzewski
b978ed12eb
increased bitbucket test coverage
2016-04-30 23:22:30 -07:00
Brad Rydzewski
7c5257b61e
increased coverage for bitbucket package
2016-04-30 01:00:39 -07:00
Brad Rydzewski
082570fb5b
refactoring input and configuration
2016-04-29 12:39:56 -07:00
Martijn
3998b3171a
Correct repos API url
2016-04-21 14:53:41 +02:00
Joachim Hill-Grannec
06003bfc87
using fmt.Sprintf for string interpolation.
2016-04-20 13:14:48 -07:00
Joachim Hill-Grannec
95b1f347ba
Running gofmt on remote for bitbucket server
2016-04-20 11:59:47 -07:00
Joachim Hill-Grannec
262f505779
Moving the NewClient to load instead of on every call
2016-04-19 16:26:23 -07:00
Joachim Hill-Grannec
c250926460
Typo
2016-04-19 13:32:06 -07:00
Joachim Hill-Grannec
d982f73f8e
Must have a git username, password, consumer key, and consumer rsa
2016-04-19 13:29:52 -07:00
Joachim Hill-Grannec
0a20d9c1d2
Configurable consumer rsa file location
2016-04-19 13:26:52 -07:00
Joachim Hill-Grannec
16ddb75d08
moving the private key out of root and into a more sensical location till it's configurable
2016-04-19 10:44:19 -07:00
Joachim Hill-Grannec
b89b7cff5b
Removing no longer needed import
2016-04-19 09:49:22 -07:00
Joachim Hill-Grannec
02c87d02f5
Merge branch 'master' into bitbucketserver
...
Moving git username and password to the url
Removing un-needed setting of Allows
Moving log.Fatal to log.Error
Removing panics
Moving to https for gravatar
# Conflicts:
# remote/remote.go
2016-04-19 09:47:02 -07:00
Joachim Hill-Grannec
df45c84763
added a few comments
2016-04-19 01:32:40 -04:00
Joachim Hill-Grannec
4b31babb98
fixing to use the commit hash instead of the refID
2016-04-19 01:14:55 -04:00
Joachim Hill-Grannec
4f9f5673aa
Fixing the url to gravatar to have hex encoding
2016-04-19 01:07:03 -04:00
Joachim Hill-Grannec
59edcd3389
Initial take at the bitbucket server remote additions.
2016-04-19 00:40:49 -04:00
Jyrno Ader
127f239493
Handle Bitbucket mercurial hooks correctly
2016-04-17 08:16:40 +03:00
Brad Rydzewski
857062d895
fixed failing gitlab test
2016-04-12 13:22:23 -07:00
Brad Rydzewski
84db808eca
fixed unit test reference deleted pkg
2016-04-12 13:15:03 -07:00
Brad Rydzewski
9b306a1bc8
load all things via middleware
2016-04-12 13:08:17 -07:00
Brad Rydzewski
a9c84d26e1
Merge pull request #1560 from iamjarvo/auth-with-ghe
...
Match user url against default api url
2016-04-02 13:59:35 -07:00
Jearvon Dharrie
c0cb91c37e
Match user url against default api url
...
Some GHE urls can have the github url prefix.
I.E https://github.compaq.com , this caused the GHE code not to run.
User.url is the api url for that that user
GHE urls always have /api/version at the end. Probability of a GHE url
starting with api.github is low
2016-04-02 16:45:43 -04:00
Jeff Storey
79dc866f43
getting rid of string split and using the regex match
2016-03-30 07:59:06 -04:00
Jeff Storey
3e4b871991
adding check for github link
2016-03-29 20:05:28 -04:00
Jeff Storey
6ddc2abf47
#1550 deployment status hooks for github
2016-03-29 14:10:33 -04:00
Matthias Loibl
2de58d1f90
Use gofmt to fmt & simplify
2016-03-27 01:24:09 +01:00
Kirill Zaitsev
d7b066b308
Use GetUserRepos instead GetAllRepos
2016-03-26 18:48:35 +03:00
Fabio Rapposelli
e5131fd76e
Add tuneable build file parameter BUILD_CONFIG_FILE
2016-03-25 00:08:27 +01:00
alex
c2f3cf06ad
Parameterize GitHub OAuth2 scopes.
...
If no scope provided, default will be used:
scope=repo,repo:status,user:email.
2016-03-10 19:30:14 +00:00
Brad Rydzewski
3dd0260b69
improve and simplify repository caching
2016-03-04 21:15:50 -08:00
Brad Rydzewski
f19841c2d2
Merge pull request #1504 from Bugagazavr/fetch-data-from-hooks
...
Added support for new attributes for GitLab
2016-03-03 12:36:58 -08:00
Kirill Zaitsev
f9c299ce57
Added support for new hook attributes in merge request hook
2016-02-28 20:11:50 +03:00