Commit Graph

82 Commits

Author SHA1 Message Date
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
Brian Picciano
3664286506 Actually use the auth middleware for assets routes 2022-05-19 22:44:33 -06:00
Brian Picciano
8da42184eb Implement basic auth middleware 2022-05-19 21:35:45 -06:00
Brian Picciano
56530a8a66 Implement asset deletion and fix redirect logic 2022-05-18 10:59:07 -06:00
Brian Picciano
69de76cb32 Add asset file upload form, plus related necessary refactors 2022-05-17 15:54:20 -06:00
Brian Picciano
e406ad6e7c Re-arrange how api endpoints are defined 2022-05-17 15:25:13 -06:00
Brian Picciano
7b7bdcf57a Initial implementation of admin assets page 2022-05-17 14:39:42 -06:00
Brian Picciano
9a67ef9211 Add follow.html to v2 2022-05-17 14:15:38 -06:00
Brian Picciano
e742a2d6d5 Add BlogURL template function 2022-05-17 13:52:18 -06:00
Brian Picciano
0fdece68c0 Add /v2/assets/ handler, with resizing 2022-05-17 13:29:12 -06:00
Brian Picciano
f9d1f664f0 Implement import-asset script 2022-05-17 13:28:56 -06:00
Brian Picciano
4d23325823 Implement cfg.BoolVar method 2022-05-17 11:56:17 -06:00
Brian Picciano
788aba3d0d Fix new index page 2022-05-14 21:35:53 -06:00
Brian Picciano
e24dd6d630 Import posts in dev-shell target 2022-05-14 20:42:43 -06:00
Brian Picciano
e41ff2b897 Implement index handler
This involved re-arranging how templates are being parsed, slightly.
2022-05-14 17:02:30 -06:00
Brian Picciano
4c04177c05 Move template rendering logic into api package 2022-05-14 17:02:16 -06:00
Brian Picciano
7e87c09c50 Add /posts handler to api 2022-05-14 15:22:16 -06:00
Brian Picciano
2929b4279c Implement rendering Posts to html 2022-05-14 15:22:10 -06:00
Brian Picciano
ddb126db17 Move radix config into cfg, use that for integration tests 2022-05-08 16:36:08 -06:00
Brian Picciano
450136a0c0 Implement cachedAssetStore 2022-05-07 18:22:57 -06:00
Brian Picciano
3088c9d76c Implement AssetStore interface 2022-05-07 18:07:27 -06:00
Brian Picciano
cfb633b3b5 Cleanup various small issues with post package 2022-05-07 18:07:13 -06:00
Brian Picciano
07806c6942 Move sql db out of post.NewStore, so it can be shared 2022-05-07 14:56:34 -06:00
Brian Picciano
1495c78656 Move integration tests under a build tag 2022-05-07 14:55:19 -06:00
Brian Picciano
0d016129a4 Implement import-posts script 2022-05-07 14:33:57 -06:00
Brian Picciano
a10a604018 Refactor how data dir is initialized 2022-05-07 13:18:44 -06:00
Brian Picciano
c99b37c5b3 Use unix timestamps for post.Store 2022-05-06 21:49:00 -06:00
Brian Picciano
f7d72adfb5 Implement post.Store 2022-05-06 17:22:21 -06:00
Brian Picciano
d8b12cf17a Begin work on post package 2022-05-05 21:42:46 -06:00
Brian Picciano
eed10ce514 Fix various problems with the srv build 2022-05-05 21:20:22 -06:00