Skip to content

V2.0.0

Latest
Compare
Choose a tag to compare
@p0lygun p0lygun released this 23 Jul 21:53
· 49 commits to production since this release
8da1ca8

Had to do an early release as we need to get ready for "Portal Jam" and as we have breaking changes in API, we need to bump the major version. V2 milestone is still not completed and will be done in V2.1

2.0.0 (2023-07-23)

New Features
  • core:
    • add base api url (#202) (39941c2)
    • add base api url (92cb161)
    • Add Legal disclaimers. (#201) (5caad84)
    • add disclaimer for mobile (8e55b91)
    • add why i love lawyers (83d2949)
    • add Electronic Arts’ Fansite Agreement (f9aa03b)
    • migrate to poetry for dependency management (d58aacd)
    • upgrade wagtail to 5.0.2 (#185) (38c5773)
    • upgrade wagtail to 5.0.2 (04e5cb1)
    • make generation of mock data much better for dev purpose (#183) (39c5889)
    • remove discriminator from user profile (852ec4b)
    • send 404 on invalid profile (c01a9a4)
    • allow discord_id that has more than 18 digits (314ae21)
    • set social auth provider name for mock user (0fc16e1)
    • set correct global_name and display_name (f33dcc9)
    • improved mock experience creatation; closes #175; closes #176 (3870095)
    • add management command called to populate db with mock data (6473297)
    • add boolean field to profile to mark a user as mock user (5b4b700)
  • API rework (#199) (ca6fca7)
  • add logging and new page after submit (#181) (4728ba5)
  • use global logger for logging when using runserver (6eed937)
  • setup logging before starting application (c7839b0)
  • use InterceptHandler to route django logs to loguru; closes #179 (87f8540)
  • use loguru and logger for gunicorn; closes #180 (1bbd540)
  • restructure wsgi to make to more modular (ebb12a8)
  • use gunicorn conf to set a few command line args; closes #178 (e62fb1d)
  • add gunicorn conf (8ebd8ae)
  • supress wagtail warning and load .env when starting with gunicorn (3e24348)
  • add handling when a user with no profile tries to login on (3608474)
  • implement new UI for after submit page (#173) (7ea4223)
  • Create CODE_OF_CONDUCT.md (#172) (508f05e)
  • check length of token to see if its passed (0d7ca29)
  • populate env template with default values for local development, update env usage in codebase (3b35021)
  • update contrib guide (e356242)
  • update env template (2395eca)
  • setup docker for local development (48623d7)
  • add broken field to api (#170) (fac31af)
  • add field to api (40d4296)
  • remove update-portainer workflow (7a1a18b)
  • add WIP action to manage PRs (2a0c435)
  • add github sponsors info (7570a54)
  • bfportal.gg: Bump version -> 2.0.0 (e6c0c7f)
  • api:
    • add owner to api_fields of experience page (2a82172)
    • add Social accounts to User API response (505899c)
    • made api a separate module (98b7030)
    • serialize field in ExperiencePage (768cf46)
    • complete serializers for User Profile (d118c89)
    • break serializers into modules (4f330c5)
    • add Serializer for SubCategory (0c404bb)
    • serialize ExperiencesCategory (e016a5a)
  • tailwind:
    • move tailwind config to bfportal folder (#197) (dc2372c)
    • move tailwind config to bfportal folder (f316f06)
    • use standalone tailwind instead of django-tailwind (#196) (7c4b96f)
    • add scripts to make dev experience better (e472f7e)
    • remove theme app (a2450ff)
    • remove django-tailwind (7b378ac)
  • CI:
    • update image to use npm for tailwind (116d66e)
    • add caching to docker action (#192) (683264e)
    • use github cache to cache image layers (7f7eba6)
    • run docker action on all paths (cd9c28e)
    • set up buildx in GH actions (40d7e4b)
    • set default directory for runner (2963a90)
    • migrate to a multistage docker build (a7766fe)
    • build docker image for main and production branch (#186) (099524c)
    • build docker image for main and production branch (50ddd69)
    • add default_install_hook_types to pre-commit config to install commit-msg type hooks by default (898324b)
  • poetry: use poetry as the dependency manager (#188) (37b46a5)
  • mock:
    • continue if a user exists with the same username (e428544)
    • add random users as creators; closes #176 (9e10e0e)
    • set random states to experience page (119d424)
    • remove factory app and merge into one management command called (073bc01)
  • docker: add profiles to docker compose for easier development on local (#182) (3edc654)
  • docs: compelete steps to use docker as dev environment (dc7acf5)
  • gh-actions:
    • migrate to ghcr.io from docker.pkg.github.com (e4ebc24)
    • removed dev from push branches in 'on' (e134984)
Chores
  • core:
  • add cachetools to dependencies (018c338)
  • Merge branch 'dev' into docker-dev-env (4698566)
  • add DB_PASSWORD to template (06d7e00)
  • Merge branch 'dev' into docker-dev-env (86e0ef5)
  • add to LOGGING_FORMAT (8f9dd4e)
  • added loguricorn (2ae1cee)
  • merge branch 'main' into dev (08e51c5)
  • sort keys into required or not (124a2ab)
  • Merge branch 'main' into docker-dev-env (f130163)
  • merge main (f608da8)
  • clean up readme (6a6a1bc)
  • merge main -> dev (d65df93)
  • lint: fix linting errors (e3c93cc)
  • CI:
    • resolve merge conflict (4559ecd)
    • fix flake8 and black warnings (11086c5)
  • mock: add logging (c904893)
  • pre-commit: bump commit-msg-validator version (7702d6a)
Bug Fixes
  • core: remove function (64984b6)
  • CI:
    • ignore correct path in collectstatic (4bfa028)
    • use raw type tag to get latest tag meta data (#194) (b0e4997)
    • use raw type tag to get latest tag meta data (af5fddf)
    • set correct flavor in meta-data action (#193) (e76b82f)
    • set correct flavor in meta-data action (b7ddaa0)
    • get metadata for image in meta-data action (9721ddd)
    • set correct branch name in docker push (#190) (f5eebb1)
    • set correct branch name in docker push (bc42640)
    • set correct version for meta-data action (#189) (9af686b)
    • set correct version for meta-data action (87ce37a)
  • dependency conflict in draftjs-exporter (f8b5ca4)
  • fix logic when cheking for env lenght 🥲 (78c0f68)
  • logic for checking token length (2a0a0ee)
  • made category required in submit form (#166) (b60726d)
  • make categories required; fixes #149 (fd9b28c)
  • Add CSRF_TRUSTED_ORIGINS to settings.py (#165) (142beab)
  • add CSRF_TRUSTED_ORIGINS to settings (bd0393d)
    Full Changelog: v1.4.1...v2.0.0