1. 06 Mar, 2017 3 commits
  2. 03 Mar, 2017 1 commit
  3. 02 Mar, 2017 1 commit
  4. 28 Aug, 2016 2 commits
    • Fix spurious 304 error · e700e4af
      * tekuti/cache.scm (make-entry): Only return a cached not-modified
        response if the request was conditional.
      Andy Wingo authored
    • Fix 304 edge case in atom feed · 7643585d
      * tekuti/page.scm (atom-feed-from-posts): Don't bomb if the client sends
        a if-modified-since but we have no posts.
      Andy Wingo authored
  5. 17 Dec, 2014 3 commits
    • New posts start in private status · cf10aa70
      * tekuti/page-helpers.scm (post-editing-form): Fix status of new posts.
      Andy Wingo authored
    • Minor aesthetic fixups · acc13819
      * tekuti/page-helpers.scm (post-editing-form): Aesthetic fixups.
      Andy Wingo authored
    • Add ability to share draft posts · 20e76582
      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.
      Andy Wingo authored
  6. 22 Oct, 2014 4 commits
  7. 15 Oct, 2014 3 commits
    • Support for relative URIs for https + http access. · ab54aca5
      * 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 authored
    • Allow scheme-relative URIs in urlish? · c631aaf3
      * tekuti/util.scm (urlish?): Allow scheme-relative URIs.
      Andy Wingo authored
    • Scheme-relative URL · c087e7b6
      * tekuti/template.scm (templatize): Use scheme-relative URL for tekuti.
      Andy Wingo authored
  8. 09 Oct, 2014 1 commit
    • Better mobile experience · 89da28b7
      * tekuti/template.scm (templatize): Render using device width as
        viewport, for better mobile experience.
      Andy Wingo authored
  9. 19 Jan, 2014 2 commits
  10. 03 Jun, 2012 1 commit
  11. 15 Feb, 2012 1 commit
    • faster git-rev-parse · 085b4c76
      * 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).
      Andy Wingo authored
  12. 14 Feb, 2012 1 commit
    • no sxml, no body · 80341238
      * tekuti/page-helpers.scm (respond): Give no body if there is no SXML.
        Fixes perhaps spurious errors raised by Guile's web server.
      Andy Wingo authored
  13. 12 Feb, 2012 2 commits
  14. 11 Feb, 2012 2 commits
    • stop hitting git when fetching post metadata · afec0daa
      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
        table.
        (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
        change.
        (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 authored
    • better errors when reindexing · f89e4b12
      * tekuti/index.scm (maybe-reindex): Reindex within a
        call-with-error-handling.
      Andy Wingo authored
  15. 26 Apr, 2011 2 commits
  16. 25 Apr, 2011 4 commits
    • multiple with query args add tags to the set · cee672f1
      * tekuti/page.scm (page-feed-atom): Reimplement more clearly, and give
        "with" inclusionary meaning.
      Andy Wingo authored
    • add ?with=guile&without=gnu · 08e1e58f
      * 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 authored
    • with-i/o procedures close their ports · 26216a59
      * 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.
        (shell:quote):
      * tekuti/git.scm (git-commit-reverse-operations, with-output-to-blob*)
        (with-input-from-blob*):
      * tekuti/filters.scm (wordpress->sxml): Use the string* procedures.
      Andy Wingo authored
    • add atom feeds for tags · a4bad7a5
      Brian Gough authored
  17. 22 Feb, 2011 3 commits
  18. 18 Feb, 2011 4 commits