ner0
ded07b0f76
Implement 2FA authentication
2023-06-11 00:07:53 +01:00
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
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
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
Prasath Mani
e071b2372c
Add External CDN resources configurable
2023-02-22 07:16:25 +05:30
fwiesweg
ba1b499d2b
Allow configuration for strict CSPs and GDPR ( #971 )
2023-02-22 06:25:35 +05:30
Suyadi
6775bcb176
AceEditor: hide vertical ruler ( #973 )
2023-02-22 06:24:00 +05:30
Alessandro Marinuzzi
4b2aef8737
Added extensions and removed the duplicated entries ( #968 )
...
added new extensions used in different linux/windows environments and removed duplicate entries
2023-02-16 20:54:55 +05:30
Michael Gebetsroither
1eed63cf1b
make upload chunk size configureable ( #967 )
...
nginx supports only 1MB per default
2023-02-16 16:18:40 +05:30
minghongg
cddd7eaab0
Deploy path traversal fix ( #953 )
...
Co-authored-by: root <root@chevaliers.lan>
2023-01-25 11:46:20 +05:30
Dmitry Efremov
dd1ba6795c
Fixes ajax ability to handle requests when auth disabled ( #952 )
2023-01-25 08:23:45 +05:30
Dmitry Efremov
9c4d30d7b5
Fixes couple issues with confirmDailog ( #951 )
...
* Fixes naming for confirmDailog id, otherwise dialog won't work
* Removes destroying form as browser complains that it can't process request from disconnected form
2023-01-25 08:22:27 +05:30
Prasath Mani
dc529dd590
Fix save settings not working #947
2023-01-22 02:06:14 +05:30
fbotp
69ccd952fc
Bug fix: Delete confirm dialog will work wrong aflter cancel. ( #942 )
...
* Bug fix: Only delete first file/directory when clicking the delete button multiple times and canceling.
* Add variable name for delete dialog
2023-01-19 21:41:48 +05:30
Catalin
69495db9b4
Subfolder links fix ( #945 )
...
Download and Direct link problems when using with a subfolder, possible simple solution.
2023-01-19 21:41:00 +05:30
Prasath Mani
789b98f136
Download and Direct link problems when using with a subfolder. #907
2022-12-03 06:17:55 +00:00
Prasath Mani
8f2f65b9fc
Bug Fix #904 , #903 , #900
2022-12-02 02:43:24 +00:00
武志伟
31b988db79
Translation supplement ( #902 )
...
* update zh-cn lang
* Translation supplement
* update zh-cn lang
2022-11-30 16:40:57 +05:30
Nguyễn Trần Chung
5a00707890
Update tinyfilemanager.php ( #898 )
2022-11-27 20:59:39 +05:30
muink
cfb9a57d5e
Fix the problem of login failure when $root_url is defined ( #896 )
...
Fix the problem that `FM_ROOT_URL` and `$_SERVER['REQUEST_URI']` are repeated, causing login redirection to fail when `$root_url` is defined
2022-11-26 18:52:34 +05:30
Prasath Mani
e30ec1dfd2
update download buffer and fix #893
2022-11-25 07:00:19 +00:00
Prasath Mani
610cea8ecd
Fix - #739 , #887 , #886 , #884 , #835
2022-11-25 03:09:46 +00:00
Michele Locati
f20d3e9e06
Fix phpdoc types ( #890 )
2022-11-23 22:07:04 +05:30
Prasath Mani
e5c78e8ab9
cosmetic changes and dark theme color update
2022-11-20 19:01:08 +05:30
Prasath Mani
f8cedbcf59
Fix Security related issues
2022-11-20 16:59:29 +05:30
Prasath Mani
df80b73436
Refactor Code and Update Doc
2022-11-20 15:04:25 +05:30
Prasath Mani
8de16a4c8a
Major update on security, improved UI and bug fix.
2022-11-19 19:55:39 +00:00
Prasath Mani
4d8d4a3aba
Update tinyfilemanager.php
2022-11-07 22:48:15 +05:30
Prasath Mani
fce0f5bacb
Fix warning message
2022-11-07 22:42:07 +05:30
llcool
59c6b9b26a
Downloading file - PHP warning loop "Permission denied" ( #879 )
...
* Bugfix: Stop looping error when downloading a file with no access.
* Delete .history directory
ignore .history
2022-11-07 22:24:56 +05:30
Rizky
be49a13b8e
Fixes advanced search not working. ( #878 )
...
Fix #869
2022-11-07 22:23:01 +05:30
ririko5834
2c0e6d216e
Update tinyfilemanager.php ( #874 )
2022-10-31 21:19:21 +05:30
Prasath Mani
805308a013
remove latest version checker
2022-09-01 16:25:29 +05:30
Dmitry Efremov
2eb00ab3de
Adds json mime type as text type to allow edit json files ( #841 )
2022-08-25 09:50:39 +05:30
Agent Smith
74727fe48a
Add webm to videos ( #833 )
2022-08-06 11:17:47 +05:30
Sebjugate
3a3033bdce
Added .yml, .yaml and .toml extensions. ( #816 )
...
These are common config file extensions.
2022-07-14 07:16:02 +05:30
zedzhen
afe1227caa
Update russia translate and fix bug ( #815 )
...
* fix bug
if $calc_folder is enabled and there are insufficient permissions for one of the subfolders, then "PHP Fatal error: Uncaught RuntimeException: SplFileInfo::getSize()"
* lng() update
added lng() and delete unesed
* update russia translate
2022-07-14 07:14:54 +05:30
Saied
cda40e22f1
More accurate ip recognition ( #807 ) ( #813 )
2022-07-14 07:13:49 +05:30
Michael Horstmann
b24887d4fd
Removed unused function ( #806 )
...
To fix: Undefined constant 'FM_EXTENSION'
2022-07-07 12:01:02 +05:30
Prasath Mani
17de8af81b
PHP "divide by zero" error when unzipping 0 byte (very small) .zip files #803
2022-06-29 02:14:35 +00:00
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