Commit graph

297 commits

Author SHA1 Message Date
Apichart F 50ccd29623
Fix advanced search issue for read-only user (#785)
$_POST['type']=="search" not reachable if FM_READONLY is true
2022-05-27 11:06:25 +05:30
Tanner 04c1d45b5f
resolve sorting issues, keep back button at top (#779) 2022-05-05 03:51:21 +05:30
Prasath Mani ca94f23c47
Update tinyfilemanager.php 2022-04-18 12:51:55 +05:30
mclorch a65f8ff8b5
fix download Content-Type header (#770) 2022-04-11 13:39:51 +05:30
sinth 13b2bd0164
Add missing lines for German translation (#766)
* added missing lines for German translation

* small correction
2022-04-07 22:16:43 +05:30
luidoc ccf18947c8
Add Galician language (#747)
Add Galician language - gl
2022-03-20 12:48:48 +05:30
Rick van Leeuwen d4d620fe66
Fix Dutch translation (#745)
* Fix Dutch translation

* fix dutch translation
2022-03-20 12:47:03 +05:30
The-Exterminator 4d7078829d
Update translation.json (#742) 2022-03-07 08:47:58 +05:30
AnnAngela 7bd9483728
Fix incorrect path of the version svg (#740) 2022-03-06 19:38:08 +05:30
Agent Smith 179e13c4a6
Add danish language (#728) 2022-02-21 10:47:37 +05:30
Nguyễn Trần Chung 4ff141bb15
Update translation.json (#723) 2022-02-14 08:24:38 +05:30
Michael Milette 9b2bb18acb
Optimized and refactored fm_get_directorysize() function, and added validation. (#720) 2022-02-12 23:15:38 +05:30
Prasath Mani 7103691048 Fix - typo error #641 2022-02-12 13:54:22 +05:30
Prasath Mani 85821736c0 Update version 2022-02-12 13:48:19 +05:30
jicho e474ade92b
Client IP behind proxy (#665)
Function added for IP filtering when the filemanager is hosted behind a web proxy.

I've added a function for this to the file, not sure how else to implement it since everything is one file.
2022-02-12 13:28:26 +05:30
Daniel Kranich ad30a3a1f3
Add Global Readonly (#158)
Added a global readonly variable that will force readonly mode both when
not using the auth system and for all users if the auth system is being
used.

Co-authored-by: Prasath Mani <prasathmani@users.noreply.github.com>
2022-02-12 13:22:56 +05:30
Roni bb1d1d3801
added name of the file being edited (#542)
added name of the file being edited and a back button in a better location
2022-02-12 13:17:35 +05:30
Daniele Paganelli c3a2f1d604
Chunked file upload (#714)
Removes any PHP or server-side file-upload limits by using file chunks
2022-02-12 13:16:07 +05:30
joaogmauricio 154947ef83
apply fix to path traversal vulnerability (#718)
Co-authored-by: João Maurício <joao.goncalves.mauricio@pwc.com>
2022-02-12 10:34:05 +05:30
Enyedi Szilárd bc9096fad3
Update translation.json (#708)
Improved Romanian translation.
2022-01-28 07:44:37 +05:30
Enyedi Szilárd 3d28d8cb8e
Update tinyfilemanager.php (#707)
Changed "Folder is empty" message to be language-specific.
2022-01-28 07:43:56 +05:30
Roman Steiner 9b85951cfc
fix "400 bad request" when saving files (#705) 2022-01-21 08:06:27 +05:30
CornelCotoara d125c6736b
Add Romanian language (#690)
* Add Romanian language

Add Romanian language w/o diacrytics!
Traducere & adaptare in limba romana fara diacritice!

* Fix typo's
2021-12-21 17:45:58 +05:30
Karel De Smet f8d4d9cb17
added Dutch translation (#686)
* added Dutch translation

* fix typo
2021-12-21 11:01:36 +05:30
Suyadi 08cb4b0fce
Fix a non well formatted numeric value encountered & Notice: Undefined offset in fm_get_filesize() (#681)
For non `well formatted numeric value encountered`, see #670
For `Notice: Undefined offset 9` (current implementation result) see: https://3v4l.org/1qHit#v5.0.0
For new impementation result, see: https://3v4l.org/d0UBh#v5.0.0
2021-12-13 10:15:09 +05:30
Boris Delev 95d41a9518
Just a little fix with missing " in button HTML (#675)
Its a little html fix- its about 1787 line- the class value it not closed.
```
<button type="button" class="btn btn-sm btn-outline-primary name="Save"
```
changed to:

```
<button type="button" class="btn btn-sm btn-outline-primary" name="Save"
```
2021-12-03 07:16:32 +05:30
Zain Arbani 6bdc5ccfb3
Update Indonesian translations (#668) 2021-11-22 09:03:41 +05:30
febinrev 2046bbde72
Patched the RCE (#636)
I have patched the file upload directory traversal to Authenticated Remote Code Execution Vulnerability.
2021-11-12 08:31:02 +05:30
long c1718ff4c5
Vietnamese translation update (#629)
I have updated the Vietnamese translation under the code "vi" to be more complete.
2021-09-18 09:59:08 +05:30
Jeffrey-Wang 1db6713019
fix: document docker image name. (#622) 2021-09-05 08:47:26 +05:30
Prasath Mani c89e1d18de
Update README.md 2021-09-03 11:30:25 +05:30
Prasath Mani d401028eb6
Update README.md 2021-09-03 11:18:41 +05:30
Prasath Mani f6ac9cc63f
Update README.md 2021-09-03 11:14:46 +05:30
Jeffrey-Wang a22edfca00
feat: add Dockerfile and auto publish. (#619) 2021-09-03 11:13:23 +05:30
Alex 55706b2f8b
Adding a Slovenian translation (#614)
I added a Slovenian translation under the code "sl" and the name "Slovensko".
2021-08-09 20:06:08 +05:30
Agent Smith 09e2b9a107
Fix saving of empty files (#612)
When you have a file without content, for example when you cleared you were unable to save it because of an incorrect if-statement. This is the fix for that problem.
2021-08-06 07:43:22 +05:30
Agent Smith 9ee41b14d6
Added some missing translations (#608) 2021-08-02 10:39:37 +05:30
schmigz 8158333d93
Update tinyfilemanager.php (#568)
fm_get_file_mimes() was causing errors for unknown extensions as it was causing an error as array element was not defined and return value was never checked.  According to https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types and several other resources,  application/octet-stream is the default value for all other cases. An unknown file type should use this type.   I put a check in there to use that by default so a valid value is always returned.

It might be useful to replace this function with the  built-in PHP function mime_content_type() but that adds some additional dependencies as it does not always work out of the box with PHP.
2021-06-05 11:57:53 +05:30
sbivol e843adcf0b
Fix function name and add extensions for icons (#567)
* Set icons for more file extensions

* Fix function name
2021-06-05 08:33:57 +05:30
safraja f182e378e3
PHP8 fix and few other changes (#562) 2021-06-01 10:11:15 +05:30
Prasath Mani 27d7126767
Typo error fix #548 2021-05-17 15:05:46 +05:30
Prasath Mani a62bb38773 PR update and sync 2021-05-17 12:22:16 +05:30
Adrien Bonnel 603f048722
Fix PHP 5.X (#494)
Arrays cannot be used in "define" functions with PHP versions lower than 7.X
Solution given via my professional account (ArlorNaturalScientific)
2021-05-17 11:59:34 +05:30
Shoyu Vanilla 442843239c
🌐 Update Korean translation (#496) 2021-05-17 11:58:53 +05:30
Julien b63615a4b8
French translation: sort and complete (#497)
* French - Apply alpha order

* Add missing translations

* Fix missing help
2021-05-17 11:58:19 +05:30
Simon Nándor 9d78ee8b01
I added the Hungarian language (translation.json) (#509)
I added support for the Hungarian language.
2021-05-17 11:57:50 +05:30
Roni 9b5d2718ab
New translations (#537)
New translations

Novas Traduções
2021-05-17 11:55:47 +05:30
Roni a38d8e3934
Portuguese, with new translations (#538)
Portuguese, with new translations

Português, Com novas traduções
2021-05-17 11:55:02 +05:30
Roni db3f4c01ea
Added in preferences light or dark theme (#539)
Added in the preferences option to change the light or dark theme,

Now to change the theme will be in the preferences / settings area, along with other settings, and may even have other themes in the future.
2021-05-17 09:24:45 +05:30
William Gilmour c5d481c5cc
Fixed Rename with folder quotes (#534)
Fixed the Rename functionality to work with folders that contain single quotes in them by calling `addslashes` on the path.
2021-04-30 05:57:10 +05:30