Commit graph

2351 commits

Author SHA1 Message Date
Brad Rydzewski
af9c1e9bd7 Merge pull request #973 from 907th/hipchat_api_v2
Use HipChat API ver 2 for notifications
2015-04-16 23:38:18 -07:00
Brad Rydzewski
3520a295d5 added terminal highlight code 2015-04-16 22:16:32 -07:00
Brad Rydzewski
43381827b9 stubs for restarting, canceling builds 2015-04-16 22:07:13 -07:00
Brad Rydzewski
fd5a017384 added public key to repo settings 2015-04-16 15:15:05 -07:00
Brad Rydzewski
c4279678e8 only fetch logs if build finished 2015-04-16 15:05:00 -07:00
Brad Rydzewski
5f35f46c24 embedded task and status in build struct 2015-04-16 14:45:05 -07:00
Brad Rydzewski
110af2a196 using gravatar library instead of our own built-in func 2015-04-16 00:31:17 -07:00
Brad Rydzewski
433159e990 hook now calculates build matrix and creates appropriate tasks 2015-04-16 00:24:53 -07:00
Brad Rydzewski
5816f1156e add yaml parser, build execution code. not yet hooked up 2015-04-16 00:10:17 -07:00
Brad Rydzewski
cd18645784 contemplating nested storage of tasks and statuses 2015-04-15 23:45:24 -07:00
Brad Rydzewski
c324d66872 ability to pull list of orgs and verify membership 2015-04-15 00:20:00 -07:00
Brad Rydzewski
0c3f9e5bde REST cleanup. Idiomatic naming of datastore funcs 2015-04-14 22:04:38 -07:00
Alexey Chernenkov
d9f855e5b6 Try to build with the latest Docker sources 2015-04-14 12:07:04 +05:00
Alexey Chernenkov
9bc3a25a5e Fix dependency: github.com/docker/docker/utils was moved to pkg/jsonmessage 2015-04-14 11:54:41 +05:00
Alexey Chernenkov
8bcb5d9c52 Use HipChat notification API ver 2
HipChat API v1 is deprecated, but github.com/andybons/hipchat (used by Drone) does not support v2.
So I've implemented v2 using native http.PostForm.
2015-04-14 11:49:35 +05:00
Brad Rydzewski
1ad5e3f597 repo subscriptions functioning in datastore w/ index 2015-04-13 21:39:05 -07:00
Brad Rydzewski
5e7c4e2573 cleaned up a couple of the db functions 2015-04-13 19:25:11 -07:00
Brad Rydzewski
aebacfccd7 fixed token expiration calculation 2015-04-13 19:11:33 -07:00
Brad Rydzewski
a40d20dcdb check token expiry 2015-04-13 19:07:05 -07:00
Brad Rydzewski
d1d762aa83 fail to generate user tokens if no secret 2015-04-13 18:43:21 -07:00
Brad Rydzewski
6c3f99065a ability to manage user tokens via website 2015-04-13 16:33:29 -07:00
Brad Rydzewski
768b6c7e48 removed User.Tokens temporary index 2015-04-13 16:00:13 -07:00
Brad Rydzewski
a50d972d8e push common index functions to util.go for reuse 2015-04-13 15:51:15 -07:00
Brad Rydzewski
57188ee4f2 ability to manage tokens 2015-04-13 01:22:51 -07:00
Brad Rydzewski
701626881e ability to create a token 2015-04-12 23:15:28 -07:00
Brad Rydzewski
54e4250df9 ability to limit (or not) the log output 2015-04-12 23:08:55 -07:00
Brad Rydzewski
66990a95b4 initial work on tokens 2015-04-12 22:32:32 -07:00
Brad Rydzewski
0f60073adc session tokens converging with user tokens 2015-04-12 21:35:16 -07:00
Brad Rydzewski
eda3cfbe4b added logging when login or hook fails. helps troubleshoot common issues 2015-04-11 15:46:30 -07:00
Brad Rydzewski
ab3df4bd65 added some initial code for build list. will revisit. 2015-04-10 23:11:41 -07:00
Brad Rydzewski
087f92f41f tokens, last build 2015-04-10 22:22:55 -07:00
Brad Rydzewski
840ea6d595 Merge pull request #970 from benschumacher/issue-drone/drone#969
Rework BoltDB util functions to use bolt.Tx instead of DB
2015-04-10 14:12:03 -07:00
Ben Schumacher
46114f1231 Rework BoltDB util functions to use bolt.Tx instead of DB along with updates to existing API that leverage these to use Bolt's transaction wrapping functions. 2015-04-10 15:01:03 -06:00
Brad Rydzewski
779a6b46ab Merge pull request #968 from benschumacher/bolt-drone/drone#959
Add sequencing logic into the InsertBuild and test
2015-04-10 09:45:43 -07:00
Ben Schumacher
7bff8b3185 Add sequencing logic into the InsertBuild and test 2015-04-10 10:14:02 -06:00
Brad Rydzewski
e01c7242d8 Merge pull request #951 from kirillseva/patch-1
Fix small typo in comments
2015-04-09 20:50:52 -07:00
Brad Rydzewski
a78811833d Merge pull request #952 from kirillseva/more_typos
s/Exepected/Expected
2015-04-09 20:50:20 -07:00
Brad Rydzewski
3368934b13 Merge pull request #965 from hkjn/patch-1
s/heper/helper in helper.go
2015-04-09 20:50:00 -07:00
Brad Rydzewski
950e4f4090 storing user repos index inside users object, for now 2015-04-08 22:18:25 -07:00
Brad Rydzewski
fac0582b57 flag parse, load config, readme 2015-04-08 16:59:57 -07:00
Brad Rydzewski
c9edd1a018 source session secret from config file 2015-04-08 16:36:56 -07:00
Brad Rydzewski
fad4fc64e6 added routes and main entrypoint 2015-04-08 16:19:25 -07:00
Brad Rydzewski
89c95f4f00 add token,secret when creating user 2015-04-08 15:54:08 -07:00
Brad Rydzewski
9298f16155 added handlers, rest, angular skeleton 2015-04-08 15:43:59 -07:00
Brad Rydzewski
09bd7cf71a added github remote 2015-04-08 15:00:27 -07:00
Brad Rydzewski
42f2ac392a added settings 2015-04-08 14:20:06 -07:00
Henrik Jonsson
525d6d1329 s/heper/helper in helper.go 2015-04-08 15:18:01 +02:00
Brad Rydzewski
914807c67f fixed import path issue 2015-04-07 22:47:40 -07:00
Brad Rydzewski
9e8aa205e4 added event bus for managing websocket events 2015-04-07 22:46:05 -07:00
Brad Rydzewski
374e6b20b6 added example RPC client 2015-04-07 22:10:44 -07:00