Sandro Santilli
042e779e08
Use Sirupsen/logrus for logs
2016-07-12 13:28:02 +02:00
Sandro Santilli
578f73c791
Make badgeNone usable in HTML img tag (returning 200 instead of 404)
...
Also adds a print in the log about the kind of failure
2016-07-12 12:53:01 +02:00
Brad Rydzewski
324392d3e0
fix form action typo in Gogs logic form
2016-07-09 10:22:05 -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
67ac073164
repo feed for latest build only
2016-06-14 17:34:47 -07:00
Brad Rydzewski
769551cb44
ability to pull full vs partial list
2016-06-14 15:20:17 -07:00
Brad Rydzewski
d656b2a75b
add chown command to switch repo owner
2016-06-14 14:05:53 -07:00
Brad Rydzewski
8de93539e3
use correct content-type for logs
2016-06-14 14:01:20 -07:00
Brad Rydzewski
08a4bf06a5
ability to flush user repo cache
2016-06-14 13:07:05 -07:00
Brad Rydzewski
5456f13e9c
ability to stream logs using websockets
2016-05-23 14:35:58 -07:00
Brad Rydzewski
752ce496d5
added code for agent to ping central drone server
2016-05-11 14:37:56 -07:00
Brad Rydzewski
4e74e161f0
quick hack to enable log sections
2016-05-11 00:36:01 -07:00
Brad Rydzewski
447741b840
added query, endpoint, cli for build queue items
2016-05-10 22:19:45 -07:00
Brad Rydzewski
e7aa94f875
store signature and verification in database
2016-05-10 18:48:02 -07:00
Brad Rydzewski
850c00dbba
drone exec and drone agent now share code
2016-05-10 17:03:24 -07:00
Brad Rydzewski
3d05659134
simplify build engine for reliability
2016-05-09 22:57:57 -07:00
Brad Rydzewski
a7d3873891
removed import that was mistakenly auto-added
2016-05-02 17:52:34 -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
53eac09f34
added org and open registration
2016-05-01 17:33:22 -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
30eed8723d
moved all remaining files under designated structure
2015-05-17 14:25:04 -07:00
Brad Rydzewski
e3f0a39761
moving more data under pkg dir
2015-05-17 13:51:42 -07:00
Brad Rydzewski
f6b0c0cd9c
fix failed unit test caused by restructuring
2015-05-17 11:48:02 -07:00
Brad Rydzewski
40a9543c0c
moving remote pkg per new multi-binary structure
2015-05-17 11:45:09 -07:00
Brad Rydzewski
137fb62e85
moving queue package
2015-05-17 11:42:56 -07:00
Brad Rydzewski
f58b48d329
moved yaml parsing to yaml package
2015-05-17 11:36:12 -07:00
Brad Rydzewski
4c847296d4
refactoring toward multi-binary project layout
2015-05-17 11:10:43 -07:00
Brad Rydzewski
2e9786c68e
prevent hanging event source connections
2015-05-16 20:35:41 -07:00
Brad Rydzewski
b3951043a0
temp workaround to get Drone correctly stream SSE events
2015-05-16 20:08:32 -07:00
Brad Rydzewski
27aadca029
upgraded to latest version of gin to take advantage of SSE
2015-05-16 19:46:12 -07:00
Brad Rydzewski
64663e9742
fixed some build issues
2015-05-16 17:46:29 -07:00
Brad Rydzewski
28061efeea
sets default build timeout
2015-05-15 17:19:15 -07:00
Brad Rydzewski
1ef6dc0bc6
persist self url in repo field
2015-05-12 23:58:30 -07:00
Ben Schumacher
01eae26623
Fix Datastore mock and badge_test.go
2015-05-12 11:06:00 -06:00
Brad Rydzewski
7762ecac90
always display sub-build list
2015-05-11 00:53:56 -07:00
Brad Rydzewski
85256d3a22
backported 0.4 changes to existing database
2015-05-11 00:45:31 -07:00
Brad Rydzewski
d07c0cb80d
github status api
2015-05-09 20:46:32 -07:00
Brad Rydzewski
7f162c80b9
post-commit hook should trigger commit status update
2015-05-09 20:14:01 -07:00
Brad Rydzewski
fb2999c35d
include private key in json, manually scrub from rest responses
2015-05-09 12:54:38 -07:00
Daniel Oliveira
ba159976a0
Fixing TODO comments in code /cc @oliveiradan
...
1. server/login.go:49 (// TODO(bradrydzewski) return an error message instead). Added error message if authorization fails.
2. server/repos.go:178 (TODO(bradrydzewski) verify repo not exists). Added a checking for the repo and return an error in case it does not exist.
3. server/queue.go:170: // TODO (bradrydzewski) change this interface to accept an io.Reader. All references to the API change been in question SetLogs() have been modified.
4. remote/github/github.go:106 // Fixed a crash in case *repo_.Language is nil , when de-referencing it. This could happen when a repo only has a readme, so github hasn't set the language yet.
5. ./server/queue.go:170: // TODO (bradrydzewski) change this interface to accept an io.Reader. All references to the API change been in question SetLogs() have been modified.
6. .remote/github/github.go:106 // Fixed a crash in case *repo_.Language is nil , when de-referencing it. This could happen when a repo only has a readme, so github hasn't set the language yet.
2015-05-08 10:47:40 -06:00
Brad Rydzewski
0034c12141
initial work on build cancellation
2015-05-06 01:24:55 -07:00
Brad Rydzewski
f82c8ff6d7
ability to stream builds
2015-05-06 00:56:06 -07:00
Brad Rydzewski
091f0e9918
fixed some race conditions and cpu locking
2015-05-05 20:59:07 -07:00
Brad Rydzewski
80d8d10c15
ws improvements
2015-05-05 20:26:57 -07:00
Brad Rydzewski
cf27863841
temporarily replace bson with gob
2015-05-05 20:22:02 -07:00
Brad Rydzewski
fa07d82461
pre-marshal websocket message to avoid possible race
2015-05-05 19:46:26 -07:00
Brad Rydzewski
204fba9018
some initial work on a builtin build runner
2015-05-05 01:04:20 -07:00