1
0
mirror of https://github.com/prasathmani/tinyfilemanager.git synced 2025-04-20 23:21:51 +02:00

395 Commits

Author SHA1 Message Date
kev1n
7e7fb1f505
translation.json: Corrected German translations (#1287)
CreateNewItem
Original: “Neue Datei erstellen”
Corrected: “Neues Element erstellen”

UploadingFiles
Original: “Datei hochladen”
Corrected: “Dateien hochladen”

Invalid file or folder name
Original: “Ungältiger Datei- oder Ordnername”
Corrected: “Ungültiger Datei- oder Ordnername”

Operations with archives are not available
Original: “Archiv-Funktionen nicht verfägbar”
Corrected: “Archiv-Funktionen nicht verfügbar”
2025-03-09 04:46:35 +05:30
Prasath Mani
bf2c2a9a4d Update tinyfilemanager.php
Resolve the problem of the User dropdown being cut off.
2025-02-26 08:17:58 +05:30
Prasath Mani
64f7b29c78
Update tinyfilemanager.php 2025-02-23 11:34:08 +05:30
ner0
07ac97c20b
Date Modified in file view (#1250)
* Date Modified in file view

* Add translation support
2025-02-02 09:55:41 +05:30
Michele Locati
8c78bc78f9
Allow hiding files/folders by full path (#1092) 2025-01-23 07:32:50 +05:30
ner0
8a17a5b210
Minor identation issues (#1273) 2025-01-23 07:26:10 +05:30
imcraftsman
9792bd000f
Update tinyfilemanager.php (#1268)
running envirement: Android 4.4+PHP 7.4.3+ KSWEB
http://192.168.1.2/tinyfilemanager.php, afer login,the main page could not be showed entirely,it just shows half of navigation bar.

that's becuase of
there are two same lines of codes which cause the problem. they are
$owner = posix_getpwuid(fileowner($path . '/' . $f));
when the funciton fileowner($path . '/' . $f)  return 0 and  run the function posix_getpwuid(....), it trig an error.
please check the codes in line 2156--2168 and 2221--2233

suggest replace these two parts with followed  codes:
                $owner = array('name' => '?');
                $group = array('name' => '?');
                if (function_exists('posix_getpwuid') && function_exists('posix_getgrgid')) {
                    try{
                        $owner_id = fileowner($path . '/' . $f);
                        if($owner_id != 0) {
                            $owner_info = posix_getpwuid($owner_id);
                           if ($owner_info) {
                                  $owner =  $owner_info;
                           }
                       }

                        $group_id = filegroup($path . '/' . $f);
                        $group_info = posix_getgrgid($group_id);
                        if ($group_info) {
                             $group =  $group_info;
                         }

                    } catch(Exception $e){
                       error_log("exception:" . $e->getMessage());
                    }
                }
2025-01-20 17:06:35 +05:30
Prasath Mani
232fc78f2e Update cdn versions, Improve the designs, Format the Code and Update Readme 2.6 2024-11-05 05:48:15 +05:30
paponius
c38dca17e4
Support55 (#1076)
* random_bytes() only for >PHP7

* tab to 4 spaces

---------

Co-authored-by: Prasath Mani <prasathmani@users.noreply.github.com>
2024-10-14 09:30:02 +05:30
Dev Goyal
ac3dd478f5
fix hostinger's devil signature making it a false positive on hosting antivirus scanner (#1112)
Co-authored-by: Prasath Mani <prasathmani@users.noreply.github.com>
2024-10-14 09:27:55 +05:30
Prasath Mani
01cfb5d8ac UI cosmetic changes 2024-10-14 09:25:51 +05:30
Joshua Myers
94b62544bd
Added Additional Delete Link in File Viewer View (#1141)
* Added Additional Delete Link in File Viewer View

I found myself clicking into specific files to see them larger, then wanting to delete them, only to find I had to go back to another screen to delete them.

* Changed Reference to Invalid Variable
2024-10-14 09:11:17 +05:30
Rolf Allard van Hagen
1042994a60
Save $CONFIG to config.php if it exists (#1144)
Writes $CONFIG variable to the main plugin file, unless there is a config.php
2024-10-14 09:09:03 +05:30
Jabed Bhuiyan
3716af20a2
Dynamic Browser Tab Title Handling Based on File Context (#1202)
* Update tinyfilemanager.php

Now it will show the filename as browser tab title so that user can easily identify which file is opened on which tab.

* Update tinyfilemanager.php

remove lines 3722 and 3734 and add this directly in  3733 as per the suggestion of @ner00

* Update tinyfilemanager.php

extra trailing space removed
2024-10-14 09:06:19 +05:30
Vadászi Attila
8d953bf0f9
Fix multiple download and browse while downloading (#1242) 2024-10-14 09:05:03 +05:30
Prasath Mani
d26c9e5cbf
Update SECURITY.md (#1231) 2024-09-16 11:17:50 +05:30
Randy Garrison
0f58c2ca65
Add powershell file extension to text format for opening in editor. (#1228) 2024-09-10 03:39:29 +05:30
Caleb Mazalevskis
b602dcd172
Fix typos. (#1214) 2024-08-04 12:08:43 +05:30
Daniel Dias Rodrigues
1bcc240119
Added missing translatable string. Update pt-br translation. (#1204) 2024-07-05 04:43:26 +05:30
Awais
8b330b75a4
Update default font size to in jQuery initialization (#1200) 2024-06-24 08:13:07 +05:30
Prasath Mani
f120daa607
Update README.md 2024-06-06 09:23:44 +05:30
Prasath Mani
e27e1abeb4
remove email address 2024-06-06 09:20:20 +05:30
Fannie MC
a4d96e0eaf
Add JSON Parse Error Handling in Upload Script (#1196)
* Add JSON Parse Error Handling in Upload Script

* Update tinyfilemanager.php

* Update tinyfilemanager.php
2024-05-31 09:45:09 +05:30
Prasath Mani
843e240757
Update tinyfilemanager.php 2024-05-28 06:50:00 +05:30
Prasath Mani
ecec756b71
Update tinyfilemanager.php 2024-05-28 04:51:37 +05:30
Daniel Dias Rodrigues
8366e1bc29
Expanded the list of files recognized as compressed (#1193) 2024-05-27 09:29:54 +05:30
Ijor Tengab
d8fceac7dd
Fix #963 (#969) 2024-05-27 09:27:33 +05:30
Mahyar Damavand
a306f4f1f7
Add --no-cache to 'apk add' command in order to reduce docker image size (#1191) 2024-05-26 10:39:06 +05:30
BANKA2017
a1ae0fa729
fix: #52 Does not respect directory tree while uploading a folder containing sub-folders (#1056) 2024-05-01 10:01:27 +05:30
Torusrxxx
ca4b1b1743
Disable excluded extension name from viewing (#1151) 2024-03-25 11:09:24 +05:30
Michele Locati
8e87afae5b
Fix wrong phpdoc of print_external() (#1091) 2023-09-14 15:05:36 +05:30
Tony Ganesh Prajapati
43063e4746
Update tinyfilemanager.php (#1086)
changing String "Filter" to "Search"
2023-08-28 12:29:45 +05:30
AJ.Bassa
47359d3f4e
Update translation.json (#1083)
Updated Dutch translation
2023-08-11 01:14:37 +05:30
paponius
eb8f3d80bc
random_bytes() only for >PHP7 (#1066) 2023-06-29 07:31:24 +05:30
ner0
f380478197
Typo & make text bold (#1042)
* Fix typo

* Make text bold for consistency

Also dropping the plural 's'
2023-05-16 08:17:43 +05:30
divinity76
f7a2f77008
reduce feof() calls (#1041)
micro-optimization: when doing large file copies, this will reduce the number of feof() calls. for example, if copying 100MB, this will save approximately 25,599 feof() calls (255 feof() calls for every MB) - also feofs() may do an actual syscall, and syscalls are relatively expensive/time-consuming.
2023-05-15 09:53:25 +05:30
Bryan
dabc4ea36e
Fix highlightjs_style in config.php being ignored (#1039)
highlightjs_style variable is being used before config.php gets parsed, so preview style is always vs. This PR fixes that by moving config.php parsing to be before external resource calls.
2023-05-11 09:55:15 +05:30
ner0
7ec19c1659
Resize preview image and implement zoom in/out (#1036)
* Resize preview image and implement zoom in/out

* Remove redundant class name
2023-05-03 14:11:59 +05:30
DannyDaemonic
8486c7a240
Add configurable path display modes for better privacy and clarity (#1034) 2023-04-26 20:46:52 +05:30
xololunatic
8194249b66
login (Redirecting to Main domain of website instead of tfm.php) fix (#1031)
When logged in it takes to the website's main URL. For example, if I have tfm in www.example.com/tfm/index.php (index.php is tfm) then after logging in it redirects to www.example.com and then have to press back on the browser then it takes to www.example.com/tfm/index.php
2023-04-24 07:00:47 +05:30
Caleb Mazalevskis
da77df785a
Fix typo. (#1028) 2023-04-23 19:59:23 +05:30
Micha Ober
00541fc469
Fix upload of existing files (#1026) 2023-04-21 19:21:31 +05:30
Joy Biswas
7ca87c9163
added bengali translation (#1018) 2023-04-21 10:06:09 +05:30
divinity76
f6a93653be
use stream_copy_to_stream (#1014)
* use stream_copy_to_stream

it's simpler, and should be faster.
For example, stream_copy_to_stream can use sendfile ( https://man7.org/linux/man-pages/man2/sendfile.2.html ) on operating systems supporting it, which is faster and use less RAM than fread()+fwrite() (because it avoids copying data to/from userland, doing the copy entirely in-kernel~)

* fix loop early return, and workaround bug

* use feof

ref https://github.com/prasathmani/tinyfilemanager/issues/1016#issuecomment-1502081506
2023-04-21 10:05:45 +05:30
Micha Ober
85f35bc28f
Check if posix_getpwuid/posix_getgrgid calls were successful (#1023) 2023-04-21 10:03:20 +05:30
divinity76
3a90a5916a
tell git to always commit .php in unix-newlines (#1017)
so hopefully we don't get a repeat of https://github.com/prasathmani/tinyfilemanager/pull/994#issuecomment-1502035505
2023-04-11 07:51:47 +05:30
ner0
6a6eb8abec
Prevent logout issue after page was cached (#1004)
Logout may not work otherwise, browser reloads cached page from disk instead of sending GET request ?logout=1 to server.
2023-03-31 04:16:23 +05:30
Prasath Mani
bf024c7c84
Update tinyfilemanager.php 2023-03-17 10:22:19 +05:30
Sergiu Bivol
d705da604c
Update Romanian translations (#981) 2023-02-26 21:18:19 +05:30
ssams
94f1c92d80
publish additional docker tags (#975) 2023-02-22 13:06:26 +05:30