Skip to content

Latest commit

 

History

History
727 lines (483 loc) · 28.2 KB

CHANGELOG.md

File metadata and controls

727 lines (483 loc) · 28.2 KB

Changelog

Development

2022-08-08

  • [NEW] Add safety checks to the project via pyup.io. This enables vulnerability scanning in CI for DPT. - !240
  • [ENH] Update black, isort and prospector to the latest stable version - !240
  • [ENH] [SPA] Report network errors to sentry from server-side - !245
  • [ENH] DEVOPS-33: Cleanup cookiecutter options and take advantage of choice options - !246
  • [ENH] DEVOPS-32: DRY compose files. Take advantage of YAML node references(anchors) and reduce duplication in the compose files. This makes them less error-prone and easier to maintain. - !244
  • [ENH] DEVOPS-41: Add built-in tests for error pages and accounts app - !248
  • [NEW] DEVOPS-49: Add separate node type-check - !252
  • [BUG] DEVOPS-42: Fix webapp password reset link - !251
  • [ENH] Migrate to environs package instead of django-environ - !234
  • [ENH] DEVOPS-51: Terraform does not output sensitive-but-necessary keys anymore - !247
  • [ENH] Remove unnecessary commands from Dockerfiles in preparation for user-1000 (#19). - !253
    • Removed unnecessary COPY commands in Dockerfile-node. (COPY below just copies everything anyway, including dot-files.)
    • Moved CMD commands to docker-compose.yml and replaced by bash. Rationale: prevent accidental run of services by incomplete shell command such as docker-compose run node and also remove duplicate declarations.
    • Removed EXPOSE commands as redundant, because it only serves as documentation, but the actual port is defined by .env and thus EXPOSE is misleading.
  • [NEW] DEVOPS-44: Add role for creating superuser with ansible - !250 and !258
  • [NEW] DEVOPS-33: Add automatic ansible test vault encryption during project generation - !249 and !255
  • [BUG] DEVOPS-38: Improve local-mirror role and add safeguards to prevent issues with chmod/chown being run on the root folder - !254 and !256
  • [BUG] Fix issue with spa production router url cache - !260
  • [ENH] Update pytest - !260
  • [ENH] Add ci caching to work DPT tests - !260
  • [ENH] Add custom entrypoint to node dev container - !260
  • [ENH] Update to latest cobertura syntax for Gitlab - !259
  • [ENH] Update DPT root dependencies - !262
  • [ENH] [WEBAPP] Migrate from django_js_reverse to django_reverse_js - !262
  • [ENH] Update python dependencies - !262
  • [ENH] Update ansible deployment dependencies - !262
  • [ENH] Update redis - !262
  • [ENH] Development with venv caching. Mount pyproject.toml and poetry.lock into the container to remove the need
  • for container rebuilds to update dependencies. - !262
  • [NEW] Support multiple local envs with venv caching - !263
  • [ENH] Update production poetry install command based on poetry docs - !263
  • [ENH] MYPY: Exclude tests and local.py files - !263
  • [ENH] Update DJANGO_IMAGE_NAME to use dash instead of underscore - !265
  • [ENH] Remove pypi docker compose in ci image (docker-compose now comes from inside docker image anyway) - !265
  • [ENH] Fix issue with deploy causing shared nginx/postgres container to be re-created in some cases - !264
  • [ENH] Ensure SITE_URL is added to local CSRF_TRUSTED_ORIGINS and CORS_ORIGIN_WHITELIST - !266

Note: If you are having issues with DJANGO_IMAGE_NAME then you are not at the latest available docker compose version. As a workaround you can just override the builtin value via DJANGO_IMAGE_NAME environment variable.

Additionally, if you have docker-compose 1.29 or below installed in your system or inside a virtualenv you can just uninstall it and use the docker compose command 2.9.0 built into docker directly.

2021-09-27

  • [NEW] Enable Gitlab inline code coverage for merge requests (cobertura) - !232
  • [NEW] Add gitlab test reports to pipelines - !232
  • [BUG] Ensure pyproject.toml symlink is created correctly inside the backed project folder
  • [NEW] Allow using cmd argument to pass extra parameters to make test-node and make test-django
  • [NEW] Add support for automatic deploys from Gitlab - !228
  • [NEW] Add configurable health checks support - !238
  • [NEW] Add support for case-insensitive emails - !238 & !221
  • [NEW] WEBAPP: Upgrade to webpack 5 - !239
  • [BUG] WEBAPP: Fix build error due to incompatibility with node-sass==6 and sass-loader versions - !239
  • [NEW] WEBAPP: Set SECURE_PROXY_SSL_HEADER for webapp too to ensure build_absolute_uri always uses correct protocol - !239
  • [BUG] SPA: Update @loadable packages to fix stats mismatch issue when code is deployed to servers with build in ci enabled - !241
  • [BUG] Unify AWS S3 region throughout the project (so terraform matches default settings) - !242

Migration:

After updating to this version make sure to run make poetry-lock. This will ensure that your projects pyproject.toml is correctly set up inside the inner backend project folder too.

In addition to that you also need to run make dev-venv-path and then update the ENV_FOLDER environment variable inside your Dockerfile-django. This is necessary since previously the code that was supposed to create a symlink did not execute as it was incorrectly not marked as a PHONY make target (which made it not run as the file existed in the root level already).

2021-09-24

  • [ENH] Update default node to 14 - !235
  • [ENH] WEBAPP: Update node-sass to 6.x - !235
  • [ENH] Allow all minor versions for django-storages and let poetry choose the correct version - !237
  • [ENH] Update sentry-sdk to 1.x - !237

2021-09-15

  • [ENH] Make accounts.email field case-insensitive
  • [BUG] Make sure that mypy.ini is not added when use_mypy=no
  • [BUG] tg-project.yaml: Ensure postgres version is based on cookiecutter option and set django to 3

2021-09-02

Add new option use_cypress and basic support for TypeScript.

Enhancements:

  • [ENH] Add cypress autotests - !226
  • [ENH] Enable node dependency caching - !208
  • [ENH] Add basic typescript support - !227
  • [ENH] Jinja globals, run black on post_gen, remove empty comments - !230
  • [ENH] Update dependencies - !216

Bugfixes:

  • [BUG] Fix typo in docker-compose.production.yml - !223
  • [BUG] Fix wrong public URL for static in webpack - !224
  • [BUG] Fix mypy errors for LOGGING dict - !229
  • [BUG] Fix DPT test names - !231

2021-06-04

Add new configuration option build_in_ci. Currently, this defaults to no however the plan is to make building images in CI the default sometime in the future.

The main changes to deployments are:

  • Code is checked out to /srv/<project>/repository
  • Runtime lock/config files are still in /srv/<project>
  • docker-compose.yml is copied from repository folder to /srv/<project> based on compose_file ansible variable value
  • Images are pulled from a docker registry instead of being built in the server during a deploy

Migration

To migrate an existing deployment to this version just make the following changes in the server prior to the deployment (note: no need to turn the application off). First you need to move the project repository folder to the correct inner directory:

PROJECT="project"
cd /srv/${PROJECT}
shopt -s extglob dotglob
mkdir repository
mv !(repository) repository
shopt -u dotglob

Also make sure there are no changes in the working directory as these will get reverted during deployment (and would not work anyway as images are built in CI).

Last step before doing the deployment is to move any deployment specific lock/environment files from the repository folder back to the root folder /srv/<project>. Out of the box these files are:

  • database.lock
  • .env

Make sure to also check for any project specific files you may have added yourself.

After these manual steps you should be able to just execute the updated ansible stack, and your site should be accessible again once it completes. We expect the deployments themselves to be faster with this method as building the images was the most time-consuming part of the deployment process.

2021-06-02 - Bugfixes and python dependency caching in CI (also opt-in for local development)

  • [BUG] Fix django production image build issue (runtime env variables being required during build) - !219
  • [BUG] Ensure initial cert is retrieved with fake config not the real nginx config - !219
  • [BUG] Fix map_files filename - !219
  • [BUG] Debian baseimage: Add build-essential to node builder deps during prod build - !219
  • [ENH] Include CI build stage for webapp too - !219
  • [ENH] Add needs to ci jobs so build stage is executed in parallel to tests - !219
  • [ENH] Use /assets/ as the static url for webapp too - !219
  • [ENH] Enable python dependency caching in CI - !209

Add extra test jobs to the template CI matrix:

  • debian webapp
  • debian SPA
  • default project with mypy enabled

2021-04-17 Node CI cache

  • [ENH] Enable node dependency caching in CI - !208

2021-04-13

  • [CLEANUP] Remove unused api_urls.py file - !205
  • [ENH] Deployment: Certbot - Remove deprecated --no-self-upgrade flag - !204
  • [ENH] Deployment: Move nginx reload command into a shared location: ../../helpers/reload-nginx.yml - !204
  • [ENH] Deployment: Add helper for nginx config update - !204
  • [BUG] Fix winston import in node tests - !206
  • [CLEANUP] Remove terraform references when thorgate=no - !211
  • [ENH] Set IsAuthenticatedOrReadOnly as default permission for DRF views - !217
  • [BUG] Post-gen hook: Don't try to re-create git repository if it already exists - !210
  • [BUG] upgrade-template.py add parameter -u / --update-params which prompts for cookiecutter options even when no changes are detected in config keys - !210

2021-04-07

  • [BUG] Fix naming of tg metadata file - !215 !214

2021-04-07

  • [BUG] Fix typo in mirror-prepare.sh script - !212
  • [ENH] SPA: Fix error message on login with invalid credentials - !213

2021-03-27

  • [CLEANUP] Remove include_docs option and Sphinx (.rst) docs - !203

2021-03-23

  • [CLEANUP] Remove mercurial support - !202

2021-03-22

  • [ENH] Make coverage-py display un-imported files - !201

2021-03-17

  • [NEW] Deployment: Add shared nginx files during deployment when thorgate is false - !198
  • [NEW] Introduce cache dirs for poetry/pip for local development - !198
  • [BUG] Ensure certbot requests new certificate when domains are updated after initial deploy - !198
  • [NEW] Print exception when template generation fails during template CI - !198
  • [ENH] Unify server settings (cloud.py instead of staging.py and production.py) - !199
  • [CLEANUP] Remove crispy_forms from the SPA version - !200

2021-03-16

  • [NEW] Update django to 3.1 - !195
  • [NEW] Update django-rest-framework to 3.12 - !194
  • [NEW] WEBAPP: Use redux trough @reduxjs/toolkit - !196
  • [ENH] WEBAPP: Upgrade storybook to latest - !196
  • [NEW] WEBAPP: Add useEffectOnce utility hook
  • [ENH] Enable using latest cryptography - !197

2021-03-10

  • [BUG] Fix i18n being missing on initial setup for spa - !193

2021-03-09

  • [ENH] Use razzle-plugin-modify-eslint-loader-config to stop eslint errors from failing SPA app builds

2021-03-08

  • [ENH] Added an option to select docker base images (currently supported are alpine and debian).
  • [ENH] Added PYTHONPYCACHEPREFIX env var to store *.pyc files in the container instead of on the host
  • [BUG] Fixed AWS S3 access denied error on new projects.
  • [BUG] Fixed logout urls for a spa app.
  • [BUG] Fixed raw backend url for media files
  • [BUG] Replace make poetry-install with make poetry-add and use poetry add to add a Python package
  • [BUG] Bump djangorestframework_simplejwt version to 4.6 (failed on Python 3.8)
  • [ENH] (SPA) Add HMR for locale files
  • [ENH] Regularly clean up expired sessions (requires celery)
  • [ENH] Use a single .env file

2021-02-02

  • [DEPRECATION] SPA branch has been deprecated. frontend_style == spa option should be used as replacement.

2021-01-31

  • [ENH] Added options to upgrade-template.py to define project location with argument
  • [NEW] Added a frontend codemods to replace old imports/function calls in older project.
  • [DEPRECATION] SPA: react-helmet has been replaced with react-helmet-async. Codemod is added to replace the usage.
  • [DEPRECATION] SPA: Default export for SETTINGS has been removed. Codemod is added to replace the usage.
  • [DEPRECATION] SPA: tg-named-routes and configuration/routes import of urlResolve has been removed. Now resolvePath import from tg-named-routes is expected. Codemod is added to replace the usage. Check the codemod test fixtures for replaced variants.

2020-12-14

  • [ENH] Pipenv replaced by Poetry (!160)

development

  • [ENH] Pipenv >= 2020.8.13 - !136 !137
  • [ENH] Replace raven with sentry-sdk and make use of sentry environments (both for python and JS) - !136 !137
  • [ENH] Move all sentry configuration to base settings file - !136 !137
  • [ENH] Add new setting IS_DOCKER_BUILD (controlled by DJANGO_IS_DOCKER_BUILD) which is set to True during docker image build (for example during compilemessages) - !136 !137
  • [ENH] Use and publish base images for CI - !138
  • [ENH] Unify files between spa and master - !140
    • Resulting code is rendered based on new frontend_style option
  • [NEW] Add spa frontend style to master branch
    • Note: Migration guide for projects generated from spa branch will be provided by #15
  • [ENH] Add .git to .dockerignore - !147
  • [BUG] Disable koa adding a second HSTS header - !149
  • [NEW] Add clientside shim for winston. This allows us to use logger on the client too. Please note that we aim to replace winston with something modern (that works on both client and server) in the future and this is just an intermediate step before that - !150
  • [BUG] Ensure settings and other SSR data is parsed before initializing the application. See more information in !150
  • [ENH] Update following frontend packages: !157
    • react
    • react-dom
    • @testing-library/*
  • [ENH] Include shared configs for Babel, ESLint and prettier via: !157
    • @thorgate/babel-preset
    • @thorgate/eslint-config
    • @thorgate/prettier-config
  • [ENH] Use screen in example component test as recommended. @rrebase
  • [DEPRECATION] Deprecating default export for SETTINGS !157
    • This is for having better support for usage with TypeScript in the future.

[DEFAULT] development

  • [BUG] Fix missing semicolon in nginx config - !139
  • [ENH] Make code formatting tools run from project containers and remove linting helper images - !143
    • [ENH] Makefile: add PHONY to the targets instead of keeping a list of them
  • [ENH] Move black config to pyproject.toml - !143

2020-06-27

  • [DEPRECATION] Django CMS is removed

[DEFAULT] 2020-06-17

  • [ENH] Add postgres version option

[DEFAULT] 2020-06-03

  • [ENH] Move frontend app folder one level up and rename it to webapp

2020-05-12

  • [ENH] Pipenv 2020.4.1b1
  • [ENH] Update of Celery settings

2020-03-30

  • [ENH] Add support for database settings from url
  • [ENH] Add support for sslmode option via environment variables (default=disable)

[DEFAULT] 2020-02-19

  • [NEW] Add storybook

[SPA] 2020-02-09

  • [ENH] Node 12
  • [ENH] Python 3.8
  • [ENH] Django 2.2
  • [ENH] various other python dependency bumps
  • [BUG] Work around wait-for-it.sh bug where busybox has changed timeout call signature
  • [ENH] Disable formatting related linting rules as we are using black
  • [BUG] Fix gitlab-ci builds failing from docker:latest image update

[DEFAULT] 2020-02-03

  • [ENH] Node 12 !114
  • [ENH] Python 3.8 !114
  • [ENH] Django 2.2 !114
  • [ENH] Django CMS 3.7 !114
  • [ENH] django-reversions removed as it is no longer supported by django-cms !114
  • [ENH] various other python dependency bumps !114
  • [BUG] Work around wait-for-it.sh bug where busybox has changed timeout call signature !114
  • [ENH] Disable formatting related linting rules as we are using black !114
  • [BUG] Fix gitlab-ci builds failing from docker:latest image update !114

Migration guide:

Note, if you have django cms <=3.4 and are using django-reversions, keep in mind that django-cms no longer supports django reversions. See: https://www.django-cms.org/en/blog/2017/02/03/back-in-time-with-django-cms/

[DEFAULT] 2020-01-29

  • [ENH] Added Prettier formatter for JavaScript (see !112 and originally !97)
  • [ENH] Added Black formatter for Python (see !112 and originally !97)

Migration guide:

  • Upgrade template to commit 808e88736838c3d5cefca4d22963b54bc3d9fbf9
  • Run code formatting
  • Upgrade template to this version
  • Commit changes

[DEFAULT] 2020-01-19

  • [NEW] Run manage.py compilemessages during production django image build !108
    • Note: For cms variant one needs to make sure their django cms is updated to at-least 3.6.0
  • [ENH] CMS: Upgrade to django-cms 3.6.x !108
  • [ENH] CMS: Allow configuring cms cache settings via environment !108
  • [ENH] Ensure default AppConfig classname uses PascalCase !108
  • [NEW] Enable JS translations with Django Javascript catalog !106
  • [ENH] Render main menu with react-bootstrap instead of as HTML. This also includes CMS variant where we will just parse the existing CMS menu and then re-render it with react - see !106 for details
  • [ENH] Provide reverseUrl utility function via django-js-reverse !106

Internal changes:

  • [ENH] CI: Test generation of different project configurations in parallel
  • [ENH] Update all root dependencies !111

[DEFAULT] 2020-01-02

  • [ENH] Update merge request templates with section about refactoring !103
  • [NEW] Add simple django tests !102

[SPA] 2019-11-14

  • [ENH] Add Mailhog for testing emails in local development

[DEFAULT] 2019-11-14

  • [NEW] Add Mailhog for testing emails in local development !99 and !101
  • [ENH] Ensure INTERNAL_IPS variable is set correctly during local development in local.py !99
  • [BUG] Add missing STDOUT logger handler for production
  • [ENH] Optimize kernel settings for Redis !95
  • [ENH] Gather repo name from .cookiecutter instead of project dir basename !84

Thorgate specific:

  • [ENH] Added terraform for automatic infrastructure setup !93

[SPA] 2019-10-18

  • [ENH] Apply code formatting

Migration guide:

  • Upgrade template to !97
  • Run code formatting
  • Upgrade template to !98
  • Commit changes

[SPA] 2019-10-18

  • [ENH] Added Prettier formatter for JavaScript (see !97)
  • [ENH] Added Black formatter for Python (see !97)
  • [BUG] Fixed issue with SSR using refresh token saga
  • [BUG] Fixed missing tg-react forgot password url configuration

[SPA] 2019-07-24

  • [ENH] Add react-i18next integration to frontend app (see !89)
    • Translations are stored in .json files
    • Supports runtime discovery
    • Add all new translations with make command
  • [DEPRECATION] Placeholders for gettext has been removed (see !89)
  • [ENH] Bump razzle to v3 final (see !89)

[DEFAULT] 2019-07-11

  • [NEW] Add fabric command to mirror media files and database from the remote server to local !85

[DEFAULT] 2019-06-28

  • [BUG] Add an AWS setting to fix a boto3 bug !87

[DEFAULT] 2019-06-20

  • [BUG] Add another way of fixing a boto3 bug into readme !86

2019-05-28

  • [ENH] Do not pin versions to minor releases to allow security updates !74
  • [ENH] Use variable for project name in Makefile !79
  • [BUG] Run pipenv inside docker !77
  • [NEW] Disable google indexing on test servers !76
  • [ENH] Bump pyyaml version !73
  • [BUG] Fix Docker Compose install in pipeline, ensures build dependencies in CI !68

2019-04-05

  • [ENH] Specify indent style of Makefile to be tabs in .editorconfig
  • [BUG] Run pipenv-check through docker. Otherwise it will fail in CI.

[SPA] 2019-04-28

  • [ENH] More strict eslint rules for more consistent code
  • [ENH] Split routes.js for better maintainability
  • [DEPRECATION] Import urlResolve from configuration/routes is now deprecated. Use import { resolvePath as urlResolve } from 'tg-named-routes'; instead.

Migration guide:

  • Split the routes into viable groups based on configuration/routes/authentication.js
  • Commit changes

2019-03-16

  • Switch npm to yarn for de-dupe during install and resolution overrides

Migration guide:

  • Remove existing package-lock.json
  • Start development docker environment to generate yarn.lock
  • Commit yarn.lock changes.

[SPA] 2019-02-07

  • [BUG] Fix issue with nginx and app.<project>.proxy_<component>.include, might occur only on newer server (see !46)
  • [ENH] Re-structure SPA (see !46)
    • Move <project>/app to app
    • Move related files as well
    • Move <project>/static/styles-src to app/src/styles
    • Move SPA.md to app/SPA.md
    • Move to Razzle based setup
  • [ENH] SPA template core code have been turned into packages (see tg-spa-utils)
  • [ENH] Add django-cors-headers to prepare for separate hosts for frontend and backend (see !46)
  • [ENH] Improve server logging, logger formatting should be correct now (see !46)

2019-02-01

Breaking: This version changes of the base python docker images to alpine. If you have changed Django dockerfiles files in your projects make sure to port the changes over to alpine as well. This version also removes production Node dockerfile and builds node stuff inside the django dockerfile using docker multistage build.

  • [ENH] Use docker multistage builds for production Django and node (see !61)
    • Note: This removes Dockerfile-node.production
  • [ENH] Freeze pipenv dependency to 2018.11.26 (see !61)
  • [ENH] Pin pep8-naming to 0.7.0 as a workaround for this issue (see !61)
  • [ENH] Add pipenv-check to make quality (see !60)
  • [ENH] Add more deploment hints about S3 (see !59)
  • [BUG] Ensure correct DJANGO_SETTINGS_MODULE is set (see !58)
    • Fixes manage.py shell, celery and deployed code running via wsgi.py.
  • [NEW] Add GitLab merge request templates to generated projects (see !57)
  • [BUG] [FABRIC] Update fabfile to detect requirement changes with Pipfile (see !56)
  • [BUG] Added missing --dev flag to pipenv install in development docker file (see !55)
  • [BUG] Ignore docs folder when running makemessages (see !55)
  • [ENH] Add styles from node_modules to global css scope (see !55)
  • [ENH] Removed unused style-loader from node dependencies (see !55)
  • [ENH] Added an example to local.py.example on how to get debug toolbar to work inside docker (see !55)
  • [FABRIC] Disable certbot self-upgrade (see !54)
  • [FABRIC] Add --force-recreate flag to docker_up command during a forced deployment (see !53)

2019-01-02

Warning: This version has a bug regards DJANGO_SETTINGS_MODULE, please use the latest version or apply changes from merge request !58 locally.

Breaking: This version converts our template to use environment based settings via django-environ.

  • Use environment based settings

Upgrading

  • Upgrade template
    • Note: Pay attention to files in settings directory
  • Test that everything is still working
  • Commit changes
  • In servers
    • Update Django to new settings
      • Convert <root>/<project>/settings/local.py to <root>/<project>/django.env
      • Or remove DJANGO_PRODUCTION_MODE env reference from Dockerfile-django.production

2018-12-06

Breaking: This version includes a breaking change which removes support for locally stored media files. The media files will be stored in a CDN and we have builtin support for both Amazon S3 and Google's Cloud storage. This change is done to simplify moving to Kubernetes in the future.

  • Force storing media files in a CDN
  • Remove support for locally stored media files

Some guides for existing projects:

2018-10-24

  • Add Pipenv setup for Django

2018-10-24

2018-09-07

  • Webpack 4 support
  • Simple CSS modules support
    • SCSS is supported
    • Stylesheets imported from the src/ directory are used as CSS modules
    • Stylesheets imported from the static/ directory are treated as global stylesheets

2018-09-06

  • Add optional Sphinx integration.
  • Make Bootstrap 4 the new default project template

2018-07-18

  • Allow React pure components in eslint configuration.

2018-07-13

  • Add project code style to .idea_template with style settings to match our linters. Used to set more specific settings that .editorconfig does not allow such as hex color format.
  • Use Django as Python Template Language instead of Jinja2.
  • Add browserupgrade molecule import to main.scss. It was missing.

2018-07-12

  • Fix X-Frame-Options for CMS projects.

2018-07-06

  • Ignore pytest cache directory.
  • Fix test database, which also needs the correct host and user/password.

[SPA] 2018-06-22

  • Upgrade Webpack to version 4
    • Remove WebpackSHAHash and use built-in solution
    • Rename manifest to runtime for clarification
    • Server-side now uses packages in node_modules as externals to reduce bundle size
  • Fix server-side asset loading (use same generated asset ID as client-side)
  • Fix template asset loading order
  • Fix missing django_admin_path replacement's
  • Use redux-saga.getContext for server-side requestConfig
  • Remove serverClient reducer
  • Add better support to run production-mode in development

2018-06-15

  • Fix broken CSS minification when running npm run build. Basically the combination of Bootstrap and Webpack didn't work together and we changed order of Bootstrap imports to make it work. Note that this might break print styles - see twbs/bootstrap#24931

2018-06-12

  • Update Bootstrap to 4.1.1

2018-06-11

  • Update JS packages. Notably Webpack loaders as much as seemed to be safe (and compatible with Webpack 2), plus Webpack itself from 2.3 to 2.7 (which is the latest 2.x). React was upgraded 16.1 -> 16.4
  • Update Python packages, notably Celery 4.1 -> 4.2, gunicorn 19.7 -> 19.8
  • Update Node Docker image (8.11.1 -> 8.11.2)

2018-05-17

  • Update packages and Docker images to latest versions. Notably updated node-sass and sass-loader so that binary version can be used.

2018-05-15

  • Use bootstrap4 template pack of django-crispy-forms.

2018-05-14

  • Template: use commands from project's .gitlab-ci.yml for testing

2018-04-20

  • Added Nginx-based rate-limiting for login urls.

2018-03-29

  • Fixed coverage config in .gitlab-ci.yml (it has to be regex).

2018-03-21 (bootstrap4)

  • Updated Bootstrap to 4.0 final

2018-03-12

  • Update Python packages and Node Docker image to latest versions.
  • Update list of supported browsers to be much more restrictive - see browserslist file.
  • Remove linttool.py - it was unused.

2018-03-05

  • Template: Fix project generation with relative paths, ala cookiecutter ./django-project-template.
  • Template: add some Cookiecutter variables () and refactor them.

2018-02-22

  • Use a single toplevel dir (.data/) for local data, reducing clutter in the toplevel directory.

2018-02-12

  • Update public repo with everything that has happened Docker variant is the default now, development moved to Gitlab, tons of other changes.