Commit graph

441 commits

Author SHA1 Message Date
dpeca
525bd0f162
Adding function wait_for_backup_if_it_is_not_time_for_backup() 2018-10-28 03:42:39 +01:00
myvesta
2c05d7bcf2
Merge pull request #18 from serghey-rodin/master
update from master
2018-09-02 02:04:34 +02:00
Skull Writter
d2764a6481
Missing function: is_format_valid_shell 2018-08-31 15:35:21 +00:00
Chernyavskiy Leonid
ebc67f6478 Fix invalid extension replace in add_web_config
Do not use globbing, because it kills too many characters.
Use conditionals and search at the end of the line instead.
2018-08-24 14:05:58 +07:00
myvesta
0970485799
Merge pull request #7 from serghey-rodin/master
update from master
2018-06-01 16:54:20 +02:00
Alexandros Ioannides
5e536570de
Typo 2018-05-31 21:58:46 +03:00
myvesta
63e7e607c7
Merge pull request #6 from serghey-rodin/master
Update from master
2018-05-26 22:17:49 +02:00
Marcos
04a55260ca Fix delete domain 2018-05-26 20:14:47 +02:00
Marcos
0f48ec04f0 Do not allow {tab} on a domain name 2018-05-21 03:59:55 +02:00
myvesta
5d10ea26d5
Merge pull request #4 from serghey-rodin/master
updates from master branch
2018-05-14 16:55:36 +02:00
myvesta
2a26571648
Temporary fix for aliases 2018-05-03 17:27:49 +02:00
Serghey Rodin
4f4cc763a7 RACK911LABS.COM: symlink check 2018-04-27 15:36:41 +03:00
Serghey Rodin
b5874764a7 RACK911LABS.COM: safer mysql/pgsql query 2018-04-26 17:29:13 +03:00
Serghey Rodin
eaf9d89096 Auth fix 0.9.8-20 2018-04-09 00:44:32 +03:00
Serghey Rodin
3fdee2975d Hardening password checks 2018-04-08 21:50:32 +03:00
dpeca
d942f85d31
Clean-up for both config styles if there is no more domains
Fix #1458
2018-04-06 18:20:35 +02:00
dpeca
7ec123a861
Refactoring rebuild_mysql_database() func
Fix #1523
2018-04-06 14:50:42 +02:00
dpeca
b3d78bbfdb
Avoiding IF NOT EXISTS for MariaDB 5.x in rebuild_mysql_database() 2018-04-05 23:58:47 +02:00
dpeca
69f01fb227
Adding missing >/dev/null in rebuild_mysql_database() func 2018-04-05 23:12:42 +02:00
dpeca
eb7e6d2fba
Fixing MySQL restore user privileges (MariaDB)
Fix #1523
2018-04-05 22:07:36 +02:00
dpeca
6b97f7394c
Determining is it MySQL or MariaDB in mysql_connect() func 2018-04-05 21:55:39 +02:00
info@madeit.be
26c311b773 Revert "Fix default alias"
This reverts commit 74fa6d5b0c.
2018-02-13 22:17:33 +00:00
Maksim Usmanov | Maks
74fa6d5b0c
Fix default alias
This

grep -v www.$domain make imposible to add default alias or some order alias if contain www. wwww. hiwww. so if you delete your default alias you cant add it any more.

I check this and not know why is excluded, for me there is no reason for that grep
2018-02-13 22:54:34 +01:00
Anton Reutov
bc82fcaf71
Merge pull request #1453 from Skamasle/patch-19
Fix Min and hour limit in cron validation
2018-01-25 18:48:43 +03:00
Maksim Usmanov | Maks
2e03b516f8
Fix Min and hour limit in cron validation 2018-01-24 00:29:03 +01:00
Maksim Usmanov | Maks
5a108be182
Fix cron validation
New vesta cron generator not works if you have some format ranges like:

1,2 2 * 5,2,4,1
or
1-10 * * * *
2018-01-23 23:53:27 +01:00
Alexandr Loskutov
bea7ccd25e Fix backup restore 2018-01-18 14:32:25 +02:00
Serghey Rodin
3021abecb6 Fixed backup restore function 2018-01-10 14:06:11 +02:00
Serghey Rodin
b1449299bc improved domain validation 2017-12-29 02:53:38 +02:00
Serghey Rodin
5556e03090
Merge pull request #989 from Skamasle/patch-10
Fix for mysql 5.7 when reset password
2017-12-28 16:06:35 +02:00
Serghey Rodin
0c05448e08
Merge pull request #1260 from gohdan/find_symlinks
Add symlink support to find
2017-12-28 15:53:24 +02:00
Serghey Rodin
aefc654922
Merge pull request #1267 from IStranger/master
fix db.sh for postgres 9.5+
2017-12-28 15:52:16 +02:00
Serghey Rodin
8aff5db015 delted unnecessary backslashes 2017-12-28 15:22:42 +02:00
Serghey Rodin
f65edd6056
Merge pull request #1138 from serghey-rodin/madeITBelgium-patch-2
Fix for Databases size not updated.
2017-12-28 15:21:33 +02:00
Serghey Rodin
de6eb649ea
Merge pull request #1091 from Skamasle/patch-16
Fix DNS issue whit some characters
2017-12-28 14:58:05 +02:00
Serghey Rodin
5a42216130 Fix domain rebuild for new conf style 2017-12-27 19:08:28 +02:00
Serghey Rodin
3fbd3014c7 fix for new domain deletetion 2017-12-08 13:50:51 +02:00
Serghey Rodin
4053f9ac5d New style for web configs / separate conf per domain 2017-12-07 15:04:40 +02:00
Serghey Rodin
97b9673021 Fix for leading dot domains 2017-12-05 18:01:41 +02:00
Made I.T
2397137578
Add CAA record to is_dns_type_format_valid 2017-11-27 11:16:52 +01:00
G.Azamat
4868823057 fix db.sh for postgres 9.5+
fixed backup function for postgres 9.5+ (removed "-i" option)
2017-08-30 22:01:38 +05:00
Thomas Vranken
6329b7df21 Fixed typo in error message 2017-08-25 00:05:00 +02:00
Goh'Dan
fbfbda139a Add symlink support to find (pool can be symlinked, i. e. when using optional version of php) 2017-08-15 21:17:30 +03:00
Naumov-Socolov Dmitry
a7eadc00f9 fixed cron validation 2017-06-16 13:40:43 +01:00
dpeca
b1e1635443 Cron format validation fix
-lt is 'lower than', so if you have wday=7 it will not be valid, which is wrong, because wday range is 0-7.
Changed to -le which means 'lower or equal'
2017-05-05 15:07:44 +02:00
Made I.T
25e96c3216 Fix for Databases size not updated.
https://forum.vestacp.com/viewtopic.php?f=10&t=13526#p57651
2017-03-15 08:50:41 +01:00
dpeca
56cdadbe5c Making sure is always reseted in possible loops 2017-03-14 01:56:28 +01:00
dpeca
6d88ca31c3 Making sure domain_idn is always set 2017-03-05 23:34:07 +01:00
Maksim Usmanov | Maks
22084a79b6 Update main.sh 2017-02-22 15:20:26 +01:00
Maksim Usmanov | Maks
e64049af0e Fix DNS issue whit some characters
This will fix issues commented here: https://github.com/serghey-rodin/vesta/issues/1087

Changes:
1- Prevent user to add record as: record* or ** of *record only can add record if has * or *. so only valid wildcards
2- Prevent add records as record has record. record.. record-- record-
3- Prevent add records as -record .record and leave user add _record needed for dmarc, dkim and orther
4- prevent add dual special characters record..record or record--recoerd or record__record or record........record
2017-02-21 21:23:53 +01:00