Skip to content

Commit 7625392

Browse files
committed
Version 2.2.0
1 parent a11719e commit 7625392

21 files changed

+2925
-83
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
unauthenticated/libs
1+
unauthenticated/libs
2+
upload

CHANGELOG.md

Lines changed: 42 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
# Change Log
22
## [2.2.0] - 2018-
33
### Fixed
4-
- Fixed #126
5-
- Fixed #124
6-
- Fixed #125
4+
- Fixed [#126](https://github.com/Real-Gecko/Filemin/issues/126)
5+
- Fixed [#124](https://github.com/Real-Gecko/Filemin/issues/124)
6+
- Fixed [#125](https://github.com/Real-Gecko/Filemin/issues/125)
77
- Fixed listing of corrupt archives
8-
- Fixed #127
8+
- Fixed [#127](https://github.com/Real-Gecko/Filemin/issues/127)
99

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

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

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

2830
## [2.1.0] - 2016-10-20
2931
### Fixed
30-
- Fixed #119
32+
- Fixed [#119](https://github.com/Real-Gecko/Filemin/issues/119)
3133
- Security fixes and tabs cleanup
32-
- Fixed #39 (SELinux support)
34+
- Fixed [#39](https://github.com/Real-Gecko/Filemin/issues/39) (SELinux support)
3335

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

4244
## [2.0.1] - 2016-07-17
4345
### Fixed
44-
- Fixed #111
46+
- Fixed [#111](https://github.com/Real-Gecko/Filemin/issues/111)
4547

4648
## [2.0.0] - 2016-05-27
4749
### Fixed
48-
- Fixed #104
50+
- Fixed [#104](https://github.com/Real-Gecko/Filemin/issues/104)
4951
- Fixed "Nested quantifiers in regex" caused by some dir names
5052
- Switched to Mojo::JSON thus resolving localization issues in popup messages
5153
- Fixed Webmin 1.800 update issue
@@ -73,8 +75,8 @@
7375
## [1.1.2] - 2016-05-16
7476
### Fixed
7577
- Fixed localization on "copy/cut/paste" messages
76-
- Fixed #102
77-
- Fixed #99
78+
- Fixed [#102](https://github.com/Real-Gecko/Filemin/issues/102)
79+
- Fixed [#99](https://github.com/Real-Gecko/Filemin/issues/99)
7880

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

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

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

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

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

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

151153
### Added
152154
- Added ACL options to allowing running as a specific user, thanks Jamie :)
153-
- Module is now installable from Usermin. When running in Usermin, access is always as the connected user. #46
155+
- 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)
154156

155157
### Changed
156158
- WARNING: work as root is now DEFAULT behavior.
@@ -165,8 +167,8 @@
165167

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

171173
### Added
172174
- Made top level menu items translatable.
@@ -179,7 +181,7 @@
179181

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

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

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

224226
### Changed
225227
- Removed unused CGI dependency.
@@ -228,7 +230,7 @@
228230

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

264266
## [0.9.1] - 2015-05-29
265267
### Fixed
266-
- 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
268+
- 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)
267269

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

276278
### Changed
277279
- Changed license to BSD style.
@@ -286,8 +288,8 @@
286288
- 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.
287289
- Using the same class to highlight rows as Authentic.
288290
- Moved icons to images folder, as Authentic Theme author improved third party modules' files handling.
289-
- Switched to Regexp::Common for URI validation in "HTTP Download" operation to avoid additional dependencies. #6
290-
- Removed Archive::* dependencies, all archive extraction procedures now go through system calls. *.tar.gz, *.tar.xz, *.tar.bz2, *.zip archive types tested. #7
291+
- Switched to Regexp::Common for URI validation in "HTTP Download" operation to avoid additional dependencies. [#6](https://github.com/Real-Gecko/Filemin/issues/6)
292+
- 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)
291293

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

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

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

308310
## [0.8.3] - 2015-05-06
309311
### Added

README.md

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
##File manager for Webmin written in Perl.
1+
## File manager for Webmin written in Perl.
22
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.
33

44
%100 AJAX - NO page reloads.
55

6-
###Builtin version
7-
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).
8-
Works with every theme except Authentic.
9-
106
### Libraries in use
117
* [**jQuery**](https://github.com/jquery/jquery)
128
* [**jQuery UI**](https://github.com/jquery/jquery-ui)
@@ -22,32 +18,44 @@ Works with every theme except Authentic.
2218
* [**Fancytree**](https://github.com/mar10/fancytree)
2319
* [**markdown-js**](https://github.com/evilstreak/markdown-js)
2420

25-
###Developed with
21+
### Developed with
2622
[**Codiad Web IDE**](https://github.com/Codiad/Codiad)
2723

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

31-
##Contributors
27+
## Contributors
3228
* [**Real-Gecko**](https://github.com/Real-Gecko)
3329
* [**Jamie Cameron**](https://github.com/jcameron)
3430
* [**Ilia Rostovtsev**](https://github.com/qooob)
3531
* [**Zen4All**](https://github.com/Zen4All)
3632
* [**ffrewer**](https://github.com/ffrewer)
3733
* [**SavageCore**](https://github.com/SavageCore)
3834
* [**Piotr Kozica**](https://github.com/vipkoza)
39-
* [Denis Kanchev](https://github.com/Demayl)
35+
* [**Denis Kanchev**](https://github.com/Demayl)
4036

41-
##Installation:
37+
## Installation:
4238
Package for installation through Webmin interface
43-
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).
39+
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).
40+
41+
## Flavours
42+
Filemin comes in different flavours such as:
43+
44+
### Full
45+
Complete installation with all required dependencies, will work literally everywhere even on servers with no acces to Internet.
46+
47+
### Builtin version
48+
Same as **Full**, but opens Filemin in the same tab as Webmin. Works with every theme except Authentic.
49+
50+
### CDN
51+
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.
4452

4553
## Update
4654
As of version 1.1.0 Filemin automatically checks for udpate and offers to install it if available.
4755
However currently Webmin itself bundles outdated 0.9 branch of the module and new version of Filemin is always downgraded with Webmin update.
4856
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.
4957

50-
##Note for FreeBSD users.
58+
## Note for FreeBSD users.
5159
FreeBSD users are recommended to install _shared-mime-info_ package.
5260

5361
`pkg install shared-mime-info`
1.38 MB
Binary file not shown.

distrib/filemin-2.2.0.linux.wbm.gz

1.38 MB
Binary file not shown.

filemin-updater.bsd.tar.gz

47 Bytes
Binary file not shown.

filemin-updater.tar.gz

40 Bytes
Binary file not shown.

filemin-updater/index.cgi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ if($remote_user eq 'root' & $vc) {
2828
%module_info = &get_module_info('filemin');
2929
my $remote = version->parse($remote_module_info{'version'});
3030
my $local = version->parse($module_info{'version'});
31+
my $flavour = $in{'flavour'};
3132
if($local < $remote) {
3233
my $os = $gconfig{'os_type'};
3334
if(index($os, 'linux') != -1) {
@@ -37,7 +38,8 @@ if($remote_user eq 'root' & $vc) {
3738
} else {
3839
&error('WHAT???');
3940
}
40-
my $url = "https://github.com/Real-Gecko/filemin/raw/master/distrib/filemin-$remote.$os.wbm.gz";
41+
# my $url = "https://github.com/Real-Gecko/filemin/raw/master/distrib/filemin-$remote.$os.wbm.gz";
42+
my $url = "https://github.com/Real-Gecko/Filemin/releases/download/$version/filemin-$version.$os.$flavour.wbm.gz";
4143
my $tempfile = transname();
4244
my ($host, $port, $page, $ssl) = &parse_http_url($url);
4345
&http_download($host, $port, $page, $tempfile, undef, \&progress_callback, $ssl);

filemin-updater/module.info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ desc=Filemin Updater
22
os_support=*-linux freebsd
33
name=Filemin Updater
44
longdesc=Filemin updater
5-
version=1.0
5+
version=1.0.1
66
webmin=1

freebsd.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
OLD="bin\/perl"
33
NEW="local\/bin\/perl"
44
FILES="*.cgi"
5-
TGDIR="./distrib/filemin"
6-
DISTR="./distrib"
5+
TGDIR="./upload/filemin"
6+
DISTR="./upload"
77
mkdir -p $TGDIR
88
mkdir -p $TGDIR/unauthenticated
99
mkdir -p $TGDIR/unauthenticated/js
@@ -72,7 +72,8 @@ done < module.info
7272

7373
echo "Packing FreeBSD version $VERSION"
7474

75-
cd distrib
75+
cd $DISTR
7676
tar -zcf filemin-$VERSION.freebsd.wbm.gz filemin
77+
tar -zcf filemin-$VERSION.freebsd.full.wbm.gz filemin
7778
cd ../
7879
rm -rf $TGDIR

0 commit comments

Comments
 (0)