Commit graph

131 commits

Author SHA1 Message Date
Anton Reutov
0cdb05bb03
send email function to full backup 2021-07-28 20:24:25 +03:00
Anton Reutov
cde1cd6651
stopped to renew LE if domain is not exit more 2021-07-28 20:12:07 +03:00
Anton Reutov
93eec18723
Making sure chmod and chown does not follow symlinks 2021-07-27 15:21:52 +03:00
Anton Reutov
f41ad21e1e
Update main.sh 2021-07-27 15:06:11 +03:00
Anton Reutov
5f92fc5380
Added interface validation 2021-07-26 16:50:25 +03:00
Serghey Rodin
bb44f4197b hardering user validation 2019-07-30 18:32:30 +03:00
Serghey Rodin
f0b47b3220 rfc2324 partial support: any attempt to brew coffee with a teapot should result in the error code 418 - I'm a teapot 2019-07-22 16:55:55 +03:00
Serghey Rodin
faf7612c7e
Merge pull request #1349 from serghey-rodin/add-caa-record
Add CAA DNS record
2019-05-14 10:57:13 +03:00
Made I.T
2dc406aae4
Fix dubble www 2018-11-08 16:33:34 +01:00
Skull Writter
d2764a6481
Missing function: is_format_valid_shell 2018-08-31 15:35:21 +00:00
Marcos
0f48ec04f0 Do not allow {tab} on a domain name 2018-05-21 03:59:55 +02:00
Serghey Rodin
4f4cc763a7 RACK911LABS.COM: symlink check 2018-04-27 15:36:41 +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
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
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
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
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
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
Serghey Rodin
e5950d516d Code refactoring: domain_idn + new restart routine 2017-01-11 16:52:11 +02:00
Alexandros Ioannides
f04574d1f8 Better compression 2016-11-23 17:35:07 +02:00
Serghey Rodin
a2251186e9 user notification in main func inc 2016-11-09 17:46:12 +02:00
dpeca
654838bfc8 More informative error for long MySQL username
We talked about it at https://github.com/serghey-rodin/vesta/issues/860 issue
2016-10-26 02:53:03 +02:00
Serghey Rodin
0dd88f9244 Merge pull request #756 from Skamasle/patch-2
Fix bug 283 | Error: invalid mx_record format
2016-09-07 14:15:24 +03:00
Serghey Rodin
cc91141f8d Merge pull request #792 from tjebbeke/patch-7
Improve email validation
2016-08-30 00:12:21 +03:00
Tjebbe Lievens
cd2eed6fd3 use [:alnum:] in regex 2016-08-29 20:15:34 +02:00
Serghey Rodin
f3a3c4170f Merge pull request #772 from huloza/patch-1
Add TLSA Record Type to DNS Manager
2016-08-29 19:11:25 +03:00
Serghey Rodin
664c091e78 Merge pull request #791 from tjebbeke/patch-6
Fix user validation
2016-08-29 17:38:10 +03:00
Serghey Rodin
73177fe22c Merge pull request #822 from prodimon/master
mini fix
2016-08-29 16:51:57 +03:00
Serghey Rodin
1ed58a9efc ip format validator fix for cidr 2016-08-25 19:43:38 +03:00
Dmitry Bannik
f1c46e9ab8 fix charset russian language to send mail 2016-08-25 02:48:13 +03:00
skid
9fb11527ba fix for domain validation on rhel5 2016-08-09 16:23:51 +03: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
huloza
dd8a96d09d Added TLSA Record Type for DNS
sorry, i dont know the procedure for the Ideas but i created an Idea in Vesta Bug Tracker: https://bugs.vestacp.com/issues/306 

This add one more option on the Type record in DNS Manager, no need extra validation, also the file: admin/add_dns_rec.html needs to be modified to add the new option tag.
2016-07-20 05:45:40 -04:00
Serghey Rodin
430abcd0e0 fix for domain validator 2016-07-18 20:04:12 +03:00
Skamasle
aff5e9066f Update main.sh 2016-07-07 15:28:20 +02:00
Serghey Rodin
82c1c09f6d cidr ip format validator 2016-06-28 18:49:05 +03:00
Serghey Rodin
1bb57ecf63 changed validator for dbhost 2016-06-28 01:41:59 +03:00