Commit graph

49 commits

Author SHA1 Message Date
Joachim Hill-Grannec
a9e83aa5ce gofmt modified files 2017-02-01 13:49:26 -08:00
Joachim Hill-Grannec
c413565521 adding the ability to set the RSA key as a string value on drone startup instead of a file that has to be mounted. 2017-02-01 13:41:45 -08:00
Brad Rydzewski
bcf3909155 Use default NOTICE log level for broker 2016-12-29 11:16:51 -05:00
Brad Rydzewski
1dbf782356 avoid c.Next() and c.Abort() both being executed 2016-11-21 16:17:42 +01:00
Jacob McCann
820e0ab158 Check remote for org secrets access
Fully implemented for github remote
2016-11-18 22:12:28 -06:00
Brad Rydzewski
775c7e67ea ability to enable broker debugging 2016-11-11 09:48:01 +00:00
Brad Rydzewski
778971eb68 removed unused packages 2016-09-27 20:30:28 -05:00
Brad Rydzewski
f2c1d46f9e queue integrated with server, but not agent 2016-09-26 00:39:28 -05:00
Thomas Boerger
31cead0eb4
Copied MustAdmin into MustTeamAdmin for now 2016-08-01 23:58:13 +02:00
Brad Rydzewski
182aebf236 Merge pull request #1728 from Bugagazavr/permissions-fix
Disallow to deactivate repo without admin permissions
2016-07-21 16:59:39 -07:00
Vaidas Jablonskis
c6b9466370 Fix cli args typo
This was preventing from using --github-secret while env var worked.
2016-07-21 20:17:54 +01:00
Kirill Zaitsev
4485f6c6f3 Disallow non admin users to deactivate repo 2016-07-21 21:41:17 +03:00
Brad Rydzewski
a56ce81c3c fixed router and removed unused HTML pages 2016-07-10 19:08:52 -07:00
Fabio Rapposelli
837446825d
Add modifiable context for Github status API 2016-05-27 20:22:32 +02:00
Brad Rydzewski
82eb00a4d0 Fix incorrect Bitbucket client secret 2016-05-19 22:13:54 -04:00
Brad Rydzewski
1d508fb792 fix drone agent issue 2016-05-03 23:36:23 -07:00
Brad Rydzewski
f930545410 refactoring github package to increase test coverage 2016-05-02 17:47:58 -07:00
Brad Rydzewski
0fb4aeda3f bump to 0.5 in master 2016-05-02 12:21:25 -07:00
Brad Rydzewski
082570fb5b refactoring input and configuration 2016-04-29 12:39:56 -07:00
Brad Rydzewski
4d4003a9a1 moved 0.5 out of feature flag, removed deprecated 0.4 code and features 2016-04-28 14:10:32 -07:00
Baptist BENOIST
3081206f9e Replace configuraiton by configuration in router/middleware/remote.go
obvious fix
2016-04-27 22:51:42 +02:00
Brad Rydzewski
fa76617c7c Merge pull request #1591 from bradrydzewski/master
use new 0.5 .drone.sig signature file
2016-04-21 17:42:48 -07:00
Brad Rydzewski
faf7ff675d use new .drone.sig signature file 2016-04-21 17:10:19 -07:00
Joachim Hill-Grannec
11b5d89afe Merge branch 'master' into bitbucketserver 2016-04-20 13:23:36 -07:00
Brad Rydzewski
b5823d20ff chunk the yaml into sections 2016-04-19 18:37:53 -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
Brad Rydzewski
9b306a1bc8 load all things via middleware 2016-04-12 13:08:17 -07:00
Brad Rydzewski
f9bba48e19 move version to package 2016-03-30 00:48:47 -07:00
Brad Rydzewski
df39f21d15 remove file 2016-03-04 21:40:43 -08:00
Brad Rydzewski
3dd0260b69 improve and simplify repository caching 2016-03-04 21:15:50 -08:00
Brad Rydzewski
6769eed65d Merge remote-tracking branch 'upstream/master' 2016-03-03 14:40:50 -08:00
Brad Rydzewski
398db0bda2 add origin, content-type, accept to CORS conf 2016-02-05 13:39:11 -08:00
Brad Rydzewski
e018a34711 Added CORS to header to OPTIONS request 2016-02-05 13:04:46 -08:00
Michael Steinert
7c311cde42 Add public mode 2016-02-05 14:34:05 -06:00
Brad Rydzewski
8ffd8e51e5 initial prototype for metrics 2016-01-24 11:58:48 -08:00
Tanguy Herrmann
7ba1195edf Adds test for RFC7239 2015-12-04 23:33:08 +01:00
Tanguy Herrmann
4fde58d57e Adds RFC7239 checks to the new location middleware.
The RFC7239 is the standard way to define headers about reverse proxy
redirections. It replaces all the X-Forwarded-* previous way of defining them.
We let the previous implementations exist to avoid breaking existant installations.
2015-12-03 18:36:55 +01:00
Greg Taylor
ad682c9da8 Minor spelling fix. 2015-11-23 17:34:34 -08:00
Brad Rydzewski
4a0deff5a5 implements Stringer for store and remotes 2015-10-27 16:48:05 -07:00
Brad Rydzewski
cfdfbcfd3b didn't realize gin supports net.Context. Change to support Context pattern! 2015-10-21 16:14:02 -07:00
Brad Rydzewski
af2ef2347a improvements to middleware and URL resolver 2015-10-21 14:31:53 -07:00
Brad Rydzewski
eb04d418d9 moving caching w/ TTL to its own package 2015-10-20 16:45:24 -07:00
Brad Rydzewski
8fbd3d5fa7 log when error fetching repository 2015-10-14 12:51:18 -07:00
Brad Rydzewski
e3afea861b log when error fetching repository 2015-10-14 12:48:46 -07:00
Brad Rydzewski
a7a1b1dfb7 cleaning up the middleware and adding caching with TTL 2015-10-13 02:08:08 -07:00
Brad Rydzewski
93c78150b6 ability to refresh tokens 2015-10-04 19:39:44 -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
895919cf24 ensure csrf token available to activate repo 2015-09-29 23:11:14 -07:00
Brad Rydzewski
dfea14c7e5 updated vendor files and paths 2015-09-29 18:21:17 -07:00