Commit Graph

19 Commits

Author SHA1 Message Date
b99cae7a2e
add support for sending emails.
Change-Id: Iaff151dc1711b9b3ea9353070baa9202b1cc2a8c
2016-05-26 21:55:45 -07:00
48d723a582
Fix error reporting on registration.
- fleshed out documentation (fixing #30)
- added forgot page
2016-05-22 23:10:51 -07:00
c99f57527f
gate forget email frequency.
Change-Id: Id0f3bd2ec7c6714d23f9989a341855da5c8aa1bf
2016-05-14 23:58:56 -07:00
11f88feef0
Added frontend.
Change-Id: I8efe591dcd693c99ffdbe953415d8b05c02a3644
2016-05-14 20:14:24 -07:00
adcc05ea3a
validate email on register/forgot
Fixes #21.

Change-Id: I21bfd87d6fd730e8a90ceec77c9b23a90bc397e9
2016-04-27 21:30:35 -07:00
cce3166bdd
Add TLS support
Fixes #20.

Change-Id: I9c6b4ff3195f05e8a3c17d6704ee06b1f77db562
2016-04-27 21:30:18 -07:00
680eecb111
Added simple user auth
Fixes #14.

Change-Id: I748933214f43ac7298f1e93c14bb0ee881976d43
2016-04-27 21:29:48 -07:00
753a225f53 add some verbiage to body.
Change-Id: I1c6e6f61bcc23b9777e8bef140c5488bafe248f9
2016-03-02 22:07:06 -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
501631a45a Don't require user to set YSV_HOST
The original reason for having this required configuration parameter was that
I didn't think to read the hostname off the request. Doing it this way has the
additional benefit of a single server being able to serve a multitude of
hostnames.

Derek helped me realize this by repeating "there should be sane defaults" like
9000 times (maybe over 9000) till I got so tired of trying to make sure that he
understood why I did it that way to begin with that I looked at the problem
from a different perspective and like in a dream the solution came to me.

fixes #10.
2016-02-16 23:22:33 -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
3644ddcd86 updated docs to match reality. 2016-02-14 21:46:12 -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
c1b5f61b64 stubbed out supported methods on / 2016-02-13 00:17:12 -08:00
b7ef100a2c moved ysv -> vain 2016-02-13 00:17:12 -08:00
b3585cbc96 Added an http server 2016-02-08 00:15:22 -08:00