Commit Graph

115 Commits

Author SHA1 Message Date
Vincent Batts 553f990c5d
openshift: switch to rolling strategy and fmt
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-06-08 15:38:58 -04:00
Vincent Batts 7d2ce0ed03
Dockerfile: permission denied
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-06-08 15:30:14 -04:00
Vincent Batts 92bce04f18 Merge branch 'openshift-template' 2017-06-08 14:53:57 -04:00
Vincent Batts 00628d75f5
run.sh: allow for additional args through env variable
"what could possibly go wrong"

But since changing the cmd through openshift is not straight forward,
this allows me to inject additional parameters to the app.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-06-08 14:52:25 -04:00
Vincent Batts 7be658b04a
openshift: add templates for standing up the service
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-06-08 14:48:47 -04:00
Vincent Batts 3388ff82f2
Dockerfile: don't axe the source from the image
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-06-08 14:42:19 -04:00
Vincent Batts be4ac4b880 dockerfile: trying a different approach for entrypoint 2017-06-07 18:49:51 -04:00
Vincent Batts b3f5e06c4d
layout: humanize some values
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-04-07 14:55:13 -04:00
Vincent Batts f768d2f9f6
*: bubble the dbhandler up to cli
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-04-07 13:42:12 -04:00
Vincent Batts 51545d2e46 Merge pull request #9 from vbatts/dbhandler
Dbhandler
2017-04-07 13:30:11 -04:00
Vincent Batts 610cd418ca
*: fixes to be working on new abstractions
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-04-07 13:29:07 -04:00
Vincent Batts b80d34f423
dbutil: abstract out the last mongo type
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-04-07 11:56:05 -04:00
Vincent Batts efa8ac6511
dbutil: abstract out mongo Handler
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-04-07 11:40:57 -04:00
Vincent Batts 1b64b8a3c5 Merge branch 'master' of github.com:vbatts/imgsrv 2017-04-07 10:41:27 -04:00
Vincent Batts 0edeff0e16
Dockerfile: reorg, and use the shared env variables
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-03-22 15:40:40 -04:00
Vincent Batts d3761001a9
Dockerfile: use the openshift variables
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-03-22 14:11:49 -04:00
Vincent Batts 51e270e2c5
README: there are more deps
Let folks find that out on their own

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-03-10 15:47:23 -05:00
Vincent Batts e3593e4992
Dockerfile: introduce environment variables
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-03-10 15:41:17 -05:00
Vincent Batts 4b75c60819
Dockerfile: builds an image from master
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-03-10 14:08:38 -05:00
Vincent Batts 044385dad7
vendor: remove this
Vendoring is really making things complicated

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-03-10 13:12:23 -05:00
Vincent Batts 69de1a14b0 Dockerfile: updates 2017-03-10 12:56:41 -05:00
Vincent Batts 2878bb123b the All listing is broken 2017-03-10 10:34:28 -05:00
Vincent Batts c611d0d853
*: vender code and make a Dockerfile 2017-02-06 12:25:03 -05:00
Vincent Batts ea4f3c65e9 the All listing is broken 2013-11-07 14:28:54 -05:00
Vincent Batts ce7e87f290 shorten the hash 2013-11-07 10:01:36 -05:00
Vincent Batts 629bafaa7f adler32 is not nearly unique. switching to sh256 and adding tests 2013-11-05 11:34:16 -05:00
Vincent Batts 2a87e1f8ca bumping version to 1.3.0 2013-10-10 10:46:25 -04:00
Vincent Batts adbdffbfb4 client upload works again 2013-10-10 10:31:27 -04:00
Vincent Batts 96a4b57924 client can upload now, but the response body is a whole page, not just
the url
2013-10-09 17:02:38 -04:00
Vincent Batts 5ed865d2e4 setting variable for form parsing byte buffer 2013-10-09 16:00:20 -04:00
Vincent Batts 9cc9b88d26 thinking about how to do a stand alone web server 2013-10-09 09:41:02 -04:00
Vincent Batts ff0998af4c removing unused things 2013-10-03 23:51:45 -04:00
Vincent Batts 70072f7a59 removing unused init 2013-10-03 23:51:00 -04:00
Vincent Batts 9b2c342375 cleaned up the dbutil initialization 2013-10-03 23:26:01 -04:00
Vincent Batts cebd3acc3c all gfs calls are inside dbutil now 2013-10-03 22:49:57 -04:00
Vincent Batts c737976121 moar pulling back of database calls from the server 2013-10-03 17:04:37 -04:00
Vincent Batts 6e439b0de4 fixing the regex find for extensions 2013-09-20 17:21:26 -04:00
Vincent Batts d4824ad6a2 * more logging on upload failures.
* adding an error page
* trying to fix the tag cloud
2013-09-10 14:51:44 -04:00
Vincent Batts 1c14a76877 tagging having a form upload for the client 2013-08-22 17:29:07 -04:00
Vincent Batts ea2be195af adding mongo badge 2013-08-06 12:00:12 -04:00
Vincent Batts efc16b027b setting project name as heading 2013-08-06 11:58:47 -04:00
Vincent Batts 558c8b6381 Merge pull request #7 from jbowes/patch-1
Add shields for go version and license
2013-08-06 08:57:59 -07:00
James Bowes cf9bab0857 Add shields for go version and license 2013-08-06 12:54:33 -03:00
Vincent Batts 8f6a859703 version bump: 1.2.1 2013-08-06 11:25:17 -04:00
Vincent Batts 9274137145 i broke the tag cloud js :-\ 2013-08-06 11:24:54 -04:00
Vincent Batts 713d700a76 bump version: 1.2.0 2013-08-06 11:09:59 -04:00
Vincent Batts e3548407b2 now we have an /ext/ listing 2013-08-06 11:00:57 -04:00
Vincent Batts 5eab319c6c now images are lower cased, and searching for names is insensitive.
for your mongo db set, run:
db.fs.files.find().forEach(
  function(e) {
    e.filename = e.filename.toLowerCase();
    db.fs.files.save(e);
  }
)
2013-08-06 10:37:58 -04:00
Vincent Batts 80e9381754 working on a configuration merge 2013-08-06 00:27:10 -04:00
Vincent Batts 83cf991ef9 seperated out the db utilities. Also adding link for "other" views. 2013-08-05 23:51:26 -04:00