Commit graph

43 commits

Author SHA1 Message Date
c88590abd9 don't compile automatically 2016-04-11 22:24:45 -07:00
fc3c00687c use harp server for preview and use threads instead of forking 2016-04-11 22:12:17 -07:00
422f0c7566 support SSL for building URLs 2015-06-15 23:15:46 -07:00
570d333b61 don't publish in the background 2015-05-15 21:33:21 -07:00
26a3f1a0e0 squish some warnings 2015-05-12 09:05:50 -07:00
d870dc9e7d ugh 2015-05-11 23:31:12 -07:00
3520059ff7 fork instead of Thread.new 2015-05-11 23:27:41 -07:00
d02adf6b31 publish in the background 2015-05-11 21:25:04 -07:00
7a2338de6b enable overriding @fields[‘env’] on the server 2015-05-11 21:21:23 -07:00
8d0036ddb0 remove redundant param, just use env 2015-05-10 13:55:47 -07:00
732da17859 only wait for compilation unless when necessary 2015-05-09 17:30:03 -07:00
f1ca433f62 don't cache URL since it persists for drafts too 2015-05-06 23:39:02 -07:00
6d0eb3f245 respond with status 200 when publishing a draft 2015-04-29 08:16:35 -04:00
4513df26f5 update from github if necessary, and implement "sync" aka 'git push' 2015-04-25 00:03:41 -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
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
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
e44afbe80d implement previewing posts & drafts 2015-04-19 10:41:47 -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
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
d9731944c2 use environment for configuration 2015-03-30 02:33:06 +00:00
56a2de1ebc implement publish and unpublish 2014-10-18 18:41:20 -07:00
c8f543122b expose drafts via HarpBlog and the API 2014-10-18 18:05:07 -07:00
7e47c2d670 remove pointless authentication, fix up status & headers 2014-10-18 15:37:49 -07:00
034d975225 expose HarpBlog#status as /status 2014-10-18 15:37:31 -07:00
f0b3174e61 add HarpBlog#months and expose as GET /months 2014-10-18 02:35:19 -07:00
291e40f859 put test repos in a better location, fix other bugs 2014-10-18 02:34:58 -07:00
70e8ff6b18 slap a sinatra API server in front of HarpBlog
terminate meta_weblog_handler.rb with extreme prejudice
2014-10-18 01:38:45 -07:00
8fb8b099af add a super basic server that implements metaWeblog.newPost 2014-03-09 19:49:28 -07:00