Commit Graph

74 Commits

Author SHA1 Message Date
f0701b32f6 Improve process naming (only on Linux). 2023-11-21 15:12:53 +00:00
058bc9f912 Adaptive worker thread count 2023-11-21 14:36:42 +00:00
f7e968666e Remove memory trackign 2023-11-21 14:20:05 +00:00
0be61cff2b Fix confdir passing to workers 2023-11-21 13:18:30 +00:00
6e236481a1 Fix confdir passing to workers 2023-11-21 13:13:57 +00:00
e93b94a05c Fix confdir passing to workers 2023-11-21 13:10:51 +00:00
8978e91a68 Fix confdir passing to workers 2023-11-21 13:09:16 +00:00
a1029d2c55 Fix confdir passing to workers 2023-11-21 13:08:20 +00:00
ba87abad46 Fix confdir passing to workers 2023-11-21 13:06:43 +00:00
13e1a19c5b Fix confdir passing to workers 2023-11-21 13:05:55 +00:00
a267a67947 Fix confdir passing to workers 2023-11-21 12:52:42 +00:00
d2ad269df8 Fix confdir passing to workers 2023-11-21 12:48:18 +00:00
37e06dd412 Don't restart on config changes. 2023-11-21 12:39:02 +00:00
888bc97264 Don't restart on config changes. 2023-11-21 12:35:56 +00:00
3c79f06d2c Don't restart on config changes. 2023-11-21 12:30:23 +00:00
53f717e93a Attempt to reduce leak of ffmpeg previews 2023-11-21 12:27:54 +00:00
728cd47dca Attempt to reduce leak of ffmpeg previews 2023-11-21 12:27:38 +00:00
fdbf9b2610 Attempt to reduce leak of ffmpeg previews 2023-11-21 12:26:16 +00:00
8437c1f60e Attempt to reduce leak of ffmpeg previews 2023-11-21 12:23:24 +00:00
02c5e484b5 Attempt to reduce leak of ffmpeg previews 2023-11-21 12:22:03 +00:00
71eb252b8d Restrict the number of workers. 2023-11-21 12:13:57 +00:00
27422ae1e2 Attempt to reduce leak of ffmpeg previews 2023-11-21 04:01:51 -08:00
c3d6aecffd Attempt to reduce leak of ffmpeg previews 2023-11-21 04:00:20 -08:00
e2a9a6903c Memtrace 2023-11-21 03:46:06 -08:00
b2a24fca57 Fixed renames and breadcrumbs for gallery. 2023-11-20 13:47:41 -08:00
a49dd2f111 Further bugfixes. Increase full update interval to 5 minutes. 2023-11-20 19:22:49 +00:00
dbb06e111c 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
667e31aa08 Fix regression: inotify watching was broken. 2023-11-20 13:58:20 +00:00
7311ffdff1 Implement settings dialog and password changes. 2023-11-20 04:29:42 -08:00
434e55f303 Video preview posters 2023-11-18 17:50:27 -08:00
be9772c90e Minor changes 2023-11-18 16:03:23 -08:00
115f3e20d0 Added PDF previews. Preview quality configurable. Preview browser caching and cache busting. 2023-11-18 15:16:24 -08:00
62388eb555 Fix preview images that need rotation 2023-11-18 12:04:35 -08:00
696e3ab568 Implement media preview thumbnails for Gallery 2023-11-18 11:38:25 -08:00
11887edde3 Skip any symlinks while scanning. Stats on how long a scan took. 2023-11-17 17:49:35 -08:00
c5083f0f2b Correct error page rendering via Sanic. 2023-11-17 09:20:14 -08:00
f8a9197474 Tidying up log, correct HTTP status for error pages. 2023-11-16 17:10:18 -08:00
5285cb2fb5 Watching cleanup 2023-11-16 09:17:50 -08:00
b6b387d09b 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 07:09:57 -08:00
c40c245ce6 CLI simplification, better diagnostic for missing wwwroot, docs. 2023-11-14 11:05:04 -08:00
1fdd00b833 Updated installation and README 2023-11-14 08:00:21 -08:00
61f9026e23 Attempt to fix config handling on Windows 2023-11-13 16:31:35 -08:00
3e50149d4d Add more quit points for watching thread. 2023-11-13 16:28:53 -08:00
7077b21159 Add frontend build to Python packaging. Remove dead code, cleanup. 2023-11-13 16:19:33 -08:00
c8d5f335b1 Fix upload of zero-sized files. 2023-11-13 02:13:11 -08:00
c321de13fd Don't reload backend on wwwroot changes. 2023-11-13 00:48:45 -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