From bad49eda86e1a40a1e2cb64d968864f214160229 Mon Sep 17 00:00:00 2001 From: Ilia Rostovtsev Date: Thu, 5 Jan 2017 14:36:08 +0300 Subject: [PATCH] Version 18.32 --- .github/ISSUE_TEMPLATE.md | 2 +- CHANGELOG.md | 10 +- LICENSE | 1 + README.md | 4 +- VERSION.txt | 2 +- authentic-init.pm | 10 +- authentic-lib.pm | 5 +- authentic.pm | 2 +- buttons.pm | 5 +- changelog.pm | 26 +- config | 1 + extensions/file-manager/bookmark.cgi | 2 +- extensions/file-manager/chattr.cgi | 2 +- extensions/file-manager/chcon.cgi | 2 +- extensions/file-manager/chmod.cgi | 2 +- extensions/file-manager/chown.cgi | 2 +- extensions/file-manager/compress.cgi | 2 +- extensions/file-manager/copy.cgi | 2 +- extensions/file-manager/create_file.cgi | 2 +- extensions/file-manager/create_folder.cgi | 2 +- extensions/file-manager/cut.cgi | 2 +- extensions/file-manager/delete.cgi | 2 +- extensions/file-manager/extract.cgi | 2 +- extensions/file-manager/file-manager-lib.pm | 2 +- extensions/file-manager/list.cgi | 2 +- extensions/file-manager/paste.cgi | 2 +- extensions/file-manager/rename.cgi | 2 +- extensions/file-manager/search.cgi | 2 +- help/file-manager.html | 2 +- images/_blank.gif | Bin 0 -> 49 bytes index.cgi | 2 +- lang/ca | 1 + lang/ca.UTF-8 | 638 ++++++++++++++++++ lang/cz.UTF-8 | 4 + lang/da.UTF-8 | 4 + lang/de.UTF-8 | 4 + lang/en.UTF-8 | 4 + lang/es.UTF-8 | 4 + lang/fr.UTF-8 | 4 + lang/it.UTF-8 | 4 + lang/nl.UTF-8 | 4 + lang/no.UTF-8 | 4 + lang/pl.UTF-8 | 4 + lang/pt.UTF-8 | 4 + lang/ro_RO.UTF-8 | 4 + lang/ru.UTF-8 | 4 + lang/zh_CN.UTF-8 | 4 + lib/JSON.pm | 1 - navigation.pm | 2 +- pam_login.cgi | 2 +- session_login.cgi | 2 +- settings-editor_read.cgi | 2 +- settings-editor_write.cgi | 2 +- settings-favorites_save.cgi | 2 +- settings-upload.cgi | 2 +- settings-upload_save.cgi | 2 +- settings.pm | 2 +- sysinfo.cgi | 2 +- theme.info | 2 +- unauthenticated/css/authentic.css | 13 +- unauthenticated/css/authentic.min.css | 4 +- unauthenticated/css/bundle.min.css | 8 +- unauthenticated/css/font-arial.min.css | 2 +- .../css/font-helvetica-neue.min.css | 2 +- .../css/font-open-sans-condensed.min.css | 2 +- unauthenticated/css/font-open-sans.min.css | 2 +- unauthenticated/css/font-sans-serif.min.css | 2 +- unauthenticated/css/font-segoe-ui.min.css | 2 +- .../css/font-system-default.min.css | 2 +- unauthenticated/css/font-tahoma.min.css | 2 +- unauthenticated/css/font-trebuchet-ms.min.css | 2 +- unauthenticated/css/fontbase.css | 8 +- unauthenticated/css/fontbase.min.css | 4 +- unauthenticated/css/fonts-roboto.min.css | 2 +- unauthenticated/css/palettes/brown.min.css | 2 +- unauthenticated/css/palettes/darkblue.min.css | 2 +- unauthenticated/css/palettes/darkgrey.min.css | 2 +- unauthenticated/css/palettes/gold.min.css | 2 +- unauthenticated/css/palettes/green.min.css | 2 +- unauthenticated/css/palettes/grey.min.css | 2 +- .../css/palettes/indianred.min.css | 2 +- .../css/palettes/lightblue.min.css | 2 +- unauthenticated/css/palettes/orange.min.css | 2 +- unauthenticated/css/palettes/purple.min.css | 2 +- unauthenticated/css/palettes/red.min.css | 2 +- unauthenticated/css/palettes/white.min.css | 2 +- unauthenticated/js/content.js | 32 +- unauthenticated/js/content.min.js | 4 +- unauthenticated/js/init.js | 4 +- unauthenticated/js/init.min.js | 4 +- unauthenticated/js/parent.js | 295 ++++---- unauthenticated/js/parent.min.js | 4 +- unauthenticated/js/postinit.js | 2 +- unauthenticated/js/postinit.min.js | 2 +- update | 3 + 95 files changed, 992 insertions(+), 263 deletions(-) create mode 100644 images/_blank.gif create mode 120000 lang/ca create mode 100644 lang/ca.UTF-8 diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index fa96ea29f..3d0a8c67b 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,6 +1,6 @@ Before posting an issue, please search through README.md and closed/opened issues to make sure that the answer to your questions hasn't been answered/discussed already. -Please make sure that you have latest theme (18.31) and Webmin (1.830) versions installed. +Please make sure that you have latest theme (18.32) and Webmin (1.830) versions installed. Provide the following information: * What is your server-side OS and its version? diff --git a/CHANGELOG.md b/CHANGELOG.md index 4712ac1e0..bc49936ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,13 @@ ##Changelog +####Version 18.32 (January 05, 2017) +* Added _Catalan_ language, thanks to [David Canalias](https://github.com/diathesaron) +* Fixed bugs [#605](https://github.com/qooob/authentic-theme/issues/605) [#611](https://github.com/qooob/authentic-theme/pull/611) [#617](https://github.com/qooob/authentic-theme/pull/617) [#619](https://github.com/qooob/authentic-theme/issues/619) [#620](https://github.com/qooob/authentic-theme/issues/620) [#624](https://github.com/qooob/authentic-theme/issues/624) [#628](https://github.com/qooob/authentic-theme/issues/628) [#44856](https://www.virtualmin.com/node/44856) [#44874](https://www.virtualmin.com/node/44874) [#45206](https://www.virtualmin.com/node/45206) + ####Version 18.31 (December 09, 2016) -Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](https://github.com/qooob/authentic-theme/issues/593) [#594](https://github.com/qooob/authentic-theme/pull/594) [#597](https://github.com/qooob/authentic-theme/issues/597) [#599](https://github.com/qooob/authentic-theme/issues/599) [#600](https://github.com/qooob/authentic-theme/issues/600) [#601](https://github.com/qooob/authentic-theme/issues/601) [#602](https://github.com/qooob/authentic-theme/issues/602) [#605](https://github.com/qooob/authentic-theme/issues/605) [#611](https://github.com/qooob/authentic-theme/pull/611) [#619](https://github.com/qooob/authentic-theme/issues/619) [#620](https://github.com/qooob/authentic-theme/issues/620) [#767595](https://www.virtualmin.com/node/767595) +Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](https://github.com/qooob/authentic-theme/issues/593) [#594](https://github.com/qooob/authentic-theme/pull/594) [#597](https://github.com/qooob/authentic-theme/issues/597) [#599](https://github.com/qooob/authentic-theme/issues/599) [#600](https://github.com/qooob/authentic-theme/issues/600) [#601](https://github.com/qooob/authentic-theme/issues/601) [#602](https://github.com/qooob/authentic-theme/issues/602) -####Version 18.30 (December 07, 2016)     :star2: :star2: :star2: :star2: :star2: +####Version 18.30 (December 07, 2016) * Increased theme's speed and stability * Added new drop-down _Command Shell_ port. There is no need in going to _Shell_ module to use console anymore. By default, hitting `Alt+K` anywhere in the theme will bring its accessibility immediately [#566](https://github.com/qooob/authentic-theme/issues/566) * Added new functionality that replaces old pop-up windows with contemporary modals for file-chooser and other familiar operations [#552](https://github.com/qooob/authentic-theme/issues/552) @@ -376,7 +380,7 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Added a new feature of adding any right side page to global _Favorites_ [#210](https://github.com/qooob/authentic-theme/issues/210) * Added complete _AJAX_ support for _File Manager_ (by _Alexandr Bezenkov_), taking it to the next, absolutely new level [#222](https://github.com/qooob/authentic-theme/issues/222) * Added emphasis on the table sub-titles [#218](https://github.com/qooob/authentic-theme/issues/218) -* Added CZ language, thanks to [stuchy3](https://github.com/stuchy3) +* Added _Czech_ language, thanks to [stuchy3](https://github.com/stuchy3) * Fixed sorting issue by file-size in _File Manager_ and other modules, where file-size like sorting is used * Fixed link for _System Statistics_ in _Cloudmin_ * Fixed multiple bugs [#213](https://github.com/qooob/authentic-theme/issues/213) [#214](https://github.com/qooob/authentic-theme/issues/214) [#220](https://github.com/qooob/authentic-theme/issues/220) [#223](https://github.com/qooob/authentic-theme/issues/223) diff --git a/LICENSE b/LICENSE index 5fa35a705..52b975c21 100644 --- a/LICENSE +++ b/LICENSE @@ -19,3 +19,4 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/README.md b/README.md index b58db245a..920203173 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ##Contents * [Changelog](https://github.com/qooob/authentic-theme/blob/master/CHANGELOG.md) -* [Download (18.31)![](https://rostovtsev.ru/pub/media/icons/download-23x14.png)](https://github.com/qooob/authentic-theme/releases/download/18.31/authentic-theme-18.31.wbt.gz) +* [Download (18.32)![](https://rostovtsev.ru/pub/media/icons/download-23x14.png)](https://github.com/qooob/authentic-theme/releases/download/18.32/authentic-theme-18.32.wbt.gz) * [About](#about) * [FAQ](#faq) * [Troubleshoot](#troubleshoot) @@ -58,7 +58,7 @@ #####Webmin - To install _Autentic_ Theme from repository, just `clone` it into your wherever _Webmin_ binary folder _(libexec)_ is. After that, you must rename `authentic-theme-master` directory to `authentic-theme` to make the theme work properly. Besides, you could just [download](https://github.com/qooob/authentic-theme/releases/download/18.31/authentic-theme-18.31.wbt.gz) the theme directly and install it using _Webmin_: + To install _Autentic_ Theme from repository, just `clone` it into your wherever _Webmin_ binary folder _(libexec)_ is. After that, you must rename `authentic-theme-master` directory to `authentic-theme` to make the theme work properly. Besides, you could just [download](https://github.com/qooob/authentic-theme/releases/download/18.32/authentic-theme-18.32.wbt.gz) the theme directly and install it using _Webmin_: `Webmin->Webmin Configuration->Webmin Themes->Install themes->From uploaded file` diff --git a/VERSION.txt b/VERSION.txt index e651d0db0..d241feed8 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -18.31 +18.32 diff --git a/authentic-init.pm b/authentic-init.pm index c0a1aeb41..2f15369c0 100644 --- a/authentic-init.pm +++ b/authentic-init.pm @@ -1,5 +1,5 @@ # -# Authentic Theme 18.31 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) # @@ -495,7 +495,7 @@ sub usermin_available { $__usermin_config =~ s/webmin/usermin/; if ( !-d $__usermin_config . '/authentic-theme' ) { - mkdir( $__usermin_config . '/authentic-theme', 0755 ); + mkdir( $__usermin_config . '/authentic-theme', "0755" ); } if ( -r $__usermin_root . $_module @@ -960,8 +960,8 @@ sub get_button_style { sub theme_version { my ($switch) = @_; - my $sh__ln__p___version = '18.30'; - my $sh__ln__c___version = '18.31'; + my $sh__ln__p___version = '18.31'; + my $sh__ln__c___version = '18.32'; ( ( !$switch ) && ( $sh__ln__c___version =~ s/\.//ig ) ); return $sh__ln__c___version; } @@ -990,7 +990,7 @@ sub get_stripped { } sub get_raw { - if ( index( get_env('request_uri'), 'stripped=1&stripped=2' ) gt -1 ) { + if ( index( get_env('request_uri'), 'stripped=1&stripped=2' ) gt -1 || get_module_name() eq "file") { return 1; } else { diff --git a/authentic-lib.pm b/authentic-lib.pm index feace6c14..6f6e20952 100644 --- a/authentic-lib.pm +++ b/authentic-lib.pm @@ -1,5 +1,5 @@ # -# Authentic Theme 18.31 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) # @@ -3438,6 +3438,9 @@ sub init_type { sub init { + # Make sure that config directory exists + __config_dir_available(); + # Register hooks $t_uri____i = ( $t_uri_cloudmin == -1 ? 'dom' : 'sid' ); $t_uri_virtualmin != -1 diff --git a/authentic.pm b/authentic.pm index d0ea7fe26..5845d971b 100644 --- a/authentic.pm +++ b/authentic.pm @@ -1,5 +1,5 @@ # -# Authentic Theme 18.31 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) # diff --git a/buttons.pm b/buttons.pm index 8afa071d8..4d1d202dd 100644 --- a/buttons.pm +++ b/buttons.pm @@ -1,5 +1,5 @@ # -# Authentic Theme 18.31 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) # @@ -17,7 +17,8 @@ if ( $__settings{'settings_sysinfo_link_mini'} ne 'false' print ''; } -if ( $__settings{'settings_show_terminal_link'} ne 'false' ) +if ( $__settings{'settings_show_terminal_link'} ne 'false' + && foreign_available("shell") ) { print '