Commit graph

77 commits

Author SHA1 Message Date
5421494e18 update author name to include middle initial 2017-01-19 21:50:51 -06:00
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
5920e6fbb3 fix year 2016-04-11 18:17:07 -07:00
6858634c4e commit index.ejs files for new years 2016-03-28 09:18:11 -07:00
331b758987 initial @timestamp ivar 2016-03-28 09:18:11 -07:00
422f0c7566 support SSL for building URLs 2015-06-15 23:15:46 -07:00
9697cab77b Revert "stort drafts newest first"
This reverts commit 7375cb06e0.
2015-05-28 09:49:16 -07:00
7375cb06e0 stort drafts newest first 2015-05-25 21:54:43 -07:00
289e54dc35 fix date format to be consistent with existing posts 2015-05-23 23:16:03 -07:00
570d333b61 don't publish in the background 2015-05-15 21:33:21 -07:00
cdfb2c96d6 make sure public/_data.json is committed on publish/unpublish 2015-05-15 20:49:38 -07:00
7cf0a2925b slight optimization 2015-05-15 19:32:26 -07:00
a23216cc45 actually, commit for staging too 2015-05-15 19:07:25 -07:00
97f7afd9fe cleanup after publishing to staging 2015-05-15 19:06:21 -07:00
26a3f1a0e0 squish some warnings 2015-05-12 09:05:50 -07:00
8b356c50d4 commit root _data.json when publishing/unpublishing & create year indexes
That file contains the posts on the homepage, which obviously change on
publish/unpublish. Should have been more obvious to me earlier when I
wrote the code, but hey.
2015-05-12 00:07:18 -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
7572b2917f set @mutated in the right place 2015-05-11 21:20:18 -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
b504f87e3c fix path of posts added to git 2015-05-09 16:19:29 -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
5dbbb4037d update keybase and use https for links to samhuri.net 2015-05-03 15:54:47 -07:00
6d0eb3f245 respond with status 200 when publishing a draft 2015-04-29 08:16:35 -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
4513df26f5 update from github if necessary, and implement "sync" aka 'git push' 2015-04-25 00:03:41 -07: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
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
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