Dylan Baker
|
5b63fbe025
|
Remove obsolete static file handling
|
vor 3 Jahren |
Dylan Baker
|
821164ea31
|
Embed static files in binary
|
vor 3 Jahren |
Dylan Baker
|
8a2f5f884c
|
Make templates static
This way, they get bundled into the binary and don't require the templates files to actually be on the server
|
vor 3 Jahren |
Dylan Baker
|
030c268982
|
Remove debug
|
vor 3 Jahren |
Dylan Baker
|
30721b82ef
|
Fix bug in auth; add tests
|
vor 3 Jahren |
Dylan Baker
|
1c3547718f
|
Use slugs instead of UUIDs
|
vor 3 Jahren |
Dylan Baker
|
09be7fa83e
|
Move new posts to their own page
|
vor 3 Jahren |
Dylan Baker
|
c084a358ba
|
Rename to Oslo
|
vor 3 Jahren |
Dylan Baker
|
a60aae12ca
|
Write posts in Markdown
|
vor 3 Jahren |
Dylan Baker
|
53355568f7
|
Reorganize into separate library crate
This will make it easier to test
|
vor 3 Jahren |
Dylan Baker
|
edf0a83254
|
Allow configuring HOST and PORT
|
vor 3 Jahren |
Dylan Baker
|
cec01575e0
|
Move CSS/JS to separate files
|
vor 3 Jahren |
Dylan Baker
|
a105485d81
|
Make login path configurable for security by obscurity
|
vor 3 Jahren |
Dylan Baker
|
9719325741
|
Create middleware to require not being logged in
|
vor 3 Jahren |
Dylan Baker
|
f74f6d1dc7
|
Implement post deletion
|
vor 3 Jahren |
Dylan Baker
|
aec0d0bcdb
|
Implement post update route
|
vor 3 Jahren |
Dylan Baker
|
f853c4fa2a
|
Move Post to its own module
|
vor 3 Jahren |
Dylan Baker
|
7062a29ac8
|
Move auth checking to middleware
|
vor 3 Jahren |
Dylan Baker
|
7835713620
|
Move middleware to module
|
vor 3 Jahren |
Dylan Baker
|
1afc7f3c60
|
Refactor routes into module
|
vor 3 Jahren |
Dylan Baker
|
775438598c
|
Make logout a post
|
vor 3 Jahren |
Dylan Baker
|
bd723d6922
|
Error handling updates
|
vor 3 Jahren |
Dylan Baker
|
5d3f02e268
|
Create fs module, implement single post route
|
vor 3 Jahren |
Dylan Baker
|
f0f23e82ec
|
Formatting
|
vor 3 Jahren |
Dylan Baker
|
c94bbe605c
|
Use helper render function
|
vor 3 Jahren |
Dylan Baker
|
9afe1e863a
|
Implement flashed error messages
|
vor 3 Jahren |
Dylan Baker
|
4734868874
|
Implement login
|
vor 3 Jahren |
Dylan Baker
|
aa67bdf685
|
Bubble errors through to browser
|
vor 3 Jahren |
Dylan Baker
|
7362b898f3
|
Move to root path, not admin
|
vor 3 Jahren |
Dylan Baker
|
3f2118fe9d
|
Newline to <br>, ignore non-json files
|
vor 3 Jahren |
Dylan Baker
|
8a24093c9a
|
Read posts dir
|
vor 3 Jahren |
Dylan Baker
|
103579d74f
|
Create posts
|
vor 3 Jahren |
Dylan Baker
|
a5d5fed7ec
|
Set up admin template
|
vor 3 Jahren |
Dylan Baker
|
7f7dd6f5ce
|
Set up tide and tera
|
vor 3 Jahren |
Dylan Baker
|
30e9b69fe5
|
Initial commit
|
vor 3 Jahren |