Leo Vasanko
b759d8324c
Login still a bit buggy but working...
2023-11-03 21:19:26 +00:00
Leo Vasanko
119aba2b3c
Cleanup, lint, format etc.
2023-11-03 20:07:05 +00:00
Leo Vasanko
f52d58d645
Big changes...
...
- Added Droppy SVG icons
- Implemented Droppy-style Breadcrumb component
- Implemented a Dialog component
- Attempted transition effects on file explorer (not yet functional)
- Changed FileExplorer to take list of documents and current path via props.
- Various other cleanup etc.
2023-11-03 16:19:21 +00:00
Leo Vasanko
6cba674b30
Build down to 90 kB, 1.5 MB less after removing ant-design.
2023-11-02 22:34:57 +00:00
Leo Vasanko
831b2716f7
Removing stuff, refactoring for simplicity
2023-11-02 21:52:21 +00:00
Leo Vasanko
7e5901a2cf
Fix indent
2023-11-02 18:51:34 +00:00
Leo Vasanko
a4f95d730b
Fix file links
2023-11-02 17:58:36 +00:00
Leo Vasanko
56082cba15
Faster animation to match the fast update
2023-11-02 17:56:55 +00:00
Leo Vasanko
3479a0da57
Remove node_modules
2023-11-02 17:40:25 +00:00
Leo Vasanko
f99d92b217
Add support for actual renaming of files, and UI on plain tree.
2023-11-02 17:37:28 +00:00
Leo Vasanko
68a701538b
Prototyping plain table for files list
2023-11-02 15:34:37 +00:00
Leo Vasanko
05a16e3037
New build, typing ignores...
2023-11-01 23:07:13 +00:00
Leo Vasanko
52ecbc3d36
Search filtering
2023-11-01 23:00:59 +00:00
Leo Vasanko
042f1b7f42
cista.util submodule
2023-11-01 21:29:34 +00:00
Leo Vasanko
d27cb2133a
Rewrite folder selection. Needs better error handling still.
2023-11-01 21:29:13 +00:00
Leo Vasanko
a8ea43194d
Add settings to use npm run dev server with cista -l :8000 backend
2023-11-01 21:12:47 +00:00
Leo Vasanko
07fe7448cc
Update front build.
2023-11-01 20:16:37 +00:00
Leo Vasanko
783af44e26
Ruff
2023-11-01 19:58:59 +00:00
Leo Vasanko
0d6180e8a4
Add charset=UTF-8
2023-11-01 17:32:48 +00:00
Leo Vasanko
bdc0bbd44f
Implemented HTTP caching and updates on wwwroot, much faster page loads.
2023-11-01 17:08:05 +00:00
Leo Vasanko
ba36eaec1b
Allow multiple commands on control socket without disconnecting.
2023-11-01 14:57:54 +00:00
Leo Vasanko
a435a30c88
Realtime updates of wwwroot files when --dev is used.
2023-11-01 14:53:57 +00:00
Leo Vasanko
742b05ed66
Faster wwwroot serving, uses RAM cache of brotli compressed data for all assets.
2023-11-01 14:40:08 +00:00
Leo Vasanko
a26dc42d88
Fix control message decoding.
2023-11-01 14:12:06 +00:00
Leo Vasanko
9002afbc7e
Merged something
2023-11-01 14:03:17 +00:00
Leo Vasanko
acdd776b92
Formatting and fix Internal Server Error on upload
2023-10-28 20:20:34 +00:00
Leo Vasanko
8cc3ed1a04
Human-readable sizes
2023-10-27 08:28:03 +03:00
Leo Vasanko
0d186726b5
Prettier file listing, using browser instead of viewer for file display (for now), sorting improved, modified timestamps improved.
2023-10-27 07:53:30 +03:00
Leo Vasanko
63bbe84859
Provide file/dir id from server. The value will stay the same if the file is renamed/moved, but will change if a file is replaced by another with the same name.
2023-10-27 07:51:51 +03:00
Leo Vasanko
202f28ff15
Add esbuild dependency
2023-10-27 04:34:27 +03:00
Leo Vasanko
444f0226e6
Make sessions last a year
2023-10-24 02:03:11 +03:00
Leo Vasanko
9428cc2d9c
Fix field name in session cookie; prevented logged in useds authenticating.
2023-10-24 01:47:57 +03:00
Leo Vasanko
4a13f642b2
Watcher cleanup. Restart server on config changes and if frontend is modified.
2023-10-24 00:57:50 +03:00
Leo Vasanko
5d3f419508
/api/watch also continuously reports disk usage
2023-10-23 05:24:54 +03:00
Leo Vasanko
4852212347
Cleanup, bugfixes. Added access control on files and API.
2023-10-23 04:51:39 +03:00
Leo Vasanko
bd61d7451e
Add /old-index.html in case the prior front pages is needed for reference.
2023-10-21 22:48:24 +03:00
Leo Vasanko
93351ae86d
Frontend included in repository.
2023-10-21 22:30:47 +03:00
Leo Vasanko
e68a05e663
Refactoring and cleanup
2023-10-21 19:17:09 +03:00
Leo Vasanko
e90174a09d
Implemented control commands and tests. Rewritten error and session/flash handling.
2023-10-21 04:44:43 +03:00
Leo Vasanko
9939cb33fa
Watcher rewritten with inotify module, bugs fixed.
2023-10-19 23:52:37 +03:00
Leo Vasanko
228b75a20d
Watching cleanup, debugging a problem case.
2023-10-19 20:54:33 +03:00
Leo Vasanko
f969c2ccb4
Reset flash cookie also on index page.
2023-10-19 20:24:20 +03:00
Leo Vasanko
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
Leo Vasanko
b7f7a84f60
User management CLI
2023-10-19 19:54:03 +03:00
Leo Vasanko
c6caf96445
Added user management to CLI. Mainly for creating admin user or resetting forgotten passwords.
2023-10-19 04:06:21 +03:00
Leo Vasanko
7484795ce5
Fix app load failure.
2023-10-19 00:13:47 +00:00
Leo Vasanko
a00610a738
Support running 80/443 with TLS certificate files in confdir/domain/
2023-10-19 02:52:51 +03:00
Leo Vasanko
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
Leo Vasanko
429a7dfb16
Implemented login page and new jwt-based sessions. Watching cleanup.
2023-10-18 01:06:27 +03:00
Leo Vasanko
bd680e3668
Major upgrades, much code and docs rewritten.
2023-10-17 21:33:31 +03:00
Leo Vasanko
27b89d6d38
Update packaging.
2023-10-15 11:00:29 +03:00
Leo Vasanko
46cfc831ff
Cleanup LRUCache, fix bug, add unit tests (pytest).
2023-10-15 08:56:50 +03:00
Leo Vasanko
4e3c0e2b98
Cleanup
2023-10-15 07:31:54 +03:00
Leo Vasanko
f0de9e6e7c
Minimal installation instructions.
2023-10-15 07:31:06 +03:00
Leo Vasanko
f697d96c89
Restructuring as a Python package.
2023-10-15 02:42:16 +03:00
Leo Vasanko
386ae8f5b1
Add some gitignore
2023-10-15 00:56:49 +03:00
Leo Vasanko
7297eeba4b
Initial commit
2023-10-14 06:07:27 +03:00