Commit Graph
166 Commits
Author SHA1 Message Date
Michał Fox 5c57b63d00 Validate upload size against the node limit before uploading (#7305)
the file manager only found out a file was over the node's upload limit
after sending the whole thing. the client server resource now exposes
the node's `upload_size` and `useFileUploader` rejects bigger files
before any bytes go out. added `useFileUploader.spec.tsx`, the api
fixtures have the new field.
2026-11-11 12:34:47 -05:00
robert dennis e71c2c1e22 upload drop check 2026-10-20 15:30:15 -04:00
Haseeb d9c303f951 Fix file upload detection (#7299)
Files with an empty MIME type were incorrectly rejected as folders when
their size was 0 or exactly 4096 bytes. One matching file also blocked
the entire upload batch.
This removes the MIME type and size heuristic from `useFileUploader` and
checks dropped items using `webkitGetAsEntry()` instead. Actual
directories remain rejected when the browser provides directory entry
information.
2026-10-19 15:06:19 -04:00
robert dennis a106396179 test helpers 2026-10-12 21:41:35 -04:00
robert dennis 38d2aadccc console and file views 2026-10-12 15:31:58 -04:00
robert dennis ec60d70e4c theme tooling 2026-10-12 14:24:49 -04:00
robert dennis 117d8ee489 theme runtime tests 2026-10-12 08:14:53 -04:00
robert dennis 7b8b592900 theme views 2026-10-12 08:14:53 -04:00
ItzLinaton b3446c5324 Fix: Centered Bulletpoints in MassActionsBar (V2) (#7265)
Before:
<img width="569" height="248"
alt="{92F812C3-A2EA-45FD-BC4E-F27AE92A8BE5}"
src="https://github.com/user-attachments/assets/2744d97d-0279-4b18-8fc2-e1935f9a9306"
/>

Fixed:
<img width="558" height="244"
alt="{9D6E50EA-81CD-49FC-96DE-E48BF4B21534}"
src="https://github.com/user-attachments/assets/e8e2a56e-8cb0-483b-8597-0e6c0acc008e"
/>
2026-10-09 15:34:32 -04:00
robert dennis cceaa535b8 lint cleanup 2026-10-08 16:54:59 -04:00
Sky Mulley 240aaf62ea properly handle file permissions regarding to creation and updating 2026-10-06 13:51:34 +01:00
6c0413e39b Start 2.0 development
Co-authored-by: Anthony <anthony@infraly.co>
Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
2026-10-05 18:10:18 -04:00
Dane Everitt bbb1294267 Support zero-byte file uploads (#5459) 2025-12-24 17:32:53 -08:00
Dane Everitt a264791fd4 Update PHP and JS dependencies to latest versions and modernize codebase (#5446) 2025-12-20 15:55:13 -08:00
Boy132 67b2d944a6 ui(client): allow MassActionBar to be clicked through (#4753) 2023-08-22 19:12:57 -06:00
Boy132 a83058668f only files check for "read-content", check folders for "read"
fixes #4792
2023-08-22 15:00:25 -10:00
Matthew Penner 598c956e4e ui(server): fix file uploads being canceled instead of completed 2022-12-04 16:36:53 -07:00
Dane Everitt df9a7f71f9 Support canceling file uploads (#4441)
Closes #4440
2022-11-21 13:58:55 -07:00
Dane Everitt d1beb2e1ad Fix file verification on upload; just block folders (#4442) 2022-10-16 17:24:49 -06:00
diamkil 6aede6b63d Allow uploading multiple files via web UI (#4392) 2022-09-29 17:43:20 -06:00
DaneEveritt 03a6e26c4d Improve create directory dialog 2022-07-24 19:23:45 -04:00
DaneEveritt 8d82aa2124 Improve design of drag & drop overlay 2022-07-24 18:59:20 -04:00
DaneEveritt 4458822c60 Cleanup file upload behavior 2022-07-24 18:50:47 -04:00
DaneEveritt 1cfa4100ad Show an error if a user attempts to upload a folder 2022-07-24 18:22:50 -04:00
DaneEveritt 1d5d92f678 Use a different styling for file uploads 2022-07-24 18:03:45 -04:00
Boy132 12242848b0 File upload status (v2 backport) (#4219) 2022-07-24 17:18:32 -04:00
DaneEveritt 15aaa2b3c3 Fix display issues due to removal of quirks mode 2022-07-03 14:44:00 -04:00
DaneEveritt 7c4028f8f1 Update dialog logic to support defining buttons/icon from anywhere 2022-07-02 17:24:12 -04:00
DaneEveritt 922d75f471 fix remaining eslint error 2022-06-26 15:30:05 -04:00
DaneEveritt dc84af9937 Apply new eslint rules; default to prettier for styling 2022-06-26 15:13:52 -04:00
DaneEveritt 1eb3ea2ee4 Some code cleanup, add jest coverage and begin using it for utility functions 2022-06-26 14:34:09 -04:00
DaneEveritt 2824db7352 Update file manager design a bit 2022-06-20 14:16:42 -04:00
DaneEveritt 04e97cc67e Make it easier for plugins to extend the navigation and add routes 2022-06-12 11:36:55 -04:00
Mrxbox98 1f3217c3c5 fix(server/files): duplicate entry when making a nested folder (#3813) 2022-01-18 12:49:06 -07:00
Alex ca2269fea1 Fix z-index of the mass delete modal (#3463)
Fixes the order of mass confirmation modal to correctly be displayed prominently on top of all elements
2021-07-11 11:27:52 -07:00
Charles Morgan 3898e40fa4 Add list of files being deleted to delete modal (#3299)
Shows the first 15 file names being deleted. If more then 15, the first 15 will be shown then the last line will be ` + ## other(s)`
2021-05-16 11:28:52 -07:00
Charles Morgan 69ac2ca40b Allow MAB div to be clicked through (#3359)
Allows users to interact with files that are blocked by the div that renders the MassActionbar
2021-05-16 09:49:21 -07:00
Dane Everitt 5a82dd6a18 Update to TypeScript 4 2021-05-08 10:37:18 -07:00
Dane Everitt 32fb21d0b7 Update use of server error blocks 2021-01-30 18:01:32 -08:00
Jakob Schrettenbrunner 4fd2af028d fix urlencoding in the filemanager 2021-01-02 02:15:32 +01:00
Dane Everitt b2328b50c6 Fix checkbox design in file manager 2020-12-27 10:44:56 -08:00
Dane Everitt c75f89889a Update to Tailwind V2 2020-12-26 09:50:09 -08:00
Matthew Penner bb559422dc Make ESLint happy, fix minor issue with file manager breadcrumb 2020-12-19 11:51:26 -07:00
Dane Everitt 3e65a2d055 Pass one at unfucking the stupid file encoding issues 2020-12-08 21:24:17 -08:00
Dane Everitt 24417ac516 Slightly less obtuse way of handling this little checkbox 2020-12-08 20:34:31 -08:00
Dane Everitt a66ee9673b Merge pull request #2797 from pterodactyl/matthewpi/breadcrumb-patch-1
Add mb-4 to File Manager Breadcrumb when editing a file
2020-12-08 19:56:05 -08:00
Dane Everitt f31a1288af Don't show file mode in the manager 2020-12-08 19:54:32 -08:00
Matthew Penner 2fafd4fbbf Add mb-4 to File Manager Breadcrumb when editing a file 2020-12-06 20:42:05 -07:00
Dane Everitt 7b9a8c8441 Merge pull request #2768 from pterodactyl/feature/chmod-files
Chmod Files from the File Manager
2020-12-06 11:30:33 -08:00
Matthew Penner ed5613e207 Show file mode on file listing, add ability to change file mode 2020-12-04 09:24:06 -07:00