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