FAQ | This is a LIVE service | Changelog

Skip to content
  1. Nov 20, 2024
  2. Oct 31, 2024
  3. Oct 28, 2024
  4. Oct 25, 2024
  5. Oct 23, 2024
  6. Oct 21, 2024
  7. Oct 17, 2024
  8. Oct 16, 2024
  9. Oct 10, 2024
  10. Oct 02, 2024
  11. Sep 26, 2024
  12. Jul 30, 2024
  13. Jul 24, 2024
  14. Mar 21, 2024
    • Dr Rich Wareham's avatar
      Merge branch 'issue-91-poetry-warning-fix' into 'master' · 1929d514
      Dr Rich Wareham authored
      fix poetry warning
      
      Closes #91
      
      See merge request !78
      2.0.1
      1929d514
    • Dr Rich Wareham's avatar
      chore: bump CHANGELOG · bad17175
      Dr Rich Wareham authored
      bad17175
    • Dr Rich Wareham's avatar
    • Dr Rich Wareham's avatar
      fix(poetry): fix poetry warning · 7c724ecb
      Dr Rich Wareham authored
      Running `poetry install` with later (>= 1.8) versions of poetry results
      in the following dire warning:
      
          Warning: The current project could not be installed: No file/folder found for package ucam-card-api
          If you do not want to install the current project use --no-root.
          If you want to use Poetry only for dependency management but not for packaging, you can disable package mode by setting package-mode = false in your pyproject.toml file.
          In a future version of Poetry this warning will become an error!
      
      Heed the warning and add `package-mode = False` into `pyproject.toml`.
      This is correct because we use poetry only for dependency management in
      our webapps; we do not use it to actually build or distribute any
      packages.
      7c724ecb
  15. Mar 18, 2024
  16. Mar 11, 2024
  17. Mar 04, 2024
  18. Nov 09, 2023
    • Dr Rich Wareham's avatar
      feat: enable JSON-formatted logging in production · d7c89425
      Dr Rich Wareham authored
      Use django-structlog and structlog to enable JSON-formatted logging in
      production and "pretty" formatted logs for local development.
      
      Since the only settings in `project/settings/docker.py` were replacing
      logging configuration, remove that file and make use of the unified
      logging configuration in `project/settings/base.py`.
      
      Make use of Django's log filter utilities to gate JSON logging behind
      whether the DEBUG setting is True or False.
      d7c89425
    • Dr Rich Wareham's avatar
      feat: use single container image registry for builds · 51341334
      Dr Rich Wareham authored
      Since we do not ever deploy directly from the GitLab container registry,
      instead using the Google Artefact Registry,qthe "latest" tag has no
      meaning.
      
      Consequently we no longer have any need for using a different container
      registry for each branch as we never pull `.../{branch}:latest`.
      
      Moving to a single container registry allows container registry cleanup
      policies to actually work as intended: we can keep the container images
      corresponding to each release and ones corresponding to the commits in
      the past *n* days, tagged with commit SHAs.
      51341334
    • Dr Rich Wareham's avatar
      feat: add automated release management · b0becac5
      Dr Rich Wareham authored
      Add automated release management support to the template. We default to
      the "safer" option of having a release MR rather than automated releases
      per merge to the default branch.
      
      Since CHANGELOG generation requires that commits follow the
      conventional-commit specification, add commitlint as a CI job and make
      sure that the auto-created initial commit follows the
      conventional-commit spec.
      b0becac5
  19. Oct 17, 2023
    • Dr Rich Wareham's avatar
      Merge branch 'make-api-optional' into 'master' · 484a381e
      Dr Rich Wareham authored
      feat: make API optional
      
      See merge request !74
      484a381e
    • Dr Rich Wareham's avatar
      feat: make API optional · 37343345
      Dr Rich Wareham authored
      Add `include_api` to the cookiecutter context. If set to `NO` then the
      `api` module won't be included. This is mostly useful for tiny "pure
      Django" apps with the traditional request -> render webapp model.
      
      Tweak the logic surrounding adding Django social auth. In general we
      assume that apps with UI disabled but API enabled are "pure API"
      applications and don't need social auth. Any other combination results
      in social auth being added.
      
      Tested by bootstrapping a new Django project for the Regent House Ballot
      voting site.
      37343345
  20. Oct 04, 2023
Loading