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
5bac61dc4b
Merge pull request #1851 from bradrydzewski/feature/mq
...
ability to enable broker debugging
2016-11-11 09:53:11 +00:00
Brad Rydzewski
775c7e67ea
ability to enable broker debugging
2016-11-11 09:48:01 +00:00
Brad Rydzewski
58f84ced84
Merge pull request #1825 from donny-dont/feature/global_secrets
...
Implementing global secrets
2016-10-25 00:03:20 +02:00
Brad Rydzewski
db5b8e83ee
Merge pull request #1830 from bradrydzewski/feature/mq
...
merge the feature/mq branch
2016-10-23 23:12:49 +02:00
Don
0852424cfe
Implementing global secrets
2016-10-20 11:23:12 -07:00
Brad Rydzewski
2d90155d5a
fix incorrect team secret middleware assignment
2016-10-14 12:21:40 +02: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
Thomas Boerger
9aac9e5bf7
Integrated team secrets dummy API
2016-07-31 23:25:10 +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
Kirill Zaitsev
041fab56b9
MustRepoAdmin for chown
2016-07-22 00:04:42 +03: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
Brad Rydzewski
4d1df2924c
replace UI with single page application ( #1704 )
2016-07-08 15:40:29 -07:00
Thomas Boerger
41af9c0720
Integrated initial command to list secrets
...
Since we are not able to list the already set secrets I have added the
required API andpoint and the required sub command to list them.
2016-06-28 00:20:01 +02:00
Brad Rydzewski
d656b2a75b
add chown command to switch repo owner
2016-06-14 14:05:53 -07:00
Fabio Rapposelli
837446825d
Add modifiable context for Github status API
2016-05-27 20:22:32 +02:00
Brad Rydzewski
c220466b21
Merge pull request #1654 from bradrydzewski/master
...
agents stream logs using websockets
2016-05-23 14:45:28 -07:00
Brad Rydzewski
5456f13e9c
ability to stream logs using websockets
2016-05-23 14:35:58 -07:00
Brad Rydzewski
82eb00a4d0
Fix incorrect Bitbucket client secret
2016-05-19 22:13:54 -04:00
Brad Rydzewski
752ce496d5
added code for agent to ping central drone server
2016-05-11 14:37:56 -07:00
Brad Rydzewski
447741b840
added query, endpoint, cli for build queue items
2016-05-10 22:19:45 -07: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
8dc3c452e0
Merge pull request #1593 from bradrydzewski/master
...
implemented 0.5 in-memory stream multiplexer
2016-04-23 14:04:37 -07:00
Brad Rydzewski
34c3c92ec3
created custom stream implementation
2016-04-22 17:35:32 -07: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
42d6d8d3b2
fix normalize routes
2016-04-12 10:14:10 -07:00
Brad Rydzewski
d635097105
fixed router path
2016-04-12 10:13:26 -07:00
Brad Rydzewski
df7068ef32
stub for slash commands
2016-04-12 10:12:14 -07:00
Brad Rydzewski
3235990584
improve gin logging
2016-04-11 16:03:54 -07:00
Brad Rydzewski
a8c50005b0
ability to revoke user tokens
2016-04-08 17:16:45 -07:00
Brad Rydzewski
7a3c9acd57
Merge pull request #1557 from bradrydzewski/master
...
centralized secrets #1538
2016-03-31 18:06:05 -07:00
Jeff Storey
b7d537fc5d
#1533 first cut to show only active repos initially
2016-03-31 20:16:33 -04:00
Brad Rydzewski
7ffa88cc09
ability to store per-repository secrets & sign yaml
2016-03-31 12:01:32 -07:00
Brad Rydzewski
8251663686
create web package
2016-03-30 23:27:53 -07:00
Brad Rydzewski
0ee1e4f0da
moved build api to /api
2016-03-30 23:24:47 -07:00
Brad Rydzewski
0d04fa67e3
moving API to api package, swagger annotatoins
2016-03-30 13:15:28 -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
b5d9b81e96
ability to replace the private key
2015-11-20 10:31:10 -08:00
Brad Rydzewski
4a0deff5a5
implements Stringer for store and remotes
2015-10-27 16:48:05 -07:00
Brad Rydzewski
d376730226
adding full support for Gogs including private repositories
2015-10-22 16:36:43 -07:00
Brad Rydzewski
2f071bb2cf
re-enabled build feed
2015-10-21 16:39:43 -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
f84c8bc411
working on the homage page
2015-10-15 15:40:27 -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
e5065da888
re-added /api/hook
for gitlab
2015-10-03 16:57:24 -07:00
Brad Rydzewski
130c133b92
added helper queries for user builds
2015-10-02 16:16:41 -07:00
Brad Rydzewski
6bc28bd41c
ability to cancel a single job (not entire build)
2015-10-01 12:05:23 -07:00
Brad Rydzewski
ad63fc7060
split settings to multiple handler funcs
2015-09-30 18:21:39 -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