Commit Graph
100 Commits
Author SHA1 Message Date
downtownallday 679e660018 include miab vars 2020-11-05 17:44:48 -05:00
downtownallday 1a56495659 load qa/test dependencies 2020-11-05 17:36:12 -05:00
downtownallday 0f20b97709 looks like miab 'auto' setting won't work on travis 2020-11-05 16:48:36 -05:00
downtownallday 87142fb194 change comment 2020-11-05 16:33:44 -05:00
downtownallday 68ac593d7f load vars ahead of functions 2020-11-05 16:32:23 -05:00
downtownallday c8ab05ebf1 skip network checks 2020-11-05 16:31:50 -05:00
downtownallday e43c01e6fe Enable caching of Nextcloud downloads as well as downloading Nextcloud from github instead of Nextcloud servers 2020-11-05 16:19:42 -05:00
downtownallday 5a023f7868 Ensure system php is used 2020-11-04 14:26:20 -05:00
downtownallday 4fdbad5ef8 Be ciab-aware and use php version used by nextcloud 2020-11-04 14:13:59 -05:00
downtownallday aeb27f74e3 Break out MiaB-LDAP code from _init.sh so _init.sh can be shared with cloud-in-a-box 2020-11-02 12:59:59 -05:00
downtownallday 34d968a2cd Prep for ubuntu 20.
This file is shared with cloud-in-a-box, which will support ubuntu 20 before MiaB-LDAP.
2020-11-02 12:57:57 -05:00
downtownallday b634188ac0 Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	management/daemon.py
#	management/mfa.py
2020-10-31 11:43:35 -04:00
downtownallday ad3174f08e Merge branch 'totp' 2020-10-31 11:39:35 -04:00
downtownallday 484ffd64ec do upgrade tests against maib master 2020-10-31 11:32:28 -04:00
downtownallday d1110c4c02 merge from upstream 2020-10-31 11:31:44 -04:00
downtownallday a7370beae0 Merge remote-tracking branch 'fspoettel/admin-panel-2fa' into totp
# Conflicts:
#	management/daemon.py
#	management/mfa.py
2020-10-29 16:56:36 -04:00
downtownallday 521b72653c Fix #4 2020-10-26 15:46:19 -04:00
downtownallday 9057c12c38 Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox 2020-10-16 21:07:36 -04:00
downtownallday 6589a31883 Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox 2020-10-13 20:22:18 -04:00
downtownallday a78e6eb3fa Speed up vm creation 2020-09-30 13:33:40 -04:00
downtownallday f6b04b314f Add totpMruTokenTime to upgrade 2020-09-30 11:50:49 -04:00
downtownallday 100acb119b Add a totpMruTokenTime value to record the time when the mru token was used
Use the totpMruTokenTime as the id to uniquely identify a totp entry
2020-09-30 11:00:58 -04:00
downtownallday a5ebd07549 Merge remote-tracking branch 'fspoettel/admin-panel-2fa' into totp
# Conflicts:
#	management/auth.py
#	management/mfa.py
2020-09-30 09:05:03 -04:00
downtownallday 5deb88ab60 Merge remote-tracking branch 'fspoettel/admin-panel-2fa' into totp
# Conflicts:
#	management/daemon.py
#	management/mfa.py
#	setup/mail-users.sh
2020-09-29 22:20:15 -04:00
downtownallday 60771b7615 Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox 2020-09-29 09:12:25 -04:00
downtownallday e2dea39e5b Advance the x-ordered counter 2020-09-29 08:55:32 -04:00
downtownallday 75fb6d2a5d Rename a function 2020-09-29 08:55:04 -04:00
downtownallday 18d9cd99ea Restart management daemon in case it was already started 2020-09-29 08:54:16 -04:00
downtownallday 2bdcbc9b6c Run upgrade tests before default ones 2020-09-29 08:52:33 -04:00
downtownallday 37777ae904 Add a vagrant vanilla install with port forwarding 2020-09-29 08:33:57 -04:00
downtownallday 042e8b4a56 Merge remote-tracking branch 'fspoettel/admin-panel-2fa' into totp 2020-09-28 23:25:29 -04:00
downtownallday 00fc94d3c1 Merge remote-tracking branch 'fspoettel/admin-panel-2fa' into totp
# Conflicts:
#	management/auth.py
#	management/daemon.py
#	management/mailconfig.py
#	setup/mail-users.sh
2020-09-28 23:25:16 -04:00
downtownallday a79c7fce91 Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	README.md
2020-09-26 08:03:12 -04:00
downtownallday cf888d3f30 Set miab-ldap migration version during first-time setup 2020-09-16 09:39:49 -04:00
downtownallday 7c29628530 Separate miab and miab-ldap migrations
Add tests for migrating from miab w/totp (migration 13) to miab-ldap
2020-09-16 09:00:27 -04:00
downtownallday b3e789a4e2 Migrate TOTP secrets 2020-09-15 07:51:27 -04:00
downtownallday b6ba3a054c Fix regexp: \d => [0-9] 2020-09-12 20:07:50 -04:00
downtownallday d68a89af61 Merge remote-tracking branch 'fspoettel/admin-panel-2fa' into totp
# Conflicts:
#	management/auth.py
#	management/mailconfig.py
2020-09-12 19:44:22 -04:00
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