mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Merge branch 'master' of github.com:webmin/webmin
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
## Changelog
|
||||
|
||||
#### 2.103 (September 18, 2023)
|
||||
#### 2.103 (September 30, 2023)
|
||||
* Add support for hostname detection using `hostnamectl` command
|
||||
* Add support for other ACME services
|
||||
* Add ability to hide dotfiles in File Manager [#1578](https://github.com/webmin/authentic-theme/issues/1578)
|
||||
* Add `xz`, `zstd` and plain `tar` support when creating archives in File Manager [#2009](https://github.com/webmin/webmin/issues/2009)
|
||||
* Add support for English (United States) (military time) locale
|
||||
* Fix to correctly switch key hash type with ACME services
|
||||
* Fix bug when `backend` wasn't saved correctly in Fail2Ban module [#1992](https://github.com/webmin/webmin/issues/1992)
|
||||
* Fix large files download in Upload and Download module
|
||||
|
||||
@@ -41,7 +41,8 @@ print &ui_table_row($text{'config_columns_to_display'},
|
||||
&ui_checkbox('columns', 'last_mod_time', $text{'last_mod_time'}, $config{'columns'} =~ /last_mod_time/)
|
||||
);
|
||||
print &ui_table_row($text{'config_per_page'}, ui_textbox("per_page", $config{'per_page'}, 80));
|
||||
print &ui_table_row($text{'file_detect_encoding'}, &ui_yesno_radio('config_portable_module_filemanager_editor_detect_encoding', $config{'config_portable_module_filemanager_editor_detect_encoding'}, 'true', 'false'));
|
||||
print &ui_table_row($text{'file_detect_encoding'}, &ui_yesno_radio('config_portable_module_filemanager_editor_detect_encoding', $config{'config_portable_module_filemanager_editor_detect_encoding'} ne 'false' ? 'true' : 'false', 'true', 'false'));
|
||||
print &ui_table_row($text{'file_showhiddenfiles'}, &ui_yesno_radio('config_portable_module_filemanager_show_dot_files', $config{'config_portable_module_filemanager_show_dot_files'} ne 'false' ? 'true' : 'false', 'true', 'false'));
|
||||
print &ui_table_row($text{'config_bookmarks'}, &ui_textarea("bookmarks", $bookmarks, 5, 40));
|
||||
|
||||
print &ui_table_end();
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
max=Maximum size for uploaded files,3,Unlimited
|
||||
config_portable_module_filemanager_editor_detect_encoding=Fix to prevent encoding detection if forbidden,1,true-Yes,false-No
|
||||
config_portable_module_filemanager_editor_detect_encoding=Fix to prevent encoding detection if forbidden,1,true-Yes,false-No
|
||||
config_portable_module_filemanager_show_dot_files=Show hidden files,1,true-Yes,false-No
|
||||
@@ -1,3 +1,4 @@
|
||||
columns=size,owner_user,permissions,last_mod_time
|
||||
per_page=50
|
||||
config_portable_module_filemanager_editor_detect_encoding=true
|
||||
config_portable_module_filemanager_editor_detect_encoding=true
|
||||
config_portable_module_filemanager_show_dot_files=true
|
||||
|
||||
@@ -18,7 +18,8 @@ unless (opendir ( DIR, $cwd )) {
|
||||
my %secontext;
|
||||
|
||||
# Push file names with full paths to array, filtering out "." and ".."
|
||||
@list = map { &simplify_path("$cwd/$_") } grep { $_ ne '.' && $_ ne '..' } readdir(DIR);
|
||||
my $show_dot_files = $userconfig{'config_portable_module_filemanager_show_dot_files'} ne 'false';
|
||||
@list = map { &simplify_path("$cwd/$_") } grep { $_ ne '.' && $_ ne '..' && ($show_dot_files || ($_ !~ /^\./ && $_ !~ /\/\./)) } readdir(DIR);
|
||||
closedir(DIR);
|
||||
|
||||
# Filter out not allowed paths
|
||||
|
||||
@@ -173,6 +173,7 @@ acls_action=Action
|
||||
acls_manual=Manual params
|
||||
acls_error=<tt>setfacl</tt> command is not found on your system
|
||||
file_detect_encoding=Automatically detect file encoding
|
||||
file_showhiddenfiles=Show hidden files
|
||||
index_return=file listing
|
||||
upload_dirs=Directory Upload
|
||||
extract_uploaded=Extract Compressed
|
||||
|
||||
@@ -13,6 +13,7 @@ $columns =~ s/\0/,/g;
|
||||
'columns' => $columns,
|
||||
'per_page' => $in{'per_page'},
|
||||
'config_portable_module_filemanager_editor_detect_encoding' => $in{'config_portable_module_filemanager_editor_detect_encoding'},
|
||||
'config_portable_module_filemanager_show_dot_files' => $in{'config_portable_module_filemanager_show_dot_files'},
|
||||
);
|
||||
my $max_allowed = $in{'max_allowed'};
|
||||
if($max_allowed) {
|
||||
|
||||
Reference in New Issue
Block a user