Commit Graph

105 Commits

Author SHA1 Message Date
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
Vincent Batts cacdb3aaa5 major cleanup of config handling 2013-08-05 23:06:05 -04:00
Vincent Batts 25f42cf2be markdown 2013-08-05 20:33:50 -04:00
Vincent Batts 6a5fb3ff22 markdown 2013-08-05 20:32:19 -04:00
Vincent Batts db4b890864 markdown 2013-08-05 20:30:43 -04:00
Vincent Batts 2e7fe1a454 /k/ shows a tagcloud now 2013-08-05 20:29:16 -04:00
Vincent Batts 06185db73b adding javascript loading to the page. moar caching headers. 2013-08-05 19:27:07 -04:00
Vincent Batts f54091db6e adding back the path matches for other assets 2013-08-05 18:44:38 -04:00
Vincent Batts 338cce6561 Revert "defaulting /assests switch to just look in the directory"
This reverts commit 81a51e78c9.

that is too much access for now
2013-08-05 18:43:10 -04:00
Vincent Batts 81a51e78c9 defaulting /assests switch to just look in the directory 2013-08-05 18:39:52 -04:00
Vincent Batts 931990614b Merge branch 'assets'
Conflicts:
	server.go
2013-08-05 18:30:50 -04:00