Commit graph

385 commits

Author SHA1 Message Date
09d7f9043f don't redirect to https on beta.samhuri.net 2015-05-08 23:47:17 -07:00
52670c367f don't pad day in post dates 2015-05-06 23:42:08 -07:00
f1ca433f62 don't cache URL since it persists for drafts too 2015-05-06 23:39:02 -07:00
f200158d16 fix content type of /projects/samhuri.net 2015-05-03 15:57:15 -07:00
5dbbb4037d update keybase and use https for links to samhuri.net 2015-05-03 15:54:47 -07:00
b7e259402c redirect http to https 2015-05-01 08:38:04 -04:00
cbed64f462 whoops 2015-04-29 08:28:52 -04:00
6d0eb3f245 respond with status 200 when publishing a draft 2015-04-29 08:16:35 -04:00
c00608761d change footer font to Helvetica Neue 2015-04-29 08:16:19 -04:00
411700b6ef fix unlink 2015-04-25 00:40:12 -07:00
27de556ab5 fix specs 2015-04-25 00:39:01 -07:00
7aa42fdbf8 one more shot 2015-04-25 00:28:19 -07:00
0a68892774 fix origin-updated path 2015-04-25 00:23:00 -07:00
7416e8c80f add origin-updated to .gitignore 2015-04-25 00:14:39 -07:00
4513df26f5 update from github if necessary, and implement "sync" aka 'git push' 2015-04-25 00:03:41 -07:00
cec182882f add thepusher to package.json 2015-04-25 06:16:07 +00:00
cc2c491509 allow missing titles 2015-04-22 00:34:18 -07:00
776528024c return all published posts in reverse chronological order 2015-04-19 21:54:43 -07:00
f54e5f12e5 update draft timestamps with every edit 2015-04-19 21:54:32 -07:00
a136608ede fix post preview 2015-04-19 16:39:24 -07:00
e544fe90b2 reorganize server so draft endpoints are exposed properly 2015-04-19 16:35:44 -07:00
be88d907a0 fix accepting JSON 2015-04-19 16:25:21 -07:00
eb471b0d24 fix auth 2015-04-19 16:19:42 -07:00
2fb181dbcb gracefully handle saving posts without titles 2015-04-19 16:11:51 -07:00
446f1c85c3 gracefully handle missing Auth header 2015-04-19 16:02:16 -07:00
ec56d5f684 drafts live under posts 2015-04-19 15:51:16 -07:00
abc9c802ef favicon 2015-04-19 12:02:19 -07:00
51ceac55ed remove empty 2015 dir 2015-04-19 12:00:35 -07:00
a6259b83ea munge drafts 2015-04-19 11:14:58 -07:00
d66715fd8d return nil for redirect bodies 2015-04-19 11:13:09 -07:00
eea4a74d1c oh come on 2015-04-19 11:12:15 -07:00
5830cb08c1 delegate preview to a real harp server 2015-04-19 11:08:03 -07:00
8d42efc0e1 upgrade harp and uglify-js 2015-04-19 11:00:53 -07:00
60563c6ecf fixup! implement preview 2015-04-19 11:00:44 -07:00
01a7ad64d7 use File.write instead of File.open for simple writes 2015-04-19 11:00:34 -07:00
5949cf20bd make compile.sh work on any given directory 2015-04-19 11:00:17 -07:00
e44afbe80d implement previewing posts & drafts 2015-04-19 10:41:47 -07:00
1dbd243008 tighten up params to HarpBlog#post_path 2015-04-19 10:40:08 -07:00
9239d4110d fix return value of HarpBlog#compile_if_mutated 2015-04-19 10:03:54 -07:00
5e6bebd230 get rid of a warning 2015-03-29 23:41:40 -07:00
e627cf7155 draft should never be nil 2015-03-29 23:38:30 -07:00
31e13523b6 print out server URL root 2015-03-30 05:15:37 +00:00
c6a388967e preview is unimplemented 2015-03-29 22:12:56 -07:00
75bd85d66f compile the blog when it changes 2015-03-29 22:01:42 -07:00
aade9641e4 fix typos 2015-03-29 21:57:09 -07:00
ff5f87ff80 run non-destructive shell commands during dry runs 2015-03-29 21:56:51 -07:00
09b1224646 move HarpBlog::Post to its own file 2015-03-29 21:03:43 -07:00
652a10b16d sane default for hostname 2015-03-29 20:10:04 -07:00
ff0b565cc5 make hostname configurable 2015-03-29 20:06:48 -07:00
c905f5c414 use IDs instead of slugs for posts
Drafts don’t have reliable slugs until they’re published so give them
UUIDs, and lookup posts by ID instead of slug.
2015-03-29 19:42:38 -07:00