Commit graph

156 commits

Author SHA1 Message Date
Brad Rydzewski
668ecb446d Merge pull request #1498 from bsauvajon/master
Manage tag hooks from gogs
2016-10-25 00:24:09 +02:00
Bo-Yi Wu
2bd6884dbd replace split with strings func.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-09-19 22:19:12 +08:00
brice
744cf55bf5 change eventType for tag events from gogs 2016-09-07 08:46:42 +02:00
Brad Rydzewski
23234fa000 Merge pull request #1778 from strk/gogs-pr-hook
Add sample gogs web hooks (unused yet) [CI SKIP]
2016-09-01 15:51:56 -05:00
Sandro Santilli
320b8b68f0 Fix ticks 2016-09-01 21:49:44 +02:00
Ivan Babrou
113c63bf8e
Cleanup debug logging in Bitbucket Server remote 2016-09-01 17:25:11 +01:00
Sandro Santilli
bacb78a9e2 Add more hooks to existing fixture file 2016-09-01 17:59:07 +02:00
Sandro Santilli
a2829a2e96 Add sample gogs web hooks (unused yet) 2016-08-31 22:57:52 +02:00
Thiago Rodrigues
3a926b35be better coding 2016-08-30 00:06:35 -03:00
Thiago Rodrigues
ced1221ef6 adding pagination of repositories on bitbucketserver 2016-08-29 22:23:59 -03:00
Brendan Gaulin
5b58768d63 OAuth2 GHE Always Register BustedURL
When going through the oauth2 module in go, there is a list of "busted" URLs which don't implement OAuth2 properly.

Github is on that list, however Github Enterprise(GHE) uses different URLs for each instance. Instead of adding all of these to the global list in the oauth module, we can simply flag all of our tokens as broken until github updates their API.
2016-08-25 18:27:17 -04:00
Joachim Hill-Grannec
95b3a78aa9 Update to add the name which has a better indication for the label of what build the status is for 2016-08-14 12:27:53 -07:00
bsauvajon
c8d1fe0468 Manage TAG and BRANCH events sent from gogs 2016-08-14 12:26:35 +02:00
brice
82c534ad18 Suppression de EventBranch 2016-08-14 12:26:35 +02:00
Joachim Hill-Grannec
5c7a66534d Adding the ability for the bitbucket server remote to update the status of commits on the server 2016-08-13 19:06:15 -07:00
Bo-Yi Wu
83056ab8b3 Testing author label length limitation.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-13 14:07:45 +08:00
Joachim Hill-Grannec
ea6ceb43e1 Merge branch 'bbserver-test' into length-temp-fix 2016-08-12 15:58:14 -07:00
Joachim Hill-Grannec
0c0a7a897b Starting to add tests for bitbucket server
Removed a duplicate assert for bitbucket
2016-08-12 15:54:36 -07:00
Joachim Hill-Grannec
96ff3cd05a Makes more sense for the author value to only have the name since other plugins may use this value. 2016-08-12 14:20:26 -07:00
Joachim Hill-Grannec
02630aedbe Trimming build author length to 40 for default
Removed no longer needed comment
2016-08-12 13:14:58 -07:00
Joachim Hill-Grannec
529a9eba49 Merge branch 'master' into bbserver-cleanup
updated to also include build config updates

# Conflicts:
#	remote/bitbucketserver/bitbucketserver.go
2016-08-11 13:35:47 -07:00
Thomas Boerger
606ca93881
Properly formatted bitbucketserver 2016-07-31 23:25:10 +02:00
Joachim Hill-Grannec
5b52ef924f No longer used function 2016-07-24 17:06:44 -07:00
Joachim Hill-Grannec
df8f9de33d Support for tags vs heads in builds 2016-07-24 15:13:50 -07:00
Joachim Hill-Grannec
7a5cf50b3d Adding the commit message to the build 2016-07-24 14:21:00 -07:00
Joachim Hill-Grannec
70ebb097c8 Changed variables to lowercase
Moved to start using conversions and returning "bitbucket server types"
Moved the last push type into the internal package.
Simplified the types to have values of a repo type
2016-07-24 14:07:44 -07:00
Joachim Hill-Grannec
f80174f7c4 removing logging from low levels 2016-07-24 11:53:11 -07:00
Joachim Hill-Grannec
f7a83a1e43 Merge branch 'master' into bbserver-cleanup 2016-07-14 12:07:52 -07:00
Sandro Santilli
cacfd0c444 Fix resolution of relative avatar urls for Gogs published in subpath
Closes #1701
Includes a new test, and updates expected results for 3 of them (adding
the schema part)
2016-07-06 15:58:31 +02:00
Joachim Hill-Grannec
f4aa0168c7 Making sure to have branch name on the build 2016-06-26 00:10:09 -07:00
Joachim Hill-Grannec
3349089d2a Moved struct 2016-06-25 22:59:41 -07:00
Joachim Hill-Grannec
6e4303aab3 Update to cleaner implementation for the bitbucket server implementation 2016-06-25 22:27:09 -07:00
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