- Feb 28, 2019
-
-
Tanner Prestegard authored
Add a logging handler for printing to stdout. For container deployments, we remove all other logging handlers and use this new 'console' handler only. The incantation for starting gunicorn with supervisord now sends the access and error logs to stdout.
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
Traefik can pass the subject and issuer in a 'cert-infos' header, so I am adding an authentication backend to use that.
-
Tanner Prestegard authored
-
-
Tanner Prestegard authored
Non-priority production containers will use the master for writes and a read-replica database for reads. This commit adds functionality for getting the replica's information from environment variables and sets up a database routing scheme.
-
-
ENABLE_SHIBD environment variable is set to "true" (default="false")
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
- Feb 25, 2019
-
-
Tanner Prestegard authored
As shown here: emfollow/userguide!23
-
- Feb 21, 2019
-
-
Tanner Prestegard authored
As requested here: emfollow/gwcelery!359
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
- Feb 19, 2019
-
-
Tanner Prestegard authored
Have seen issues with "column 'filename' cannot be null" warnings in the logs recently. Found the issue in the events API, but it's not obvious why this started now. Possibly the upgrade to Django 1.11.18? Could have been a MariaDB upgrade too, but haven't checked the logs to see if that happened.
-
- Feb 18, 2019
-
-
Tanner Prestegard authored
-
- Feb 12, 2019
-
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
- Feb 11, 2019
-
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
Have to use 'get_or_create()' for Tag creation in unit tests. Previously any tags that were created by data migrations were always wiped after the initial migrations ran to set up the test database due to the fact that we use MyISAM. Now initial data seems to be cleared only after the first test class runs. So if you run the full set of unit tests, it works fine, but if you only run a class which includes creating a "real" Tag which is part of the data migrations, it fails since the Tag is already in the database. I don't know when this changed - I tried using a previous tag of the code (2.2.0) and the last version of Django that we used (1.11.16), but no luck. Really the solution should be to go away from MyISAM or even MySQL altogether, but that will have to come at a later date.
-
- Feb 08, 2019
-
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
Lots of failovers seemed to be leaving lots of open connections to the LVAlert server, so it seems that the connection wasn't being closed properly. Looks like abort() is the method that should be called instead of disconnect().
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
- Feb 07, 2019
-
-
Tanner Prestegard authored
Have to use mock to properly modify throttles for unit testing since 'override_settings' doesn't really work with the API settings used by rest_framework.
-