mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
c862e1451d
* chore: Extract change-detection method to it's own helper This doesn't really belong in `helpers/ssl.sh`. Moving to it's own helper script. * chore: Co-locate related change-detection method from container startup It seems relevant to migrate the related support during startup for the change detection feature into this helper. I opted to move the call from `start-mailserver.sh` into the `_setup` call at the end for a more explicit/visible location. * chore: Move `CHKSUM_FILE` into `helpers/change-detection.sh` It belongs there, not in `helpers/index.sh`. * chore: Revise inline documentation * tests(fix): Ensure correct functionality Presently `test/test_helper.bats` is using it's own `CHKSUM_FILE` instead of sourcing the var for the filepath. `test_helper/common.bash` was calling a method to check for changes, but this helper may not correctly detect letsencrypt related changes as these are not ENV rely on, but global vars handled by `helpers/dns.sh`, so that should be run first like it is for `check-for-changes.sh`. * tests(chore): Use `CHKSUM_FILE` var from helper * chore: `addmailuser` should use `CHKSUM_FILE` var * chore: Update `check-for-changes.sh` log message with correct path |
||
---|---|---|
.. | ||
bats@54e965fa9d | ||
config | ||
docker-openldap | ||
linting | ||
test-files | ||
test_helper | ||
default_relay_host.bats | ||
dovecot_inet_protocol.bats | ||
helper-functions.bats | ||
mail_changedetector.bats | ||
mail_disabled_clamav_spamassassin.bats | ||
mail_dnsbl.bats | ||
mail_fail2ban.bats | ||
mail_fetchmail.bats | ||
mail_fetchmail_parallel.bats | ||
mail_hostname.bats | ||
mail_lmtp_ip.bats | ||
mail_pop3.bats | ||
mail_postfix_inet.bats | ||
mail_postscreen.bats | ||
mail_privacy.bats | ||
mail_quotas_disabled.bats | ||
mail_smtponly.bats | ||
mail_spam_bounced.bats | ||
mail_spam_junk_folder.bats | ||
mail_special_use_folders.bats | ||
mail_ssl_letsencrypt.bats | ||
mail_ssl_manual.bats | ||
mail_time.bats | ||
mail_tls_dhparams.bats | ||
mail_undef_spam_subject.bats | ||
mail_with_imap.bats | ||
mail_with_ldap.bats | ||
mail_with_mdbox.bats | ||
mail_with_postgrey.bats | ||
mail_with_postgrey_disabled_by_default.bats | ||
mail_with_relays.bats | ||
mail_with_sdbox.bats | ||
no_container.bats | ||
open_dkim.bats | ||
permit_docker.bats | ||
security_tls_cipherlists.bats | ||
sedfile.bats | ||
test_helper.bats | ||
tests.bats |