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
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
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
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
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