Commit graph

2756 commits

Author SHA1 Message Date
Nurahmadie
6a42686c29 Remove unused -path 2014-03-10 07:49:01 +07:00
Nurahmadie
d61bb3ef6c Fix index operation tests 2014-03-10 07:17:47 +07:00
Nurahmadie
489e38908a Implement ChangeColumn, AddIndex, and DropIndex methods for Operation interface. 2014-03-10 07:11:15 +07:00
Nurahmadie
81cf496811 Refactor migration.
Add `ChangeColumn`, `AddIndex`, `DropIndex` method to
Operation interface.
2014-03-10 07:08:58 +07:00
Brad Rydzewski
d406aab849 Merge pull request #175 from miracle2k/patch-1
Support DOCKER_HOST w/o protocol
2014-03-09 12:47:37 -07:00
Michael Elsdörfer
4130c013f1 Remove erroneous keystrokes. 2014-03-09 03:38:27 +01:00
Michael Elsdörfer
f437b490b5 Support DOCKER_HOST w/o protocol 2014-03-09 03:32:21 +01:00
Brad Rydzewski
265138c758 fixed bug related to #163 2014-03-08 17:21:06 -07:00
Brad Rydzewski
e7e046b35c linked readme to sections in readthedocs 2014-03-08 15:22:49 -07:00
Brad Rydzewski
3ae5bef2b1 added contributor guidelines to mirror what we have on readthedocs 2014-03-08 15:15:16 -07:00
Nurahmadie
28fef9e3f4 Returns error if driver name is not listed.
Also remove references to postgresql driver for now.
And add some comments for `database.Init` method.
2014-03-08 18:12:43 +07:00
Nurahmadie
51519b62dd Actually use --driver option to set database driver for drone.
This includes refactoring database setup, and migration system.

Remove setupDatabase from main and use `Init` method from database
package.

At database package, defines Init method which actually initiate
database with options given from comand line flag. I think `--path`
wont be used anywhere so I plan to remove it later.

Both meddler and migration initiated here, then we call `Set` method
to setup all the tables, etc. Here I think I want to separate database
schema and turn it into migration script instead, later maybe.

At migration package I made some tweak to `Operation` interface.
Realized that it's ludicrous to let migration driver re-implement `Exec`
and `Query`, I made migration script to receive The whole
migrationDriver struct which contains both Operation implementor, and
the Tx itself. This made possible thanks to Go struct being able to
promote its member, now our migration is more transparent.

There's also stub implementation for bot mysql and postgresql, will
implement this really soon.
2014-03-08 12:19:28 +07:00
Brad Rydzewski
2e528dea24 added unit tests for settings validation 2014-03-07 13:21:43 -07:00
Brad Rydzewski
1348f8f5fc added validations for settings screen 2014-03-07 12:10:40 -07:00
Brad Rydzewski
68ff4aa2d1 fixing issue related to local cache name, see issue #163 2014-03-07 11:42:42 -07:00
Brad Rydzewski
ef908ebb94 Merge pull request #167 from benmanns/formatting-vetting
Formatting and Vetting
2014-03-06 15:46:40 -08:00
Benjamin Manns
4cd5e69e7b Remove unreachable return. 2014-03-06 10:50:48 -08:00
Benjamin Manns
baf468973f Format go code. 2014-03-06 10:45:21 -08:00
Brad Rydzewski
922993c258 Merge pull request #165 from kirs/feature/autofocus-login
Autofocus on email field in login
2014-03-06 10:27:19 -08:00
Kir Shatrov
5bf726d4d4 Autofocus on email field in login 2014-03-06 16:35:57 +04:00
Brad Rydzewski
686f755c5d Merge pull request #164 from ewr/SpecifyTmpDirViaEnv
Add ability to specify temp directory via DRONE_TMP environment variable
2014-03-05 14:42:59 -08:00
Eric Richardson
74f5a41a05 Add ability to specify temp directory via DRONE_TMP environment variable
* If not set, defaults to the previously-used `/tmp/drone`
* This is the directory used for storing cached volumes, so in some deployment
  scenarios the admin may wish to place it somewhere more resilient than /tmp.
2014-03-05 17:10:29 -05:00
Brad Rydzewski
b6c64cea96 Merge pull request #161 from floatdrop/identicon
Add identicon query param to GravatarPattern
2014-03-05 11:37:10 -08:00
Vsevolod Strukchinsky
0c9dafc5c9 Remove unnecessary appending identicon in template 2014-03-05 16:25:27 +06:00
Vsevolod Strukchinsky
fae4adaffc Add identicon query param to GravatarPattern 2014-03-05 16:19:44 +06:00
Brad
4333d62c37 added yml config for custom /etc/hosts entries 2014-03-04 11:08:13 -08:00
Brad
f5d142a4b5 moved environment variables from Dockerfile to build script 2014-03-04 11:07:41 -08:00
Brad
8767edd37a updating main.js 2014-03-04 10:52:04 -08:00
Brad
cecef21d4f fixed merge issue with template.go and duplicate fmt import 2014-03-04 10:50:53 -08:00
Brad
5d93b65e9c Merge branch 'master', remote-tracking branch 'origin' 2014-03-04 10:42:44 -08:00
Brad Rydzewski
791f7b0652 Merge pull request #153 from movableink/js-in-external-files
JS in external files
2014-03-04 10:27:40 -08:00
Brad Rydzewski
df25a380ba Merge pull request #160 from gonzojive/master
Improve error messages in template parsing init().
2014-03-04 10:22:35 -08:00
Red Daly
dbbbe325c3 Improve error messages in template parsing init(). 2014-03-04 04:47:47 -08:00
Brad
526fc23299 updated README to include caching details for #147 2014-03-02 23:03:21 -08:00
Brad
c1b9353943 added code to persist directories between builds. see issue #147 2014-03-02 22:54:09 -08:00
Brad
18d5421706 a bit of prep-work for adding caching 2014-03-02 22:35:01 -08:00
Brad
600bcdea38 added section to yaml for custom hostnames 2014-03-02 18:55:28 -08:00
Brad
984099aa04 Merge branch 'master', remote-tracking branch 'origin' 2014-03-02 18:38:38 -08:00
Brad Rydzewski
07965b356f Merge pull request #155 from fudanchii/pr-author
Set PR commit author from User.Login
2014-03-02 17:57:15 -08:00
Nurahmadie
fe3bb97231 Fix pull-request checkout not working for Git >=1.8
Explicitly create pr branch from origin
2014-03-02 20:03:05 +07:00
Nurahmadie
cd5126d8c9 Set author for pull request 2014-03-02 19:09:14 +07:00
Michael Nutt
f468203e23 add jasmine specs for javascript 2014-03-02 02:08:30 -05:00
Brad Rydzewski
0296edf981 Merge pull request #151 from fudanchii/docs
Documentation update.
2014-03-01 22:12:40 -08:00
Michael Nutt
b2965bf432 extract commit update js into a separate file 2014-03-02 00:43:20 -05:00
Nurahmadie
c383f9c262 Add deployment and publish plugin list to README 2014-03-02 11:52:49 +07:00
Nurahmadie
8d1bf05d77 Add table of content for README 2014-03-02 10:58:07 +07:00
Brad Rydzewski
092b7c919b added git revision to the binary for debugging purposes 2014-03-01 20:46:10 -07:00
Brad Rydzewski
c69e9d3ab7 Merge remote-tracking branch 'origin/master' 2014-03-01 20:25:22 -07:00
Brad Rydzewski
f33ebcc21c ability to use custom badges. standard badges now using shields.io 2014-03-01 20:25:10 -07:00
Brad Rydzewski
451d9c80cb Merge pull request #150 from fudanchii/html-fix
Fix gravatar size at build page to fit the stylesheet.
2014-03-01 19:24:19 -08:00