Commit Graph

1664 Commits

Author SHA1 Message Date
dkoao e2d8fd5665 check if the Nextcloud fail2ban configuration isn't already added 2019-09-27 09:40:09 +00:00
dkoao de6b977e21 Add quotation marks to the echo call 2019-09-27 08:45:44 +00:00
dkoao 403d9fdb7d add further clarity to the "Disable Nextcloud?" question 2019-09-27 08:43:42 +00:00
dkoao 610fbc5d49 rename nextcloud-conf.conf to nginx-nextcloud.conf 2019-09-27 08:19:06 +00:00
dkoao fdd6628709 Check if Nextcloud is already installed before asking the user if it should be disabled 2019-09-27 03:25:56 +00:00
dkoao 098f24469a Ask the user if he/she wants to disable Nextcloud 2019-09-26 22:46:26 +00:00
dkoao 7160d3c6a5 Add a Yes/No function 2019-09-26 22:34:54 +00:00
dkoao 8984180787 fix order of Nginx config 2019-09-26 11:04:37 +00:00
dkoao c0e8604532 Reduce nginx config duplication by separating the Nextcloud config into its own file 2019-09-26 10:51:46 +00:00
dkoao 86fef267f6 reduce duplicated lines 2019-09-26 10:35:12 +00:00
dkoao b9d367adff add quotation marks 2019-09-26 10:32:24 +00:00
dkoao 4f5fb7fe4b explain why Nextcloud gets skipped 2019-09-26 10:26:44 +00:00
dkoao 9754e78f20 replace two if statements with one 2019-09-26 10:24:40 +00:00
dkoao e41cfc30b8 replace '1' with '0', as 0 stands for true in sh. 2019-09-26 10:00:12 +00:00
dkoao 857ccaa06c Implement a new way to handle the Nextcloud fail2ban config.
If the user wants Nextcloud to be installed, the setup script will simply append the relevant rules to the config file.
This is more efficient than having two separate files.
2019-09-26 09:20:52 +00:00
dkoao d30c4d615d get the line responsible for recording the roundcube version out of the DISABLE_NEXTCLOUD check
because it's unrelated
2019-09-26 08:55:19 +00:00
dkoao d78a6b26a5 added more clarity to the boolean logic 2019-09-26 04:08:58 +00:00
dkoao 732a7f9fa2 added an additional quotation mark 2019-09-26 04:05:03 +00:00
dkoao a02657e99c fixed a logical error with the handling of DISABLE_NEXTCLOUD env variable 2019-09-26 03:35:25 +00:00
dkoao 9e2fd98848 check if the user didn't want to install Nextcloud 2019-09-26 03:20:24 +00:00
dkoao 0414a375c9 check if the user didn't choose to install Nextcloud 2019-09-26 03:12:18 +00:00
dkoao fb8c380cd6 improve sync-guide's clarity about the contacts and calendar features 2019-09-26 03:08:26 +00:00
dkoao ef1327d7bd add further Nextcloud checks 2019-09-26 03:06:35 +00:00
dkoao 81d7fdb63f add further checks 2019-09-26 03:02:35 +00:00
dkoao 27b3e8f1a1 Check if the user didn't want to setup Nextcloud 2019-09-26 02:41:33 +00:00
dkoao bc7aa885e4 Check if the user decided to not install Nextcloud and configure Nginx accordingly 2019-09-26 02:32:30 +00:00
dkoao 8eb89c2b4e modifying start.sh to check if the environment variable DISABLE_NEXTCLOUD is set to 1
if it is set 1, it'll skip setting up Nextcloud
2019-09-26 02:17:59 +00:00
Joshua Tauberer a70ba94b0c add autoconfig domains before subtracting domains with overridden A records so that a custom DNS record can be used to suppress TLS certificate generation for those domains if needed 2019-09-10 07:11:16 -04:00
Joshua Tauberer 9e29564f48 v0.43 2019-09-01 07:43:47 -04:00
Joshua Tauberer 5aeced5c2e add a test for fail2ban monitoring managesieve 2019-08-31 09:15:41 -04:00
Joshua Tauberer 46f64e0e0a fail2ban should watch for managesieve logins too, fixes #1622 2019-08-31 09:04:17 -04:00
Joshua Tauberer 4971b63501 changelog entries 2019-08-31 08:52:32 -04:00
Joshua Tauberer 3ff9817325 document the xfr: CIDR notation, fix spaces vs tabs and syntax error, broken by c7377e602d, #1616 2019-08-31 08:50:44 -04:00
jvolkenant d6becddbe5 Change Nextcloud upgrade logic to look at STORAGE_ROOT's config.php version vs /usr/local's version.php version (#1632)
* Download and verify Nextcloud download before deleting old install directory
* Changed install logic to look at config.php and not version.php for database version number. When restoring from a backup, config.php in STORAGE_ROOT will hold the Nextcloud version that corresponds to the user's database and version.php in /usr/local won't even exist, so we were missing Nextcloud migration steps. In other cases they should be the same.
2019-08-31 08:50:36 -04:00
Michael Kroes 1d6793d124 Update the Postgrey whitelist to a newer version monthly (#1611)
Automatically update the Postgrey whitelist to a newer version once a month.
2019-08-31 08:38:41 -04:00
Kim Schulz c7377e602d make it possible to use subnet addresses for axfr (#1616)
it is sometimes needed to be able to set axfr to more than just one ip address. This can be done with multiple xfr: in  the secondary dns input but if you need to add an entire subnet segment (xxx.xxx.xxx.0/yy) then it will not work.
With this patch it is now possible to use a subnet as input for xfr the same way as if it was an ip address.
2019-08-31 08:00:18 -04:00
Snacho 08021ea19f Fix an issue when Secondary NS has multiple A records (#1633)
If a custom secondary NS server has multiple A records status_checks.py will fail with a timeout and Web UI won't load.
2019-08-31 07:58:12 -04:00
cmharper 295d481603 Upgraded roundcube to 1.3.10 (#1634) 2019-08-31 07:55:38 -04:00
captainwasabi c4cb828f65 Fix rsync backup options string: extraneous single quotes causing problems (#1629)
The resulting command had nested single quotes which doesn't work

I think this fixes all/most of the issues in #1627.  I am getting a full backup, then the next time it's run I get an incremental.  running from the CLI with --status looks good, --verify looks good, and --list looks good.
2019-08-13 05:57:05 -04:00
captainwasabi 0657f9e875 add proper check for DNS error in list_target_files (#1625)
The elif needed to check to see if the string was in the listing of results of the shell command.  As it was the conditional was just the string which always evaluates to true and was therefore giving a misleading error message.
2019-08-13 05:47:11 -04:00
Joshua Tauberer e37768ca86 v0.42b 2019-08-03 11:49:32 -04:00
jvolkenant bea5eb0dda Add interm upgrade step from Nextcloud 13 -> 14 (#1605) 2019-07-12 06:41:16 -04:00
jvolkenant fd5b11823c Add AAAA records for autodiscover & autoconfig (#1606) 2019-07-10 06:28:37 -04:00
Joshua Tauberer 5fc1944f04 pull v0.42, go back to v0.41 2019-07-05 11:56:54 -04:00
Joshua Tauberer 39fd4ce16c v0.42 2019-07-04 21:34:55 -04:00
Joshua Tauberer c0f4d5479f changelog updates 2019-06-16 11:40:40 -04:00
jvolkenant 193763f8f0 Update to Nextcloud 15.0.8, Contacts to 3.1.1, and Calendar to 1.6.5 (#1577)
* Update to Nextcloud 15.0.7, Contacts to 3.1.1, and Calendar to 1.6.5
* Enabled localhost-only insecure IMAP login for localhost Nextcloud auth
* Add package php-imagick and BigInt conversion
* added support for /cloud/oc[sm]-provider/ endpoint
2019-06-16 11:10:52 -04:00
jvolkenant 79759ea5a3 Upgrade Z-Push to 2.5.0 (#1581) 2019-06-16 11:07:45 -04:00
jvolkenant 6e5ceab0f8 hide virtualenv output (#1578) 2019-05-15 11:59:32 -07:00
jvolkenant c6fa0d23df check that munin-cron is not running (via cron) when it is run in setup, fixes #660 (#1579) 2019-05-15 11:58:40 -07:00