Commit Graph

20 Commits (d6df7147bced7d9e41e9ecbf3ef4fc416415a996)

Author SHA1 Message Date
Peter Cai ffb4c24292
get rid of dead code warnings 2020-04-18 16:49:32 +08:00
Peter Cai 81fda6e1c8
add a preferred_url option 2020-04-16 16:21:21 +08:00
Peter Cai a9e3490478
sn: implement the Delete action 2020-04-16 15:59:42 +08:00
Peter Cai 1ddd586694
sn: return error instead of fail silently for malformed metadata
protect people from accidentally submitting malformed header and then
making things public on accident.
2020-04-14 21:17:32 +08:00
Peter Cai d6b479ec15
support per-post theme_config in custom metadata 2020-04-14 21:11:21 +08:00
Peter Cai 8ba086a9ec
implement Markdown rendering 2020-04-09 14:47:46 +08:00
Peter Cai fe22944cb4
add some no-cache headers 2020-04-08 21:12:58 +08:00
Peter Cai cd8f761fcf
implement showing blog
no rendering yet
2020-04-08 20:00:40 +08:00
Peter Cai aa95d978ec
add alias support for `unlisted` 2020-04-08 18:11:35 +08:00
Peter Cai 7de1212993
also remove post from list if unlist is set 2020-04-08 18:10:13 +08:00
Peter Cai c68263a7bd
add comments to note on unlisted notes 2020-04-08 17:58:33 +08:00
Peter Cai b87c97c8ed
support unlisted posts 2020-04-08 17:56:27 +08:00
Peter Cai 8fe31281f0
support customized metadata 2020-04-08 17:39:44 +08:00
Peter Cai 4995de8372
implement publishing / updating 2020-04-08 16:51:39 +08:00
Peter Cai 09081dd1d7
use macro to generate headers 2020-04-07 21:24:09 +08:00
Peter Cai 243a64b7b9
implement basic KV binding 2020-04-07 20:54:04 +08:00
Peter Cai 0547cdd0c3
make internal_err an extension trait 2020-04-07 19:40:22 +08:00
Peter Cai 5467fa6e6d
add internal_err! macro to replace some unwrap() 2020-04-07 18:53:45 +08:00
Peter Cai a2fa677514
use lazy_static for config 2020-04-07 18:43:49 +08:00
Peter Cai 2a8ed95488
initial impl for Standard Notes Actions 2020-04-07 16:10:08 +08:00