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
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
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
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
f9e4991276
Restructuring as a Python package.
2023-10-14 19:29:50 +00:00