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 '