Commit Graph
100 Commits
Author SHA1 Message Date
downtownallday 14b6ab4262 Add a simple command-line "authenticator app" for testing 2020-09-10 18:20:31 -04:00
downtownallday 752da93a37 Refactor: move code for obtaining totp tokens to tests/lib/totp.sh 2020-09-10 18:19:29 -04:00
downtownallday c0431474c9 Detect warning ahead of errors 2020-09-10 17:50:06 -04:00
downtownallday 445cd812e6 Check system logs for errors 2020-09-10 17:07:33 -04:00
downtownallday c6816d5641 Fix comment 2020-09-10 17:05:56 -04:00
downtownallday ba85b6fd7b Ignore named connection reset error and reduce reported slapd log output 2020-09-10 16:35:19 -04:00
downtownallday 5852a7aabb Add QA tests for TOTP 2020-09-10 15:24:47 -04:00
downtownallday 24ae913d68 Merge remote-tracking branch 'fspoettel/admin-panel-2fa' into totp
# Conflicts:
#	management/auth.py
#	management/daemon.py
#	setup/mail-users.sh
#	setup/management.sh
#	setup/migrate.py
2020-09-10 15:23:27 -04:00
downtownallday b10f82152a Add message regarding errors during roundcube carddav refresh 2020-09-06 09:26:42 -04:00
downtownallday caf90702cc Wording changes 2020-08-29 06:57:33 -04:00
downtownallday da7468a6b3 Fix unbound variable 2020-08-28 18:14:14 -04:00
downtownallday f49590d52a Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	README.md
2020-08-26 16:17:28 -04:00
Downtown Allday 52aa77f624 Merge pull request #2 from downtownallday/user-displayname
Add a display name field to user accounts
2020-08-25 17:11:06 -04:00
downtownallday 07d83d1e5c Make installed state comparisons ignore new user and alias attributes when comparing MiaB to MiaB-LDAP 2020-08-25 16:36:01 -04:00
downtownallday 5eb008cae9 Skip system updates if SKIP_SYSTEM_UPDATE environment variable is set to "1" 2020-08-25 16:34:56 -04:00
downtownallday 2b2856b517 Fix wording 2020-08-25 16:33:20 -04:00
downtownallday 191b575ab2 Add a display name for users, saved as 'cn' in LDAP 2020-08-25 16:33:06 -04:00
downtownallday 05f4164793 Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox 2020-08-25 12:37:37 -04:00
Downtown Allday 17048a624d Merge pull request #1 from downtownallday/alias-comments
Add comment/description for aliases
2020-08-25 12:36:42 -04:00
downtownallday 1fb9316904 spaces -> tabs 2020-08-25 12:21:11 -04:00
downtownallday 22bfef6f59 Display and allow chaninging a comment/description for aliases. Change the default comment for required aliases to "Required alias". 2020-08-25 12:00:55 -04:00
downtownallday 2b981db1d9 Remove nextcloud cron job when miab nextcloud is disabled 2020-08-21 11:52:24 -04:00
downtownallday d0d12fbc1c Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox 2020-08-09 12:13:31 -04:00
downtownallday ac35bdc544 Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox 2020-07-29 10:34:47 -04:00
downtownallday a24cf104e4 Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox 2020-07-27 07:04:06 -04:00
downtownallday ccb0421729 Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox 2020-07-16 07:57:09 -04:00
downtownallday c866b4d0fa Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox 2020-07-08 19:36:15 -04:00
downtownallday ebf9088c42 Treat spamhous warning as a warning 2020-07-05 18:41:47 -04:00
downtownallday 3a80acceee Remove unwanted script 2020-07-05 17:40:19 -04:00
downtownallday 861bcb5097 Add Cloud-in-a-Box link 2020-07-05 17:38:52 -04:00
downtownallday 62157fb554 Add a "vanilla" test setup along with a QA certificate authority cert 2020-06-27 17:59:51 -04:00
downtownallday 39956afdc0 Rearrange some code and add a command line parameter to test the ldap connection 2020-06-27 17:58:22 -04:00
downtownallday 014d8a8770 Avoid a non-fatal error. This should be understood better. 2020-06-27 17:56:46 -04:00
downtownallday 310fd259ff Change license to AGPL 2020-06-27 17:55:58 -04:00
downtownallday af4242fb0c Add an encryption-at-rest restart/remount test 2020-06-23 07:49:47 -04:00
downtownallday a17d1b190c Remove unused function 2020-06-23 07:48:46 -04:00
downtownallday 257b2ee6f6 Integrate encryption-at-rest support 2020-06-22 12:03:13 -04:00
downtownallday 38d0bcff22 Add support for non-interactive install
Centralize all scripts into 'ehdd'
2020-06-22 10:03:21 -04:00
downtownallday 7137fb6556 Merge branch 'master' into EHDD 2020-06-21 17:21:17 -04:00
downtownallday a5ab29c83f Add Vagrant support for running automated tests 2020-06-21 09:13:54 -04:00
downtownallday 25f5690655 Fix wording 2020-06-19 18:05:57 -04:00
downtownallday 5aa3a6fd5d Add missing argument 2020-06-19 12:26:55 -04:00
downtownallday 1bd7b2c4c7 1. Better code organization & simplify
2. Add "populate" data for upgrades - enabled in both system-setup scripts
3. Add "upgrade" test runner suite
2020-06-19 12:12:49 -04:00
downtownallday 144aa6e5d6 1. Catch connection errors and report them
2. Limit address book updates to just the user given
2020-06-19 12:03:29 -04:00
downtownallday 2d7cb869c5 Continue to make old ownCloud contacts available in Roundcube 2020-06-19 12:02:15 -04:00
downtownallday 582b12b33a Revert: does not fix the error message "warning: cannot change locale" during 'export LC_ALL'. This appears to only be fixable by restarting bash after the locale-gen call. 2020-06-16 06:44:14 -04:00
downtownallday 5f008d91b8 Ignore alias domains that have no forward-to because we don't accept mail locally for the alias 2020-06-15 12:26:12 -04:00
downtownallday 77145e2f38 Fix server error on non-change:
"ldap3.core.exceptions.LDAPChangeError: no changes in modify request"
2020-06-15 12:24:03 -04:00
downtownallday 94fd0fd067 Title shortened 2020-06-15 12:22:55 -04:00
downtownallday 7de362a168 Wording changes 2020-06-14 20:22:14 -04:00
downtownallday 979c36b8c1 Merge branch 'qa-upgrade' 2020-06-14 18:38:42 -04:00
downtownallday a6f54a9bd3 Minor code issues 2020-06-14 18:23:11 -04:00
downtownallday 41188ad42c This fixes the warning about setting LC_ALL on Ubuntu server 2020-06-14 18:02:27 -04:00
downtownallday bce1cd41ff Apply a patch to setup/dns.sh on Travis so nsd will start during upstream install 2020-06-14 18:00:54 -04:00
downtownallday 071c89c420 Tail /var/log/messages if upstream setup fails 2020-06-14 17:19:30 -04:00
downtownallday 6a93af9670 Fix upgrade job failure 2020-06-14 16:48:21 -04:00
downtownallday b0090edd52 Test upgrade to LDAP from upstream Mail-in-a-Box/sqlite 2020-06-14 13:51:00 -04:00
downtownallday 49920ee332 Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox 2020-06-13 06:30:55 -04:00
downtownallday 1f35e9ef91 Move directory setup/mods.d to local 2020-06-11 21:18:05 -04:00
downtownallday 27c1b93bcf Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	README.md
#	management/mailconfig.py
#	management/web_update.py
2020-06-11 15:13:40 -04:00
downtownallday 99bb128d60 Investigating occasional test failures. See this in the log:
[ERROR] Jun 11 17:30:15 lmtp(alice@somedomain.com): Error: open(/etc/dovecot/sieve-spam.svbin.box.abc.com.13806.26a2405f731160b1) failed: Read-only file system
[ERROR] Jun 11 17:30:15 lmtp(alice@somedomain.com): Error: GKVhOyZq4l7uNQAAasegNA: sieve: binary save: failed to create temporary file: open(/etc/dovecot/sieve-spam.svbin.) failed: Read-only file system

systemctl service setting for dovecot includes ProtectSystem=full, so /etc will be read-only.

need to understand why sieve is attempting to create a temp file or maybe
move sieve script to /var
2020-06-11 13:47:50 -04:00
downtownallday 0e857916eb Update wording 2020-06-11 08:08:31 -04:00
downtownallday 6baf4993db Ensure root user has a mailbox for sendmail -bv delivery report 2020-06-11 06:45:49 -04:00
downtownallday 4113ed8501 Look at resolv.conf this time 2020-06-10 23:16:35 -04:00
downtownallday 2bdb6f6216 Output more host information post-setup 2020-06-10 22:37:46 -04:00
downtownallday 7237f553a4 Revert: still get host not found from postfix (type=A vs type=AAAA) for PRIMARY_HOSTNAME 2020-06-10 22:37:24 -04:00
downtownallday a9b5350138 Hide sysctl read errors 2020-06-10 22:00:17 -04:00
downtownallday ae5fbffa40 Attempt at dealing with disabled ipv6 on interfaces 2020-06-10 21:56:49 -04:00
downtownallday adf7d3ed8d Dump kernel ip6 settings 2020-06-10 17:05:34 -04:00
downtownallday f1ba09a066 Dump nsswitch 2020-06-10 12:18:10 -04:00
downtownallday 219c3fa020 Need a default value or boom 2020-06-10 11:41:26 -04:00
downtownallday ab087365c4 Move system-setup directory to tests
Set the hosts FQDN instead of adding hosts entry for private ip
2020-06-10 11:40:44 -04:00
downtownallday 96da15ad27 Add ipv6 address to /etc/hosts 2020-06-10 08:21:45 -04:00
downtownallday 7a12b52f8f Back out prior change, did not fix delivery problem:
"status=bounced (Host or domain name not found. Name service error for name=box.abc.com type=AAAA: Host not found"
2020-06-10 07:50:23 -04:00
downtownallday 64d24566b2 Dump /etc/hosts on travis 2020-06-10 07:49:17 -04:00
downtownallday f4fda41705 Output formatting changes 2020-06-10 07:21:47 -04:00
downtownallday 8be3011c19 Set smtp_address_preference to any in main.cf 2020-06-10 07:21:26 -04:00
downtownallday 2f1082a290 More debug output 2020-06-10 00:19:59 -04:00
downtownallday 6ed1a2ad20 add foreground color 2020-06-09 23:35:46 -04:00
downtownallday a098992d1e fix path to nsd.conf 2020-06-09 23:35:13 -04:00
downtownallday 74b2926586 dump nsd.conf 2020-06-09 23:27:20 -04:00
downtownallday 4d99e6021b Move nsd fix for Travis-CI into setup/dns.sh 2020-06-09 23:20:02 -04:00
downtownallday 81c2b75ee4 Simplify networking info dump 2020-06-09 23:19:24 -04:00
downtownallday 38319c90d5 More Travis nsd startup failure issues 2020-06-09 22:52:46 -04:00
downtownallday f731d7444f Fix typo 2020-06-09 22:52:04 -04:00
downtownallday 0cd9e92566 Try to deal with nsd failure under Travis 2020-06-09 22:45:12 -04:00
downtownallday e498b47d53 Dump /var/log/syslog when start.sh fails 2020-06-09 22:06:25 -04:00
downtownallday ca33614cbf Run apt-get update before installing anything 2020-06-09 21:51:01 -04:00
downtownallday 828f9d0185 First attempt at automating tests with a remote Nextcloud under Travis-CI 2020-06-09 21:34:22 -04:00
downtownallday 46e0d7a070 Don't overwrite PRIMARY_HOSTNAME if already set 2020-06-09 21:33:30 -04:00
downtownallday 29fad6106e Update comment 2020-06-09 21:32:49 -04:00
downtownallday 83cb7cbcbe Automated QA tests for remote nextcloud 2020-06-09 20:46:59 -04:00
downtownallday 844ea08845 Additional remote Nextcloud support for port and prefix plus z-push 2020-06-09 20:44:22 -04:00
downtownallday 8082b06bd2 Ensure owncloud directory is accessible 2020-06-09 20:37:08 -04:00
downtownallday 8f2e4d1247 Set miab_ldap.conf variables only if they don't already exist so that the file may be pre-populated 2020-06-09 20:26:40 -04:00
downtownallday d2f418a363 Use sha1 hash of maildrop instead of a generated UUID 2020-06-09 20:24:46 -04:00
downtownallday 81950592a7 Initial remote Nextcloud integration support 2020-06-06 14:06:15 -04:00
downtownallday a8b1e0c5b7 Minor wording changes 2020-06-06 11:17:42 -04:00
downtownallday 2f8029e983 Merge branch 'master' into EHDD 2020-06-05 12:03:58 -04:00
downtownallday 2867fbe8e4 Change git url 2020-06-05 11:57:23 -04:00