Christine Dodrill
8587395399
404 handler should return 404
2015-07-30 09:23:00 -07:00
Christine Dodrill
75f009dade
Main: turn some do code into let ... in
2015-07-30 09:22:05 -07:00
Christine Dodrill
d427db124f
Main: show 404 page if path is not found
2015-07-30 09:09:00 -07:00
Christine Dodrill
0fa42c588c
Main: Simplify this a bit more
2015-07-29 22:35:11 -07:00
Christine Dodrill
6bb5d0db06
move HTML rendering baggage to Utils
2015-07-29 22:33:14 -07:00
Christine Dodrill
a8147c2461
Show a 404 when a nonexistant page is accessed
2015-07-29 22:23:13 -07:00
Christine Dodrill
a0beb7cc6b
emit micro-css
2015-07-29 21:54:32 -07:00
Christine Dodrill
a5ce2358ab
run stylish-haskell
2015-07-29 21:18:00 -07:00
Christine Dodrill
03714a8b46
Move CSS rendering into the base template
2015-07-29 21:12:11 -07:00
Christine Dodrill
0b1489f00e
Thread: don't infix a map lookup
2015-07-29 20:39:49 -07:00
Christine Dodrill
106a061a8e
Make this written the other way around
2015-07-29 20:16:25 -07:00
Christine Dodrill
fe1a4dc87a
Beautify the CSS
2015-07-29 18:56:46 -07:00
Christine Dodrill
e0d159eab4
Move user information into the left card
2015-07-29 18:55:58 -07:00
Christine Dodrill
9c78c6704e
Stylize
2015-07-29 18:46:49 -07:00
Christine Dodrill
08a953f852
Use rendered CSS
2015-07-29 18:29:28 -07:00
Christine Dodrill
4b10ae7df8
Add base CSS
2015-07-29 18:25:23 -07:00
Christine Dodrill
8dcc285307
Make Post render User directly
...
Add clay as a lib
2015-07-29 18:01:25 -07:00
Christine Dodrill
1f6f5fc809
Materialize.base -> render
2015-07-29 15:29:54 -07:00
Christine Dodrill
bf5d7a8f8c
Main: clean up imports
2015-07-29 00:02:44 -07:00
Christine Dodrill
24fbc444ba
Main: Make this a bit more vertical
2015-07-28 23:56:26 -07:00
Christine Dodrill
4430d6c4f9
Main: Refactor the router, show thread pages
2015-07-28 23:50:25 -07:00
Christine Dodrill
968de846a7
User: better show user card
2015-07-28 23:49:48 -07:00
Christine Dodrill
35b12761d0
Actually add transformers
2015-07-28 23:49:24 -07:00
Christine Dodrill
6c81f84756
Use map
2015-07-28 22:09:04 -07:00
Christine Dodrill
49dd8f6396
Remove deprecated scripts
...
Pandoc can just display Textile directly.
2015-07-28 18:04:32 -07:00
Christine Dodrill
80aa25c7d1
Add gitattributes
2015-07-28 18:03:00 -07:00
Christine Dodrill
5da73dabea
Add readme
2015-07-28 18:02:13 -07:00
Christine Dodrill
ed2a686f5d
Script refinement
...
Add an implicit "anonymous" poster with the OID
e4edb497-3f6f-4a7e-8ad4-0272ab8d3a47.
This OID is not normally valid and is a type-4 UUID generated from
uuidgen(1).
2015-07-28 17:45:40 -07:00
Christine Dodrill
0734115264
remove more dead code
2015-07-28 16:05:18 -07:00
Christine Dodrill
e9057b0e84
remove dead code
2015-07-28 16:05:06 -07:00
Christine Dodrill
c0188f434c
User: make this card darker, like the dark pits of my soul
2015-07-28 13:41:42 -07:00
Christine Dodrill
ebf71ed675
Have rendering a post take its author too
2015-07-28 13:41:12 -07:00
Christine Dodrill
7d5adcba66
make these columns unique
2015-07-28 13:40:36 -07:00
Christine Dodrill
4ecee40c95
scrape: fix
2015-07-28 13:39:39 -07:00
Christine Dodrill
4dda83907f
remove a p wrapper from here
2015-07-28 11:04:30 -07:00
Christine Dodrill
b663980b4b
Fix Post rendering, thanks andy
2015-07-28 10:06:09 -07:00
Christine Dodrill
99567b586b
Try using pandoc?
2015-07-28 09:50:07 -07:00
Christine Dodrill
e255e6672e
Use renderMarkup instead of renderHtml
2015-07-28 09:10:57 -07:00
Christine Dodrill
fd944b3e34
query and show a user from the database
2015-07-28 08:51:02 -07:00
Christine Dodrill
d4cefb71b1
Newline here for clarity
2015-07-28 08:43:49 -07:00
Christine Dodrill
846bbe8eef
render posts and users
2015-07-28 08:38:30 -07:00
Christine Dodrill
b7682dbbb2
Add materialize files
2015-07-28 08:38:19 -07:00
Christine Dodrill
60ab03761e
Log requests to standard out
2015-07-28 07:28:03 -07:00
Christine Dodrill
2173c47696
Add static middleware
2015-07-28 01:10:52 -07:00
Christine Dodrill
b28c20f4e5
Run stylish-haskell
2015-07-28 00:00:18 -07:00
Christine Dodrill
7bc70e9753
Simplify Post
...
You need to import this as qualified or things will break.
Also add some blaze crap for the lols
2015-07-27 23:53:11 -07:00
Christine Dodrill
1a31e0146a
Add User model
2015-07-27 23:47:50 -07:00
Christine Dodrill
32acbcedda
Post: align record better
2015-07-27 23:47:39 -07:00
Christine Dodrill
4221aca52e
Add blaze HTML dependency
2015-07-27 23:46:02 -07:00
Christine Dodrill
4b3aa612e3
make the types more explicit
2015-07-27 23:29:29 -07:00