Commit Graph

109 Commits

Author SHA1 Message Date
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
Brian Picciano
1ffda21ae3 Implement ratelimit on authentications 2022-05-20 14:54:26 -06:00
Brian Picciano
ae1fa76efc Rename follow.html to follow 2022-05-20 14:32:31 -06:00
Brian Picciano
af434077ef Implement image macro for rendering images 2022-05-20 14:30:26 -06:00
Brian Picciano
16cfbd1915 Move static assets to within srv 2022-05-20 13:37:43 -06:00
Brian Picciano
3cdee89c96 Put post preview behind auth 2022-05-20 11:20:02 -06:00
Brian Picciano
09acb111a2 Rename api package to http 2022-05-20 11:17:31 -06:00
Brian Picciano
f69ed83de7 Add preview button to edit post page 2022-05-20 11:06:21 -06:00
Brian Picciano
2c4b617dde Implement saving of new and edited posts 2022-05-20 10:47:22 -06:00
Brian Picciano
75044eef03 Implement edit post page 2022-05-20 10:13:46 -06:00
Brian Picciano
0bc0204f0b Implement post deleting 2022-05-20 09:33:03 -06:00
Brian Picciano
1242be7cfe Implement posts index page 2022-05-20 08:42:54 -06:00
Brian Picciano
5a99778187 Scatter render.go contents everywhere 2022-05-20 07:59:36 -06:00
Brian Picciano
16f9da05e5 Fix spacing in assets table delete button 2022-05-19 22:47:57 -06:00