Commit graph

40 commits

Author SHA1 Message Date
folex
0f737fd82c Fix fmt.ErrorF usage 2018-04-30 11:50:49 +03:00
folex
b1dfa4a5a9 Fix PR comments
full_name   -> fullName
"%s"        -> %q
errors.New  -> fmt.Errorf
2018-04-28 10:25:30 +03:00
folex
0b73e5489b Add tests:
- read access
- write access
- admin access
2018-04-27 20:48:54 +03:00
folex
764c36f736 Use user/permissions bitbucket API instead of hooks 2018-04-27 19:01:15 +03: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
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
Brad Rydzewski
84f1bb4528 Merge pull request #1887 from AlekSi/master
Expose OAuth2 errors, avoid redirect loop.
2017-01-20 19:15:46 +07:00
Patrick Jahns
63a0659aa4 change regex to global regex 2017-01-20 11:36:48 +01:00
Patrick Jahns
e919be5210 extract email for bitbucket push requests from raw git commit 2017-01-20 10:48:13 +01: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
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
fbc6eadd32 bitbucket refspec and remote url 2016-11-19 23:44:22 +01:00
Jacob McCann
820e0ab158 Check remote for org secrets access
Fully implemented for github remote
2016-11-18 22:12:28 -06: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
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
Jyrno Ader
127f239493 Handle Bitbucket mercurial hooks correctly 2016-04-17 08:16:40 +03:00
Brad Rydzewski
9b306a1bc8 load all things via middleware 2016-04-12 13:08:17 -07:00
Matthias Loibl
2de58d1f90 Use gofmt to fmt & simplify 2016-03-27 01:24:09 +01:00
Fabio Rapposelli
e5131fd76e Add tuneable build file parameter BUILD_CONFIG_FILE 2016-03-25 00:08:27 +01:00
Greg Taylor
7365ae111e Temporary bandaid to fix Bitbucket case sensitivity. 2015-11-25 17:09:57 -08:00
Aiden Nibali
f4e6357e96 Add support for Bitbucket build status 2015-11-21 16:48:25 +11:00
Greg Taylor
d4fb58d2e6 Adding Bitbucket tag push hook support. 2015-11-19 12:38:20 -08:00
Greg Taylor
68a71b7baa Spelling nit in remote/bitbucket.go. 2015-11-18 14:29:50 -08:00
Brad Rydzewski
970cf0ecae adding some debugging code for #1280 2015-10-29 13:47:46 -07:00
Brad Rydzewski
4a0deff5a5 implements Stringer for store and remotes 2015-10-27 16:48:05 -07:00
Brad Rydzewski
fc02d38b4a updates the github deployment hook parser to work with older payloads 2015-10-27 14:53:55 -07:00
Brad Rydzewski
25fa705511 added scm and deploy fields. plan to support hg, github deploys 2015-10-27 13:03:37 -07:00
Brad Rydzewski
3dd218b211 fixed broken repo delete 2015-10-23 16:37:25 -07:00
Brad Rydzewski
df0b442d5d just some initial work to enable bitbucket pull requests 2015-10-05 23:17:59 -07:00
Brad Rydzewski
ac6133c922 bitbucket code is mostly working 2015-10-04 18:34:06 -07:00
Brad Rydzewski
528fbb0f2c some finishing touches on the bitbucket implementation for 0.4 2015-10-04 17:40:27 -07:00
Brad Rydzewski
1c87bd9c3b pull .drone.yml and .drone.sec from bitbucket 2015-10-03 22:23:37 -07:00
Brad Rydzewski
75cca2807d some initial work on #1147 to enable Bitbucket with oauth2 2015-10-03 21:50:11 -07:00