Commit Graph
86 Commits
Author SHA1 Message Date
LeoVasanko 66698869d6 Minor changes 2023-11-19 08:03:23 +00:00
LeoVasanko fee66ce7ed Add pymupdf/fitz dependency 2023-11-19 07:21:11 +00:00
LeoVasanko c72e3d91ee Added PDF previews. Preview quality configurable. Preview browser caching and cache busting. 2023-11-19 07:16:24 +00:00
LeoVasanko c5f611bc4c Improve Gallery keyboard navigation 2023-11-19 04:37:48 +00:00
LeoVasanko 6dfb93e0dc Remove new folder button until implemented in gallery 2023-11-19 04:26:38 +00:00
LeoVasanko 9724f1095e Fix theming of filenames in gallery light mode. 2023-11-19 04:25:08 +00:00
LeoVasanko fb565a95d6 Fix preview images that need rotation 2023-11-19 03:56:16 +00:00
LeoVasanko 218f9a5b26 Remove debug 2023-11-19 03:47:01 +00:00
LeoVasanko 09e35acf87 Add PIL dependency 2023-11-19 03:40:34 +00:00
LeoVasanko c84c570d2e Implement media preview thumbnails for Gallery 2023-11-19 03:38:25 +00:00
LeoVasanko a52167bb5e Fix empty folder / folder missing for empty folders at root 2023-11-19 02:22:07 +00:00
LeoVasanko a04b2794d6 Large number of keyboard navigation and other fixes. 2023-11-19 02:15:13 +00:00
LeoVasanko d721de8811 Global shortcut keys tuning. 2023-11-18 23:56:53 +00:00
LeoVasanko 651ce7b6a7 Remove defineProps imports (it is a compiler macro now). 2023-11-18 23:47:55 +00:00
LeoVasanko 64eb9896a9 Fix cursor handling 2023-11-18 23:47:34 +00:00
LeoVasanko f16a738ec2 Search placeholder 2023-11-18 23:39:08 +00:00
LeoVasanko 763991f86e File explorer CSS, avoid modified/size being cut 2023-11-18 23:32:40 +00:00
LeoVasanko 548e67338d Improved breadcrumb scaling 2023-11-18 23:00:55 +00:00
LeoVasanko ea4edc6e4f Added header eye button for gallery toggle 2023-11-18 23:00:46 +00:00
LeoVasanko 1d47397506 Keyboard sort by 1-2-3 supplemented by the key left of them for default sort. 2023-11-18 22:31:26 +00:00
LeoVasanko fc2c961d10 Refactoring cursor to be stored in store as key only. A few issues remain. 2023-11-18 11:44:18 +00:00
LeoVasanko 9895d7bf6c Implemented Gallery view for media files. 2023-11-18 10:32:24 +00:00
LeoVasanko 35a6b2740b Skip any symlinks while scanning. Stats on how long a scan took. 2023-11-18 09:49:35 +00:00
LeoVasanko 1ed4a8db94 Fixed header and breadcrumb layout and issues. 2023-11-18 08:16:53 +00:00
LeoVasanko ffd8086b03 Correct error page rendering via Sanic. 2023-11-18 01:20:14 +00:00
LeoVasanko 0cd7249712 Tidying up log, correct HTTP status for error pages. 2023-11-17 09:10:18 +00:00
LeoVasanko 5deeaae5bd Watching cleanup 2023-11-17 00:24:45 +00:00
LeoVasanko 4613581759 Code cleanup and bugfixes:
- Resolve threading deadlock when multiple watch request arrived at the same moment.
- Implement more graceful server exit.
- Reduce excessive logging.
- Fix unix socket clearing; until Sanic starts accepting Path for unix socket name.
2023-11-16 03:02:44 +00:00
LeoVasanko 890fa6ec06 Update documentation README 2023-11-15 00:23:00 +00:00
LeoVasanko 2d15a0b76c Update frontend/README.md 2023-11-14 23:50:17 +00:00
LeoVasanko 879ad09677 CLI simplification, better diagnostic for missing wwwroot, docs. 2023-11-15 00:03:15 +00:00
LeoVasanko 8bff541297 Updated installation and README 2023-11-15 00:00:21 +00:00
LeoVasanko 14ea4d51f2 Keyboard nav: 1/2/3 globally toggle table ordering. Esc closes search, slash also toggles search like Ctrl/Cmd+F does. 2023-11-14 21:55:55 +00:00
LeoVasanko 0d24d807ac BreadCrumb & keyboard navigation improvements. 2023-11-14 21:43:01 +00:00
LeoVasanko dd4a82aaaa Attempt to fix config handling on Windows 2023-11-14 08:31:35 +00:00
LeoVasanko c5b5e3a76c Add more quit points for watching thread. 2023-11-14 08:28:53 +00:00
LeoVasanko c578f84753 Add frontend build to Python packaging. Remove dead code, cleanup. 2023-11-14 08:19:33 +00:00
LeoVasanko 4c9d802b65 Add project URL 2023-11-14 06:59:22 +00:00
LeoVasanko 479b4a13d0 Update README 2023-11-14 06:45:05 +00:00
LeoVasanko 626afc07fa Remember sort order 2023-11-14 06:11:32 +00:00
LeoVasanko 551dfb61e8 Add file context menu (only rename for now). 2023-11-14 02:09:12 +00:00
LeoVasanko a3e4c50707 Add missing file 2023-11-14 01:55:04 +00:00
LeoVasanko d5cc4ebcb8 Refactoring Document storage (#5)
- Major refactoring that makes Doc a class with properties
- Data made only shallow reactive, for a good speedup of initial load
- Minor bugfixes and UX improvements along the way
- Fixed handling of hash and question marks in URLs (was confusing Vue Router)
- Search made stricter to find good results (not ignore all punctuation)
2023-11-13 17:52:57 +00:00
LeoVasanko 4a2d6c1299 Use localStoragerather than sessionStorage for cache. Rename variable. 2023-11-13 13:04:39 +00:00
LeoVasanko 08a018f382 Log messages on session loading 2023-11-13 12:11:17 +00:00
LeoVasanko 4747c1cb7e Typing error 2023-11-13 12:11:02 +00:00
LeoVasanko ca41f29310 Pasteing files and folders to upload. 2023-11-13 19:39:10 +00:00
LeoVasanko afd106968c Update modified immediately when entering a folder 2023-11-13 18:19:13 +00:00
LeoVasanko cb3e5e146c Fix upload of zero-sized files. 2023-11-13 18:00:44 +00:00
LeoVasanko b31a575365 Clear file upload input to allow re-uploading the same item. 2023-11-13 17:38:22 +00:00
LeoVasanko 2f6ddf1805 Only update time-ago modified field on current folder (optimization, full update was slow for large storages). 2023-11-13 16:52:03 +00:00
LeoVasanko 7943d214e1 Don't reload backend on wwwroot changes. 2023-11-13 16:48:45 +00:00
LeoVasanko 4f01783920 Upload manager UI fix/tuning. 2023-11-13 16:37:56 +00:00
LeoVasanko 55007b4b8b More efficient flat file list format and various UX improvements (#3)
This is a major upgrade with assorted things included.

- Navigation flows improved, search appears in URL history, cleared when navigating to another folder
- More efficient file list format for faster loads
- Efficient updates, never re-send full root another time (except at connection)
- Large number of watching and filelist updates (inotify issues remain)
- File size coloring
- Fixed ZIP generation random glitches (thread race condition)
- Code refactoring, cleanup, typing fixes
- More tests
2023-11-12 23:20:40 +00:00
LeoVasanko 7391033d1e Favicon, title, automatic & manual server naming (#2)
Server name may be set in config file. If unset, backend uses the folder name being served. This is shown in page title for site root, and subfolder names are also now shown. New icon of Droppy icon, changing only the color.
2023-11-08 23:00:07 +00:00
LeoVasanko 9762d7c1ad Linting, removed extra line from pyproject.toml. 2023-11-09 05:08:46 +00:00
LeoVasanko b8197d7974 Correct processing of custom config dir 2023-11-09 04:56:43 +00:00
LeoVasanko bc67ef5fd1 Frontend created and rewritten a few times, with some backend fixes (#1)
The software is fully operational.
2023-11-08 20:38:40 +00:00
LeoVasanko ab6b19e538 Formatting and fix Internal Server Error on upload 2023-10-26 11:18:59 +00:00
LeoVasanko 96e007b068 Make sessions last a year 2023-10-23 20:03:11 +00:00
LeoVasanko 1c310379b1 Fix field name in session cookie; prevented logged in useds authenticating. 2023-10-23 19:47:57 +00:00
LeoVasanko 7fb423a0bf Watcher cleanup. Restart server on config changes and if frontend is modified. 2023-10-23 18:57:50 +00:00
LeoVasanko 7ce8775f05 /api/watch also continuously reports disk usage 2023-10-22 23:24:54 +00:00
LeoVasanko b5a1fe6c4d Cleanup, bugfixes. Added access control on files and API. 2023-10-22 22:51:39 +00:00
LeoVasanko 0b39229282 Add /old-index.html in case the prior front pages is needed for reference. 2023-10-21 16:48:24 +00:00
LeoVasanko ce0b6c9bd2 Frontend included in repository. 2023-10-21 16:30:47 +00:00
LeoVasanko bfc04b3831 Refactoring and cleanup 2023-10-21 13:17:09 +00:00
LeoVasanko 447081e5d0 Implemented control commands and tests. Rewritten error and session/flash handling. 2023-10-20 22:44:43 +00:00
LeoVasanko 01028b0165 Watcher rewritten with inotify module, bugs fixed. 2023-10-19 17:52:37 +00:00
LeoVasanko 2ff484d7be Watching cleanup, debugging a problem case. 2023-10-19 14:54:33 +00:00
LeoVasanko c5bef025b6 Reset flash cookie also on index page. 2023-10-19 14:24:20 +00:00
LeoVasanko 6b2dd61beb Login error handling and flash messages. Remove host prefix on cookies because of https://bugs.chromium.org/p/chromium/issues/detail?id=1245434 2023-10-19 13:55:59 +00:00
LeoVasanko cb83d30f77 User management CLI 2023-10-19 13:54:03 +00:00
LeoVasanko ffa959b10f Added user management to CLI. Mainly for creating admin user or resetting forgotten passwords. 2023-10-18 22:06:21 +00:00
LeoVasanko 18f953adf9 Fix app load failure. 2023-10-19 00:13:47 +00:00
LeoVasanko 59aae8eadf Support running 80/443 with TLS certificate files in confdir/domain/ 2023-10-18 20:52:51 +00:00
LeoVasanko d269442d7f Refactor with its own entry point and startup script cista, instead of running via sanic. Config file handling and Droppy updates. HTTP redirection/acme server added. 2023-10-18 20:06:14 +00:00
LeoVasanko 9f889232f3 Implemented login page and new jwt-based sessions. Watching cleanup. 2023-10-17 19:06:27 +00:00
LeoVasanko f6bbd7b5ff Major upgrades, much code and docs rewritten. 2023-10-17 15:33:31 +00:00
LeoVasanko 0134bd1262 Update packaging. 2023-10-15 05:00:29 +00:00
LeoVasanko 9dce1e843f Cleanup LRUCache, fix bug, add unit tests (pytest). 2023-10-15 02:56:50 +00:00
LeoVasanko 912e0acc0d Cleanup 2023-10-15 01:31:54 +00:00
LeoVasanko a31de180d8 Minimal installation instructions. 2023-10-15 01:31:06 +00:00
LeoVasanko f9e4991276 Restructuring as a Python package. 2023-10-14 19:29:50 +00:00
LeoVasanko e44a780407 Add some gitignore 2023-10-14 18:56:49 +00:00
LeoVasanko 46046a509f Initial commit 2023-10-14 00:07:27 +00:00