LeoVasanko
05fb81c36d
Implement web-based user management / admin setup. ( #8 )
...
Implement Admin Settings dialog for user management and toggling the public server flag, not needing CLI for maintenance anymore.
2025-09-30 23:10:33 +00:00
LeoVasanko
5e2e71eafb
Clean up the remaining uses of print()
2025-08-18 22:49:40 +00:00
LeoVasanko
7e4c5bc911
Use zstd rather than brotli for static file compression.
2025-08-18 04:51:46 +00:00
LeoVasanko
bfcce1b80e
Fix typing and import in the config file module.
2025-08-17 22:10:55 +00:00
LeoVasanko
2bd8d4a323
Startup banner with version display, and --version, using stderr/stdout properly.
2025-08-17 21:10:43 +00:00
LeoVasanko
1d97d48fed
Cleaner server shutdowns:
...
- Remove a workaround for Sanic server not always terminating cleanly
- Terminate worker threads before server stop
- Silent closing of watching WebSocket attempted to open while shutting down
2025-08-17 19:21:03 +00:00
LeoVasanko
f627890e55
Image previews improved, all EXIF Orientations handled.
2025-08-17 19:00:52 +00:00
LeoVasanko
5a5b47346f
Cleanup for release 1.0.0.
2025-08-15 23:11:57 +00:00
LeoVasanko
64de17a74b
Maintenance update ( #7 )
...
- Use modern tooling uv and bun
- Various changes to work with latest PyAV and PIL that have changed their API
- Improved image, video and document previews (uses AVIF, renders AVIF/HEIC/videos in HDR, faster processing)
- Fix a server hang in some cases where a folder was moved or renamed
- Log exceptions instead of only returning 500 response to client
- Log timing of preview generation functions
- Default to quality 50 in previews (previously 40)
2025-08-15 16:03:04 +00:00
LeoVasanko
83bc1bea81
Various build fixes, cleanup and details ( #6 )
...
- Major memory usage reduction in video previews
- Finally builds properly on Windows too
2023-11-21 15:32:49 +00:00
LeoVasanko
27aefc50d4
Fixed renames and breadcrumbs for gallery.
2023-11-21 05:47:41 +00:00
LeoVasanko
d0ef32c9e9
Further bugfixes. Increase full update interval to 5 minutes.
2023-11-20 19:22:49 +00:00
LeoVasanko
58579b50c4
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
LeoVasanko
587268c14b
Fix regression: inotify watching was broken.
2023-11-20 13:58:20 +00:00
LeoVasanko
dfd4a15cc9
Implement settings dialog and password changes.
2023-11-20 19:26:51 +00:00
LeoVasanko
d939c1ddbb
Video preview posters
2023-11-19 08:44:46 +00:00
LeoVasanko
66698869d6
Minor changes
2023-11-19 08:03:23 +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
fb565a95d6
Fix preview images that need rotation
2023-11-19 03:56:16 +00:00
LeoVasanko
c84c570d2e
Implement media preview thumbnails for Gallery
2023-11-19 03:38:25 +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
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
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
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
cb3e5e146c
Fix upload of zero-sized files.
2023-11-13 18:00:44 +00:00
LeoVasanko
7943d214e1
Don't reload backend on wwwroot changes.
2023-11-13 16:48:45 +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