Commit Graph
123 Commits
Author SHA1 Message Date
kasper f1d25a7809 [bugfix] fixed footer output to produce valid html when using a logo
new parameters in for paramters.yaml file:
  - added parameter logo_alt_text
  - added parameter logo_height
2025-04-03 15:09:08 +02:00
kasper a905386ee8 [bugfix] fixed html output to produce valid html. 2025-04-03 14:25:03 +02:00
kasper a64aeaa5ac [minor] add versioninformation to footer line 2025-04-03 14:23:44 +02:00
kasper 206af05f26 Merge branch 'feature/docker' into develop 2025-04-02 18:11:18 +02:00
kasper 0ee3a27733 [bugfix] HTML faild validator.w3.org checks 2025-04-02 18:07:10 +02:00
kasper e2df92e6b4 [update] adds mass activation checks to StationQC class
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.
2025-04-02 17:28:25 +02:00
kasper 8fa96d03d5 Merge branch 'develop' into feature/docker 2025-03-25 12:03:47 +01:00
marcel 4e25190fbc Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	parameters.yaml
2025-03-25 11:42:18 +01:00
marcel 8ac501e8dc [update] add parameter to disable PowBox usage for selected stations also to parameters.yaml, updated style sheets for html 2025-03-25 11:39:17 +01:00
kasper fcba73fcc5 [bugfix] fix bug in connect_to_mail_server function 2025-03-21 22:42:23 +01:00
kasper 16fbbde3d9 [bugfix] fixed call of function connect_to_mail_server 2025-03-21 17:48:49 +01:00
kasper b986da5fef [minor] fixed some typos and missing import 2025-03-21 17:43:41 +01:00
kasper a6c1570539 [update] merge branch 'feature/docker' into develop
- add mail server configuration options to use authentication with user/password combination wit SSL or TLS connection
- add support for running survBot in a Docker container
- update gridengine submit script submit_bot.sh
- update stylesheets to latest changes
- fixed some typos
2025-03-21 16:20:02 +01:00
kasper aaadff6306 [update] README.md
- add section on running survBot in a Docker container
- add explaination of mal server settings in parameters.yaml
2025-03-21 16:14:21 +01:00
kasper b46802a75e [bugfix] updated ownership setting in Dockerfile 2025-03-21 15:42:33 +01:00
kasper 080e73c1db [update] update Dockerfile
- mojor update of Dockerfile
- reverted location of simulate_fail.json file for simulating errors, e.g. to test sending e-mails
2025-03-21 14:22:59 +01:00
kasper 8a7e402ec5 reverted deletion of survBotGUI.py 2025-03-21 14:08:00 +01:00
kasper 3f07b7bcd0 [minor] update Dockerfile and parameters.yaml
- 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
2025-03-21 12:41:50 +01:00
kasper cf12500ec2 [minor] refactor mail server connection code
- 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
2025-03-21 12:36:52 +01:00
kasper 43912135e9 Update email parameters in parameters.yaml and modify SMTP connection in survBot.py
- 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
2025-03-20 16:11:27 +01:00
kasper 3e47f4275b Add bind9-host and iputils-ping to Docker image requirements.
- Install bind9-host and iputils-ping packages in the Docker image.
- Create a new file "requirements.txt" with the specified package versions.
2025-03-20 15:58:22 +01:00
kasper f4605b146b [feature] run survBot in Docker container
- 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
2025-03-20 11:38:54 +01:00
kasper 0ce41e5654 Change resource limits and logging paths in submit_bot.sh
- Update h_vmem limit to 2.5G
- Add mem limit of 2.5G
- Set h_stack to INFINITY
- Change output log path to /data/www/~kasper/survBot/survBot_bg.log
- Change error log path to /data/www/~kasper/survBot/survBot_bg.err
- Enable email notifications for errors
- Update HTML output directory path
2025-03-20 11:30:44 +01:00
kasper 3dbba37fe9 [minor] update stations_blacklist in parameters.yaml
- Add "ATHR" and "HAVD" to the list of excluded stations
- No changes to other parameters
2025-03-20 10:33:37 +01:00
kasper 9626a4c88d [minor] add station GR27 to station blacklist in parameters.yaml
- Updated stations_blacklist to exclude stations DOMV, EREA, GR19, GR27, LAKA, LFKM and TEST
- Changed the description of datapath to clarify it as the path to SDS data archive.
- Fixed some typos.
2025-03-20 10:00:25 +01:00
marcel 94cac54716 [update] add parameter to disable PowBox usage for selected stations 2024-08-13 16:40:22 +02:00
marcel c57763c016 [update] added coloring for temperature warning and a critical temperature level, improved tooltip message 2024-08-13 13:38:50 +02:00
marcel 3c6ea1ffd0 [minor] add axis-shading for a better distinction of different axes 2023-12-18 16:18:20 +01:00
marcel fde000ec0d [minor] revert accidental change 2023-12-18 16:05:24 +01:00
marcel f41f24f626 [minor] added an option to get warn thresholds for PowBox channels from corresponding parameters, added warn state annotations to html figures 2023-12-18 15:26:53 +01:00
marcel c621b31f6e [update] use logging module instead of print/verbosity 2023-12-18 15:24:56 +01:00
marcel 20b586f96b [bugfix] warn threshold type check had wrong parentheses 2023-12-18 15:11:02 +01:00
marcel 08b12aeb9d [minor] catch matplotlib write error 2023-09-04 15:30:37 +02:00
marcel 00d2d0119c Merge tag 'v0.2' into develop
new version release 0.2
2023-06-01 10:10:26 +02:00
marcel e1a3b498e5 Merge branch 'release0.2' 2023-06-01 10:09:58 +02:00
marcel 9e1ebebeb2 [release] version 0.2 2023-06-01 10:08:26 +02:00
marcel 2af30f3a32 [bugfix] count index exceeded array length 2023-05-25 15:28:11 +02:00
marcel f3ccaaefd8 [minor] changed colors in examples stylesheets back to default 2023-04-21 17:18:16 +02:00
marcel a15aee1da6 [minor] update stylesheets 2023-04-21 16:40:58 +02:00
marcel 353f073d12 [update] added color palette suggested by AM, some visual tweaks 2023-04-21 16:33:02 +02:00
marcel 10e2322882 Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	utils.py
2023-04-21 14:17:28 +02:00
annem a6475f2c3b tweak website design in html and css 2023-04-21 13:52:56 +02:00
marcel 72e3ede52f [minor] small adjustments 2023-04-20 15:41:20 +02:00
marcel fb4d5c2929 [minor] optimized stylesheets 2023-04-19 15:44:31 +02:00
marcel 1983cc3b1e [new] add logo on html webpage 2023-04-19 14:59:45 +02:00
marcel acc8575d70 [update] can add global (station-independent) links on html web page 2023-04-17 17:59:09 +02:00
marcel 1b010ecb61 [minor] add missing </a> at the end of html link 2023-04-17 17:20:35 +02:00
marcel 174a6148bf [update] disconnect status if PowBox voltage < 1V 2023-04-12 13:13:04 +02:00
marcel 5a4733b031 [minor] only send mail on inactive when no FAIL state is present 2023-02-28 11:25:43 +01:00
marcel 477727018f [minor] added call argument "parameter path" 2023-02-23 11:50:38 +01:00