Laszlo Fogas
c7ebd68232
Relaced laszlocph/woodpecker with woodpecker-ci/woodpecker
2021-05-25 14:08:27 +02:00
mhmxs
53258bf989
Format source code
2019-09-14 14:21:16 +02:00
Laszlo Fogas
630c383181
Project is renamed to Woodpecker
2019-08-27 13:07:19 +02:00
Laszlo Fogas
e2b76ac449
Fixing infinite loop :o
2019-07-17 13:58:47 +02:00
Laszlo Fogas
ace264fe2f
Persist intended URL through the OAuth flow
2019-06-27 08:25:00 +02:00
Laszlo Fogas
69de8face1
Handling canceled, skipped builds
2019-06-19 08:36:13 +02:00
Laszlo Fogas
1d47ba8a32
Status line for each pipeline on Github
2019-06-17 10:48:40 +02:00
Laszlo Fogas
435083db9e
Handling channel close
2019-06-05 10:08:49 +02:00
Laszlo Fogas
5cc4dca56f
Fetching multiple pipelines from Github, skipping some logic for now
2019-06-04 15:04:18 +02:00
Laszlo Fogas
75d30dea09
Function to fetch a folder from the remote
2019-06-03 09:22:14 +02:00
Laszlo Fogas
67cdbd2509
Simplified the interface
2019-06-03 08:49:11 +02:00
Laszlo Fogas
ca5817ffc2
Renamed package
2019-04-04 20:51:20 +02:00
Thomas Boerger
7f49e69607
Just fixed format with go fmt ./...
2018-03-21 14:02:17 +01:00
Brad Rydzewski
580fe9abb7
add apache license header to files
2018-02-19 14:24:10 -08:00
marcin.suterski
96af18993a
Use 'base_ref' as branch name for github tag events.
...
This chnage adds ability to filter builds by the source branch name for tag
events from Github.
2017-09-14 20:16:58 -04:00
Brad Rydzewski
35e0ee2e5f
implement sync logic
2017-07-14 15:58:38 -04:00
Brad Rydzewski
130c623a35
compare yaml files
2017-03-18 19:25:53 +08:00
Brad Rydzewski
e319aaff15
add reviewer fields, endpoints
2017-03-18 16:49:27 +08:00
Vaidas Jablonskis
d8281c2cdf
Github: fix webhook struct tags
2017-03-01 16:47:46 +00:00
Alexey Palazhchenko
b230afe7f5
Add AuthError type, use it.
2016-12-19 19:22:11 +03:00
Alexey Palazhchenko
e259c64bac
Expose OAuth2 errors, avoid redirect loop.
...
Closes #1775 .
2016-12-19 08:42:56 +03:00
Brad Rydzewski
f7eafb2094
Merge pull request #1866 from bradrydzewski/master
...
switch github pr branch from source to target
2016-11-21 15:26:38 +01:00
Brad Rydzewski
af296dcd2d
Merge pull request #1852 from jmccann/ghe_org_secrets
...
WIP: Check remote for org secrets permissions
2016-11-20 23:30:54 +01:00
Brad Rydzewski
5c1fcb082e
switch github pr branch from source to target
2016-11-20 23:21:27 +01:00
Brad Rydzewski
2465728633
track github remote url
2016-11-19 22:54:05 +01:00
Brad Rydzewski
dc0fdbc221
populate github refspec
2016-11-19 22:36:07 +01:00
Jacob McCann
820e0ab158
Check remote for org secrets access
...
Fully implemented for github remote
2016-11-18 22:12:28 -06: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
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
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
ebd547deac
refactoring remotes to remove deprecated variables, adding tests
2016-05-01 16:30:00 -07:00
Brad Rydzewski
082570fb5b
refactoring input and configuration
2016-04-29 12:39:56 -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
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
Fabio Rapposelli
9eb4161750
Make GitHub status API context congruous
...
Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-12-22 14:10:39 +01:00
alex
5ca67d304c
Do not ignore refs/heads/gh-pages
2015-12-18 10:57:38 +00:00
Adam Stepinski
cda3e443c6
sanitize description
2015-11-11 13:43:20 -08:00
Adam Stepinski
c7c2c13f2c
include test
2015-11-11 13:42:31 -08:00