aboutsummaryrefslogtreecommitdiffstats
path: root/src/file_op.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite file traversal logic to not suffer from stack overflow problemSven-Hendrik Haase2025-03-091-24/+20
| | | | | | See also here: https://github.com/ririsoft/async-walkdir/issues/13 At the same time, this now also ignores permission denied errors gracefully and just ignores those files.
* Fix lints on WindowsSven-Hendrik Haase2025-03-071-0/+6
|
* For directory size counting, ignore inodes we've seen beforeSven-Hendrik Haase2025-03-071-5/+35
| | | | This might be the case when there are hardlinks on systems that support those.
* Add asynchronous directory size countingSven-Hendrik Haase2025-03-071-1/+33
| | | | | This is enabled by default and without an option to toggle it off as it's asynchronous and shouldn't block the server thread.
* Upgrade to Rust 2024 editionSven-Hendrik Haase2025-03-071-4/+6
|
* feat: validate temp dir exists through `value_parser` and fixed clippy issuesAlec Di Vito2025-03-021-18/+32
|
* feat: address comments; add in new argument (`temp-directory`); add comments ↵Alec Di Vito2025-02-221-43/+103
| | | | to upload code; add tests
* feat: implement temporary file uploads and tweak mobile designAlec Di Vito2025-02-171-27/+113
|
* Merge branch 'master' into upload-progress-barSven-Hendrik Haase2025-02-071-7/+11
|\
| * Bump depsSven-Hendrik Haase2024-07-201-7/+11
| |
* | feat: Added HTML and Javascript progress bar when uploading filesAlec Di Vito2024-06-061-5/+13
|/
* Refactor errorscyqsimon2024-01-291-36/+30
| | | | | - Split `ContexualError` into `StartError` & `RuntimeError` - Made sure every `RuntimeError` variant has an accurate status code
* Fix inaccurate uses of `sanitize_path`cyqsimon2024-01-261-3/+4
|
* Use tokio::fs instead of std::fs to enable async file operations (fixes #445)Sven-Hendrik Haase2024-01-131-8/+9
|
* Fix formattingSven-Hendrik Haase2024-01-131-8/+14
|
* Ignore readonly metadata and handle errors insteadVictor2024-01-111-11/+15
|
* Update actix-multipart to 0.6.1Sven-Hendrik Haase2024-01-031-2/+2
|
* Fix incorrect usage of app data extractorcyqsimon2023-09-051-1/+1
| | | | - `Data` extractor can only be used when app data is wrapped with `Data`
* Minor code style refactorscyqsimon2023-09-051-9/+11
|
* Use distinct query type for file op APIscyqsimon2023-09-051-9/+12
|
* rename `file_upload` to `file_op`cyqsimon2023-09-051-0/+230
- This is in preparation for adding deletion code