downtownallday
c743ebe606
zpush: add the latest z-push hack for php 8.0
2022-11-06 08:13:44 -05:00
downtownallday
29b1c29a35
setup: update mods.available/README.md wording
2022-11-06 08:05:32 -05:00
downtownallday
2ac391796e
setup: add a setup mod to attach a logwatch report to daily status checks emails
2022-11-06 07:02:33 -05:00
downtownallday
93f7a84f44
roundcube: use the ldap_simple password driver
2022-11-06 06:58:29 -05:00
downtownallday
2134d44730
Add license
2022-10-30 08:46:12 -04:00
downtownallday
4d845a3618
Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox
...
# Conflicts:
# README.md
2022-10-30 08:21:51 -04:00
Joshua Tauberer
3314c4f7de
v60.1
2022-10-30 08:18:13 -04:00
Joshua Tauberer
1f60236985
Upgrade Nextcloud to 23.0.4 (contacts to 4.2.0, calendar to 3.5.0)
...
This fixes the monthly view calendar items being in random order.
2022-10-30 08:16:54 -04:00
downtownallday
aad837b75e
Add setup/enmod.sh to enable setup mods
2022-10-29 09:58:49 -04:00
downtownallday
7fa070aed8
avoid using PYTHONPATH to enable setup mod hooks, which is problematic for managment command line tool use
...
- save the directory path to setup mods in /etc/mailinabox.conf
- dynamically add the path to python during hook initialization
2022-10-24 16:24:44 -04:00
downtownallday
cac796a5bb
Enable compression for wget downloads.
...
This fixes an issue where unless compression=auto (or compression=gzip) is specified, using wget to download jquery.min.js by setup/management.sh fails with max redirects exceeded.
The man page says --compression is an experimental option, but it doesn't appear to have any problems.
Note that downloading jquery.min.js with curl works fine when wget without --compression fails.
2022-10-20 17:02:04 -04:00
downtownallday
c787437317
Add a setup mod to install roundcube's "larry" skin, which was removed with roundcubemail version 1.6
2022-10-16 15:16:02 -04:00
downtownallday
e636e63862
Setup fixes
...
1. Autodetect encryption-at-rest and run the correct setup in boostrap and /usr/local/bin/mailinabox
2. Fix bug where directories in the local mod folder are improperly executed causing setup to fail
3. Add a remote_nextcloud.sh setup mod cleanup function for cleaner removal of the mod
2022-10-14 09:27:24 -04:00
downtownallday
9e5ce3e681
Enable "bootstrap" installs
2022-10-13 18:58:44 -04:00
downtownallday
9b62b5dc1a
Use an explicit php exectable and package if specified by environment variables
2022-10-13 09:27:58 -04:00
downtownallday
a9d34441fa
Update hashes to match upstream's use of github/nextcloud-releases
2022-10-12 08:20:44 -04:00
downtownallday
caf95b1efe
Apply license
2022-10-12 07:18:30 -04:00
downtownallday
ec2c878360
Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox into jammyjellyfish2204
2022-10-12 06:57:37 -04:00
Joshua Tauberer
286a4bd9e7
Remove stray quote in bootstrap.sh
...
Reported at https://discourse.mailinabox.email/t/version-60-for-ubuntu-22-04-is-released/9558/4 .
2022-10-12 06:11:02 -04:00
downtownallday
26fa200014
Merge branch 'jammyjellyfish2204' of https://github.com/mail-in-a-box/mailinabox into jammyjellyfish2204
...
# Conflicts:
# setup/management.sh
# setup/nextcloud.sh
2022-10-09 09:30:12 -04:00
Joshua Tauberer
89cd9fb611
Increase gunicorn's worker timeout since some /admin commands take a long time
2022-10-08 08:23:48 -04:00
Joshua Tauberer
22a6270657
Remove old setup step to uninstall acme library
2022-10-08 08:23:48 -04:00
Joshua Tauberer
9b111e2493
Update to Nextcloud 23.0.8 (contacts 4.2.0, calendar 3.5.0)
2022-10-08 07:23:21 -04:00
downtownallday
cc54379ed2
Merge branch 'jammyjellyfish2204' of https://github.com/mail-in-a-box/mailinabox into jammyjellyfish2204
...
# Conflicts:
# management/backup.py
2022-09-29 11:10:16 -04:00
jvolkenant
b8feb77ef4
Move postgrey database under $STORAGE_ROOT ( #2077 )
2022-09-24 13:17:55 -04:00
Joshua Tauberer
3c44604316
Install 'file' package
...
The command is used in mailinabox-postgrey-whitelist. Reported missing (on systems that don't install it by default) in #2083 .
2022-09-24 10:10:50 -04:00
downtownallday
9a381961c5
setting permissions on mail.log fixes the github actions failure for upgrade-to-upstream - this is just clean up
2022-09-22 18:31:59 -04:00
downtownallday
35aa9f7691
try setting mail.log permissions during setup
2022-09-22 18:06:03 -04:00
downtownallday
9b92b394f4
change wording
2022-09-22 13:38:17 -04:00
downtownallday
f6e9fd628c
Hide the output from apt-get unless an error occurs
2022-09-22 11:08:02 -04:00
downtownallday
68bc176b00
Don't add firewall rules for the remote nextcloud if it's not accessible
2022-09-22 11:07:34 -04:00
downtownallday
912b78bb47
Change the remote_nextcloud web_update hook handler strategy
2022-09-22 09:35:50 -04:00
downtownallday
53cbabac75
Fix url redirection when a remote nextcloud is used so that .well-known/caldav and carddav work properly, as well as the redirecting /cloud to the remote Nextcloud. Since the nginx config is replaced by the management daemon whenever a new domain is added, this change adds a hooking mechanism for setup mods.Fix url redirection when a remote nextcloud is in use. This corrects redirection for /.well-known/caldav, /.well-known/carddav and /cloud to send the client to the remote nextcloud. This requires an nginx configuration change, and since the nginx config is replaced by the management daemon whenever a new domain is added, this change adds a hooking mechanism for setup mods allowing them to intercept and modify the resultant nginx config.
2022-09-21 15:52:47 -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
bf63ca827e
Add copyright to source files
2022-09-19 14:45:11 -04:00
downtownallday
603b716ac2
add additional protections to the management daemon's runtime environment
2022-09-18 15:43:10 -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
kiekerjan
d584a41e60
Update Roundcube to 1.6.0 ( #2153 )
2022-09-17 09:20:20 -04:00
downtownallday
56074ae035
Tighten roundcube session config ( #2138 )
...
Merges #2138 .
2022-09-17 09:09:00 -04:00
Steve Hay
84da4e6000
Update dovecot to use same DH parameters file as the other services
...
Originally from #2157 .
2022-09-17 09:07:54 -04:00
Steve Hay
3fd2e3efa9
Replace Flask built-in WSGI server with gunicorn ( #2158 )
2022-09-17 08:03:16 -04:00
downtownallday
2461e9a36c
tighten the cipher list
2022-09-07 16:17:22 -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
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