Skip to content

Commit 1b287ff

Browse files
committed
Merge branch 'master' into feature/800
Conflicts: web/js/pages/edit_web.js
2 parents c2f39ce + 31b55f3 commit 1b287ff

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+830
-620
lines changed

bin/v-deactivate-vesta-license

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# info: deactivate vesta license
33
# options: MODULE LICENSE
44
#
5-
# The function activates and register vesta license
5+
# The function deactivates vesta license
66

77

88
#----------------------------------------------------------#

bin/v-delete-sys-sftp-jail

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# info: delete system sftp jail
33
# options: NONE
44
#
5-
# The script enables sftp jailed environment
5+
# The script disables sftp jailed environment
66

77

88
#----------------------------------------------------------#

bin/v-delete-user-sftp-jail

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# info: delete user sftp jail
33
# options: USER
44
#
5-
# The script enables sftp jailed environment
5+
# The script disables sftp jailed environment for USER
66

77

88
#----------------------------------------------------------#
506 KB
Binary file not shown.

install/vst-install-debian.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,6 +1089,28 @@ if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
10891089
if [ "$release" -eq 8 ]; then
10901090
mv -f /etc/roundcube/main.inc.php /etc/roundcube/config.inc.php
10911091
mv -f /etc/roundcube/db.inc.php /etc/roundcube/debian-db-roundcube.php
1092+
1093+
# RoundCube tinyMCE fix
1094+
tinymceFixArchiveURL=$vestacp/roundcube/roundcube-tinymce.tar.gz
1095+
tinymceParentFolder=/usr/share/roundcube/program/js
1096+
tinymceFolder=$tinymceParentFolder/tinymce
1097+
tinymceBadJS=$tinymceFolder/tiny_mce.js
1098+
tinymceFixArchive=$tinymceParentFolder/roundcube-tinymce.tar.gz
1099+
if [[ -L "$tinymceFolder" && -d "$tinymceFolder" ]]; then
1100+
if [ -f "$tinymceBadJS" ]; then
1101+
wget $tinymceFixArchiveURL -O $tinymceFixArchive
1102+
if [[ -f "$tinymceFixArchive" && -s "$tinymceFixArchive" ]]; then
1103+
rm $tinymceFolder
1104+
tar -xzf $tinymceFixArchive -C $tinymceParentFolder
1105+
rm $tinymceFixArchive
1106+
chown -R root:root $tinymceFolder
1107+
else
1108+
echo "File roundcube-tinymce.tar.gz is not downloaded, RoundCube tinyMCE fix is not applied"
1109+
rm $tinymceFixArchive
1110+
fi
1111+
fi
1112+
fi
1113+
10921114
fi
10931115
fi
10941116

web/add/web/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
if (!empty($v_domain)) $v_ftp_user_prepath .= $v_domain;
9191

9292
// Set advanced option checkmark
93-
if (empty($_POST['v_proxy'])) $v_adv = 'yes';
93+
if (!empty($_POST['v_proxy'])) $v_adv = 'yes';
9494
if (!empty($_POST['v_ftp'])) $v_adv = 'yes';
9595
if ($_POST['v_proxy_ext'] != $v_proxy_ext) $v_adv = 'yes';
9696
if ((!empty($_POST['v_aliases'])) && ($_POST['v_aliases'] != 'www.'.$_POST['v_domain'])) $v_adv = 'yes';

web/css/file_manager.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,11 @@ ul.listing { list-style-type: none; padding: 18px 0 0; margin: -4px 0 0 -1px; b
270270
.confirm-box .controls .keep-original:hover { color: #FFCC00; }
271271
.confirm-box .controls .keep-original:active { color: #6DB8D3; }
272272

273+
.confirm-box .chmod-mask,
273274
.confirm-box .new-title { background-color: #292929; border: 1px solid #111; color: #eee; font-family: Arial; font-size: 16px; margin-bottom: 73px; margin-left: 27px; padding: 10px 14px; width: 396px; }
275+
.confirm-box .chmod-mask:focus,
274276
.confirm-box .new-title:focus { border: 1px solid #FFCC00; box-shadow: 0 0 5px 0 rgba(255, 204, 0 , 0.3); }
277+
.confirm-box .chmod-mask { width: 28px; margin: -12px 0 42px 57px; }
275278

276279
.confirm-box.rename .message { margin-bottom: 36px; }
277280
.confirm-box.rename .controls.replace { display: none; }

web/css/styles.min.css

Lines changed: 48 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,6 +1285,10 @@ div.l-content > div.l-separator:nth-of-type(4) {
12851285
height: 28px;
12861286
min-width: 208px;
12871287
padding-left: 4px;
1288+
appearance:none;
1289+
-moz-appearance:none;
1290+
-webkit-appearance:none;
1291+
padding-left: 10px;
12881292
}
12891293
.l-select select:focus {
12901294
border: 0;
@@ -1324,7 +1328,7 @@ div.l-content > div.l-separator:nth-of-type(4) {
13241328
border-bottom: none;
13251329
}
13261330

1327-
.l-unit-ftl {
1331+
.l-unit-ft {
13281332
color: #929292;
13291333
padding: 0 0 0 15px;
13301334
}
@@ -2465,6 +2469,7 @@ label {
24652469
font-size: 19px;
24662470
font-weight: normal;
24672471
height: 43px;
2472+
cursor: pointer;
24682473
margin: 2px 6px 0 0;
24692474
min-width: 138px;
24702475
padding: 8px 1px 6px 10px;
@@ -2475,7 +2480,6 @@ label {
24752480
-moz-appearance:none;
24762481
-webkit-appearance:none;
24772482
text-shadow: 0 0 0 #555;
2478-
/*color: transparent !important;*/
24792483
}
24802484

24812485
.vst-list.long-2 {
@@ -2493,6 +2497,23 @@ label {
24932497
color: #333;
24942498
}
24952499

2500+
.vst-list.flat {
2501+
border: 1px solid #fff;
2502+
color: #2c9491;
2503+
text-transform: uppercase;
2504+
font-weight: bold;
2505+
font-size: 11px;
2506+
margin-left: -14px;
2507+
background-position: -210px -604px;
2508+
text-shadow: none !important;
2509+
}
2510+
.vst-list.flat:hover {
2511+
color: #ff6701;
2512+
}
2513+
.vst-list.flat option {
2514+
color: #555;
2515+
}
2516+
24962517
a.vst-text,
24972518
a.vst-text b{
24982519
color: #2c9491;
@@ -2537,6 +2558,9 @@ a.vst-text:active b{
25372558
font-family:"Lucida Console", Monaco, monospace;
25382559
white-space: pre;
25392560
}
2561+
.vst-textinput.short {
2562+
width: 360px;
2563+
}
25402564
#advanced-options .console{
25412565
width: 833px;
25422566
height: 600px;
@@ -2808,18 +2832,37 @@ a.button.cancel {
28082832
vertical-align: top;
28092833
}
28102834
.mail-infoblock {
2811-
padding-top: 80px;
2812-
margin-left: -100px;
2835+
margin-left: -110px;
28132836
font-size: 12px;
28142837
color: #777;
2838+
border: 1px solid #d9d9d9;
2839+
padding: 0px 5px 12px 20px;
2840+
margin-top: 64px;
2841+
width: 334px;
2842+
overflow: hidden;
2843+
}
2844+
.mail-infoblock:hover {
2845+
overflow: visible;
28152846
}
28162847
.mail-infoblock td {
28172848
color: #777;
28182849
font-size: 14px;
28192850
height: 18px;
2820-
padding-right: 25px;
28212851
font-weight: normal;
28222852
}
2853+
.mail-infoblock td:first-child{
2854+
padding-right: 15px;
2855+
}
2856+
.mail-infoblock div {
2857+
width: 190px;
2858+
white-space: nowrap;
2859+
}
2860+
.mail-infoblock a {
2861+
color: #2c9491;
2862+
}
2863+
.mail-infoblock a:hover {
2864+
color: #ff6701;
2865+
}
28232866

28242867
.additional-info {
28252868
margin-left: 30px;

web/inc/i18n/ar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@
746746
'No encryption' => 'No encryption',
747747
'Do not use encryption' => 'Do not use encryption',
748748

749-
'maximum 16 characters length, including prefix' => 'maximum 16 characters length, including prefix',
749+
'maximum characters length, including prefix' => 'maximum %s characters length, including prefix',
750750

751751
// Texts below doesn't exist in en.php
752752
'%s rule' => 'قواعد %s',

web/inc/i18n/bs.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,5 +745,6 @@
745745
'No encryption' => 'Bez enkripcije',
746746
'Do not use encryption' => 'Nemoj koristiti enkripciju',
747747

748-
'maximum 16 characters length, including prefix' => 'maximum 16 characters length, including prefix',
748+
'maximum characters length, including prefix' => 'maksimalna dužina sme biti %s karaktera, uključujući i prefix',
749+
749750
);

0 commit comments

Comments
 (0)