Commit graph

3349 commits

Author SHA1 Message Date
Serghey Rodin
9873dfacd0 Fix for clamav: /var/run ownership and foreground option 2016-08-18 17:22:23 +03:00
Derrick Hammer
db9be6d244 *Strip double quotes and only add back if value has spaces or semicolon 2016-08-13 17:19:55 -04:00
Derrick Hammer
b40e33165a *Define USER_DATA in loop 2016-08-13 16:29:28 -04:00
Derrick Hammer
777939b7c2 Revert "*Run main.sh for each user"
This reverts commit 715d7d600f.
2016-08-13 16:28:51 -04:00
Derrick Hammer
6016d266b2 Revert "*main.sh needs to be executed outside of loop as well"
This reverts commit 90c4d479ba.
2016-08-13 16:28:28 -04:00
Derrick Hammer
90c4d479ba *main.sh needs to be executed outside of loop as well 2016-08-13 16:25:08 -04:00
Derrick Hammer
715d7d600f *Run main.sh for each user 2016-08-13 16:21:57 -04:00
Derrick Hammer
0f5f417581 *Fix fetching users 2016-08-13 16:13:08 -04:00
Derrick Hammer
5da94dff31 *Fix usage of add_object_key 2016-08-13 15:56:24 -04:00
Derrick Hammer
cdd70c3fdc *Use double quotes to follow formatting style 2016-08-13 15:25:27 -04:00
Derrick Hammer
949576ff19 *Leave out variable sign when running add_object_key 2016-08-13 15:21:50 -04:00
Derrick Hammer
443bf67095 *Increase sign limit to 100 2016-08-13 14:23:08 -04:00
Derrick Hammer
56b57040d5 *Invert logic 2016-08-13 14:07:13 -04:00
Serghey Rodin
81a0d978fc fix for empty aliases 2016-08-10 14:40:23 +03:00
Serghey Rodin
56210b7c9e fix for missing url after login 2016-08-10 14:39:23 +03:00
Serghey Rodin
317c90b38a FileManager create archvies 2016-08-10 14:36:54 +03:00
Serghey Rodin
4adbef4517 FileManager move function + small bugfixes 2016-08-09 19:22:45 +03:00
Serghey Rodin
7b924c0227 improving kondurake patches 2016-08-09 19:21:45 +03:00
skid
98752897f0 Defining PATH for root commands 2016-08-09 17:36:36 +03:00
skid
08bdff8ba3 improving kondurake patches 2016-08-09 17:33:37 +03:00
skid
652ba9c8f6 Merge branch 'master' of github.com:serghey-rodin/vesta 2016-08-09 16:25:42 +03:00
skid
9fb11527ba fix for domain validation on rhel5 2016-08-09 16:23:51 +03:00
Serghey Rodin
0561a213db php 5.6 for CentOS 2016-08-08 12:05:04 +03:00
Derrick Hammer
894522e77b *Update letsencrypt UI on load 2016-08-03 05:50:59 -04:00
Derrick Hammer
f1c7bafe7c *Don't error on empty ssl data if letsencrypt is on 2016-08-03 05:46:36 -04:00
Derrick Hammer
046ca885c0 *Fix typo 2016-08-03 05:31:44 -04:00
Derrick Hammer
a1d53e0489 *Fetch agreement URL from API 2016-08-03 05:08:12 -04:00
Derrick Hammer
48bced28e3 *Add letsencrypt GUI support 2016-08-03 04:00:01 -04:00
naumov-socolov
9cae6988b5 Merge pull request #803 from kondurake/patch-5
Fix "Parsing error" if a NAT IP is specified
2016-08-02 19:03:37 +03:00
naumov-socolov
6d1b5eb20f Merge pull request #801 from kondurake/patch-2
Show domain IP as "IP → NAT"
2016-08-02 18:48:56 +03:00
naumov-socolov
4375f79486 Merge pull request #802 from kondurake/patch-4
Fix "Parsing error" if a NAT IP is specified
2016-08-02 18:48:38 +03:00
kondurake
cfcc7d62a0 Fix "Parsing error" if a NAT IP is specified
https://bugs.vestacp.com/issues/325
2016-08-02 18:48:21 +03:00
kondurake
d7f4bc4a79 Fix "Parsing error" if a NAT IP is specified
https://bugs.vestacp.com/issues/325
2016-08-02 18:43:06 +03:00
kondurake
065f567a8b Show domain IP as "IP → NAT" 2016-08-02 18:37:41 +03:00
Derrick Hammer
50f1db1abf *Check for letsencrypt by the LETSENCRYPT object, not the cert metadata 2016-07-31 06:48:06 -04:00
Derrick Hammer
040f4192a7 *Add API command to disable letsencrypt for a domain 2016-07-31 06:47:08 -04:00
Derrick Hammer
b12190acba *Add LETSENCRYPT object to web config 2016-07-31 06:45:04 -04:00
Derrick Hammer
9ada699ddf *Copy/paste fail 2016-07-31 04:13:17 -04:00
Derrick Hammer
f8c8a33d40 *Set VESTA global variable and use everywhere 2016-07-31 04:06:38 -04:00
Derrick Hammer
b060bb612e *Fix key size by increasing to 4096 to be more secure and be compliant to letsencrypt 2016-07-31 03:25:21 -04:00
Derrick Hammer
721731dbd5 *Append $idn_domain to DKIM record names 2016-07-30 02:57:54 -04:00
Tjebbe Lievens
aacaf1b08f Improve email validation 2016-07-29 18:51:18 +02:00
Tjebbe Lievens
8ea7cf60d3 Fix is_format_valid 'user'
Error is showing but script isn't stopping when entering an invalid user.
2016-07-29 18:35:06 +02:00
Derrick Hammer
db4c2bcdf5 *delete config if domain is not in user web.conf 2016-07-23 15:17:12 -04:00
dpeca
5d6c0137c1 Fix for: /usr/local/vesta/func/db.sh: line 390: [: : integer expression expected
Every night cron is sending email with subject: Cron <admin@host> sudo /usr/local/vesta/bin/v-update-sys-queue disk
And content of that email is: /usr/local/vesta/func/db.sh: line 390: [: : integer expression expected

This is a fix for that bug.

I guess mysql for some databases returns empty string for DB size, so this will handle that case.
2016-07-21 02:27:51 +02:00
dpeca
c5ae7881af Fix for SMTP and IMAP hostname in add_mail_acc.html template
Dovecot and Exim4 is able to handle ONLY one TLS / SSL certs.
In most cases - it is a cert ONLY for server hostname.
So, if you point mail client to $v_domain for IMAP/SMTP TLS - mail client will popup a warning and it will say that certs are for server hostname - not for domain that client added.

So, in most cases (in 99% percents) it is better to point mail client to server hostname - because Exim4 and Dovecot have valid cert for server hostname.
2016-07-21 01:57:22 +02:00
dpeca
e2da4fbb18 Roundcube log permission fix
Roundcube is not able to write to /var/log/roundcube
This is a fix for it.

Reported as a bug long time ago - https://forum.vestacp.com/viewtopic.php?f=12&t=10114&p=39648#p38630
See last line at this post.
In v16 you accepted my pull request for password driver, but that was just a partial fix, because it needs to fix log permissions too.

Now here is a fix for roundcube log permissions.
2016-07-21 01:00:03 +02:00
dpeca
fb11b194b3 Changing password_vesta_host to server hostname
''Vesta Password Driver for Roundcube'' will try to make a HTTPS request to Vesta, in order to change mail password.
In /etc/roundcube/plugins/password/config.inc.php you have:
$rcmail_config['password_vesta_host'] = 'localhost';

That 'localhost' must be changed to server hostname, because HTTPS to localhost will not works if your server hostname is not 'localhost', because SSL certs are not for 'localhost' but for server hostname.

This line will change localhost to server hostname, and 'Vesta Password driver for Roundcube' will works.
2016-07-21 00:45:26 +02:00
dpeca
1c1ba0449c Removing AllowSupplementaryGroups from clamav.conf
Option 'AllowSupplementaryGroups' is not allowed anymore on new version of ClamAV
Reported as bug - https://bugs.vestacp.com/issues/279
Details - http://forum.vestacp.com/viewtopic.php?f=12&t=11884
2016-07-20 20:21:51 +02:00
huloza
9b7777d6fd ADD TLSA RECORD option to the DNS Manager 2016-07-20 05:52:40 -04:00