Commit Graph

28 Commits

Author SHA1 Message Date
Vladimir Mandic f44dd11b05 fixes
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-26 21:30:09 +02:00
Vladimir Mandic fccbdcc1e9 update api response
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-26 10:38:14 +02:00
Vladimir Mandic 913f1ca9ee improve gallery performance
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-22 12:16:18 +02:00
QualiaRain 711d6018bf fix(api): IP-adapter mask accumulation, null params, colon-in-password, raw allowed path
generate.py: p.ip_adapter_masks was reinitialized inside the per-adapter loop, discarding all but the last adapter's masks; move it beside the other accumulators. process.py: req.params is dict|None, so a null params body crashed .items() in post_preprocess/post_mask. api.py: split(':') without maxsplit broke auth/auth-file entries whose password contains a colon. gallery.py: allowed_paths stored quote(path) but the membership check and path guards use the raw path, causing duplicate accumulation and an ineffective whitelist; also drop the unused FastAPI import (pylint W0611 surfaced when this file is linted).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-15 15:20:07 -04:00
Vladimir Mandic f25f325efb fixes based on full skills run
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-04 11:10:26 +02:00
Vladimir Mandic 56a2ebf973 gallery skip empty files
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-04-25 14:48:07 +02:00
Vladimir Mandic e5c494f999 cleanup logger 2026-02-19 11:09:13 +01:00
Vladimir Mandic a3074baf8b unified logger 2026-02-19 09:46:42 +01:00
Vladimir Mandic bfe014f5da modernize typing 2026-02-19 09:15:37 +01:00
CalamitousFelicitousness 761ea1c327 feat(settings): add base path support for output folders
Change "Images folder" and "Grids folder" settings to act as base paths
that combine with specific folder settings, rather than replacing them.

- Add resolve_output_path() helper function to modules/paths.py
- Update all output path usages to use combined base + specific paths
- Update gallery API to return resolved paths with display labels
- Update gallery UI to show short labels with full path on hover

Example: If base is "C:\Database\" and specific is "outputs/text",
the resolved path becomes "C:\Database\outputs\text"

Edge cases handled:
- Empty base path: uses specific path directly (backward compatible)
- Absolute specific path: ignores base path
- Empty specific path: uses base path only
2026-01-16 16:24:05 +00:00
awsr f01e977695 Fix timestamp formatting for thumbnails 2025-12-06 18:34:15 -08:00
Vladimir Mandic 6a0090714c add reference models to gallery
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-10 10:21:51 -04:00
Vladimir Mandic e4cc2b1ee0 fix gallery mtime
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-14 09:42:58 -04:00
Vladimir Mandic 8e9244939b calc folder size
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-13 12:23:29 -04:00
Vladimir Mandic 82aaff9d70 gallery trace file fetch
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-06-26 07:59:51 -04:00
Vladimir Mandic b5031a5eba lora modularize code
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-04-01 13:39:47 -04:00
Vladimir Mandic 60a7549614 configurable card sizes
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-02-17 12:04:34 -05:00
Vladimir Mandic dbf20d1388 api refactor: force access control and handle subpaths
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-02-14 11:27:21 -05:00
Vladimir Mandic 6b225d0bc2 gallery add http fallback
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-01-16 11:00:23 -05:00
Vladimir Mandic 9a7a5ba81c lint cleanup 2024-05-28 10:48:27 -04:00
Yoink3000 ab218fa9c8 fix path handling for gallery preview 2024-04-19 02:05:39 +08:00
Vladimir Mandic ef8f822736 minor gallery fix 2024-04-07 12:39:23 -04:00
Vladimir Mandic db11bc59d1 gallery optimizations 2024-03-26 09:02:30 -04:00
Vladimir Mandic 9104bba22d update ar and gallery permissions 2024-03-25 14:22:39 -04:00
Vladimir Mandic fb5ef75f5a gallery video support 2024-03-24 13:18:39 -04:00
Vladimir Mandic b33e4d0a6a gallery urlencode/decode filenames 2024-03-24 09:40:13 -04:00
Vladimir Mandic dc9c60e174 gallery optimizations 2024-03-23 14:46:55 -04:00
Vladimir Mandic 1a27871c70 initial version of native gallery 2024-03-21 16:16:39 -04:00