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
Brad Rydzewski
51e995e0a1
more mock examples
2015-04-30 22:48:15 -07:00
Brad Rydzewski
9c882c1a9e
table-driven tests for badge permutations
2015-04-30 22:18:39 -07:00
Brad Rydzewski
acc6bb76ee
minor restructuring
2015-04-30 21:20:59 -07:00
Brad Rydzewski
0690a85bd3
Merge pull request #994 from benschumacher/testify-mocks
...
Alternative pattern for API unit tests (versus #991 )
2015-04-30 21:07:21 -07:00
Brad Rydzewski
3a4772cbe6
added favicon
2015-04-30 19:14:42 -07:00
Brad Rydzewski
779c1c06d3
agent endpoints now protected
2015-04-30 14:57:53 -07:00
Brad Rydzewski
0dc79e5886
page to get token for workers
2015-04-30 14:41:52 -07:00
Brad Rydzewski
6fcae7d80a
hooks are protected with signed sha
2015-04-30 14:23:46 -07:00
Brad Rydzewski
64cc684295
added error message when cannot create repo
2015-04-30 11:01:46 -07:00
Brad Rydzewski
371a64ef6a
hook honors branch filter
2015-04-30 10:39:16 -07:00
Brad Rydzewski
543a46a755
contacts agent to cancel build
2015-04-30 00:42:23 -07:00
Brad Rydzewski
3863617056
allow websocket connections cross-origin
2015-04-30 00:24:39 -07:00
Brad Rydzewski
77246cc9c9
hide build output when pending
2015-04-30 00:20:48 -07:00
Brad Rydzewski
ad80facbbd
websocket output working
2015-04-29 19:57:43 -07:00
Brad Rydzewski
7a75a17535
ability to visit public repos when not authenticated
2015-04-29 16:08:21 -07:00
Brad Rydzewski
f740bf91cf
don't display logs when build is killed
2015-04-28 16:36:13 -07:00
Brad Rydzewski
7649248385
hooked up restart, cancel in user interface
2015-04-28 16:27:30 -07:00
Brad Rydzewski
864a47f502
added error messages to login flow
2015-04-28 16:08:20 -07:00
Brad Rydzewski
b84943222b
get netrc data when hook is triggering
2015-04-28 15:08:21 -07:00
Ben Schumacher
52b441527c
Fix spelling mistake
2015-04-28 15:57:56 -06:00
Ben Schumacher
0e53778d22
Badge API tests
2015-04-28 15:42:09 -06:00
Ben Schumacher
e033a1a4a5
Alternative pattern for API unit tests
2015-04-27 15:48:21 -06:00
Daniel Oliveira
4ade23e8ac
Merge remote-tracking branch 'upstream/bolt' into bolt
2015-04-27 10:41:25 -06:00
Brad Rydzewski
65105d06c2
queue polling not correctly handles client disconnect
2015-04-26 23:49:38 -07:00
Daniel Oliveira
4e53cc184e
Merge remote-tracking branch 'upstream/bolt' into bolt
2015-04-25 22:40:36 -06:00
Brad Rydzewski
96b49cf0fc
website subscribes to build events, update pages
2015-04-25 21:27:24 -07:00
Brad Rydzewski
712c18459f
serving the index.html page from bindata
2015-04-25 16:43:51 -07:00
Brad Rydzewski
3b7c9738a3
ability to squash and embed static files
2015-04-25 16:16:56 -07:00
Daniel Oliveira
707b0e3e13
Merge remote-tracking branch 'upstream/bolt' into bolt
2015-04-24 18:21:19 -06:00
Daniel Oliveira
abc83303ee
solve build.go conflict
2015-04-24 18:19:48 -06:00
Brad Rydzewski
a1f3b2da4d
got websocket events working
2015-04-24 17:06:46 -07:00
Brad Rydzewski
da350989d3
fixed minor queue glitches
2015-04-24 14:25:03 -07:00
Daniel Oliveira
987e85f261
About this commit:
...
1. server/builds.go:92 used SetStatus(). Replaced with SetBuildStatus().
2. Added a index check in SetBuildTask() and return an error in case the tasks number is > than build.tasks size.
2015-04-23 13:39:36 -06:00
Daniel Oliveira
4edf385d1c
About this commit:
...
1. server/builds.go:92 used SetStatus(). Replaced with SetBuildStatus().
2. Added a index check in SetBuildTask() and return an error in case the tasks number is > than build.tasks size.
2015-04-23 12:15:17 -06:00
Brad Rydzewski
d2776bc990
added code for remote queue plugin
2015-04-22 01:00:15 -07:00
Brad Rydzewski
b16759b0b6
code to inject private params
2015-04-21 15:48:48 -07:00