1. 04 Sep, 2018 2 commits
  2. 03 Sep, 2018 4 commits
  3. 30 Aug, 2018 2 commits
    • Chad Birch's avatar
      Clean up unnecessary linting disables · d5fe6379
      Chad Birch authored
      These disables no longer seem to be necessary, due to switching to
      Prospector. Some may be related to newer versions of astroid, pylint, or
      other reasons.
      d5fe6379
    • Chad Birch's avatar
      Replace Pylama with Prospector · d1709622
      Chad Birch authored
      Pylama is no longer maintained, and has been gradually getting slower
      and slower, as well as being incompatible with Python 3.7 and newer
      versions of astroid and pylint. This replaces it with Prospector, which
      is being maintained by the same group as pylint and some other code
      quality tools.
      d1709622
  4. 29 Aug, 2018 3 commits
    • Chad Birch's avatar
      d1a73f4a
    • Chad Birch's avatar
      14149aaf
    • Chad Birch's avatar
      Collapse old comments when re-visiting a topic · 4069c33e
      Chad Birch authored
      For users that have the "mark new comments" feature enabled, this will
      collapse old comments when they re-visit a topic that has new ones. It
      involves adding a new "individual collapse" style that only collapses a
      single comment and doesn't also hide all of its replies.
      
      New comments and their direct parents will stay uncollapsed, and all
      other comments in a path up to the root will be individually collapsed.
      Any branches with no expanded comments will be fully collapsed. We
      should probably add an indicator for how many comments are in a
      collapsed chain so that we can distinguish between individually
      collapsed ones and larger collapsed chains.
      4069c33e
  5. 28 Aug, 2018 1 commit
    • Chad Birch's avatar
      Display excerpt on collapsed comments · 9e57129d
      Chad Birch authored
      Similar to the excerpts stored and displayed for text topics, this
      stores excerpts for comments and displays them when the comment is
      collapsed.
      9e57129d
  6. 27 Aug, 2018 4 commits
  7. 26 Aug, 2018 4 commits
  8. 23 Aug, 2018 3 commits
  9. 22 Aug, 2018 6 commits
  10. 21 Aug, 2018 5 commits
  11. 20 Aug, 2018 1 commit
    • Deimos's avatar
      Change url methods to treat routes individually · 54476a44
      Deimos authored
      Previously these methods for generating "base" and "normal" urls weren't
      treating each route individually and just had a single list of query
      vars that would be kept for all routes. This approach is a lot more
      flexible and allows separating out only the variables relevant for a
      particular route.
      54476a44
  12. 18 Aug, 2018 2 commits
  13. 17 Aug, 2018 3 commits
    • Deimos's avatar
      Restrict accidental-ordered-list fix to post start · e4b8bb97
      Deimos authored
      Previously this was also trying to catch ones at the beginning of new
      paragraphs, but that seems to mostly just be causing unexpected issues
      when people create ordered lists with a blank line between items. This
      can probably be done properly in the future, but just restricting it to
      the start of posts is probably better for now.
      e4b8bb97
    • Deimos's avatar
      Add auth principals for some topic tools · 1d8b74ca
      Deimos authored
      Allows (manually) granting permissions to allow users to re-tag topics,
      move them between groups, and edit their titles.
      
      This should probably be generalized in the near future, but this will do
      the trick for now.
      1d8b74ca
    • Deimos's avatar
      Switch to a general "permissions" column on users · 6a8290aa
      Deimos authored
      Previously there was a specific is_admin boolean column. This commit
      changes to have a general permissions column which is stored in JSON,
      and currently should either be a single string or list of strings. These
      strings are used as the user's principals for the authorization system.
      So now, setting a user as admin would involve adding the string "admin"
      to their permissions column, instead of just setting is_admin to True.
      
      As part of this change, I also moved the MutableDict associations onto
      specific columns, instead of being attached to JSONB by default (since
      this new column won't always be a dict).
      6a8290aa