Commit Graph
100 Commits
Author SHA1 Message Date
David Duque 94da7bb088 status_checks.py: Properly terminate the process pools (#1795)
* Only spawn a thread pool when strictly needed

For --check-primary-hostname, the pool is not used.
When exiting, the other processes are left alive and will hang.

* Acquire pools with the 'with' statement
2020-08-09 11:42:39 -04:00
David Duque 0cf4ed9a24 Version bump 2020-07-30 15:43:48 +01:00
David Duque 1ba62c6112 Merge upstream v0.47 2020-07-30 14:51:00 +01:00
David Duque dd7899acca Version bump 2020-07-26 01:03:28 +01:00
David Duque 5e597bb536 Update deprecated function from dnspython 2020-07-26 01:00:17 +01:00
David Duque 60911515fd Support Ubuntu LTS point releases 2020-07-26 00:26:35 +01:00
David Duque ac8c0ae762 Release v0.46.POWER.4 2020-07-22 12:45:18 +01:00
David Duque 16ae3038b3 Merge branch 'development' 2020-07-22 12:44:04 +01:00
David Duque fc0bd12631 Acquire pools with the 'with' statement 2020-07-22 12:42:10 +01:00
David Duque 311e6c63e8 Render the 'Backup now' buttons even if there are already backups 2020-07-21 19:25:48 +01:00
David Duque a0da88834c Terminate the status checks process pool before exiting 2020-07-21 19:21:46 +01:00
David Duque 967409b157 Drop requirement for passwords to have no spaces (#1789) 2020-07-16 07:23:11 -04:00
David Duque 1b2711fc42 Add 'always' modifier to the HSTS add_header directive (#1790)
This will make it so that the HSTS header is sent regardless of the request status code (until this point it would only be sent if "the response code equals 200, 201, 206, 301, 302, 303, 307, or 308." - according to thttp://nginx.org/en/docs/http/ngx_http_headers_module.html#add_header)
2020-07-16 07:21:14 -04:00
David Duque 20b4f26e42 Use ubuntu/focal64 as main testbed 2020-07-15 15:28:47 +01:00
David Duque c8fbe2dd5d Determine the PHP version at runtime (instead of at setup-time) 2020-07-15 15:28:02 +01:00
David Duque 515a74ba11 Render the lsb_release at flask init time
Don't change the index.html file at setup time
2020-07-14 11:51:25 +01:00
David Duque b562e7eefa Hide the 'Create Backup' buttons when backups are turned off 2020-07-11 15:45:50 +01:00
David Duque ccf60c7017 Backups: User-initiated and cron-initiated jobs will have the same lockname
So that some poor timing (initiating a backup when there's a cron-initiated backup)
doesn't screw everything up.
2020-07-11 09:16:32 +01:00
David Duque e224b6b3b2 Update project status 2020-07-11 08:43:46 +01:00
David Duque 79e2398d71 Fix comment 2020-07-11 08:30:05 +01:00
David Duque af9ef186b3 Add manual backup option 2020-07-10 15:48:37 +01:00
David Duque e6102eacfb AXFR Transfers (for secondary DNS servers): Allow IPv6 addresses (#1787) 2020-07-08 18:26:47 -04:00
David Duque 199c2c50ba Backups: Fix backup target selector width 2020-07-08 19:32:24 +01:00
David Duque 4a85250242 Revert vagrantfile to upstream config 2020-07-08 19:31:35 +01:00
David Duque dd017c44c7 Update ideas section and roadmap 2020-07-08 15:00:04 +01:00
David Duque 3dfdb9a309 Update Vagrantfile to pull from development branch 2020-07-03 19:01:16 +01:00
David Duque 1d4d03637f Version bump 2020-06-29 09:47:38 +01:00
David Duque b98111b4e1 Fix unassigned php version 2020-06-29 09:13:50 +01:00
David Duque 3876cbac8a Version bump 2020-06-28 10:06:50 +01:00
David Duque ffc7e8d77e Add comments explaining 2020-06-28 10:05:25 +01:00
David Duque 7f305ee02e Add /.well-known/mta-sts.txt to all nginx dotfiles 2020-06-28 09:57:28 +01:00
David Duque fcb44dafa3 Let's encrypt certbot hotfix 2020-06-27 21:32:36 +01:00
David Duque 7af4ab0f4f Version bump 2020-06-27 20:27:49 +01:00
David Duque 7864055490 Upgrade Nextcloud 2020-06-27 19:39:03 +01:00
David Duque 7b357fa71b Version bump (v0.46 rc) 2020-06-21 22:49:14 +01:00
David Duque 9a4cf4d7af Update dependencies 2020-06-21 16:02:17 +01:00
David Duque 022a11e159 Merge remote-tracking branch 'up/master' 2020-06-21 15:52:31 +01:00
David Duque 74554bcbf3 Version bump 2020-06-21 15:45:34 +01:00
David Duque 5d6c23cff9 Finalize php configuration 2020-06-21 15:18:46 +01:00
David Duque 0ccbf1b809 Only spawn a thread pool when strictly needed
For --check-primary-hostname, the pool is not used.
When exiting, the other processes are left alive and will hang.
2020-06-21 15:05:17 +01:00
David Duque d01069f7f2 Automatically agree to ToS on SSL provision 2020-06-12 09:27:08 +01:00
David Duque 8ca58798e4 Typo fix 2020-05-28 16:17:10 +01:00
David Duque 235ebe9a4a Secondary nameservers: Allow IPv6 2020-05-28 15:47:43 +01:00
David Duque 211d3ff8a8 Fix os tag issues 2020-05-24 23:23:45 +01:00
David Duque a51e968d31 Use pip3 2020-05-17 15:20:14 +01:00
David Duque c95b91af5a Force python3-pip 2020-05-17 15:14:43 +01:00
David Duque 117bdb7464 Update Nextcloud to the latest version
Nextcloud 17 doesn't support PHP 7.4 (and therefore Ubuntu 20.04 LTS)
2020-05-17 15:04:17 +01:00
David Duque baa5d32dea Make sure /etc/default/bind9 exists 2020-05-17 02:58:19 +01:00
David Duque 1513655bc4 Make sure that the OS in the admin panel matches the actual system OS 2020-05-17 02:45:35 +01:00
David Duque 959281c635 Version bump 2020-05-17 02:38:18 +01:00
David Duque 98b50ce333 Syntax function fix 2020-05-17 02:38:00 +01:00
David Duque b66ade73c8 Begin support for Ubuntu LTS 2020-05-17 02:33:26 +01:00
David Duque de115fe01e Merge remote-tracking branch 'up/master' 2020-05-11 19:42:54 +01:00
David Duque ad9979f9c6 Make the Show More link an actual button 2020-04-25 04:26:24 +01:00
David Duque e75d89113a Test 2020-04-25 04:17:55 +01:00
David Duque 7984d103a4 Test 2020-04-25 04:13:46 +01:00
David Duque 4309a6a875 Swap show-button order 2020-04-25 03:51:38 +01:00
David Duque 32e42f14fb Do not apply custom nginx dotfiles to the default webroot 2020-04-24 17:03:13 +01:00
David Duque d9567c0035 Use proper emojis for status checks 2020-04-24 15:50:01 +01:00
David Duque 7328990921 Installation instructions 2020-04-22 16:29:44 +01:00
David Duque 8ca34e18bd Properly configure nsd, bump version 2020-04-22 16:25:12 +01:00
David Duque 3589ac2c06 Don't interfere with locales right away, bump version 2020-04-22 16:14:20 +01:00
David Duque 2d228c0520 Remove PPA installation process 2020-04-21 14:59:54 +01:00
David Duque 8ba078c04b Attempt to fix some stuff and bump version 2020-04-21 14:48:16 +01:00
David Duque 372d5d9783 SMTP Relays: Wrap ternary operations correctly 2020-04-21 14:35:51 +01:00
David Duque 8aa1ea23c8 Use describe --tags when comparing versions 2020-04-21 14:26:51 +01:00
David Duque 2176d59727 Version check will now use the correct endpoint 2020-04-20 23:35:11 +01:00
David Duque d98825f609 Update pre-flights, bump version 2020-04-20 23:31:18 +01:00
David Duque ab9dbdf270 Default conf: don't repeat the upstream php conf 2020-04-20 20:01:19 +01:00
David Duque 502a4d2128 Uhhhh, yeah 2020-04-20 19:38:50 +01:00
David Duque 7ff5a336a6 Always assign default config to primary hostname 2020-04-20 19:35:20 +01:00
David Duque c401625a01 Don't overwrite 2020-04-20 19:20:26 +01:00
David Duque 5f15c2e53b Fix some stuff 2020-04-20 19:15:43 +01:00
David Duque 49da79cbd9 Oops (yet again) 2020-04-20 19:06:19 +01:00
David Duque 7f5a939e50 Throw failure reason (web update) 2020-04-20 18:59:02 +01:00
David Duque 3396bdbb22 Use get_web_root instead of raw indexing 2020-04-20 18:54:27 +01:00
David Duque 8c5ff2b523 Screwed up on the path 2020-04-20 18:28:13 +01:00
David Duque b2c2d61867 Oops 2020-04-20 18:23:45 +01:00
David Duque 72070ee7bd Create custom nginx files 2020-04-20 18:17:41 +01:00
David Duque 830248bf66 README update 2020-04-20 15:57:47 +01:00
David Duque b6342d34d2 Start web templating work 2020-04-20 15:55:05 +01:00
David Duque 2ce037af5e Modifications to nginx configuration files 2020-04-20 13:05:58 +01:00
David Duque 9a6a35cadc Update version display 2020-04-20 00:43:20 +01:00
David Duque ecb575e686 git describe --tags 2020-04-18 15:17:13 +01:00
David Duque 4ed014a50c Add SMTP Relay status checks 2020-04-18 15:00:51 +01:00
David Duque 3bfdb0d77b Version bump documentation 2020-04-18 14:45:42 +01:00
David Duque a8be38fcc0 Refer to Debian instead of Ubuntu 2020-04-18 14:43:24 +01:00
David Duque 47622d5e0b HTML Redirect 2020-04-18 14:40:07 +01:00
David Duque ad3a78a300 relayhost, not relay_host, and key, not pass 2020-04-18 11:56:30 +01:00
David Duque da7fe68daa pls 2020-04-18 00:38:36 +01:00
David Duque eee5dbf755 Is this it? 2020-04-18 00:22:10 +01:00
David Duque 8f247e3b70 Import other stuff 2020-04-18 00:13:13 +01:00
David Duque 10e4b79423 Fixing editconf input 2020-04-18 00:00:35 +01:00
David Duque 625eca8ea4 Swap tuple by a list 2020-04-17 23:48:39 +01:00
David Duque 858251045d Cleanup 2020-04-17 23:39:52 +01:00
David Duque 52e9afcf2f Just use the script directly 2020-04-17 22:59:25 +01:00
David Duque c96c04b39d I screwed up 2020-04-17 22:21:06 +01:00
David Duque 6f76ae68fd Fix expression 2020-04-17 22:16:08 +01:00
David Duque 2c439abb64 Unpack argv 2020-04-17 20:53:49 +01:00
David Duque b9dec64ea1 Merge branch 'master' of github.com:ddavness/mailinabox 2020-04-17 19:54:44 +01:00