Commit Graph
100 Commits
Author SHA1 Message Date
downtownallday 65a3c7e243 Correct dav paths 2022-09-20 22:16:51 -04:00
downtownallday 39aaf94e7b Add options to 1. re-use existing an existing backup 2. disable test runner 2022-09-20 10:15:36 -04:00
downtownallday f321271e1c Adjust formatting 2022-09-20 10:14:10 -04:00
downtownallday 59e78040bf Hide nextcloud upgrade output 2022-09-20 10:13:34 -04:00
downtownallday 5f8ae763aa Fix an issue where unattended upgrades randomly kick in during setup and cause apt installs, and therefore setup itself, to fail 2022-09-20 10:13:12 -04:00
downtownallday 76e7528b34 hook python's log to gunicorn's 2022-09-19 14:47:50 -04:00
downtownallday bf63ca827e Add copyright to source files 2022-09-19 14:45:11 -04:00
downtownallday 809a75765e replace FLASK_ENV, which has been deprecated, with FLASK_DEBUG 2022-09-18 15:44:01 -04:00
downtownallday 603b716ac2 add additional protections to the management daemon's runtime environment 2022-09-18 15:43:10 -04:00
downtownallday 5e1dcc933f close the multiprocessing pool to avoid hang 2022-09-18 15:42:15 -04:00
downtownallday c33153c646 update roundcube contacts url 2022-09-17 21:54:42 -04:00
downtownallday 45d5b7cb25 Merge branch 'jammyjellyfish2204' of https://github.com/mail-in-a-box/mailinabox into jammyjellyfish2204
# Conflicts:
#	setup/webmail.sh
#	tools/editconf.py
2022-09-17 19:54:52 -04:00
downtownallday 688d1f668b Add custom backup option to nuke current backup before full backup.
When short on disk space and storing backup locally, delete all local backups before a new one is created. Otherwise, enough disk space for a minimum of 2 full backups is needed, which may not be available.
2022-09-17 18:11:09 -04:00
downtownallday 56074ae035 Tighten roundcube session config (#2138)
Merges #2138.
2022-09-17 09:09:00 -04:00
downtownallday 30631b0fc5 Fix undefined variable 'val' in tools/editconf.py (#2137)
Merges #2137.
2022-09-17 09:09:00 -04:00
downtownallday 2461e9a36c tighten the cipher list 2022-09-07 16:17:22 -04:00
downtownallday 20646e43f8 single restore_backup script for miab and ciab 2022-09-06 11:47:04 -04:00
downtownallday 78e6755e6b wait for the management daemon to be ready before ending the test 2022-09-05 20:35:36 -04:00
downtownallday 4a4ad258c6 keep trying to umount 3 times with 10 seconds between tries 2022-09-05 20:35:04 -04:00
downtownallday 3198923bbc add upsteam upgrade test (MIAB -> MIAB-LDAP) 2022-09-05 18:45:09 -04:00
downtownallday b731de2f66 fix capture state and populate working directory errors 2022-09-05 18:34:46 -04:00
downtownallday 80decc3f71 fix python error "cannot pickle 'dict_keys' object"
a deep copy of a dictionary with values of type `dict_keys`, required by the underlying ldap3 python3 library, is no longer allowed. they must be a `list` type

actual error:

Traceback (most recent call last):
  File "/mailinabox/setup/migrate.py", line 461, in <module>
    run_miabldap_migrations()
  File "/mailinabox/setup/migrate.py", line 440, in run_miabldap_migrations
    raise e
  File "/mailinabox/setup/migrate.py", line 431, in run_miabldap_migrations
    migration_func(env)
  File "/mailinabox/setup/migrate.py", line 249, in migration_miabldap_1
    users=m13.create_users(env, conn, ldap, ldap_base, ldap_users_base, ldap_domains_base)
  File "/mailinabox/setup/migration_13.py", line 137, in create_users
    dn = add_user(env, ldapconn, ldap_base, ldap_users_base, ldap_domains_base, email, password, privs.split("\n"), totp)
  File "/mailinabox/setup/migration_13.py", line 90, in add_user
    ldapconn.add(dn, objectClasses, attrs)
  File "/usr/lib/python3/dist-packages/ldap3/core/connection.py", line 947, in add
    _attributes = deepcopy(attributes)  # dict could change when adding objectClass values
  File "/usr/lib/python3.10/copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python3.10/copy.py", line 231, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib/python3.10/copy.py", line 161, in deepcopy
    rv = reductor(4)
TypeError: cannot pickle 'dict_keys' object
2022-09-05 17:20:41 -04:00
downtownallday d87148292e fix missing $ 2022-09-05 17:08:41 -04:00
downtownallday cc0a6d25cb z-push hack for php 8.0: change a debug print statement and make a policies.ini change 2022-09-05 15:32:24 -04:00
downtownallday 9783b8bbbc sync should be true for a nextcloud backend 2022-09-05 15:29:39 -04:00
downtownallday cb50405864 roundcube 1.6 2022-09-05 14:12:52 -04:00
downtownallday ae173fcdc6 Update app hashes for NC 21 and 22 upgrades 2022-09-05 14:12:29 -04:00
downtownallday f63488aa1a Merge branch 'master' into jammyjellyfish2204
# Conflicts:
#	setup/management.sh
#	setup/mods.available/connect-nextcloud-to-miab.sh
#	setup/start.sh
#	setup/webmail.sh
#	tests/lib/carddav.sh
#	tests/lib/system.sh
#	tests/system-setup/setup-defaults.sh
#	tests/system-setup/setup-funcs.sh
#	tests/system-setup/upgrade.sh
2022-09-05 10:30:45 -04:00
downtownallday 549fdbf97a Merge branch 'jammyjellyfish2204' of https://github.com/mail-in-a-box/mailinabox into jammyjellyfish2204
# Conflicts:
#	setup/management.sh
2022-09-05 09:30:19 -04:00
downtownallday a7739196b4 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox into jammyjellyfish2204 2022-09-05 09:28:26 -04:00
downtownallday f6cd8f56c3 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox 2022-08-21 14:07:30 -04:00
downtownallday 72bee52bd7 fix detection of installation status of contacts app - the grep for "contacts" should not match app "contactsintegration" 2022-08-18 10:36:09 -04:00
downtownallday cac187756d Merge branch 'jammyjellyfish2204' of https://github.com/mail-in-a-box/mailinabox into jammyjellyfish2204
# Conflicts:
#	CHANGELOG.md
#	README.md
#	management/ssl_certificates.py
#	setup/bootstrap.sh
#	setup/dns.sh
#	setup/management.sh
#	setup/nextcloud.sh
#	setup/preflight.sh
#	setup/start.sh
#	setup/webmail.sh
#	tests/test_mail.py
#	tools/editconf.py
2022-07-28 17:20:57 -04:00
downtownallday 27dcb5d7ca Enable fail2ban for z-push and add a test for it 2022-07-18 15:52:04 -04:00
downtownallday 71b8b94276 Enable github actions 2022-06-29 12:57:13 -04:00
downtownallday ecf5e3ddfb Improve output formatting 2022-06-29 12:56:44 -04:00
downtownallday 8f1bb4f498 Add a z-push test suite 2022-06-29 10:42:09 -04:00
downtownallday 643a49676e rename ehdd/startup.sh ehdd/run-this-after-reboot.sh 2022-06-28 20:56:48 -04:00
downtownallday b2e4e8a38f output message only when appropriate 2022-06-28 16:44:21 -04:00
downtownallday 9b8fc905f6 rename script "remote-nextcloud-use-miab.sh" to "connect-nextcloud-to-miab.sh" 2022-06-28 16:43:27 -04:00
downtownallday f1cddb5bd1 Tighten roundcube session config 2022-06-28 07:43:11 -04:00
downtownallday 8ed4fcd363 Remove text about adding a firewall rule 2022-06-28 07:25:08 -04:00
downtownallday 88733f3d0e Ignore opendkim message
We only care about messages regarding the validity of incoming mail.
2022-06-27 14:31:00 -04:00
downtownallday 13d8e867a2 Add color to the output 2022-06-27 14:28:59 -04:00
downtownallday 23d895b509 Fix another postgrey reload error 2022-06-27 14:28:43 -04:00
downtownallday d4cbaaf356 Ensure users and groups are created so that duplicity properly restores permissions 2022-06-27 13:06:59 -04:00
downtownallday 6be8d732aa Fix comment 2022-06-27 11:03:58 -04:00
downtownallday fd0cd63462 Workaround postgrey reload issue in jammy 2022-06-27 11:03:31 -04:00
downtownallday 6ae3758874 Make ehdd/postinstall service disabling step quieter 2022-06-27 11:02:58 -04:00
downtownallday 9eacf3fe3f Simplify ehdd mount/umount code 2022-06-27 11:02:15 -04:00
downtownallday 8838d5af82 Eliminate the manual firewall configuration step when connecting a remote Nextcloud's user_ldap 2022-06-27 11:00:36 -04:00
downtownallday 5c5d5c2aff Add a major upgrade test - bionic to jammy 2022-06-26 22:16:04 -04:00
downtownallday 6255ecb2f3 Include postfix, dovecot, opendkim in preloaded vm 2022-06-26 22:13:16 -04:00
downtownallday f05fa8ba01 Simplify alternate repo/branch installation 2022-06-26 22:10:47 -04:00
downtownallday 5de40fc9b1 Fixes for upgrading nextcloud; update calendar and contacts version 2022-06-26 22:04:05 -04:00
downtownallday 33d81e56ae Changed rcmcarddav release containing fix for guzzlehttp dependency 2022-06-26 21:55:51 -04:00
downtownallday 1448213eee Update php version 2022-06-26 21:51:55 -04:00
downtownallday c47807776b Update roundcube config for changes introduced in 1.6 2022-06-25 16:56:01 -04:00
downtownallday 9537282203 Roundcube 1.6-rc
includes update to rcmcarddav plugin v4.4.1
2022-06-25 12:39:52 -04:00
downtownallday cb76aec59d Tests that run php should run the version of php selected by setup 2022-06-25 12:37:11 -04:00
downtownallday fd44210ee7 Fix undefined variable 'val' 2022-06-25 12:35:03 -04:00
downtownallday 7c67ad49d0 nsd.log must exist or rsyslog won't write to it 2022-06-24 08:22:38 -04:00
downtownallday 577a39be85 Upgrade to user_external v3.0.0 required for Nextcloud 23+ 2022-06-24 07:49:14 -04:00
downtownallday 1423246419 Better handling of git formatted versions
eg "v57a-6-g82599e5"
2022-06-23 17:46:50 -04:00
downtownallday 7f18e6ca3c Upgrade persistent login plugin to version 5.3.0 2022-06-23 17:45:40 -04:00
downtownallday 1c0d9a3221 Allow .local domains as valid email address, which fixes an issue caused by the 'email_validator' python module that was recently updated to version 1.2.1 2022-06-22 19:33:19 -04:00
downtownallday 7bc77f644f Since JT decided to go with php 8.0 over 8.1, revert to roundcube 1.5.2 for vanilla vagrantfile 2022-06-22 16:22:35 -04:00
downtownallday 82599e542e If git describe fails, assume new undetermined version 2022-06-22 12:01:01 -04:00
downtownallday c79fca6a45 Allow .local domains as valid email address, which fixes an issue caused by the 'email_validator' python module that was recently updated to version 1.2.1 2022-06-22 11:23:32 -04:00
downtownallday 65a393cb3f Fix the installed state version parsing logic 2022-06-22 11:21:22 -04:00
downtownallday 1622b326d5 Update version used for upgrade-to-master tests 2022-06-22 11:20:41 -04:00
downtownallday cab78e8d9a Change comment 2022-06-22 11:19:58 -04:00
downtownallday 8e6e4480b2 Output message about ignoring errors 2022-06-22 11:19:33 -04:00
downtownallday c135bf1f77 Merge branch 'jammyjellyfish2204' of https://github.com/mail-in-a-box/mailinabox into jammyjellyfish2204
# Conflicts:
#	CHANGELOG.md
#	README.md
#	conf/nginx-top.conf
#	management/backup.py
#	setup/bootstrap.sh
#	setup/management.sh
#	setup/nextcloud.sh
#	setup/system.sh
#	setup/web.sh
#	setup/webmail.sh
#	setup/zpush.sh
#	tests/test_mail.py
2022-06-21 23:58:17 -04:00
downtownallday e710d3212f changelog 2022-06-21 20:39:05 -04:00
downtownallday 37a7088531 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	README.md
#	setup/management.sh
2022-06-21 20:38:01 -04:00
downtownallday 0ef7b33a55 Remove output prefix
It's too difficult to read, especially when getting user input via stdin
2022-06-14 05:39:32 -04:00
downtownallday c5afd69f50 Update changelog 2022-06-12 17:44:48 -04:00
downtownallday 1f8849021a Update changelog 2022-06-12 17:42:19 -04:00
downtownallday 379ae8ea8c Add .md file extension 2022-06-12 17:22:47 -04:00
downtownallday 639826b97a Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	README.md
2022-06-12 17:22:13 -04:00
downtownallday 6ff93bb87e add miab directory as 'safe' for git 2022-06-05 21:34:59 -04:00
downtownallday ee8d627c3b Improve formatting of setup output 2022-06-05 21:34:52 -04:00
downtownallday eb83732000 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox 2022-06-05 20:24:28 -04:00
downtownallday 48be363815 Merge branch 'jammyjellyfish2204' of https://github.com/mail-in-a-box/mailinabox into jammyjellyfish2204 2022-06-05 20:22:34 -04:00
downtownallday f1b904acc6 Enable apcu cli, required for nextcloud install 2022-06-05 20:21:15 -04:00
downtownallday 5caaab9a8f Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox 2022-05-04 17:15:45 -04:00
downtownallday 6dbab427f9 enable nextcloud installation 2022-05-04 11:20:54 -04:00
downtownallday 91ecf6e8d6 nextcloud 24 2022-05-04 11:20:07 -04:00
downtownallday e57e1a6252 add miab directory as 'safe' for git 2022-05-04 11:19:46 -04:00
downtownallday 05b135ba73 support nextcloud release candidate downloads 2022-05-04 10:44:44 -04:00
downtownallday ee1ffbdb21 Workaround vagrant's inability to authenticate during vagrant up (but can authenticate with vagrant ssh) 2022-04-09 18:55:11 -04:00
downtownallday 9b0da60c24 Fix detection of installed nc app
The script erroneously determined the contacts app was installed because it matched "contactsintegration"
2022-04-09 07:18:22 -04:00
downtownallday 70475cc294 Allow the nextcloud service account to be able to change user account passwords.
This should be removed once Nextcloud Server iss 18406 is fixed.
2022-04-08 10:05:34 -04:00
downtownallday e5ba7f8ceb improve output formatting 2022-04-08 06:57:16 -04:00
downtownallday 98f4e5b2fc Add a changelog of commits for each release 2022-03-06 17:42:51 -05:00
downtownallday 462e628e34 Fix pip execution 2022-03-06 10:54:09 -05:00
downtownallday 8e58a78b94 Upgrade system packages during system-setup 2022-03-06 10:53:53 -05:00
downtownallday a6c819eea0 Improve formatting of setup output 2022-03-06 10:53:00 -05:00
downtownallday b7c7187fa5 Fix the ownership of nsd.log on upgrade 2022-02-28 09:40:28 -05:00