summaryrefslogtreecommitdiff
path: root/Biz/Devalloc.hs
AgeCommit message (Collapse)Author
2021-01-22Property tests for calculateScoreBen Sima
2021-01-22Persist Analysis runsBen Sima
Keep Analysis runs, with a unique id, and index them based on ID, which user asked for the analysis, and commit sha.
2021-01-22Add footer and adjust widthsBen Sima
The footer is just a copyright for now. The header is full width, main and footer max out at 900px. This seems like a reasonable default, so I put it in the base Biz/Look.hs.
2021-01-22Style SelectRepo page and all linksBen Sima
I'm borrowing heavily from Basecamp.com, but I figure after enough itreation I will settle on something more unique. Anyway, copying Basecamp isn't so bad -- they are a great company after all!
2021-01-16Fix colors and structure HTML betterBen Sima
My qutebrowser dark filter messed up my colors. Also now I'm using header and main HTML elements.
2021-01-16Freshen up frontpage designBen Sima
Part of a larger effort, but doing this iteratively in smaller chunks.
2021-01-15Implement Biz.Test with tastyBen Sima
Also changes the --test option to a 'test' command. This is because running the tests for a namespace/exe should never be combined with anything else: you either want to run the tests, or not.
2021-01-15Implement Biz.CliBen Sima
Wraps docopt rather nicely. It's much nicer than optparse-applicative and runs tests with the --test argument automatically. Next I just need to implement a test framework.
2021-01-12Fix score calculationBen Sima
It was always showing 0 because of annoying numeric type conversion stuff. This is my least favorite part of Haskell.
2021-01-11Add navbar mostly everywhereBen Sima
This necessitated adding a few more paths for clarity and such, and a type for the analysis page. There seem to be some bugs with session handling I think, but I'll suss those out later. Also I'm running into many uncaught exceptions so eventually I will need to tackle those as well.
2021-01-11Fix cookie settings in test areaBen Sima
2021-01-09Fix live cookie settingsBen Sima
Auth was broken without the xsrf thing disabled. Anyway, its best to have well-defined live and test settings. I will re-enable xsrf when I figure out the js snippet I need.
2021-01-08Add cookies and store user tokensBen Sima
Boy that was harder than I thought, but the code is pretty clean now. I still need to fixup the error handling, and maybe move all the extra args into an app monad, but I think otherwise I have it in a good place.
2020-12-29Deploy hoogle to Biz.DevBen Sima
I had to refactor Biz/Bild/Rules.nix. I also had to checkin my patched hoogle.nix file, but I also upstreamed the patch to nixpkgs-dev so it shouldn't stick around for too long.
2020-12-28devalloc: initialize keep databaseBen Sima
2020-12-27devalloc: calculate staleness and scoreBen Sima
2020-12-24Devalloc: refactoring and organizingBen Sima
2020-12-24hlint fixesBen Sima
Still calibrating my use of hlint.
2020-12-24devalloc: refactor to use servant-genericBen Sima
2020-12-23devalloc: implement github blackhole listBen Sima
2020-12-09Reorganizing for reababilityBen Sima
2020-12-08Lint fixesBen Sima
2020-12-08Slight refactor for clarityBen Sima
2020-12-07Auth and load repos from GitHubBen Sima
2020-12-06De-nest Devalloc and a few other cleanupsBen Sima