Commit graph

352 commits

Author SHA1 Message Date
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
d9731944c2 use environment for configuration 2015-03-30 02:33:06 +00:00
9ac9e9e4be 2015 posts stub 2015-03-28 23:15:39 -07:00
65c90fcf48 fix a typo 2015-03-28 23:12:20 -07:00
4a9b1b8db6 remove temporary feed after compilation 2015-03-28 23:11:56 -07:00
586206ac1a fixes for debian, use local npm modules 2015-03-29 05:26:45 +00:00
c472358979 add strftime.js and strftimeV2.js 2015-02-07 19:43:01 -08:00
93e4714d7e add nexa demo page 2015-01-17 14:44:39 -08:00
03a9143b5a rename a variable 2014-11-23 20:47:55 -08: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
8f6b3be1eb structure drafts like the other post dirs 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
3546ab2952 add dirty checking and version support to HarpBlog 2014-10-18 15:33:52 -07:00
9028d805ae fix publishing version.txt 2014-10-18 15:33:27 -07:00
890b1508c1 publish git commit sha at /version.txt 2014-10-18 15:03:17 -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
3437b8f08a use https to clone the test blog repo 2014-10-18 01:41:26 -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
5c6399b558 add a class that knows how to manage this harp blog: HarpBlog 2014-10-18 01:37:39 -07:00
cf4b6e7a0a fix some broken markdown 2014-10-09 16:31:11 -07:00
dd0e9e1b57 update tweets 2014-07-18 11:05:26 -07:00
c5c430367f escape segment names ... Markdown! 😧 2014-06-23 21:43:45 -07:00
87bbd8e0e1 :octocat: (just for @robrix) 2014-05-15 14:05:05 -07:00
22ed491d00 add keybase verification file for samhuri.net 2014-04-28 14:53:02 -07:00
688184c80a add a localstorage test 2014-04-08 11:12:47 -07:00
59d2986054 wat? 2014-04-06 22:14:56 -07:00
d09a0b7ef3 remove unnecessary hack for filenames with dots 2014-04-06 22:14:36 -07:00
482b317814 fix double sigil on index page 2014-04-06 21:31:51 -07:00
e9490d49ee update tweets 2014-03-26 18:23:56 -07:00
03fd061411 editing 2014-03-24 11:36:42 -07:00
76cfe3dd01 fix layout of markdown pages 2014-03-24 11:33:47 -07:00