Commit graph

54 commits

Author SHA1 Message Date
Daniel Malon
447cf710af Add configurable assets folder
This adds a server-assets-folder configuration which allows overriding the assets bundled to the binary.
2015-02-26 22:22:16 +00:00
Brad Rydzewski
66cf15d2d9 fixed rice issue again 2015-02-06 08:40:59 -08:00
Brad Rydzewski
271974e98f fixed go.rice issue 2015-02-05 18:48:16 -08:00
Matt Bostock
c48c6ebc88 Remove capability package
It's no longer used. This commit can always be reverted later if it's
needed again.
2015-01-16 22:05:23 +00:00
Matt Bostock
307aed12bc Move open registration setting into remote plugins
...so that it's possible to enable or disable open registration on a
per-remote basis.

For example, the `DRONE_REGISTRATION_OPEN` environment variable now
becomes `DRONE_GITHUB_OPEN` when using GitHub as a remote.

The default for open registration in this commit is `false` (disabled),
which matches the existing behaviour.

This is useful if you need to support both public and private remotes,
e.g. GitHub.com and GitHub Enterprise, where you trust all of the
private users and want to allow open registration for those but would
not want all GitHub.com users to run builds on your server.

Tested with GitHub and GitLab.
2015-01-16 22:04:24 +00:00
Kirill Zaitsev
ef3fba75a9 Version from file 2015-01-12 20:00:36 +03:00
Michael Steinert
441de03fb9 Serve robots.txt from /
This change allows `robots.txt` to be served from the root URL, i.e.
https://drone.io/robots.txt, which is where [web crawlers will look for
it][1]. Previously this file was only served from `/static/robots.txt`.

[1]: http://www.robotstxt.org/robotstxt.html
2014-12-24 13:03:08 -06:00
Kirill Zaitsev
12baa7a81a Fix docker TLS, update readme and config file 2014-12-10 18:39:46 +03:00
Christopher Brickley
270ce52b76 add gogs support 2014-11-18 21:50:05 -05:00
Brad Rydzewski
2302d74465 ability to handle options requests 2014-11-15 22:15:22 -08:00
Brad Rydzewski
3cd1631c05 updated README 2014-10-22 23:23:05 -07:00
epipho
521cf4e8c9 Exit app if config cannot be read correctly 2014-10-18 22:26:29 -04:00
Brad Rydzewski
69580a26c7 change source to datasource, for consistency with Go standard lib 2014-10-11 16:34:53 -07:00
Brad Rydzewski
167eb21b21 modified Docker plugin to use new Condition struct to limit execution 2014-10-11 14:35:06 -07:00
Brad Rydzewski
2080cd3309 hooked up SSL in exp branch 2014-10-11 14:30:51 -07:00
Brad Rydzewski
7a7c5a9c0d added package for routes in an attempt to cleanup main.go 2014-10-09 20:26:51 -07:00
Brad Rydzewski
17d773fac0 ability to add and remove workers 2014-10-08 21:55:53 -07:00
Kirill Zaitsev
9b706b1534 Post login form to GetLogin handler 2014-10-06 02:38:52 +04:00
Kirill Zaitsev
3d8e04c04f Use :host instead :hook, host is required by hook handler 2014-10-02 18:22:42 +04:00
Brad Rydzewski
61c8811847 updated docs for using custom driver 2014-10-01 11:58:27 -07:00
Brad Rydzewski
a61c19dddc added missing capability item to context to prevent login panic 2014-10-01 09:41:57 -07:00
Brad Rydzewski
6b721f5b98 added unit tests for postgres and mysql 2014-09-30 23:30:42 -07:00
Brad Rydzewski
80f7523e9b hooked up custom docker instances from config file 2014-09-30 21:35:30 -07:00
Brad Rydzewski
5f950d21c4 hooked up jwt token in angular 2014-09-30 00:43:50 -07:00
Brad Rydzewski
58f287a541 added worker handlers 2014-09-29 21:34:30 -07:00
Brad Rydzewski
99fef2b4ea initial work to get websocket handlers working 2014-09-28 23:18:52 -07:00
Brad Rydzewski
565277bd00 more work on worker integration 2014-09-28 20:21:02 -07:00
Brad Rydzewski
21f9aec808 added new handlers and workers 2014-09-28 18:36:24 -07:00
Brad Rydzewski
9a3f33b9c3 removed remote & server database func now that we are using conf files 2014-09-24 21:45:30 -07:00
Brad Rydzewski
55d9dbedcb ability to provide Docker URL endpoints 2014-09-07 14:55:37 -07:00
Brad Rydzewski
446fb04d49 added registration.open to the configuration 2014-09-04 20:53:32 -07:00
Brad Rydzewski
ca3d15bca2 refactored how remotes work and how (some) config is loaded 2014-09-03 00:23:36 -07:00
Brad Rydzewski
6af9d40c4b fixed compile error caused by laziness 2014-08-14 12:49:45 -07:00
Brad Rydzewski
062e275388 moved standard http headers 2014-08-09 19:06:20 -07:00
Brad Rydzewski
25a6eb79ae returning status for commit hook & rebuild handler 2014-07-16 00:33:55 -07:00
Brad Rydzewski
7d446459d3 style mods to the login page 2014-07-13 20:24:03 -07:00
Brad Rydzewski
7d48ecad14 fixed naming conflict between workers int and workers chan 2014-07-13 17:15:09 -07:00
Brad Rydzewski
f9c503f74b launching multiple workers (1 per cpu) by default 2014-07-13 17:06:55 -07:00
Brad Rydzewski
c20f563330 reverted back to original sqlite database location 2014-07-13 16:04:10 -07:00
Brad Rydzewski
aa9a8f4878 integrated plugin model for remotes 2014-07-12 19:01:58 -07:00
Brad Rydzewski
6375eaa552 fixed issue w/ buffer blocking on write to websocket 2014-07-11 16:52:22 -07:00
Brad Rydzewski
eae495534b removed hard-coded Docker socket 2014-07-11 15:39:17 -07:00
Brad Rydzewski
83577a7d5d removed css files. designers will be providing
removed amber files. replacing with angular
removed queue package in favor or worker package
removed channel package in favor of pubsub package
2014-06-21 14:22:38 -07:00
Brad Rydzewski
d64bcdb51d Get Config Data via ConfigManager 2014-06-12 17:17:59 -07:00
Brad Rydzewski
36b01512c0 Refactored to use Model and Database folders 2014-06-12 16:41:04 -07:00
Brad Rydzewski
47ea0cbd29 Moved schema.go to schema Package 2014-06-12 15:02:19 -07:00
Brad Rydzewski
316548899f Removes Unnecessary /render Rackage 2014-06-12 14:24:06 -07:00
Brad Rydzewski
aec9b33048 got the build working correctly 2014-06-12 12:44:19 -07:00
Brad
7abe695a5c hooked the build queue back up 2014-06-11 17:42:49 -07:00
Brad
1a143f8fb4 cancel all pending or started builds when the app starts 2014-06-11 12:39:29 -07:00