Commit Graph

  • fd88140d44 Remove redundant imports following simplifications in 9a11840 hablo2-themovie Tissevert 2023-08-20 22:36:35 +0200
  • feb647bcb4 Port test to HUnit Tissevert 2023-08-20 22:24:58 +0200
  • 111c6ca3f7 Fix unit tests following constructor change in Arguments Tissevert 2023-08-07 08:39:37 +0200
  • 9a1184006c Clean the handling of --version argument, reusing the existing tools from optparse-applicative Tissevert 2023-08-04 17:05:45 +0200
  • 6780a18764 Fix devel package for hablo, clean package for ghc-template and add unitJS as a runtime dependency Tissevert 2023-08-04 16:33:06 +0200
  • c256f96ab4 Stop relying on cabal auto-generated stuff Tissevert 2023-08-04 10:39:57 +0200
  • e2d79dd77e Start piling up work Tissevert 2023-07-29 18:12:26 +0200
  • e7e44f8c63 Add a development package for guix and fix SJW incompatibility since the 0.1.3.1 bugfix main Tissevert 2023-08-02 23:40:33 +0200
  • 7a9c1a65c2 Update dependencies versions Tissevert 2023-07-31 19:32:31 +0200
  • 761e89f350 Ugly JS desperate fix fullStatic Tissevert 2021-07-01 09:01:08 +0200
  • 01533d8d14 Remove forgotten redundant import fixOGImageAgain Tissevert 2021-05-07 22:45:11 +0200
  • dc9e7bc99d Fix absolute links for static resources Tissevert 2021-05-07 11:04:46 +0200
  • f229a17bbb Remove dreadful absoluteLink, fix image URL + at-root-only blogs, test URL generation Tissevert 2021-05-02 16:49:05 +0200
  • 75252dc236 Fix typo in favicon's extension Tissevert 2021-04-17 17:19:17 +0200
  • 8e5d6e3c1c Add test to catch faulty behaviour in favicon URLs Tissevert 2021-04-05 21:45:18 +0200
  • 3f1f500aa7 Bump versions, remove redundant version bounds Tissevert 2021-04-04 17:34:13 +0200
  • c06af19d11 Fix OG cards images URLs issue Tissevert 2021-04-04 17:33:31 +0200
  • 55d8262883 Fix tests / add new ones to capture the subtle way og:image can fail Tissevert 2021-03-28 23:38:53 +0200
  • 6a79533634 Replace naive String implementation of URL by a proper type from an existing library; thus validating URLs handled by hablo Tissevert 2021-03-28 23:37:42 +0200
  • 0989b4cab3 Fix broken unit tests due to data type renaming Tissevert 2021-03-13 22:45:45 +0100
  • ff7aa0ed56 Remove unused MonadReader constraint Tissevert 2021-02-21 22:08:36 +0100
  • b42fac59c4 Create a 'URL' type to document the use of type 'String' in Blog.URL module Tissevert 2021-02-21 22:00:12 +0100
  • 7e7d7e0804 Release 1.1.0.1 v1.1.0.1 Tissevert 2021-01-20 13:18:45 +0100
  • ccff2653e6 Fix missing metadata when landing on articles, factorize resource identification code and simplify ubiquitous argument pair fix-article-landing Tissevert 2021-01-17 21:32:41 +0100
  • 3e223e7169 Release 1.1.0.0 with RSS feeds and static pages v1.1.0.0 Tissevert 2020-12-13 20:09:23 +0100
  • bc8db13160 Add nix install instructions implement-static-pages Tissevert 2020-12-13 20:05:07 +0100
  • de4b32c022 Move UnitJS-related documentation to README Tissevert 2020-12-13 18:02:14 +0100
  • 44c4813d6f Remember that git doesn't version empty directories and fix the Structure tests Tissevert 2020-12-09 18:33:44 +0100
  • d4fb3eb778 Remove unsincere -dynamic flag Tissevert 2020-12-09 12:16:23 +0100
  • 49f819c54c Add version guards for Monoid imports Tissevert 2020-12-09 11:06:47 +0100
  • fc054ee575 Fixing test dependencies Tissevert 2020-12-09 10:58:28 +0100
  • cb2bd54596 Update version bounds, restructure file (remove useless library name) Tissevert 2020-12-08 21:39:41 +0100
  • d338e7b5c9 Merge branch 'main' into implement-static-pages Tissevert 2020-12-06 17:28:30 +0100
  • ffea469559 Update dependencies versions known to work Tissevert 2020-12-06 17:26:22 +0100
  • e8f84561df Fix broken URL in markdown links, a plural typo, the missing end of a sentence and a mistake in the syntax for template conditional blocks Tissevert 2020-10-28 14:27:55 +0100
  • 191a8b0771 Fix broken Markdown link due to a ' ' in a URL Tissevert 2020-10-28 10:57:27 +0100
  • ded02d4c71 Update installation instructions for UnitJS to follow the use of SJW to generate JS Tissevert 2020-10-28 10:49:02 +0100
  • 3fe0dd3c2e Delete remark insisting on the 'tags' directory being required since it's no longer the case since f7ec6d06c1 Tissevert 2020-10-28 10:22:27 +0100
  • a0dccc770d Fill-in description for the --pages command line option Tissevert 2020-10-26 21:32:29 +0100
  • f9465d1aa5 Implement correct behaviour for default and custom articles and pages as outlined by the previous unit tests Tissevert 2020-10-25 22:20:57 +0100
  • 804d3aa644 Add unit tests for new behaviour : articles or pages, auto or custom, fail if none is present Tissevert 2020-10-23 15:39:49 +0200
  • e74eadd6ba Stop dying in Path validation and return an Either instead so we can handle expected errors cleanly Tissevert 2020-10-23 15:36:49 +0200
  • 4c6ee2d9bc Fix unit tests broken by latest changes Tissevert 2020-09-30 22:02:25 +0200
  • f7ec6d06c1 Erase the asymmetry between articles and pages; make both optional though check that at least one exists Tissevert 2020-09-30 22:00:30 +0200
  • 371b9a8098 Fix missing '<li>' around pages by factorizing the 'li_' into navigationSection Tissevert 2020-09-30 11:44:19 +0200
  • e0161173ef Make both navigation sections optional and disable them when empty Tissevert 2020-09-29 22:11:53 +0200
  • 5211379f00 Replace magic string for default Article description by a template variable and add another one for a default description for Pages Tissevert 2020-06-21 22:16:14 +0200
  • 8382dc11f2 Reuse new mDLink function to simplify mDContent Tissevert 2020-06-21 21:46:35 +0200
  • 47f5c70e21 Add links to static pages and handle dynamic navigation on the JS side Tissevert 2020-06-20 22:59:39 +0200
  • 937a6858e0 Add a class type for Markdown and implement HTML rendering for Pages Tissevert 2020-06-20 16:23:33 +0200
  • 19b3694d06 Directly store each Markdown content's path in the data structure to save having to re-build the same concatenation again and again for all the various outputs where the path matters ; also handles elegantly the «issue» of pagesPath being a Maybe FilePath because pages are optional Tissevert 2020-06-09 17:52:16 +0200
  • ce3003178f Also add end-to-end test to verify the HTML generated for the cards by lucid Tissevert 2020-06-09 17:45:54 +0200
  • 08990e8440 Add more article card tests and articlesList card tests Tissevert 2020-06-09 15:21:29 +0200
  • 6002f7c4d6 Lay the basis for a very simple test suite Tissevert 2020-06-08 22:45:16 +0200
  • fc0ef57b53 Remove dead code Tissevert 2020-06-08 12:36:36 +0200
  • 1a2ece9dd9 Finish adapting everything to the new Markdown data type Tissevert 2020-06-08 10:34:30 +0200
  • 1df95d5091 Start adding a Markdown data type common to Articles and Pages, refactor here and there, will need some more renaming / refactoring in DOM module Tissevert 2020-06-07 23:16:40 +0200
  • baa1d0ce09 Simplify inelegant code Tissevert 2020-05-30 12:57:52 +0200
  • fc8e26a983 Merge branch 'main' into implement-static-pages Tissevert 2020-05-30 12:28:48 +0200
  • 1ac53e90d7 Merge branch 'main' into goSJW goSJW Tissevert 2020-05-09 16:29:26 +0200
  • f19331bf11 Generate links to RSS feeds generated, generalize conditional blocks for static templating thus simplifying some variables and clarify some data structures for Collections and ArticleLists Tissevert 2020-05-08 15:51:25 +0200
  • 3cda3fb5ae Document the changes in template variables link-to-rss Tissevert 2020-05-08 15:37:27 +0200
  • 5c2ac28ce9 Notice this has been generalized just above and use the generalization Tissevert 2020-05-07 22:52:06 +0200
  • 58d2f3c1c2 Get rid of useless Blog.get that was actually a re-implementation of MonadReader's 'asks' Tissevert 2020-05-07 17:09:21 +0200
  • e180fef293 Fix navigation bug due to missing trailing slash in URLs causing RSS links to point to the main one even in tagged page Tissevert 2020-05-07 16:57:46 +0200
  • e136b97746 Now that we have conditional static templating, get rid of redundant templating variables (allTaggedPage + latestTaggedPage) Tissevert 2020-05-07 16:35:24 +0200
  • 049576154a Follow change in article lists' header structure by dynamically generating a link to the RSS feed Tissevert 2020-05-06 10:25:46 +0200
  • 2a7d721a35 Implement safe templating for «local» variables used during hablo rendering of the blog — not in client code Tissevert 2020-05-06 10:17:33 +0200
  • 107a9767ab Sort things out between Collection and ArticlesList (keep a link to the Collection and just add a flag saying whether the ArticlesList is a restricted version of or the whole Collection) and implement the generation of a link to the RSS feed Tissevert 2020-04-19 21:30:41 +0200
  • 6c70281e3f Adding two template variables to control the text and title of RSS links Tissevert 2020-04-19 18:07:46 +0200
  • 3c19a2c568 Fix inconsistent case choice for function otherUrl -> otherURL Tissevert 2020-04-14 11:28:54 +0200
  • 4f93b92cc4 Merge branch 'main' into goSJW Tissevert 2020-03-25 19:48:46 +0100
  • 4e402174b1 Implement RSS feeds generation Tissevert 2020-03-25 19:47:28 +0100
  • bc861e3eeb Print a warning when --site-url is set but none of --open-graph-cards or --rss is set rss Tissevert 2020-03-25 19:46:35 +0100
  • 18d0e73062 Fix shameful camel case used insteadof kebab for Open Graph cards flag Tissevert 2020-03-25 19:45:25 +0100
  • 39a8a3865c Document new options Tissevert 2020-03-25 19:25:40 +0100
  • 11c9b3a068 Add a RSS module to generate feeds Tissevert 2020-03-23 21:35:41 +0100
  • 42a8cd3b71 Explicitly require all elements imported from Lucid Tissevert 2020-03-23 16:19:01 +0100
  • 2fba3d8b6a Rename ArticlesLists' description and title for more clarity and reuse in RSS feeds Tissevert 2020-03-23 16:18:22 +0100
  • dfd3a78b79 Require separate RSS and Open Graph cards flags instead of an implicit '--site-url' triggering cards Tissevert 2020-03-23 16:10:44 +0100
  • 77fc715294 Restrict imports in Lucid + use '<.>' to delimit filename and extension Tissevert 2020-03-23 09:40:41 +0100
  • 5163d13ce8 Extract Collections out of HTML to make them available to RSS generator too Tissevert 2020-03-22 23:16:39 +0100
  • 00c9b882b5 Add argument switch to enable RSS generation Tissevert 2020-03-22 23:16:00 +0100
  • 7ef89ae93d Add missing imports, reorder them alphabetically Tissevert 2020-01-11 09:05:32 +0100
  • fd714e93ff Require SJW, generate blog config as a standalone file because it's always nice to have (if you want to expose its content as a read-only API) and handle hablo.js compilation with SJW Tissevert 2020-01-10 18:58:42 +0100
  • add68897ad Adapt hablo's JS to SJW and stop requiring unitJS separately (since it's gonna get pulled in by sjw at compile time) Tissevert 2020-01-10 18:56:59 +0100
  • 8f007074fd Avoid using a «Most people won't need this» module and use an intermediate value that is not meant to represent a duration windows-compat Tissevert 2020-01-08 15:42:30 +0100
  • bbcffcfefb Use UTCTime and stay out of the unix package for future possible windows compatibility Tissevert 2020-01-08 14:39:10 +0100
  • 36651ddc38 Fix Open Graph cards by adding a new option to provide the site's URL v1.0.3.0 Tissevert 2019-12-21 12:50:38 +0100
  • 46daaa2b7a Draft a data structure for pages and make it part of the Blog datastructure Tissevert 2019-08-27 16:49:47 +0200
  • b080c32d4c Handle pages parameter : use custom value provided with the usual checks or default it to «pages/» iif the directory exists, otherwise pages are deactivated Tissevert 2019-08-27 16:47:45 +0200
  • 94e323d715 Simplify Blog.Wording module and change conditional template blocks syntax a tiny bit v1.0.2.0 Tissevert 2019-08-27 13:23:17 +0200
  • ccb7491170 Lower version bounds v1.0.1.1 Tissevert 2019-06-29 17:33:32 +0200
  • 0d9b331ccb Print warnings about malformed Markdown articles instead of ignoring them silently v1.0.1.0 Tissevert 2019-04-28 17:27:55 +0200
  • 593780cbbd Release v1.0.0 v1.0.0.0 Tissevert 2019-04-19 21:31:41 +0200
  • 7138680c91 Add clickable image to comments and support for emojis Tissevert 2019-03-03 12:16:08 +0100
  • 2c6be28d76 Implement metadata for articles and comments Tissevert 2019-03-02 23:44:09 +0100
  • e9dad0fc3d Fix bug causing articles/ path to not be found when hablo is not run from the target directory Tissevert 2019-03-02 23:40:34 +0100
  • 91bef62fbb Remove rests of .navigation class to hijack links rendered obsolete by 2c29b33 Tissevert 2019-03-02 22:45:26 +0100
  • f9a82cb088 Harden wording files parsing against partial read due to unexpected token and add support for comments Tissevert 2019-03-01 23:03:31 +0100