1. 06 Mar, 2017 3 commits
  2. 03 Mar, 2017 1 commit
  3. 02 Mar, 2017 1 commit
  4. 28 Aug, 2016 2 commits
    • Andy Wingo's avatar
      Fix spurious 304 error · e700e4af
      Andy Wingo authored
      * tekuti/cache.scm (make-entry): Only return a cached not-modified
        response if the request was conditional.
    • Andy Wingo's avatar
      Fix 304 edge case in atom feed · 7643585d
      Andy Wingo authored
      * tekuti/page.scm (atom-feed-from-posts): Don't bomb if the client sends
        a if-modified-since but we have no posts.
  5. 17 Dec, 2014 3 commits
    • Andy Wingo's avatar
      New posts start in private status · cf10aa70
      Andy Wingo authored
      * tekuti/page-helpers.scm (post-editing-form): Fix status of new posts.
    • Andy Wingo's avatar
      Minor aesthetic fixups · acc13819
      Andy Wingo authored
      * tekuti/page-helpers.scm (post-editing-form): Aesthetic fixups.
    • Andy Wingo's avatar
      Add ability to share draft posts · 20e76582
      Andy Wingo authored
      As a side effect of this change, any pending posts in your repository
      that are in "draft" status will effectively move into the new "draft"
      state, which means they can be reached by their URL.  That's not a big
      deal though because those URLs are not trivial to guess.
      * tekuti/page-helpers.scm (post-editing-form): Add radio button to
        choose post status.
      * tekuti/post.scm (post-public?, post-draft?, post-private?): New
        accessors for post status.
        (post-from-key): Add #:allow-draft? keyword argument.
      * tekuti/page.scm (page-show-post): Allow direct access to draft posts.
  6. 22 Oct, 2014 4 commits
  7. 15 Oct, 2014 3 commits
    • Andy Wingo's avatar
      Support for relative URIs for https + http access. · ab54aca5
      Andy Wingo authored
      * tekuti/page-helpers.scm (ensure-uri): Rename from ensure-public-uri.
        A URI is absolute by definition.
        (ensure-uri-reference): New helper.  Requires git guile.
        (respond): Use ensure-URI-reference to get the reference.
        (atom-header, atom-entry): Use ensure-uri.
      * tekuti/page.scm (atom-feed-from-posts): Pass the URI scheme from the
        request-uri when reconstructing
      * tekuti/config.scm (*public-scheme*): New config variable, defaulting
        to http.
    • Andy Wingo's avatar
      Allow scheme-relative URIs in urlish? · c631aaf3
      Andy Wingo authored
      * tekuti/util.scm (urlish?): Allow scheme-relative URIs.
    • Andy Wingo's avatar
      Scheme-relative URL · c087e7b6
      Andy Wingo authored
      * tekuti/template.scm (templatize): Use scheme-relative URL for tekuti.
  8. 09 Oct, 2014 1 commit
    • Andy Wingo's avatar
      Better mobile experience · 89da28b7
      Andy Wingo authored
      * tekuti/template.scm (templatize): Render using device width as
        viewport, for better mobile experience.
  9. 19 Jan, 2014 2 commits
  10. 03 Jun, 2012 1 commit
  11. 15 Feb, 2012 1 commit
    • Andy Wingo's avatar
      faster git-rev-parse · 085b4c76
      Andy Wingo authored
      * tekuti/git.scm (git-rev-parse): Try to read the ref ourselves, first.
        Fall back to using git if that doesn't work (for example, if it's a
        packed ref).
  12. 14 Feb, 2012 1 commit
    • Andy Wingo's avatar
      no sxml, no body · 80341238
      Andy Wingo authored
      * tekuti/page-helpers.scm (respond): Give no body if there is no SXML.
        Fixes perhaps spurious errors raised by Guile's web server.
  13. 12 Feb, 2012 2 commits
  14. 11 Feb, 2012 2 commits
    • Andy Wingo's avatar
      stop hitting git when fetching post metadata · afec0daa
      Andy Wingo authored
      Inspired by a patch from Aleix Conchillo Flaqué.  Thanks, Aleix!
      * tekuti/index.scm (index-specs):
      * tekuti/post.scm (reindex-posts, reindex-posts-by-date): Change to have
        the "posts" index be a hash table mapping key -> post.
        "posts-by-date" is a list of keys, from newest to oldest.
        (post-from-git): This is what post-from-key was.
        (post-from-key): New function, pulls out a post from the posts hash
        (munge-post): Use post-from-git.
        (delete-post): Take the post directly.
        (latest-posts): New awesome helper for fetching the lastest N posts
        that match some predicates.
      * tekuti/page-helpers.scm (find-posts-matching): Adapt to post-from-key
        (published-posts): Remove, replaced with latest-posts.
      * tekuti/page.scm (page-admin, page-admin-posts, page-admin-post)
        (page-archives, page-feed-atom): Use the new latest-posts helper.
        (page-admin-delete-post, page-admin-delete-comment, page-show-post)
        (page-new-comment, page-show-tag): Adapt to post-from-key change.
      * tekuti/tags.scm (compute-related-posts, compute-related-tags): Adapt
        to post-from-key change.
        (reindex-tags): Use latest-posts.
    • Andy Wingo's avatar
      better errors when reindexing · f89e4b12
      Andy Wingo authored
      * tekuti/index.scm (maybe-reindex): Reindex within a
  15. 26 Apr, 2011 2 commits
  16. 25 Apr, 2011 4 commits
    • Andy Wingo's avatar
      multiple with query args add tags to the set · cee672f1
      Andy Wingo authored
      * tekuti/page.scm (page-feed-atom): Reimplement more clearly, and give
        "with" inclusionary meaning.
    • Andy Wingo's avatar
      add ?with=guile&without=gnu · 08e1e58f
      Andy Wingo authored
      * tekuti/page.scm (page-feed-atom): Reimplement Brian's thing with
        "with" and "without" query args, to allow for multiple tags to be
        included or excluded.
      * tekuti/request.scm (request-query-ref-all): New helper.
    • Andy Wingo's avatar
      with-i/o procedures close their ports · 26216a59
      Andy Wingo authored
      * tekuti/util.scm (with-output-to-string*, with-input-from-string*): New
        hacky helpers, which close the port before returning the string or
        result.  Hopefully reduce pressure on the GC.
      * tekuti/git.scm (git-commit-reverse-operations, with-output-to-blob*)
      * tekuti/filters.scm (wordpress->sxml): Use the string* procedures.
    • Brian Gough's avatar
      add atom feeds for tags · a4bad7a5
      Brian Gough authored
  17. 22 Feb, 2011 3 commits
  18. 18 Feb, 2011 4 commits