1. 31 Mar, 2022 1 commit
  2. 12 Feb, 2022 1 commit
  3. 09 Feb, 2022 1 commit
  4. 20 Jan, 2022 1 commit
  5. 04 Jan, 2022 1 commit
  6. 02 Jan, 2022 3 commits
    • Kevin Morris's avatar
      change(python): move request & pkgbase request routes · a1f46611
      Kevin Morris authored
      
      
      Move package request routes and related routes to their
      respective routers. In addition, move some utility used
      for requests over from `aurweb.packages`.
      
      Introduced routers:
      - `aurweb.routers.requests`
      
      Introduced package:
      - `aurweb.requests`
      
      Introduced module:
      - `aurweb.requests.util`
      
      Changes:
      - Moved `aurweb.packages.validate` to `aurweb.pkgbase.validate`
      - Moved requests listing & request closure routes to
        `aurweb.routers.requests`
      - Moved pkgbase request creation route to `aurweb.routers.pkgbase`
      - Moved `get_pkgreq_by_id` from `aurweb.packages.util` to
        `aurweb.requests.util` and fixed its return type hint.
      
      Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
      a1f46611
    • Kevin Morris's avatar
      change(python): move comaint routes to pkgbase router · a77d44e9
      Kevin Morris authored
      
      
      Also brings over comaint utility functions to the pkgbase
      package.
      
      Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
      a77d44e9
    • Kevin Morris's avatar
      change(python): put pkgbase routes & impl into their own modules · bd2ad9b6
      Kevin Morris authored
      
      
      Introduces new router:
      - `aurweb.routers.pkgbase`
      
      Introduces new package:
      - `aurweb.pkgbase`
      
      Introduces new modules:
      - `aurweb.pkgbase.actions`
      - `aurweb.pkgbase.util`
      
      Changes:
      - `pkgbase_{action}_instance` functions are now located in
        `aurweb.pkgbase.actions`.
      - `pkgbase`-wise routes have been moved to
        `aurweb.routers.pkgbase`.
      - `make_single_context` was moved to
        `aurweb.pkgbase.util.make_context`.
      
      Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
      bd2ad9b6