Commit graph

1793 commits

Author SHA1 Message Date
Ben Schumacher
38b939982a Working on drone/drone#959 2015-04-20 16:48:44 -06:00
Daniel Oliveira
627f8df98d Unit Tests for: repo_test.go, task_test.go 2015-04-20 15:01:48 -06: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
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
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
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
Brad Rydzewski
d9fd23a6df experimental branch. playing around with boltdb 2015-04-07 01:20:55 -07:00
Brad Rydzewski
1f8d65bb80 Merge pull request #956 from waffle-iron/master
waffle.io Badge
2015-04-06 19:11:19 -07:00
Making GitHub Delicious.
22e5d6c511 add waffle.io badge 2015-04-06 17:10:45 -06:00
Brad Rydzewski
50114f573c Merge pull request #946 from hkjn/allow-empty-email
If email is unspecified, pass in -e ' ' to avoid having registry URL interpreted as email, which will fail cryptically.
2015-04-02 10:08:48 -07:00
Henrik Jonsson
2526fb17c5 if publish.docker.email is unspecified, pass in -e ' ' to avoid having the line end up as 'docker login -u foo -p bar -e someregistry', which is interpreted as 'log in user foo with pass bar and email someregistry to https://index.docker.io/v1/' (c.f. 'docker help login') 2015-04-01 18:21:33 +02:00
Brad Rydzewski
0770e83662 Merge pull request #943 from sroze/ansii-2.53
Supports "to default" ANSII styles
2015-03-31 09:26:10 -07:00