This project is mirrored from https://gitlab.archlinux.org/archlinux/aurweb.git. Pull mirroring updated .
  1. 14 Feb, 2022 1 commit
  2. 29 Nov, 2021 2 commits
  3. 15 Nov, 2021 1 commit
    • Kevin Morris's avatar
      housekeep(fastapi): rework aurweb.db session API · 4103ab49
      Kevin Morris authored
      
      
      Changes:
      -------
      - Add aurweb.db.get_session()
          - Returns aurweb.db's global `session` instance
          - Provides us a way to change the implementation of the session
            instance without interrupting user code.
      - Use aurweb.db.get_session() in session API methods
      - Add docstrings to session API methods
      - Refactor aurweb.db.delete
          - Normalize aurweb.db.delete to an alias of session.delete
      - Refresh instances in places we depend on their non-PK columns
        being up to date.
      
      Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
      4103ab49
  4. 21 Oct, 2021 1 commit
    • Kevin Morris's avatar
      fix(fastapi): centralize logging initialization · a06f4ec1
      Kevin Morris authored
      
      
      With this change, we provide a wrapper to `logging.getLogger`
      in the `aurweb.logging` module. Modules wishing to log using
      logging.conf should get their module-local loggers by calling
      `aurweb.logging.getLogger(__name__)`, similar to `logging.getLogger`,
      this way initialization with logging.conf is guaranteed.
      
      Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
      a06f4ec1
  5. 19 Oct, 2021 1 commit
  6. 02 Oct, 2021 1 commit
    • Kevin Morris's avatar
      change(FastAPI): decouple rendercomment logic from main · 0d8216e8
      Kevin Morris authored
      
      
      This commit decouples most of the rendercomment.py logic into
      a function, `update_comment_render`, which can be used by other
      Python modules to perform comment rendering.
      
      In addition, we silence some deprecation warnings from python-markdown
      by removing `md_globals` parameters from python-markdown callbacks.
      
      Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
      0d8216e8
  7. 21 Jul, 2021 1 commit
  8. 20 Feb, 2021 1 commit
  9. 02 Feb, 2020 4 commits
  10. 08 Apr, 2018 1 commit
  11. 08 Nov, 2017 1 commit
  12. 25 Aug, 2017 1 commit
  13. 26 Apr, 2017 1 commit
  14. 24 Apr, 2017 3 commits
  15. 23 Apr, 2017 3 commits