Commit Graph

122 Commits

Author SHA1 Message Date
Brian Picciano
33a81f73e1 load published posts test data in reverse order 2022-08-19 21:15:39 -06:00
Brian Picciano
c3135306b3 drafts functionality added, needs a publish button still 2022-08-18 23:07:09 -06:00
Brian Picciano
dfa9bcb9e2 WIP 2022-08-18 22:34:38 -06:00
Brian Picciano
7ac2f5ebb3 implement DraftStore 2022-08-18 22:25:17 -06:00
Brian Picciano
76ff79f470 add admin page, and spruce up posts and assets 2022-08-18 21:11:42 -06:00
Brian Picciano
98e0c3e89c fix CSRF checking so that localhost always works 2022-08-18 20:59:53 -06:00
Brian Picciano
f7b4fd644b improve how index table looks 2022-08-18 20:52:09 -06:00
Brian Picciano
062e5bbd10 delete some old script that aren't needed anymore 2022-08-18 20:28:04 -06:00
Brian Picciano
60018dd9f5 load some test data when starting the dev shell 2022-08-18 20:27:40 -06:00
Brian Picciano
d0a604b0ba update welcome message a bit 2022-08-16 22:37:11 -06:00
Brian Picciano
a125226825 move published date to bottom of post 2022-08-16 22:29:04 -06:00
Brian Picciano
bb6c715a0e more polish, use table on index page 2022-08-16 22:26:31 -06:00
Brian Picciano
c06dd5c587 make button vs link usage consistent 2022-08-16 22:04:57 -06:00
Brian Picciano
7bd7af44a9 remove target:_blanks 2022-08-16 22:01:25 -06:00
Brian Picciano
2144e9f2f1 make license link less obnoxious 2022-08-16 21:58:48 -06:00
Brian Picciano
cbc5816586 fix color of warning on follow page 2022-08-16 21:57:45 -06:00
Brian Picciano
36d79896e7 add a welcome paragraph 2022-08-16 21:55:32 -06:00
Brian Picciano
960e33d649 inline css into pages 2022-08-16 21:46:02 -06:00
Brian Picciano
bf8412969a finish switching to classless, got a color scheme worked out too 2022-08-16 21:32:50 -06:00
Brian Picciano
5bc4c2fe4e began using new.css, got rid of the old css almost entirely 2022-08-15 15:26:03 -06:00
Brian Picciano
cd1d97bebf don't allow gmail addresses to subscribe 2022-08-09 20:56:34 -06:00
Brian Picciano
7f6d7366e3 improve logging of ips, to account for xff and x-real-ip 2022-08-09 15:23:03 -06:00
Brian Picciano
fa47baffb6 Get rid of CSRF code in api.js 2022-06-03 13:42:59 -06:00
Brian Picciano
08811a6da7 Replace CSRF token checking with Referer checking 2022-05-24 17:42:00 -06:00
Brian Picciano
159638084e Fix CSRF loading on static GET pages 2022-05-24 17:27:03 -06:00
Brian Picciano
88ebaeda8f Don't set updated at field on feed, it's wonky 2022-05-22 09:33:24 -06:00
Brian Picciano
55eb40d4bb Add chat page, though it's not used yet 2022-05-21 14:06:07 -06:00
Brian Picciano
4dc1683d3e Serve mailing list finalize and unsubscribe endpoints 2022-05-21 14:03:38 -06:00
Brian Picciano
7335295dc0 Fix rendering errors near script tags 2022-05-21 13:54:14 -06:00
Brian Picciano
b136b42a44 Give images a bottom margin 2022-05-21 13:00:04 -06:00
Brian Picciano
04b95b0e22 Cleanup after importing everything into prod 2022-05-21 12:57:08 -06:00
Brian Picciano
180575fe4a Fix post body templates not being parsed correctly 2022-05-21 12:10:38 -06:00
Brian Picciano
bdd1f01605 Fix srv binaries 2022-05-21 11:40:13 -06:00
Brian Picciano
01424c7dab Standardize URL generation across the blog 2022-05-21 11:34:03 -06:00
Brian Picciano
e269b111a1 List existing tags on edit post page 2022-05-21 11:20:45 -06:00
Brian Picciano
3059909deb Publish new posts to mailing list 2022-05-21 11:15:37 -06:00
Brian Picciano
3e67823205 Hide tag picker for now 2022-05-21 10:56:50 -06:00
Brian Picciano
e92f59fc7f Redirect legacy URL path 2022-05-21 10:50:42 -06:00
Brian Picciano
0361b1d4bf Fix annoying underline next to follow button 2022-05-21 10:37:02 -06:00
Brian Picciano
5a58890228 Fix code block formatting and clean up extraneous files 2022-05-21 10:36:50 -06:00
Brian Picciano
79452e7472 Re-arrange routes so that cache only applies to blog routes 2022-05-21 10:18:00 -06:00
Brian Picciano
fb905ad53c Add in-memory cache to GET requests, purges on successful POSTs 2022-05-21 10:04:50 -06:00
Brian Picciano
1de0ab3b72 Define an actual middleware type, use that to set up API routes 2022-05-21 09:17:43 -06:00
Brian Picciano
034342421b Simplify routes by moving formMiddleware to the global level 2022-05-20 19:29:01 -06:00
Brian Picciano
1181af0318 Don't use EDIT method, only POSTs should use alt methods 2022-05-20 19:19:32 -06:00
Brian Picciano
c4692f72e3 Add tag parameter to feed endpoint 2022-05-20 17:51:41 -06:00
Brian Picciano
1f42c5e000 Add tag selector to index 2022-05-20 17:43:47 -06:00
Brian Picciano
47d4787907 Always return results in time desc order from PostStore 2022-05-20 17:31:44 -06:00
Brian Picciano
99f8c1188c Add RSS feed generator 2022-05-20 17:24:52 -06:00
Brian Picciano
b4ca8853a9 Update http config names 2022-05-20 17:04:20 -06:00