summaryrefslogtreecommitdiff
path: root/Hero/Client.hs
AgeCommit message (Collapse)Author
2020-07-12hero: put app routes behind authBen Sima
2020-06-27hero: implement the basics of user loginsBen Sima
There's also a lot of refactoring/renaming in here, so the diff is really messy. The overall problem is that I've only ever added code, I've never gone back and reorganized/rearchitected stuff. So adding even small features is becoming an enormous effort. Anyway, this adds the basics of user auth. Next I need to add the auth checks for every route that needs it, and make sure everything is back to working correctly.
2020-06-12Reorganize a bunch of codeBen Sima
Nothing should be functioning differntly, just made it easier to work on.
2020-06-05Add user datatype to keepBen Sima
I also restructured some types so that I could grab a handle on the keep to close it on shutdown, otherwise the database would be locked and I can't do anything about it. This might mean I have to delete and start the database from scratch when I deploy, but that's okay because I haven't stored anything yet. I also renamed some stuff like 'deck' and 'beam' just for fun. I could make these into more general interfaces like I always planned to. Also I haven't really tested this yet, so... next commit will implement the user login.
2020-04-15Lint fixes, also delete Biz.LanguageBen Sima
2020-04-15ReformattingBen Sima
Now I'm using ormolu instead of brittany for Haskell formatting now. Figured I should just make all of these big changes at once.
2020-04-15Re-namespacingBen Sima
Moving away from the DNS-driven namespacing toward more condensed names, mostly because I don't like typing so much.