Commit Graph
27 Commits
Author SHA1 Message Date
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