Commit graph

8 commits

Author SHA1 Message Date
Matt Scott 84677e7ccf Wrapping up Docker overhaul. This consequently resulted in the configuration system getting some modifications as well. Here is a brief on the changes;
- Added environment variable / setting key tracking files at powerdnsadmin/env/*.env that serve for automatic type conversion when loading app settings from environment variables. Also used for manual change tracking during project cleanup.
- Updated the app config loading process to make use of a config utility that loads app config settings from environment variables replacing the legacy implementation
- Cleaned up the configs directory files and moved the default configuration file from powerdnsadmin/default_config.py to configs/default.py.
- Removed all current defaults from the default config file at configs/default.py as a move toward standardizing on Docker deployments for all environments
- Started the migration of some legacy app settings / environment variables into the new PDA_ namespace. Added backwards compatibility to specific locations that were changed such as the main run.py file.
- Overhauled some of the documentation, I specifically updated primary README.md file and also added docs/docker.md and docs/settings.md
- Completely overhauled the Docker implementation to include two production ready images based on Alpine 3.14 and Debian 11.1-slim.
- Separated Docker image templating files from deployment files within the docker directory.
- Added Docker image building script at docker/bin/build-image and a release building script at docker/bin/create-release
- Added shared Docker image asset files to docker/shared directory such as entrypoint script and auto-init database schemas
- Docker container has option to automatically initialize chosen database on first run
- Docker container has option to wait for MySQL server to be online before starting
- Docker container has option to wait for PDNS API server authorization test to pass before starting
- Docker container running Flask in development environment will automatically rebuild flask assets during startup if feature enabled
- Docker container will automatically run Python test unit during startup if feature enabled
- Dramatically improved the build effeciency, maintainability, and startup time of the Docker images
2021-12-08 03:52:06 -05:00
ManosKoukoularis 6c1dfd2408
Datepicker replace (#1059)
* replaced jquery-ui-datepicker with bootstrap-datepicker

* removed obsolete static files
2021-12-02 11:59:36 +01:00
Roei Ganor 483c767d26 Offline installation and searchable inputs 2020-04-30 17:20:37 +00:00
Khanh Ngo 9a1b92fbc2
Add session timeout warning 2019-12-17 23:46:34 +07:00
Joachim Tingvold 16669e6bbf Add natural sort library, so that natural sort works again. 2019-09-15 15:29:22 +02:00
Khanh Ngo 0333f450f1
Update adminlte themes version 2019-03-02 10:17:11 +07:00
Khanh Ngo f8f4ddcc85
Add validation for authentication setting form 2018-08-19 22:08:14 +07:00
Felix Kaechele 396075efda Add yarn support
Signed-off-by: Felix Kaechele <felix@kaechele.ca>
2018-06-11 12:57:09 +02:00