Commit Graph

100 Commits

Author SHA1 Message Date
7077b21159 Add frontend build to Python packaging. Remove dead code, cleanup. 2023-11-13 16:19:33 -08:00
938c5ca657 Add project URL 2023-11-13 14:59:22 -08:00
e0aef07783 Update README 2023-11-13 14:49:08 -08:00
36826a83c1 Remember sort order 2023-11-13 14:15:28 -08:00
6880f82c19 Add file context menu (only rename for now). 2023-11-13 10:09:12 -08:00
5dd1bd9bdc Add missing file 2023-11-13 09:55:32 -08:00
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
dc4bb494f3 Use localStoragerather than sessionStorage for cache. Rename variable. 2023-11-13 13:04:39 +00:00
9b58b887b4 Log messages on session loading 2023-11-13 12:17:47 +00:00
07848907f3 Typing error 2023-11-13 12:11:02 +00:00
7a08f7cbe2 Pasteing files and folders to upload. 2023-11-13 03:39:10 -08:00
dd37238510 Update modified immediately when entering a folder 2023-11-13 02:19:13 -08:00
c8d5f335b1 Fix upload of zero-sized files. 2023-11-13 02:13:11 -08:00
bb80b3ee54 Clear file upload input to allow re-uploading the same item. 2023-11-13 01:38:22 -08:00
06d860c601 Only update time-ago modified field on current folder (optimization, full update was slow for large storages). 2023-11-13 00:52:03 -08:00
c321de13fd Don't reload backend on wwwroot changes. 2023-11-13 00:48:45 -08:00
278e8303c4 Upload manager UI fix/tuning. 2023-11-13 00:37:56 -08:00
9854dd01cc 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

Reviewed-on: #3
2023-11-12 23:20:40 +00:00
fb03fa5430 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.

Reviewed-on: #2
2023-11-08 23:00:07 +00:00
e26cb8f70a Linting, removed extra line from pyproject.toml. 2023-11-08 13:08:46 -08:00
9bbbc829a1 Correct processing of custom config dir 2023-11-08 12:56:43 -08:00
876d76bc1f Frontend created and rewritten a few times, with some backend fixes (#1)
The software is fully operational.

Reviewed-on: #1
2023-11-08 20:38:40 +00:00
4a53d0b8e2 Formatting and fix Internal Server Error on upload 2023-10-26 18:59:19 +03:00
444f0226e6 Make sessions last a year 2023-10-24 02:03:11 +03:00
9428cc2d9c Fix field name in session cookie; prevented logged in useds authenticating. 2023-10-24 01:47:57 +03:00
4a13f642b2 Watcher cleanup. Restart server on config changes and if frontend is modified. 2023-10-24 00:57:50 +03:00
5d3f419508 /api/watch also continuously reports disk usage 2023-10-23 05:24:54 +03:00
4852212347 Cleanup, bugfixes. Added access control on files and API. 2023-10-23 04:51:39 +03:00
bd61d7451e Add /old-index.html in case the prior front pages is needed for reference. 2023-10-21 22:48:24 +03:00
93351ae86d Frontend included in repository. 2023-10-21 22:30:47 +03:00
e68a05e663 Refactoring and cleanup 2023-10-21 19:17:09 +03:00
e90174a09d Implemented control commands and tests. Rewritten error and session/flash handling. 2023-10-21 04:44:43 +03:00
9939cb33fa Watcher rewritten with inotify module, bugs fixed. 2023-10-19 23:52:37 +03:00
228b75a20d Watching cleanup, debugging a problem case. 2023-10-19 20:54:33 +03:00
f969c2ccb4 Reset flash cookie also on index page. 2023-10-19 20:24:20 +03:00
35038fca89 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 19:55:59 +03:00
b7f7a84f60 User management CLI 2023-10-19 19:54:03 +03:00
c6caf96445 Added user management to CLI. Mainly for creating admin user or resetting forgotten passwords. 2023-10-19 04:06:21 +03:00
7484795ce5 Fix app load failure. 2023-10-19 00:13:47 +00:00
a00610a738 Support running 80/443 with TLS certificate files in confdir/domain/ 2023-10-19 02:52:51 +03:00
05c6f03d20 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-19 02:06:14 +03:00
429a7dfb16 Implemented login page and new jwt-based sessions. Watching cleanup. 2023-10-18 01:06:27 +03:00
bd680e3668 Major upgrades, much code and docs rewritten. 2023-10-17 21:33:31 +03:00
27b89d6d38 Update packaging. 2023-10-15 11:00:29 +03:00
46cfc831ff Cleanup LRUCache, fix bug, add unit tests (pytest). 2023-10-15 08:56:50 +03:00
4e3c0e2b98 Cleanup 2023-10-15 07:31:54 +03:00
f0de9e6e7c Minimal installation instructions. 2023-10-15 07:31:06 +03:00
f697d96c89 Restructuring as a Python package. 2023-10-15 02:42:16 +03:00
386ae8f5b1 Add some gitignore 2023-10-15 00:56:49 +03:00
7297eeba4b Initial commit 2023-10-14 06:07:27 +03:00