1
0
forked from sm/vain
Commit Graph

11 Commits

Author SHA1 Message Date
9d3ce56e26
Added storer interface
Change-Id: I747bec339bdda26f0f68b24956912467ff67695d
2016-06-24 01:04:33 -07:00
680eecb111
Added simple user auth
Fixes #14.

Change-Id: I748933214f43ac7298f1e93c14bb0ee881976d43
2016-04-27 21:29:48 -07:00
5de44ba4d6 tighter constraints on allowed paths.
Change-Id: Ie6b121e4733e45288a36dbc2426f556fd5e2832d
2016-03-02 22:06:17 -08:00
20da49f37f renamed SimpleStore receiver.
Fixes #12

Change-Id: If22752568e38843be48f25d9126dd9fd4d81c076
2016-03-01 23:51:29 -08:00
2e4add8a1c Adds DELETE.
Fixes #11

Change-Id: I3b4aadc85055f2d2f4efb9e2e95bde6924320f35
2016-03-01 23:50:08 -08:00
ce00d933aa vcs as string, not int.
No longer do we keep track of const iota style. Just encode the behavior
in the server for defaults, add a validation function, call it a day.

Change-Id: I603e9dd287a57084c78c543f1ce83b0acf47a765
2016-03-01 23:49:24 -08:00
456d502b72 added some tests for the json storage. 2016-02-15 01:42:20 -08:00
9e9bb74c4a Addressing go vet / golint 2016-02-15 01:10:49 -08:00
4cfaf2124f Added Save/Load to db
Fixes #3. Fixes #2
2016-02-14 22:20:10 -08:00
557717c138 Prevent addition of duplicate path prefixes.
I think I understand this now; the failure comes from here:

https://golang.org/src/cmd/go/vcs.go#L818

and makes it so one can't both host:
- github.com/foo
- github.com/foo/bar

which would have to clone the latter inside of the former.

Fixes #1.
2016-02-13 10:46:09 -08:00
b0ebbf742b simple in-memory storage working for POST/GET 2016-02-13 01:18:18 -08:00