Compare commits
232 Commits
dev/improv
...
dev/server
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
486b323990 | ||
|
|
4b89587726 | ||
|
|
f24fa4af6a | ||
|
|
dda33af768 | ||
|
|
cc05c62609 | ||
|
|
3c113c9278 | ||
|
|
8b09edc5d3 | ||
|
|
643ace4777 | ||
|
|
097e24a7b1 | ||
|
|
f797d29b81 | ||
|
|
aca381b118 | ||
|
|
195ea913df | ||
|
|
7232db4b57 | ||
|
|
f688f29029 | ||
|
|
057f10d868 | ||
|
|
086ebe845a | ||
|
|
3e47779858 | ||
|
|
39132506e8 | ||
|
|
71dc51523a | ||
|
|
93a853f95f | ||
|
|
c0edba233a | ||
|
|
368dacd028 | ||
|
|
b49d4f8147 | ||
|
|
8f3fb71b68 | ||
|
|
01e4a5145d | ||
|
|
f3bc8c9061 | ||
|
|
9e58110854 | ||
|
|
2b2ead4d7d | ||
|
|
827c77c960 | ||
|
|
9db9582f4a | ||
|
|
20f0538c64 | ||
|
|
a026b69736 | ||
|
|
5b760082d9 | ||
|
|
487b11e9be | ||
|
|
8c236004c9 | ||
|
|
1025f8c657 | ||
|
|
14ad4cbf85 | ||
|
|
0a1f12c22b | ||
|
|
a9070e4bc3 | ||
|
|
679a590b0c | ||
|
|
797dd6a59c | ||
|
|
0b72f7f895 | ||
|
|
6472213dcc | ||
|
|
80df962012 | ||
|
|
944236d454 | ||
|
|
43dc4a479e | ||
|
|
9355b4969d | ||
|
|
0cd1d43fef | ||
|
|
44b06c8908 | ||
|
|
d78b8e0e1d | ||
|
|
312f55fe11 | ||
|
|
87b54273ff | ||
|
|
dedfaa49ae | ||
|
|
944400a136 | ||
|
|
d3cdbbcc4b | ||
|
|
ef9e525bd6 | ||
|
|
0754367f48 | ||
|
|
3a7145b2e3 | ||
|
|
8dd96e2aca | ||
|
|
f49539ad96 | ||
|
|
739411a07e | ||
|
|
ea8c76b5b8 | ||
|
|
d191f1ba92 | ||
|
|
444c101d19 | ||
|
|
9017d290bc | ||
|
|
2733f945c5 | ||
|
|
231df9c37f | ||
|
|
dbde3d370b | ||
|
|
1e07f0c93a | ||
|
|
9ed3fd2237 | ||
|
|
629ca21a3a | ||
|
|
0f898b161b | ||
|
|
de53c330d6 | ||
|
|
d9401ff1b7 | ||
|
|
e33c5aa630 | ||
|
|
8ac62d43bd | ||
|
|
c2c3533e4e | ||
|
|
bfe966f6cf | ||
|
|
75b1401e62 | ||
|
|
f1159015ed | ||
|
|
9c348f7909 | ||
|
|
c80d854054 | ||
|
|
f6299b4e29 | ||
|
|
b91e25aa6f | ||
|
|
a268373550 | ||
|
|
8d595a7ac5 | ||
|
|
2065602494 | ||
|
|
d27e37efbf | ||
|
|
85f9402bfe | ||
|
|
6bb6a0de01 | ||
|
|
081dfbe373 | ||
|
|
8d330a95de | ||
|
|
ac5f974d5c | ||
|
|
3f1306e9cf | ||
|
|
8bd7c32c10 | ||
|
|
cf7165ffaa | ||
|
|
dd4c7e6fe1 | ||
|
|
5aa1986a30 | ||
|
|
ff09a096cb | ||
|
|
ca74a730ee | ||
|
|
e208907db1 | ||
|
|
83c0cb66e5 | ||
|
|
675dd4d269 | ||
|
|
f49f068cdc | ||
|
|
f39282e0d0 | ||
|
|
b66a2ac0c2 | ||
|
|
2bc982127d | ||
|
|
21e76d19bf | ||
|
|
5ec3664397 | ||
|
|
be449d6fe2 | ||
|
|
1248c603e6 | ||
|
|
1ba3cdcbc9 | ||
|
|
3e5b68507e | ||
|
|
d11257cf84 | ||
|
|
a2204e46e0 | ||
|
|
61197c485f | ||
|
|
3f39df4203 | ||
|
|
6386ece898 | ||
|
|
ead4e97574 | ||
|
|
209ee473de | ||
|
|
4e06d22d85 | ||
|
|
a70a0de807 | ||
|
|
2788697c25 | ||
|
|
126b96730b | ||
|
|
c24c544225 | ||
|
|
7373913b0b | ||
|
|
90a21972ad | ||
|
|
17c3dbcf81 | ||
|
|
2ae51b03fd | ||
|
|
a353a11653 | ||
|
|
61e80f5d9f | ||
|
|
f931b6dc01 | ||
|
|
2ae5317946 | ||
|
|
50e4738f61 | ||
|
|
46a6379510 | ||
|
|
a0ede6b7e9 | ||
|
|
f27277c4eb | ||
|
|
d53bace45c | ||
|
|
1b689c4eb9 | ||
|
|
5677804487 | ||
|
|
e70d5ce764 | ||
|
|
45d6c8d235 | ||
|
|
a95ccc006b | ||
|
|
9bcf02a9b0 | ||
|
|
8c5a479d3a | ||
|
|
6872d8b6d6 | ||
|
|
036c08bb1d | ||
|
|
61805cee73 | ||
|
|
665c867601 | ||
|
|
3509d76a8c | ||
|
|
e55f6d0908 | ||
|
|
b00f24f0b5 | ||
|
|
07a46ff561 | ||
|
|
5954e40808 | ||
|
|
3e9a0e84fc | ||
|
|
a837b21013 | ||
|
|
a38229817a | ||
|
|
90c36605e8 | ||
|
|
e552c68f7e | ||
|
|
7708bc240c | ||
|
|
f6a3381682 | ||
|
|
fffe6fad63 | ||
|
|
cd1345cf30 | ||
|
|
e8264986af | ||
|
|
472bd9c0e4 | ||
|
|
18552ad5ab | ||
|
|
1bdcc54f21 | ||
|
|
ca5c75785d | ||
|
|
d0e84297eb | ||
|
|
df3b10c449 | ||
|
|
72c5e39121 | ||
|
|
cdd01e41bb | ||
|
|
5fc5fea30a | ||
|
|
a276ca7c14 | ||
|
|
a58fcffcb3 | ||
|
|
12bca2adb8 | ||
|
|
33fd258c71 | ||
|
|
9a69913ccb | ||
|
|
3d67e17cef | ||
|
|
61a40022d7 | ||
|
|
5a7dd1a458 | ||
|
|
74202c964f | ||
|
|
dc7d517989 | ||
|
|
b662f8d0c3 | ||
|
|
191ea97ea7 | ||
|
|
b0f33b6156 | ||
|
|
98b67cd60e | ||
|
|
edffeba60b | ||
|
|
88ae0b68f0 | ||
|
|
303b5ee31a | ||
|
|
f694b01535 | ||
|
|
37857ceeed | ||
|
|
5b8239c239 | ||
|
|
8e3fdf43b0 | ||
|
|
c7198232f5 | ||
|
|
3855a5f480 | ||
|
|
37a03e720c | ||
|
|
58229c1653 | ||
|
|
4ee13f0e20 | ||
|
|
8d66b62fce | ||
|
|
eae51d8492 | ||
|
|
1a0dec8f1e | ||
|
|
991e10a266 | ||
|
|
ec21297448 | ||
|
|
b97acb1e21 | ||
|
|
02236da8bc | ||
|
|
b3ab3f65a8 | ||
|
|
a5ba7ebe05 | ||
|
|
0e93560003 | ||
|
|
35922c6da6 | ||
|
|
71267fb601 | ||
|
|
6a079198bd | ||
|
|
88bd2825ab | ||
|
|
13da04673f | ||
|
|
68d6d831a1 | ||
|
|
23bd2fbe3f | ||
|
|
e56298f55b | ||
|
|
f19acd68b2 | ||
|
|
57df3868b5 | ||
|
|
ff140aab1b | ||
|
|
754f1efc66 | ||
|
|
2d9ddefe50 | ||
|
|
aa01bc8231 | ||
|
|
add8a4eff6 | ||
|
|
605a32f87d | ||
|
|
7988abf900 | ||
|
|
08141fae66 | ||
|
|
2be85afce9 | ||
|
|
e77b97bc5f | ||
|
|
385d006c08 | ||
|
|
5db29277e4 | ||
|
|
21f4a9b368 |
@@ -207,7 +207,7 @@ if ($access{'lang'}) {
|
||||
if ($access{'locale'}) {
|
||||
# Current locale
|
||||
eval "use DateTime; use DateTime::Locale; use DateTime::TimeZone;";
|
||||
if (!$@) {
|
||||
if (!$@ && $] > 5.011) {
|
||||
my $locales = &list_locales();
|
||||
my %localesrev = reverse %{$locales};
|
||||
my $locale_auto = &parse_accepted_language();
|
||||
|
||||
@@ -1041,7 +1041,7 @@ sub edit_LimitRequestBody
|
||||
{
|
||||
return (1, $text{'core_maxbody'},
|
||||
&opt_input($_[0]->{'value'}, "LimitRequestBody", $text{'core_default'}, 8)
|
||||
.$text{'bytes'});
|
||||
.&ui_space(2).$text{'bytes'});
|
||||
}
|
||||
sub save_LimitRequestBody
|
||||
{
|
||||
@@ -1052,7 +1052,7 @@ sub edit_LimitXMLRequestBody
|
||||
{
|
||||
return (1, $text{'core_maxxml'},
|
||||
&opt_input($_[0]->{'value'}, "LimitXMLRequestBody",
|
||||
$text{'core_default'}, 8).$text{'bytes'});
|
||||
$text{'core_default'}, 8).&ui_space(2).$text{'bytes'});
|
||||
}
|
||||
sub save_LimitXMLRequestBody
|
||||
{
|
||||
|
||||
@@ -637,6 +637,7 @@ mod_proxy_preserve=Preserve original Host: header
|
||||
mod_proxy_timeout=Proxy request timeout in seconds
|
||||
mod_proxy_etimeout=Proxy request timeout must be a number of seconds
|
||||
mod_proxy_via=Set Via: headers
|
||||
mod_proxy_preserve=Preserve original HTTP host
|
||||
mod_proxy_not=None
|
||||
|
||||
mod_log_agent_default=Default
|
||||
|
||||
@@ -25,6 +25,7 @@ $rv = [ [ 'ProxyRequests', 0, 13, 'virtual', undef, 11 ],
|
||||
[ 'ProxyMaxForwards', 0, 13, 'virtual', 2.0 ],
|
||||
[ 'ProxyPreserveHost', 0, 13, 'virtual', 2.031 ],
|
||||
[ 'ProxyTimeout', 0, 13, 'virtual', 2.031 ],
|
||||
[ 'ProxyPreserveHost', 0, 13, 'virtual', 2.3 ],
|
||||
[ 'ProxyVia', 0, 13, 'virtual', 2.0 ] ];
|
||||
return &make_directives($rv, $_[0], "mod_proxy");
|
||||
}
|
||||
@@ -291,7 +292,16 @@ sub save_ProxyVia
|
||||
return &parse_choice("ProxyVia", "");
|
||||
}
|
||||
|
||||
|
||||
sub edit_ProxyPreserveHost
|
||||
{
|
||||
return (1, $text{'mod_proxy_preserve'},
|
||||
&choice_input($_[0]->{'value'}, "ProxyPreserveHost", "",
|
||||
"$text{'yes'},on", "$text{'no'},off", "$text{'default'},"));
|
||||
}
|
||||
sub save_ProxyPreserveHost
|
||||
{
|
||||
return &parse_choice("ProxyPreserveHost", "");
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ sub edit_SuexecUserGroup
|
||||
local $rv;
|
||||
$rv .= sprintf "<input type=radio name=SuexecUserGroup_def value=1 %s> %s\n",
|
||||
$_[0] ? "" : "checked", $text{'suexec_none'};
|
||||
$rv .= &ui_newline();
|
||||
$rv .= sprintf "<input type=radio name=SuexecUserGroup_def value=0 %s>\n",
|
||||
$_[0] ? "checked" : "";
|
||||
$rv .= sprintf "%s <input name=SuexecUserGroup_u size=8 value='%s'> %s\n",
|
||||
|
||||
@@ -65,10 +65,10 @@ our @dnssec_dlv_key = ( 257, 3, 5, '"BEAAAAPHMu/5onzrEE7z1egmhg/WPO0+juoZrW3euWE
|
||||
|
||||
my $rand_flag;
|
||||
if ($gconfig{'os_type'} =~ /-linux$/ &&
|
||||
$config{'force_random'} eq '0' &&
|
||||
-r "/dev/urandom" &&
|
||||
!$config{'force_random'} &&
|
||||
$bind_version &&
|
||||
&compare_version_numbers($bind_version, '9.14') < 0) {
|
||||
$bind_version =~ /^9\./ &&
|
||||
&compare_version_numbers($bind_version, '<', '9.14.2')) {
|
||||
# Version: 9.14.2 deprecated the use of -r option
|
||||
# in favor of using /dev/random [bugs:#5370]
|
||||
$rand_flag = "-r /dev/urandom";
|
||||
|
||||
@@ -17,6 +17,14 @@ my $dom = $zone->{'name'};
|
||||
&ui_print_header(&zone_subhead($zone), $text{'master_title'}, "",
|
||||
undef, undef, undef, undef, &restart_links($zone));
|
||||
|
||||
my $d = &get_virtualmin_domains($dom);
|
||||
if ($d && $d->{'alias'}) {
|
||||
print &ui_alert_box($text{'master_vminalias'}, 'danger');
|
||||
}
|
||||
elsif ($d) {
|
||||
print &ui_alert_box($text{'master_vmin'}, 'warn');
|
||||
}
|
||||
|
||||
# Find the record types
|
||||
my (@rcodes, @recs);
|
||||
if (!$config{'largezones'}) {
|
||||
|
||||
@@ -147,6 +147,8 @@ master_defttl=Default time-to-live for records
|
||||
master_edefttl='$1' is not a valid default time-to-live for records
|
||||
master_esoagone=No SOA record found!
|
||||
master_einclude=Additional template file does not exist
|
||||
master_vmin=This zone is managed by Virtualmin. Records should be edited using the Virtualmin UI, to ensure they are consistent with other virtual server settings.
|
||||
master_vminalias=This zone is an alias of a Virtualmin domain, which is kept in sync with it's target. Records should never be edited here, as any changes will be overwritten!
|
||||
|
||||
delete_title=Delete Zone
|
||||
delete_mesg=Are you sure you want to delete the zone $1 ? All records and the zone file will be deleted.
|
||||
|
||||
@@ -59,9 +59,9 @@ if ($access{'lang'}) {
|
||||
|
||||
# Old datetime format or a new locale
|
||||
if ($access{'locale'}) {
|
||||
eval "use DateTime; use DateTime::Locale; use DateTime::TimeZone;";
|
||||
&foreign_require('webmin');
|
||||
if (!$@) {
|
||||
eval "use DateTime; use DateTime::Locale; use DateTime::TimeZone;";
|
||||
if (!$@ && $] > 5.011) {
|
||||
my $locales = &list_locales();
|
||||
my %localesrev = reverse %{$locales};
|
||||
my $locale = $locale_auto || $gconfig{'locale'} || &get_default_system_locale();
|
||||
|
||||
@@ -925,7 +925,7 @@ $table .= &ui_columns_row(\@cols, [ "valign=top", "valign=top", "valign=top",
|
||||
"valign=top", "valign=top" ]);
|
||||
$table .= &ui_columns_end();
|
||||
$table .= $text{'edit_ctrl'};
|
||||
$rv .= &ui_table_row(undef, $table, $width);
|
||||
$rv .= &ui_table_row(undef, $table, $width, undef, ['data-schedule-tr']);
|
||||
return $rv;
|
||||
}
|
||||
|
||||
|
||||
@@ -74,12 +74,12 @@ open(FILE, "<".$_[0]);
|
||||
while($line = <FILE>) {
|
||||
# strip comments
|
||||
$line =~ s/\r|\n//g;
|
||||
$line =~ s/([^\\])\\"/$1\\042/g; # convert escaped quotes to \042
|
||||
$line =~ s/^([^"#]*)#.*$/$1/g;
|
||||
$line =~ s/^([^"]*)\/\/.*$/$1/g;
|
||||
$line =~ s/^([^"]*)\s+#.*$/$1/g; # remove stuff after #, unless
|
||||
$line =~ s/^(.*".*".*)\s+#.*$/$1/g; # it is inside quotes
|
||||
$line =~ s/\\\\/\\134/g; # convert \\ into \134
|
||||
$line =~ s/([^\\])\\"/$1\\042/g; # convert escaped quotes to \042
|
||||
while(1) {
|
||||
if (!$cmode && $line =~ /\/\*/ && $line !~ /\".*\/\*.*\"/) {
|
||||
# start of a C-style comment
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
../mailboxes/xinha
|
||||
|
Before Width: | Height: | Size: 57 B After Width: | Height: | Size: 57 B |
|
Before Width: | Height: | Size: 63 B After Width: | Height: | Size: 63 B |
|
Before Width: | Height: | Size: 69 B After Width: | Height: | Size: 69 B |
|
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 134 B After Width: | Height: | Size: 134 B |
|
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 150 B |
|
Before Width: | Height: | Size: 128 B After Width: | Height: | Size: 128 B |
|
Before Width: | Height: | Size: 131 B After Width: | Height: | Size: 131 B |
|
Before Width: | Height: | Size: 134 B After Width: | Height: | Size: 134 B |
|
Before Width: | Height: | Size: 57 B After Width: | Height: | Size: 57 B |
|
Before Width: | Height: | Size: 63 B After Width: | Height: | Size: 63 B |
|
Before Width: | Height: | Size: 69 B After Width: | Height: | Size: 69 B |
|
Before Width: | Height: | Size: 76 B After Width: | Height: | Size: 76 B |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 61 B After Width: | Height: | Size: 61 B |
|
Before Width: | Height: | Size: 60 B After Width: | Height: | Size: 60 B |
|
Before Width: | Height: | Size: 60 B After Width: | Height: | Size: 60 B |
|
Before Width: | Height: | Size: 61 B After Width: | Height: | Size: 61 B |
|
Before Width: | Height: | Size: 56 B After Width: | Height: | Size: 56 B |
|
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 134 B After Width: | Height: | Size: 134 B |
|
Before Width: | Height: | Size: 134 B After Width: | Height: | Size: 134 B |
|
Before Width: | Height: | Size: 172 B After Width: | Height: | Size: 172 B |
|
Before Width: | Height: | Size: 164 B After Width: | Height: | Size: 164 B |
|
Before Width: | Height: | Size: 97 B After Width: | Height: | Size: 97 B |
|
Before Width: | Height: | Size: 50 B After Width: | Height: | Size: 50 B |
|
Before Width: | Height: | Size: 78 B After Width: | Height: | Size: 78 B |
|
Before Width: | Height: | Size: 80 B After Width: | Height: | Size: 80 B |
|
Before Width: | Height: | Size: 57 B After Width: | Height: | Size: 57 B |
|
Before Width: | Height: | Size: 67 B After Width: | Height: | Size: 67 B |
|
Before Width: | Height: | Size: 66 B After Width: | Height: | Size: 66 B |
|
Before Width: | Height: | Size: 67 B After Width: | Height: | Size: 67 B |
|
Before Width: | Height: | Size: 67 B After Width: | Height: | Size: 67 B |
|
Before Width: | Height: | Size: 69 B After Width: | Height: | Size: 69 B |
|
Before Width: | Height: | Size: 55 B After Width: | Height: | Size: 55 B |
|
Before Width: | Height: | Size: 53 B After Width: | Height: | Size: 53 B |
|
Before Width: | Height: | Size: 64 B After Width: | Height: | Size: 64 B |
|
Before Width: | Height: | Size: 125 B After Width: | Height: | Size: 125 B |
|
Before Width: | Height: | Size: 84 B After Width: | Height: | Size: 84 B |
|
Before Width: | Height: | Size: 84 B After Width: | Height: | Size: 84 B |
|
Before Width: | Height: | Size: 151 B After Width: | Height: | Size: 151 B |
|
Before Width: | Height: | Size: 72 B After Width: | Height: | Size: 72 B |
|
Before Width: | Height: | Size: 78 B After Width: | Height: | Size: 78 B |
|
Before Width: | Height: | Size: 72 B After Width: | Height: | Size: 72 B |
|
Before Width: | Height: | Size: 76 B After Width: | Height: | Size: 76 B |
|
Before Width: | Height: | Size: 100 B After Width: | Height: | Size: 100 B |
|
Before Width: | Height: | Size: 126 B After Width: | Height: | Size: 126 B |
|
Before Width: | Height: | Size: 117 B After Width: | Height: | Size: 117 B |
|
Before Width: | Height: | Size: 67 B After Width: | Height: | Size: 67 B |
|
Before Width: | Height: | Size: 75 B After Width: | Height: | Size: 75 B |
|
Before Width: | Height: | Size: 105 B After Width: | Height: | Size: 105 B |
|
Before Width: | Height: | Size: 128 B After Width: | Height: | Size: 128 B |
|
Before Width: | Height: | Size: 230 B After Width: | Height: | Size: 230 B |
|
Before Width: | Height: | Size: 104 B After Width: | Height: | Size: 104 B |
|
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 150 B |
|
Before Width: | Height: | Size: 88 B After Width: | Height: | Size: 88 B |
|
Before Width: | Height: | Size: 82 B After Width: | Height: | Size: 82 B |
|
Before Width: | Height: | Size: 111 B After Width: | Height: | Size: 111 B |
|
Before Width: | Height: | Size: 67 B After Width: | Height: | Size: 67 B |
|
Before Width: | Height: | Size: 652 B After Width: | Height: | Size: 652 B |
|
Before Width: | Height: | Size: 128 B After Width: | Height: | Size: 128 B |
|
Before Width: | Height: | Size: 131 B After Width: | Height: | Size: 131 B |
|
Before Width: | Height: | Size: 134 B After Width: | Height: | Size: 134 B |
|
Before Width: | Height: | Size: 87 B After Width: | Height: | Size: 87 B |
|
Before Width: | Height: | Size: 87 B After Width: | Height: | Size: 87 B |
|
Before Width: | Height: | Size: 104 B After Width: | Height: | Size: 104 B |
|
Before Width: | Height: | Size: 148 B After Width: | Height: | Size: 148 B |
|
Before Width: | Height: | Size: 638 B After Width: | Height: | Size: 638 B |