Commit Graph
100 Commits
Author SHA1 Message Date
Leo Vasanko 0de8b99c02 Try to leak less memory. 2025-08-14 15:41:15 -07:00
Leo Vasanko 7d55a43119 Use ruff default options. 2025-08-14 15:28:40 -07:00
Leo Vasanko a266479027 Log traceback on 500 errors. 2025-08-14 15:28:27 -07:00
Leo Vasanko 16c1dcd7f9 README 2025-08-14 15:28:03 -07:00
Leo Vasanko 2bce21a5ab Use AVIF for all previews (now has good browser support). Support HDR for both images and video previews. 2025-08-14 15:26:44 -07:00
Leo Vasanko b1763a610e README 2025-08-14 11:48:18 -07:00
Leo Vasanko e84c665e7c Fix handling of filename extensions when there is no extension and incorrectly trying to display preview images for folders. 2025-08-14 11:44:43 -07:00
Leo Vasanko 1b12ae86de Remove suggest-gallery as now obsolete. 2025-08-14 11:43:52 -07:00
Leo Vasanko ccad83b8ec Fixed gallery auto mode 2025-08-14 11:25:14 -07:00
Leo Vasanko 24eb852822 Update file extensions for previews. 2025-08-14 11:23:07 -07:00
Leo Vasanko e557bedac1 Auto select of gallery based on previewable files whenever folder changes, added more file extensions to autodetection. 2025-08-14 11:20:33 -07:00
Leo Vasanko 6d2989472e ... 2025-08-14 11:07:30 -07:00
Leo Vasanko 9d829e6557 ... 2025-08-14 11:05:57 -07:00
Leo Vasanko bef9852a6f Fine tuning README 2025-08-14 10:58:05 -07:00
Leo Vasanko 562398f826 README cleanup 2025-08-14 10:52:39 -07:00
Leo Vasanko 54b5c80e31 Use bun everywhere. 2025-08-14 10:41:21 -07:00
Leo Vasanko 4fe52c764d Updated README for new version. 2025-08-14 10:40:32 -07:00
Leo Vasanko 0e7da1f98d Avoid errors with nremain/oremain processing in case the entry is not found. 2025-08-13 12:34:00 -07:00
Leo Vasanko 10f7ff29cd Cleanup 2025-08-13 12:23:13 -07:00
Leo Vasanko 9cc210140e More robust updates 2025-08-13 11:21:29 -07:00
Leo Vasanko af4e90357f More debug on watching 2025-08-13 11:08:38 -07:00
Leo Vasanko 20a5c66e77 Point to Bun install instructions. 2025-08-13 10:49:23 -07:00
Leo Vasanko 05cc823e37 Support HDR image formats 2025-08-13 10:28:49 -07:00
Leo Vasanko 3a65277994 Build frontend using bun if found. 2025-08-13 10:28:30 -07:00
Leo Vasanko 4060a582d6 Linter 2025-08-13 10:18:18 -07:00
Leo Vasanko 47574675a3 Debug printouts for watching. 2025-08-13 10:17:06 -07:00
Leo Vasanko 425d7012b7 Additional tests for watching. 2025-08-13 10:16:54 -07:00
Leo Vasanko cf7d61d11c Don't add uv.lock to repo. 2025-08-13 10:15:59 -07:00
Leo Vasanko aa1ea03bed Fix running with today's Python tooling and av module. 2025-08-13 10:15:22 -07:00
Leo Vasanko f38bb4bab9 Better transparent Cista image 2023-11-25 17:25:35 +00:00
Leo Vasanko 26f9bef087 Correct hatch build hook 2023-11-21 20:11:37 +00:00
Leo Vasanko 634dabe52d Less messy breadcrumbs on search results in gallery 2023-11-21 17:51:38 +00:00
Leo Vasanko a383358369 Fix direct uploads and downloads, transfer bar UI 2023-11-21 16:13:46 +00:00
Leo Vasanko 369dc3ecaf Fixed New Folder, added Rename to Gallery 2023-11-21 15:49:33 +00:00
Leo Vasanko 0cf9c254e5 Various build fixes, cleanup and details (#6)
- Major memory usage reduction in video previews
- Finally builds properly on Windows too

Reviewed-on: #6
2023-11-21 15:32:49 +00:00
Leo Vasanko 58b9dd3dd4 Cleanup 2023-11-20 16:35:34 -08:00
Leo Vasanko 0965a56204 Download progress bar 2023-11-20 16:27:51 -08:00
Leo Vasanko 52beedcef0 Preserve cursor and selection across reloads. 2023-11-20 14:49:15 -08:00
Leo Vasanko 8592d462f2 Keep current cursor when switching gallery/details. 2023-11-20 14:11:05 -08:00
Leo Vasanko b2a24fca57 Fixed renames and breadcrumbs for gallery. 2023-11-20 13:47:41 -08:00
Leo Vasanko 7cc7e32c33 Prune deleted folders off of breadcrumbs' longest visited (keeps current folder even if missing). 2023-11-20 12:22:03 -08:00
Leo Vasanko fa98cb9177 Refactor empty folder to a separate component, allow creating new folders in empty folders again. 2023-11-20 12:08:17 -08:00
Leo Vasanko b3ab09a614 Don't let global shortcuts interfere with input fields. 2023-11-20 11:45:47 -08:00
Leo Vasanko a49dd2f111 Further bugfixes. Increase full update interval to 5 minutes. 2023-11-20 19:22:49 +00:00
Leo Vasanko dbb06e111c Rewritten inotify watching and faster full tree traversal (also for polling worker). Bugs in inotify watcher fixed. 2023-11-20 18:49:24 +00:00
Leo Vasanko 667e31aa08 Fix regression: inotify watching was broken. 2023-11-20 13:58:20 +00:00
Leo Vasanko 007f021d6f Small fixes 2023-11-20 12:58:39 +00:00
Leo Vasanko b2188eee68 Avoid showing dialogs at page load. 2023-11-20 12:45:29 +00:00
Leo Vasanko 7311ffdff1 Implement settings dialog and password changes. 2023-11-20 04:29:42 -08:00
Leo Vasanko 102a970174 Gallery improvements, better layout and autoplay of next media file. 2023-11-20 01:51:34 -08:00
Leo Vasanko a9d713dbd0 More robust and flexible layout. 2023-11-18 21:55:52 -08:00
Leo Vasanko 434e55f303 Video preview posters 2023-11-18 17:50:27 -08:00
Leo Vasanko be9772c90e Minor changes 2023-11-18 16:03:23 -08:00
Leo Vasanko bb2448dc24 Add pymupdf/fitz dependency 2023-11-18 15:21:11 -08:00
Leo Vasanko 115f3e20d0 Added PDF previews. Preview quality configurable. Preview browser caching and cache busting. 2023-11-18 15:16:24 -08:00
Leo Vasanko a366a0bcc6 Improve Gallery keyboard navigation 2023-11-18 12:37:48 -08:00
Leo Vasanko 2ff0f78759 Remove new folder button until implemented in gallery 2023-11-18 12:26:38 -08:00
Leo Vasanko 9a2d6e8065 Fix theming of filenames in gallery light mode. 2023-11-18 12:25:08 -08:00
Leo Vasanko 62388eb555 Fix preview images that need rotation 2023-11-18 12:04:35 -08:00
Leo Vasanko 53778543bf Remove debug 2023-11-18 11:47:01 -08:00
Leo Vasanko 8dda230510 Add PIL dependency 2023-11-18 11:40:34 -08:00
Leo Vasanko 696e3ab568 Implement media preview thumbnails for Gallery 2023-11-18 11:38:25 -08:00
Leo Vasanko 85ac12ad33 Fix empty folder / folder missing for empty folders at root 2023-11-18 10:22:07 -08:00
Leo Vasanko e56cc47105 Large number of keyboard navigation and other fixes. 2023-11-18 10:15:13 -08:00
Leo Vasanko ebbd96bc94 Global shortcut keys tuning. 2023-11-18 07:56:53 -08:00
Leo Vasanko a9b6d04361 Remove defineProps imports (it is a compiler macro now). 2023-11-18 07:47:55 -08:00
Leo Vasanko 5808fe17ad Fix cursor handling 2023-11-18 07:47:34 -08:00
Leo Vasanko 671359e327 Search placeholder 2023-11-18 07:39:08 -08:00
Leo Vasanko ba9495eb65 File explorer CSS, avoid modified/size being cut 2023-11-18 07:33:50 -08:00
Leo Vasanko de482afd60 Improved breadcrumb scaling 2023-11-18 07:00:55 -08:00
Leo Vasanko a547052e29 Added header eye button for gallery toggle 2023-11-18 07:00:46 -08:00
Leo Vasanko 07c2ff4c15 Keyboard sort by 1-2-3 supplemented by the key left of them for default sort. 2023-11-18 06:32:25 -08:00
Leo Vasanko e20b04189f Refactoring cursor to be stored in store as key only. A few issues remain. 2023-11-17 19:44:18 -08:00
Leo Vasanko 8da141744e Implemented Gallery view for media files. 2023-11-17 18:32:24 -08:00
Leo Vasanko 11887edde3 Skip any symlinks while scanning. Stats on how long a scan took. 2023-11-17 17:49:35 -08:00
Leo Vasanko 034c6fdea9 Fixed header and breadcrumb layout and issues. 2023-11-17 16:16:53 -08:00
Leo Vasanko c5083f0f2b Correct error page rendering via Sanic. 2023-11-17 09:20:14 -08:00
Leo Vasanko f8a9197474 Tidying up log, correct HTTP status for error pages. 2023-11-16 17:10:18 -08:00
Leo Vasanko 5285cb2fb5 Watching cleanup 2023-11-16 09:17:50 -08:00
Leo Vasanko b6b387d09b 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 07:09:57 -08:00
Leo Vasanko 669762dfe7 Update documentation README 2023-11-16 07:07:52 -08:00
Leo Vasanko 51fd07d4fa Update frontend/README.md 2023-11-14 23:50:17 +00:00
Leo Vasanko c40c245ce6 CLI simplification, better diagnostic for missing wwwroot, docs. 2023-11-14 11:05:04 -08:00
Leo Vasanko 1fdd00b833 Updated installation and README 2023-11-14 08:00:21 -08:00
Leo Vasanko 520a9dff47 Keyboard nav: 1/2/3 globally toggle table ordering. Esc closes search, slash also toggles search like Ctrl/Cmd+F does. 2023-11-14 05:55:55 -08:00
Leo Vasanko c5c65d136a BreadCrumb & keyboard navigation improvements. 2023-11-14 05:43:01 -08:00
Leo Vasanko 61f9026e23 Attempt to fix config handling on Windows 2023-11-13 16:31:35 -08:00
Leo Vasanko 3e50149d4d Add more quit points for watching thread. 2023-11-13 16:28:53 -08:00
Leo Vasanko 7077b21159 Add frontend build to Python packaging. Remove dead code, cleanup. 2023-11-13 16:19:33 -08:00
Leo Vasanko 938c5ca657 Add project URL 2023-11-13 14:59:22 -08:00
Leo Vasanko e0aef07783 Update README 2023-11-13 14:49:08 -08:00
Leo Vasanko 36826a83c1 Remember sort order 2023-11-13 14:15:28 -08:00
Leo Vasanko 6880f82c19 Add file context menu (only rename for now). 2023-11-13 10:09:12 -08:00
Leo Vasanko 5dd1bd9bdc Add missing file 2023-11-13 09:55:32 -08:00
Leo Vasanko 41e8c78ecd 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)

Reviewed-on: #5
2023-11-13 17:52:57 +00:00
Leo Vasanko dc4bb494f3 Use localStoragerather than sessionStorage for cache. Rename variable. 2023-11-13 13:04:39 +00:00
Leo Vasanko 9b58b887b4 Log messages on session loading 2023-11-13 12:17:47 +00:00
Leo Vasanko 07848907f3 Typing error 2023-11-13 12:11:02 +00:00
Leo Vasanko 7a08f7cbe2 Pasteing files and folders to upload. 2023-11-13 03:39:10 -08:00
Leo Vasanko dd37238510 Update modified immediately when entering a folder 2023-11-13 02:19:13 -08:00