* General localization:
- Add gettext to literals
- Add trans template tag to templates
- Set localized date and time
- Add locale option to TEMPLATE.env
- Add migrations that result from model field changes
* Add german locale
* Add german locale
* chore: reflect both headers in debugging
* chore: add Sec-GPC handling with DNT handling
The `if` statement is there purely so that nothing more has to change handling wise. If either value is true, DNT policy should kick in and no data should be stored/tracked. *Should* just work™.
* fix: meet Black style guide
* fix: comply with other header formatting
* fix: header typo
SQLite DB was not writable because it was always located in
/usr/src/shynet/, which is owned by root and not writable by
appuser. SQLite needs the parent directory containing the DB file to be
writable by the running user.
The applied fix is to place the DB file in /var/local/shynet/db and to
create that directory in the Docker image with the right permissions.
SQLite setup is now documented in README as an alternative to Postgres.
* Add ability to toggle between geo map and table view
* Add back haaavk's bar visualisation for countries table
* Change text/location of map/table toggle buttons
* Add some common css to reusable class
* CSS consistency
* Use button, not span for interactive elements
Co-authored-by: R. Miles McCain <oci@sendmiles.email>
* First working version of world map chart
* Cleanup code, fix aspect ratio, add GeoIP Map header
* Remove limited-height on session list with already limited content
* Update package lock
* Integrate map into service page
* Adjust map colors
* Adjust colors further
Co-authored-by: R. Miles McCain <github@sendmiles.email>