1. 15 Nov, 2019 1 commit
  2. 12 Nov, 2019 4 commits
    • Matt Baer's avatar
      Fix 500 on tags page · bd99044e
      Matt Baer authored
      This fixes a panic from a nil user when calling u.IsSuspended().
      Instead, this checks and calls IsSuspended() on `owner`.
    • Matt Baer's avatar
      Fix collection post 500 when not logged in · 2899d98c
      Matt Baer authored
      This reverts some code from 5429ca4a, which broke collection post
      loading on blog posts when not logged in.
    • Matt Baer's avatar
      Bump version to 0.11.1 · 278e4f62
      Matt Baer authored
    • Matt Baer's avatar
      Improve non-chorus site-wide header · 3d49baf3
      Matt Baer authored
      This adds a Reader tab when necessary while logged in, and generally
      keeps the navigation consistent for logged-in users, particularly in
      regard to the Reader:
      - Now includes user buttons and dropdown
      - Makes header on user pages consistent with Reader page
  3. 11 Nov, 2019 21 commits
  4. 09 Nov, 2019 1 commit
  5. 08 Nov, 2019 1 commit
    • Rob Loranger's avatar
      pass hostname to canonical url in post templates · c0b75f6b
      Rob Loranger authored
      the change to take a hostname in Post.CanonicalURL broke a few template
      using that function. This adds a Hostname string to the Post being
      passed to templates and passes it to calls to Post.CanonicalURL
  6. 07 Nov, 2019 8 commits
  7. 04 Nov, 2019 1 commit
  8. 25 Oct, 2019 2 commits
    • Rob Loranger's avatar
      add check for suspended user on single posts · 5429ca4a
      Rob Loranger authored
      also fix logic bug in posts.go viewCollectionPost checking the page
    • Rob Loranger's avatar
      address PR comments · f85f0751
      Rob Loranger authored
      - update error messages to be correct
      - move suspended message into template and include for other pages
      - check suspended status on all relevant pages and show message if
      logged in user is suspended.
      - fix possible nil pointer error
      - remove changes to db schema files
      - add version comment to migration
      - add UserStatus type with UserActive and UserSuspended
      - change database table to use status column instead of suspended
      - update toggle suspended handler to be toggle status in prep for
      possible future inclusion of further user statuses
  9. 24 Oct, 2019 1 commit