Commit graph

275 commits

Author SHA1 Message Date
lucas.recoaro@gmail.com 9e1c222074 updated 2021-06-09 11:04:41 +12:00
lucas.recoaro@gmail.com b3678a7a9d Merge branch 'prasathmani-master' 2021-06-09 11:03:32 +12:00
lucas.recoaro@gmail.com 0eaa4d12be Fixed merge conflict 2021-06-09 11:03:20 +12:00
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
Lucas acbe43bb41
Merge pull request #2 from emancu/patch-2
Update config.php
2021-04-30 08:38:14 +12:00
Emiliano Mancuso e761298680
Update config.php
Remove duplicated entry for emancu
2021-04-28 11:06:59 +01:00
Prasath Mani a04567d3ba Fix security issues #525 and #526 2021-04-22 13:41:35 +05:30
Lucas 3668bb3b18
Merge pull request #1 from emancu/patch-1
Update password for emancu
2021-04-09 20:35:40 -03:00
Emiliano Mancuso 300d3a9f67
Update password for emancu 2021-04-10 00:34:40 +01:00
Lucas 18c09156ce
Update config.php 2021-03-31 12:32:55 +13:00
Lucas a222362768
Update config.php 2021-03-31 12:30:39 +13:00
huntr.dev | the place to protect open source 03c3f6d7f9
Fixed 3 sinks which caused XSS in filename (#511)
Co-authored-by: Vaibhav Shinde <vaibhavkshinde20@gmail.com>
2021-03-22 18:26:55 +05:30
Lucas 8c7a3499fc
Agrego usuario para MartinTrionfetti 2021-03-09 16:18:36 +13:00
Lucas 5565ecb549
Update config.php 2021-03-06 12:51:07 +13:00
Lucas bc03adb967
Update config.php 2021-03-06 12:42:01 +13:00
Lucas 616c3d35c2
Update config.php 2021-03-06 12:40:42 +13:00
recox 7dd68cacd9 Agrego usuarios para acceder al sitio 2021-03-05 09:20:26 +13:00
Prasath Mani 95147f5828 remove decoded php codes and code cleanup 2021-02-24 13:33:57 +05:30
ccdd13 dd9d7c09a2
Feat/mixed changes (#502)
* remove trailing whitespace

Signed-off-by: ccdd13 <78702084+ccdd13@users.noreply.github.com>

* safe include config.php with __DIR__

* replace doc url for $datetime_format from function.date.php to datetime.format.php

Signed-off-by: ccdd13 <ccdd13@users.noreply.github.com>

* put $auth_users & $readonly_users together

Signed-off-by: ccdd13 <ccdd13@users.noreply.github.com>

* update $datetime_format

Signed-off-by: ccdd13 <ccdd13@users.noreply.github.com>

Co-authored-by: ammm ccdd12 <mamok43076@dashseat.com>
Co-authored-by: ccdd13 <ccdd13@users.noreply.github.com>
2021-02-24 12:37:38 +05:30
Prasath Mani a19ff20768 Update vendor CDN versions 2021-02-23 11:47:57 +05:30
HOOP Mediaclinic b03232775e
Added Finnish translation (#486)
Co-authored-by: Jani Kiviranta <jani.kiviranta@hoop.fi>
2021-01-19 06:37:00 +05:30
Peter Frost ef09231454
Fix file size display in file viewer (#475) 2020-12-23 20:46:00 +05:30
Adrian B. Hoffsten 6b06fb2532
Norwegian translation[NO] (#474) 2020-12-22 10:52:43 +05:30
Aditya Phra 2512330dee
Update Indonesia translation (#435) 2020-12-06 10:11:21 +05:30
KaiserBarbarossa 642cab42cc
Update German translation (#447) 2020-12-06 10:10:36 +05:30
lucas.recoaro@gmail.com 639747a12c Logs are displayed with php highlights 2020-11-16 08:13:56 +13:00
tommy1616 c03e601bc3
Update translation.json (#451) 2020-11-11 09:48:26 +05:30
Michele La Forgia 0d0e728c79
Update italian translation (#440) 2020-10-23 05:01:18 +05:30
Алмас 530055df08
Add: Mongolian (cyrillic) language added. (#422)
Co-authored-by: Davaadorj.U <davaadorju@gmail.com>
2020-09-10 19:57:23 +05:30
Dvash 5d841d6624
Update russian translation (#414)
* fix(ru): fix russian translation

* style(ru): sort russian translation alphabetically

* feat(ru): update russian translation
2020-08-26 03:57:06 +05:30
Dvash 211568ff4c
fix(actions): creating a backup in FM_ROOT_PATH (#418) 2020-08-26 03:55:13 +05:30
Anton Dalmau Mines 44bedb9be0
Update Catalan translation (#410)
* Update translation.json

Update Catalan translation

* Update translation.json

* Update translation.json

* Update translation.json
2020-08-12 07:20:14 +05:30
DvashVistrame c8fff90634
fix: prevent double write to file (#409) 2020-08-04 14:00:05 +05:30
safraja a6a28a6356
Fix sorting by date and size (#387)
Based on suggestions in https://github.com/prasathmani/tinyfilemanager/issues/197
but uses data-sort attribute (from DataTable wiki https://datatables.net/examples/advanced_init/html5-data-attributes.html) instead of invisible characters and also distinguishes files and folders, so they stay grouped even after sort.
(I am sorry for my bad English.)
2020-07-20 05:39:47 +05:30
Elegary 14ed4fdb92
Update french translation (#392)
I corrected the french translation
2020-07-20 05:38:12 +05:30
zachlankton 65f7dc448d
Fixes #183, Fixes #289 (#400)
Fixes setting drop down boxes to the current ace editor mode and theme on page load.
2020-07-20 05:37:41 +05:30
zachlankton fb31a14873
Added Error Message When File Fails to Write (#399)
Added error checking and message for when file fails to write on the server side.  Before this change if a write failed on the server side it would still present the user with a misleading "Saved Successfully" Message.
2020-07-20 05:36:47 +05:30
Michael Milette c741ae2212
Notice: A non well formed numeric value encountered (#386)
Eliminates the following PHP warnings when error reporting is turned on:

Notice: A non well formed numeric value encountered in tinyfilemanager.php on line 2443
Notice: A non well formed numeric value encountered in tinyfilemanager.php on line 2444

This happens because PHP floor and round are expecting a (float), not an (int).
2020-06-27 16:02:09 +05:30