Commit Graph

578 Commits

Author SHA1 Message Date
Nick Vella cda9909d27 docs: ssg: fix typos 2019-07-19 20:15:22 +10:00
Nick Vella e34474d996 docs: ssg: update docs for new classes 2019-07-19 20:11:20 +10:00
Nick Vella 844881a840 tests: ssg: rename ssg test files 2019-07-19 17:38:22 +10:00
Nick Vella 7af5d3b9a5 ssg: introduce abstract StaticSiteItem, impl StaticSitePost to inherit and override StaticSiteItem 2019-07-19 17:37:35 +10:00
Nick Vella 9a3e742945 ssg: StaticSiteClient: basic pages impl 2019-07-19 17:05:23 +10:00
Nick Vella 409e991101 ssg: StaticSitePage impl 2019-07-19 17:05:04 +10:00
Nick Vella 1812bf2761 ssg: StaticSitePost: set DatePublishedOverride on date set, use UtcNow for ensure date 2019-07-19 16:19:42 +10:00
Nick Vella 66e69f30bd ssg: StaticSiteClient: support extended entries 2019-07-19 16:19:20 +10:00
Nick Vella aed86f9b3b ssg: StaticSitePostFrontMatter: remove timezone conversions, OLW deals in UTC internally 2019-07-19 15:43:34 +10:00
Nick Vella f51cc368be ssg: StaticSiteClient: DeletePost impl 2019-07-19 01:48:16 +10:00
Nick Vella a09c738141 ssg: StaticSiteClient: command timeout 2019-07-19 01:48:06 +10:00
Nick Vella 1c7c774795 ssg: StaticSiteConfig: command timeout setting 2019-07-19 01:47:39 +10:00
Nick Vella ea9eaf32f9 ssg: StaticSitePost: set FilePathById on post load from file 2019-07-19 01:47:26 +10:00
Nick Vella 51a001841d ssg: StaticSitePostFrontMatter: set DatePublishedOverride on SaveToBlogPost to make date posted visible in UI 2019-07-19 01:27:19 +10:00
Nick Vella b9287e65a4 ssg: StaticSiteClient: EditPost impl 2019-07-19 01:13:50 +10:00
Nick Vella b10e85e829 ssg: StaticSitePost: the ?? operator didn't do what I thought it did 2019-07-19 01:13:37 +10:00
Nick Vella a00b06dd1b ssg: StaticSitePost: FILENAME_SLUG_REGEX include full paths 2019-07-19 01:13:11 +10:00
Nick Vella 4be51d4646 ssg: StaticSitePost: add DiskSlug attribute 2019-07-19 01:12:50 +10:00
Nick Vella 85defa0b32 ssg: StaticSitePost: GetNewSlug -> FindNewSlug 2019-07-19 00:22:04 +10:00
Nick Vella 0768c839b5 ssg: StaticSitePostFrontMatter: convert on-disk UTC time to local time 2019-07-18 22:24:39 +10:00
Nick Vella 3a71cea99f ssg: StaticSitePost: FilePathById impl, SaveToFile postFilePath parameter 2019-07-18 22:12:04 +10:00
Nick Vella 48564482b5 ssg: StaticSiteClient: ShowCmdWindows config impl, custom handler for hidden window, fixes git hang when output is not being read 2019-07-18 22:10:57 +10:00
Nick Vella 0c8290e4c8 ssg: StaticSiteConfig: ShowCmdWindows flag for debugging 2019-07-18 17:12:22 +10:00
Nick Vella 8359290301 ssg: StaticSitePost: rename GetNewSafeSlug to GetNewSlug, add safe parameter 2019-07-16 23:25:54 +10:00
Nick Vella 0e36c274e0 ssg: StaticSitePostFrontMatter: load NewCategories into tags as well as Categories 2019-07-16 19:23:44 +10:00
Nick Vella 103d47b376 ssg: StaticSitePostFrontMatter: olw_id => id 2019-07-16 19:23:11 +10:00
Nick Vella 8dc9bbac90 ssg: StaticSiteClient: GetCategories impl 2019-07-16 17:59:34 +10:00
Nick Vella 2dcbb3553e ssg: StaticSiteClient: impl GetPost 2019-07-16 15:17:36 +10:00
Nick Vella ba971fc2db ssg: StaticSiteClient: GetRecentPosts use StaticSitePost.GetAllPosts 2019-07-16 15:17:15 +10:00
Nick Vella 59808f70da ssg: StaticSitePost: impl GetAllPosts, GetPostById 2019-07-16 15:16:57 +10:00
Nick Vella 4623753bd8 ssg: StaticSiteClient: order and limit recent posts 2019-07-16 15:01:14 +10:00
Nick Vella 0d84ae9927 ssg: StaticSiteClient: GetRecentPosts fix date logic 2019-07-15 20:55:58 +10:00
Nick Vella acc8eba6c2 ssg: StaticSitePost: LoadFromFile impl 2019-07-15 20:55:27 +10:00
Nick Vella d2a963ed1d ssg: ...: use SaveToFile instead of SaveToDisk to keep consistent 2019-07-15 16:54:45 +10:00
Nick Vella 60ec2275b6 ssg: StaticSitePost: stub LoadFromFile instance method, impl static method 2019-07-15 16:54:03 +10:00
Nick Vella cc61210ad9 ssg: StaticSitePost: add constructor for post-less instantiation 2019-07-15 16:53:45 +10:00
Nick Vella b81daeb4e0 ssg: StaticSiteClient: GetRecentPosts impl 2019-07-15 16:53:07 +10:00
Nick Vella 38c799388e ssg: StaticSiteClient: tidy code formatting 2019-07-15 16:51:54 +10:00
Nick Vella dc19762c2e ssg: StaticSiteClient: reword post as draft error trace message 2019-07-15 01:16:07 +10:00
Nick Vella 76f7ec83b9 ssg: StaticSitePost, StaticSiteClient: impl EnsureDate, use in StaticSiteClient NewPost 2019-07-15 00:31:16 +10:00
Nick Vella 21e987b52e docs: ssg: basic docs on static site gen classes, UML class diagram 2019-07-15 00:16:44 +10:00
Nick Vella 4ad1e89349 ssg: StaticSiteClient, StaticSitePost: move EnsureId call to StaticSiteClient from StaticSitePost SaveToDisk, return postId from NewPost 2019-07-14 22:19:45 +10:00
Nick Vella 9cd3fbf953 ssg: StaticSitePost: use Id when an available slug can't be found 2019-07-14 19:09:16 +10:00
Nick Vella 689fee79e5 ssg: StaticSitePost: ensure Id and safe slug when saving to disk 2019-07-14 19:08:17 +10:00
Nick Vella e614030d46 ssg: StaticSitePost: Id, impl EnsureId, Slug set to BlogPost.Slug and _safeSlug, change EnsureSafeSlug to return string 2019-07-14 19:07:51 +10:00
Nick Vella 48a5f68b08 ssg: StaticSiteFrontMatterKeys: make struct, add Id 2019-07-14 18:46:22 +10:00
Nick Vella 6a2c958be9 ssg: StaticSitePostFrontMatter: add Id 2019-07-14 18:45:58 +10:00
Nick Vella e3a3a28b84 ssg: StaticSitePost: don't mutate BlogPost 2019-07-14 15:11:54 +10:00
Nick Vella 0d87b85402 ssg: StaticSitePost: impl EnsureSafeSlug 2019-07-14 15:10:27 +10:00
Nick Vella 2844c175af ssg: StaticSiteClient: add - as a url safe char 2019-07-14 15:10:11 +10:00