Skip to content

Commit

Permalink
Version 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Real-Gecko committed Jan 31, 2018
1 parent a11719e commit 7625392
Show file tree
Hide file tree
Showing 21 changed files with 2,925 additions and 83 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
unauthenticated/libs
unauthenticated/libs
upload
82 changes: 42 additions & 40 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
# Change Log
## [2.2.0] - 2018-
### Fixed
- Fixed #126
- Fixed #124
- Fixed #125
- Fixed [#126](https://github.com/Real-Gecko/Filemin/issues/126)
- Fixed [#124](https://github.com/Real-Gecko/Filemin/issues/124)
- Fixed [#125](https://github.com/Real-Gecko/Filemin/issues/125)
- Fixed listing of corrupt archives
- Fixed #127
- Fixed [#127](https://github.com/Real-Gecko/Filemin/issues/127)

### Added
- Added symlink for text/csv file mimetype image to point to text/plain

### Changed
- Some code cleanup
- Updates are now downloaded form release assets to avoid keeping binary release files in repo itself
- Update now will respect installed Filemin flavour, so cdn version will seek for cdn update etc

### Updated
- Updated Bootstrap to 3.3.7
Expand All @@ -23,13 +25,13 @@
## [2.1.1] - 2018-01-29
### Fixed
- Fix: simplify_path sub not used correct by [Denis Kanchev](https://github.com/Demayl)
- Fixed #135 (Error on pasting)
- Fixed [#135](https://github.com/Real-Gecko/Filemin/issues/135) (Error on pasting)

## [2.1.0] - 2016-10-20
### Fixed
- Fixed #119
- Fixed [#119](https://github.com/Real-Gecko/Filemin/issues/119)
- Security fixes and tabs cleanup
- Fixed #39 (SELinux support)
- Fixed [#39](https://github.com/Real-Gecko/Filemin/issues/39) (SELinux support)

### Added
- Added JSON::PP package to lib to avoid dependency issue with CentOS
Expand All @@ -41,11 +43,11 @@

## [2.0.1] - 2016-07-17
### Fixed
- Fixed #111
- Fixed [#111](https://github.com/Real-Gecko/Filemin/issues/111)

## [2.0.0] - 2016-05-27
### Fixed
- Fixed #104
- Fixed [#104](https://github.com/Real-Gecko/Filemin/issues/104)
- Fixed "Nested quantifiers in regex" caused by some dir names
- Switched to Mojo::JSON thus resolving localization issues in popup messages
- Fixed Webmin 1.800 update issue
Expand Down Expand Up @@ -73,8 +75,8 @@
## [1.1.2] - 2016-05-16
### Fixed
- Fixed localization on "copy/cut/paste" messages
- Fixed #102
- Fixed #99
- Fixed [#102](https://github.com/Real-Gecko/Filemin/issues/102)
- Fixed [#99](https://github.com/Real-Gecko/Filemin/issues/99)

### Added
- Polish translation by [Piotr Kozica](https://github.com/vipkoza)
Expand All @@ -90,38 +92,38 @@
### Fixed
- Fixed notifications bugs
- Fixed The Unified compatibility
- Fixed filenames escaping on the userside - #98
- Fixed filenames escaping on the userside - [#98](https://github.com/Real-Gecko/Filemin/issues/98)
- Fixed non-latin folder names handling during session load

### Added
- Added 'Checking for update' message
- Added module configuration link to index.cgi
- Dutch translation by [Zen4All](https://github.com/Zen4All)
- Filemin now follows window resize event - #92
- Filemin now follows window resize event - [#92](https://github.com/Real-Gecko/Filemin/issues/92)

### Changed
- Updated Bootstrap Table to version 1.10.1, patch is not needed any more
- Russian translation updated

## [1.1.0] - 2016-02-08
### Fixed
- Fixed HTML special characters decoding - #82
- Fixed HTML special characters decoding - [#82](https://github.com/Real-Gecko/Filemin/issues/82)
- Fixed relative symlinks navigation in "chroot"
- Checked scripts for incorrect variables usage - #90
- Checked scripts for incorrect variables usage - [#90](https://github.com/Real-Gecko/Filemin/issues/90)
- Security tightening
- Modal forms submitted via AJAX on CR key instead of reloading page
- Fixed tooltips width

### Added
- Automagic update - #86
- Automagic update - [#86](https://github.com/Real-Gecko/Filemin/issues/86)
- Multiple navigator tabs
- Treeview folder structure - #68
- Treeview folder structure - [#68](https://github.com/Real-Gecko/Filemin/issues/68)
- Sessions, tabs are saved and restored
- Row is highlighted on context menu call if no other rows selected
- Extended symlinks support
- Images preview
- Listing archive contents
- Get multiple folder sizes - #50
- Get multiple folder sizes - [#50](https://github.com/Real-Gecko/Filemin/issues/50)
- CodeMirror mode selector

### Changed
Expand All @@ -131,7 +133,7 @@
- More contrast notifications
- Check for editable files done on the user side
- Search results are opened in separate tab
- Default left click behavior change - #79
- Default left click behavior change - [#79](https://github.com/Real-Gecko/Filemin/issues/79)
* Editable files opened for edition
* Images previewed
* Archives listed
Expand All @@ -144,13 +146,13 @@
## [0.9.6] - 2015-08-27
### Fixed
- Fixed 'Undefined subroutine &filemin::ceil Caused on some systems by not including POSIX package in filemin-lib.pl.
- Fixing conflict with Authentic Theme codeMirror by Ilia. #42
- Working as non UNIX user is now possible. By Jamie Cameron. #52
- Pasting a directory either by copy or cut pasted not the directory, but it's content. #54
- Fixing conflict with Authentic Theme codeMirror by Ilia. [#42](https://github.com/Real-Gecko/Filemin/issues/42)
- Working as non UNIX user is now possible. By Jamie Cameron. [#52](https://github.com/Real-Gecko/Filemin/issues/52)
- Pasting a directory either by copy or cut pasted not the directory, but it's content. [#54](https://github.com/Real-Gecko/Filemin/issues/54)

### Added
- Added ACL options to allowing running as a specific user, thanks Jamie :)
- Module is now installable from Usermin. When running in Usermin, access is always as the connected user. #46
- Module is now installable from Usermin. When running in Usermin, access is always as the connected user. [#46](https://github.com/Real-Gecko/Filemin/issues/46)

### Changed
- WARNING: work as root is now DEFAULT behavior.
Expand All @@ -165,8 +167,8 @@

## [0.9.5] - 2015-08-07
### Fixed
- Permissions column configurable and displayable. #35
- README instructions for Debian/Ubuntu fixed. #36
- Permissions column configurable and displayable. [#35](https://github.com/Real-Gecko/Filemin/issues/35)
- README instructions for Debian/Ubuntu fixed. [#36](https://github.com/Real-Gecko/Filemin/issues/36)

### Added
- Made top level menu items translatable.
Expand All @@ -179,7 +181,7 @@

## [0.9.4] - 2015-07-31
### Fixed
- Removed Data::Dumper declaration. #31
- Removed Data::Dumper declaration. [#31](https://github.com/Real-Gecko/Filemin/issues/31)

### Added
- Implemented "Search". Users may search files and folders by name, wildcards supported.
Expand All @@ -196,14 +198,14 @@
- Added "Save and close" button on file edit page.
Save button now saves and reopens file for editing again,
while save and close saves and redirects back to originated folder.
- Added Codemirror to module for syntax highlighting, thanks to https://github.com/pabloko for solution. #21
- Added Codemirror to module for syntax highlighting, thanks to https://github.com/pabloko for solution. [#21](https://github.com/Real-Gecko/Filemin/issues/21)
Under Authentic 14.01 now works too, thanks to https://github.com/qooob for fix.
- Added new toolbar style - menu-like with dropdowns (Authentic only). #28
- Added zip compression method, user now can select between 'zip' and 'tar' compression methods. #24
- Added new toolbar style - menu-like with dropdowns (Authentic only). [#28](https://github.com/Real-Gecko/Filemin/issues/28)
- Added zip compression method, user now can select between 'zip' and 'tar' compression methods. [#24](https://github.com/Real-Gecko/Filemin/issues/24)

### Changed
- Update Russian translation.
- Chmodding now have new option to apply new permissions to: #27
- Chmodding now have new option to apply new permissions to: [#27](https://github.com/Real-Gecko/Filemin/issues/27)
* Selected directories and files only
* Selected files and directorires and files in selected directories
* All (recursive)
Expand All @@ -218,8 +220,8 @@
Added "Work as root" option to ACL, if enabled for any particular user he/she will work as 'root',
but directory access will still be limited to those listed in ACL.
BEWARE!!! DO NOT ENABLE THIS OPTION FOR ANYONE UNLESS YOU'RE REALLY SURE WHAT ARE YOU DOING!!!
- YAML files are now editable. #17
- Using Perl's '-d' to determine if entry is file or folder. #20
- YAML files are now editable. [#17
- Using Perl's '-d' to determine if entry is file or folder. [#20](https://github.com/Real-Gecko/Filemin/issues/20)

### Changed
- Removed unused CGI dependency.
Expand All @@ -228,7 +230,7 @@

## [0.9.2] - 2015-06-18
###Fixed
- CRLF is replaced with UNIX style LF while saving a file. #11
- CRLF is replaced with UNIX style LF while saving a file. [#11](https://github.com/Real-Gecko/Filemin/issues/11)
- Removed "openlayers" folder. How did it get in here???? :D
- Fixed "select-unselect" checkbox behavior for old themes.
- Fixed copy/cut/paste functionality.
Expand Down Expand Up @@ -263,15 +265,15 @@

## [0.9.1] - 2015-05-29
### Fixed
- Not sure if it was an issue, cause I was unable to reproduce "User without $HOME" scenario. However added some code to handle this, just in case. #8
- Not sure if it was an issue, cause I was unable to reproduce "User without $HOME" scenario. However added some code to handle this, just in case. [#8](https://github.com/Real-Gecko/Filemin/issues/8)

### Added
- Added BWTheme support.
- Major interface imprevements for legacy dialogs, jQuery and jQueryUI shipped with the module for this purpose.
- Added $in{'...'} parameters check in some operations to prevent errors if user submits emtpy form by hitting "Enter".
- Added sticky bit and setgid to chmod.
- Added .deb package for distribution flexibility.
- Added HDD icon for "/" while under root for legacy themes. #5
- Added HDD icon for "/" while under root for legacy themes. [#5](https://github.com/Real-Gecko/Filemin/issues/5)

### Changed
- Changed license to BSD style.
Expand All @@ -286,8 +288,8 @@
- Added a work around to fix JS hell provided by Framed Theme family with "onmouseover" and "onmouseout" events, that led to unselectable rows by "Select All" and "Inverse Selection" operations.
- Using the same class to highlight rows as Authentic.
- Moved icons to images folder, as Authentic Theme author improved third party modules' files handling.
- Switched to Regexp::Common for URI validation in "HTTP Download" operation to avoid additional dependencies. #6
- Removed Archive::* dependencies, all archive extraction procedures now go through system calls. *.tar.gz, *.tar.xz, *.tar.bz2, *.zip archive types tested. #7
- Switched to Regexp::Common for URI validation in "HTTP Download" operation to avoid additional dependencies. [#6](https://github.com/Real-Gecko/Filemin/issues/6)
- Removed Archive::* dependencies, all archive extraction procedures now go through system calls. *.tar.gz, *.tar.xz, *.tar.bz2, *.zip archive types tested. [#7](https://github.com/Real-Gecko/Filemin/issues/7)

## [0.9] - 2015-05-08
### Mielstone reached
Expand All @@ -296,14 +298,14 @@
- BEWARE: uncompressing archive still overwrites existing files!

### Fixed
- Some misspellings fixed. #3
- Some misspellings fixed. [#3](https://github.com/Real-Gecko/Filemin/issues/3)
- Minor tweaks for modern interface
- More verbose output on errors

### Changed
- After long discussion upper-left toolbar finally looks good in modern interface. #1
- After long discussion upper-left toolbar finally looks good in modern interface. [#1](https://github.com/Real-Gecko/Filemin/issues/1)
Thanks to https://github.com/Goeny for his brilliant solution and https://github.com/qooob for debugging
- Replaced '~' for '/' directory with FontAwesome's HDD icon, still open for discussion... #5
- Replaced '~' for '/' directory with FontAwesome's HDD icon, still open for discussion... [#5](https://github.com/Real-Gecko/Filemin/issues/5)

## [0.8.3] - 2015-05-06
### Added
Expand Down
32 changes: 20 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
##File manager for Webmin written in Perl.
## File manager for Webmin written in Perl.
Features modern GUI with the help of numerous JS and CSS libraries. Makes file management on [**Webmin**](https://github.com/webmin/webmin) controlled server much easier.

%100 AJAX - NO page reloads.

###Builtin version
Those who want to open Filemin in the same tab where Webmin main menu is, may want to try [**built in version**](https://github.com/Real-Gecko/filemin/raw/master/distrib/filemin-2.1.0.linux.builtin.wbm.gz).
Works with every theme except Authentic.

### Libraries in use
* [**jQuery**](https://github.com/jquery/jquery)
* [**jQuery UI**](https://github.com/jquery/jquery-ui)
Expand All @@ -22,32 +18,44 @@ Works with every theme except Authentic.
* [**Fancytree**](https://github.com/mar10/fancytree)
* [**markdown-js**](https://github.com/evilstreak/markdown-js)

###Developed with
### Developed with
[**Codiad Web IDE**](https://github.com/Codiad/Codiad)

###Icon theme by Matthieu James
### Icon theme by Matthieu James
[**Faenza Icon Theme**](https://code.google.com/archive/p/faenza-icon-theme)

##Contributors
## Contributors
* [**Real-Gecko**](https://github.com/Real-Gecko)
* [**Jamie Cameron**](https://github.com/jcameron)
* [**Ilia Rostovtsev**](https://github.com/qooob)
* [**Zen4All**](https://github.com/Zen4All)
* [**ffrewer**](https://github.com/ffrewer)
* [**SavageCore**](https://github.com/SavageCore)
* [**Piotr Kozica**](https://github.com/vipkoza)
* [Denis Kanchev](https://github.com/Demayl)
* [**Denis Kanchev**](https://github.com/Demayl)

##Installation:
## Installation:
Package for installation through Webmin interface
For [**Linux**](https://github.com/Real-Gecko/filemin/raw/master/distrib/filemin-2.1.0.linux.wbm.gz) distributions and for [**FreeBSD**](https://github.com/Real-Gecko/filemin/raw/master/distrib/filemin-2.1.0.freebsd.wbm.gz).
For [**Linux**](https://github.com/Real-Gecko/Filemin/releases/download/2.2.0/filemin-2.2.0.linux.full.wbm.gz) distributions and for [**FreeBSD**](https://github.com/Real-Gecko/Filemin/releases/download/2.2.0/filemin-2.2.0.freebsd.full.wbm.gz).

## Flavours
Filemin comes in different flavours such as:

### Full
Complete installation with all required dependencies, will work literally everywhere even on servers with no acces to Internet.

### Builtin version
Same as **Full**, but opens Filemin in the same tab as Webmin. Works with every theme except Authentic.

### CDN
Sames as full but all required librares are delivered from [cdnjs](https://cdnjs.com/). Takes less space, but requires internet connection to get required JS libraries.

## Update
As of version 1.1.0 Filemin automatically checks for udpate and offers to install it if available.
However currently Webmin itself bundles outdated 0.9 branch of the module and new version of Filemin is always downgraded with Webmin update.
To avoid the issue since version 2.0.0 Filemin installs additional Filemin Updater module. Just click "Filemin Updater" option in "Others" menu of Webmin to reinstall Filemin.

##Note for FreeBSD users.
## Note for FreeBSD users.
FreeBSD users are recommended to install _shared-mime-info_ package.

`pkg install shared-mime-info`
Expand Down
Binary file added distrib/filemin-2.2.0.freebsd.wbm.gz
Binary file not shown.
Binary file added distrib/filemin-2.2.0.linux.wbm.gz
Binary file not shown.
Binary file modified filemin-updater.bsd.tar.gz
Binary file not shown.
Binary file modified filemin-updater.tar.gz
Binary file not shown.
4 changes: 3 additions & 1 deletion filemin-updater/index.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ if($remote_user eq 'root' & $vc) {
%module_info = &get_module_info('filemin');
my $remote = version->parse($remote_module_info{'version'});
my $local = version->parse($module_info{'version'});
my $flavour = $in{'flavour'};
if($local < $remote) {
my $os = $gconfig{'os_type'};
if(index($os, 'linux') != -1) {
Expand All @@ -37,7 +38,8 @@ if($remote_user eq 'root' & $vc) {
} else {
&error('WHAT???');
}
my $url = "https://github.com/Real-Gecko/filemin/raw/master/distrib/filemin-$remote.$os.wbm.gz";
# my $url = "https://github.com/Real-Gecko/filemin/raw/master/distrib/filemin-$remote.$os.wbm.gz";
my $url = "https://github.com/Real-Gecko/Filemin/releases/download/$version/filemin-$version.$os.$flavour.wbm.gz";
my $tempfile = transname();
my ($host, $port, $page, $ssl) = &parse_http_url($url);
&http_download($host, $port, $page, $tempfile, undef, \&progress_callback, $ssl);
Expand Down
2 changes: 1 addition & 1 deletion filemin-updater/module.info
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ desc=Filemin Updater
os_support=*-linux freebsd
name=Filemin Updater
longdesc=Filemin updater
version=1.0
version=1.0.1
webmin=1
7 changes: 4 additions & 3 deletions freebsd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
OLD="bin\/perl"
NEW="local\/bin\/perl"
FILES="*.cgi"
TGDIR="./distrib/filemin"
DISTR="./distrib"
TGDIR="./upload/filemin"
DISTR="./upload"
mkdir -p $TGDIR
mkdir -p $TGDIR/unauthenticated
mkdir -p $TGDIR/unauthenticated/js
Expand Down Expand Up @@ -72,7 +72,8 @@ done < module.info

echo "Packing FreeBSD version $VERSION"

cd distrib
cd $DISTR
tar -zcf filemin-$VERSION.freebsd.wbm.gz filemin
tar -zcf filemin-$VERSION.freebsd.full.wbm.gz filemin
cd ../
rm -rf $TGDIR
Loading

0 comments on commit 7625392

Please sign in to comment.