Implements checks for mass channel activity to ensure proper functionality.
Introduces methods to verify if mass channels are active and to set errors when they are not connected.
Enhances reliability of data logging by avoiding unnecessary processing when mass channels are inactive.
- In the Dockerfile, added a new parameter "-parfile" with value "conf/parameters.yaml" to the CMD command in survBot.py.
- In parameters.yaml, made changes to the EMAIL section:
- Added comments explaining how to specify mail server and credentials.
- Added auth_type field with value "SSL".
- Updated port field to 465 for SSL.
- Updated user and password fields to read from environment variables or docker secrets.
- Added comments explaining how to specify mail recipients, sender, and blacklists.
- Moved location of simulate_fail.json to conf/simulate_fail.json for easier Docker integration
- Added `connect_to_mail_server` function to handle mail server connection
- Moved code for connecting to the mail server from `StationQC` class to `connect_to_mail_server`
- Updated references to use `connect_to_mail_server` in `StationQC` class
- Created new function `get_credential` to retrieve credentials from Docker secrets or environment variables
- Update mailserver, port, user, password, and sender in parameters.yaml
- Modify SMTP connection in survBot.py to support starttls connection if server is not "localhost"
- Read password from docker secret or environment variable if set to 'DOCKER' or 'ENV' respectively
- version 0.2-docker
- add Dockerfile
- update paramters.yaml to use logo.png
- update stylesheet to reflect latest changes
- removed survBotGUI.py which is not needed in Docker container