Eric Callahan
7a8aeae673
file_manager: use the job queue to start gcode uploads
...
If a print cannot be started then it will be queued.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-11-12 10:11:39 -05:00
Eric Callahan
b55b21921a
file_manager: report additional info in response to get_directory
...
Include the root's name and its permissions.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-30 16:49:41 -04:00
Eric Callahan
e9b06472c1
file_manager: minor refactoring in _list_directory method
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-30 16:46:40 -04:00
Eric Callahan
aa608b4c29
metadata: support extracting thumbnails from footer
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-30 11:01:27 -04:00
Eric Callahan
4e262dfa14
file_manager: remove redundant code in delete_file method
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-30 07:34:40 -04:00
Eric Callahan
538c68fc8b
file_manager: normalize path requests
...
This resolves an issue where a path is containter two slashes as a separator reports as outside of the root.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-30 07:28:55 -04:00
Eric Callahan
de8c0fc871
file_manager: fix inotify symlink handling
...
When a symbolic link is created there is no completion event, so immediately fire the notification.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-27 11:24:57 -04:00
Eric Callahan
e33962fdd4
file_manager: check write permissions for uploads
...
If the specified path is a symbolic link do not proceed with the upload, raise an exception.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-27 08:55:44 -04:00
Eric Callahan
734f295822
file_manager: allow registration of full access directories
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-27 08:55:44 -04:00
Eric Callahan
4c42b8d072
file_manager: report file and directory permissions
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
fix
2021-10-27 08:55:19 -04:00
th33xitus
6a6422c16e
metadata: add IdeaMaker thumbnail parsing
...
This commit allows Moonraker to parse thumbnails from g-code files generated by IdeaMaker.
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-10-14 14:23:00 -04:00
Eric Callahan
070e03d741
file_manager: Don't filter inotify events on the gcodes root
...
Broadcast events for all files and let clients determine
what should be shown.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-10 11:33:33 -04:00
Eric Callahan
7f1c327f02
file_manager: hidden folder bugfix
...
Since inotify supports hidden folders we shouldn't skip them when scanning for nodes.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-10 11:04:59 -04:00
Eric Callahan
fdfab66951
metadata: add PrusaSlicer aliases
...
The varous forks of PrusaSlicer are processed identically
outside of their identifier, so there is no need to
implement new classes for each fork.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-28 06:14:24 -04:00
Eric Callahan
776e0d6c90
file_manager: strip leading slashes supplied in the upload path argument
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-14 14:43:00 -04:00
Eric Callahan
5204fe3e08
metadata: fix est time parsing for Simplify3D
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-08-07 11:45:44 -04:00
Eric Callahan
13a85fe9e0
file_manager: replace references to ioloop with eventloop
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-07-12 06:16:18 -04:00
Arksine
261fbbc867
file_manager: move modules to its own package
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-07-06 19:25:10 -04:00