Miguel Astor
377951efbe
Fixed issue with sort and theme keys still being applied as GET parameters.
2026-03-25 04:53:36 -04:00
Miguel Astor
73b538b698
feat(viewer): persist theme/sort via toggle view; use middleware-provided theme/sort in views and templates
2026-03-25 04:43:35 -04:00
Miguel Astor
8719be3227
tests: add UserSettings model and middleware tests; ensure tests create UserSettings defaults
2026-03-25 04:25:38 -04:00
Miguel Astor
13ab55d1d3
Changed Image model path to method.
2026-03-24 15:39:09 -04:00
Miguel Astor
5ec793b47d
Added kate droppings to gitignore.
2026-03-24 15:34:15 -04:00
Miguel Astor
f658106316
Fixed issue with image links covering all image wrapper area.
2026-03-24 15:34:03 -04:00
Miguel Astor
7cc7f04b80
test: update image view tests and add Image model tests
2026-03-24 15:12:45 -04:00
Miguel Astor
5a6632491a
Added model for special galleries.
2026-03-24 15:06:48 -04:00
77d83c58d1
docs: update README with run/test instructions
2026-03-23 23:55:26 -04:00
480ec37ef6
Updated AGENTS and CLAUDE files.
2026-03-23 23:53:14 -04:00
3e209519e5
refactor: split directory and image rendering into viewer.directory, viewer.image; add viewer.common for shared helpers
2026-03-23 23:48:23 -04:00
caf8130c93
gallery: allow multiple fixed 128px thumbnails per row on small screens
2026-03-23 23:20:57 -04:00
d42de13d4e
Fixed layout issues with the offcanvas sidebar in mobile.
2026-03-23 23:15:49 -04:00
a7008f9c28
Fixed issue with previous change on mobile.
2026-03-23 22:59:47 -04:00
138f0ec76c
Made image file names appear fully in breadcrumbs.
2026-03-23 22:57:47 -04:00
9d3cb3dfd0
gitignore: ignore top-level static/ but allow app-level static/ (unignore */static/)
2026-03-23 21:21:22 -04:00
9b7a5b2a0e
Made image views avoid scrolling.
2026-03-23 21:12:37 -04:00
38e098cc49
Edited the image_view template.
2026-03-23 20:46:31 -04:00
1c8b5da627
style: dropdowns follow dark theme; improve muted text contrast
2026-03-23 20:43:50 -04:00
9de61e9b46
docs: document recent image-view refactor and new view context keys
2026-03-23 20:30:23 -04:00
a97fb6078b
image view: implement gallery-based layout, metadata dropdown, and thumbnails; add styles for image shadow; update tests
2026-03-23 20:25:40 -04:00
Miguel Astor
5122ece42b
Fixed old styles in login template.
2026-03-23 03:15:27 -04:00
Miguel Astor
b934b6e779
Separated local styles from gallery view template.
2026-03-23 00:21:37 -04:00
8efb623ab6
Updated requirements.
2026-03-22 23:06:56 -04:00
4ba90f79ee
Read SECRET_KEY/DEBUG/ALLOWED_HOSTS from .env with defaults
2026-03-22 22:57:29 -04:00
912446d9b7
Refactor local settings to dotenv-based gallery paths
2026-03-22 22:52:07 -04:00
16bd651cfb
Redesigned gallery view layout and added sorting tests
2026-03-22 22:33:31 -04:00
Miguel Astor
6fd2dd3769
Removed filetype from requirements.txt
2026-02-27 01:53:15 -04:00
Miguel Astor
078eb25b66
Updated CLAUDE.md to reflect performance optimizations.
...
Updated documentation to reflect recent changes:
- Changed image detection from MIME-type to extension-based
- Added Performance Optimizations section explaining the change
- Updated Code Patterns to use is_image_file() instead of filetype
- Marked filetype as legacy dependency (no longer actively used)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-27 01:48:13 -04:00
Miguel Astor
4cab0a2647
Optimized image detection using extension-based filtering.
...
Replaced costly MIME-type detection (filetype.is_image) with fast
extension-based filtering. This eliminates I/O operations for every
file in a directory, significantly improving gallery view performance.
Changes:
- Added IMAGE_EXTENSIONS constant and is_image_file() helper to utils.py
- Updated views.py to use extension-based filtering
- Updated makethumbnails command to use extension-based filtering
- Removed filetype import from views.py and makethumbnails.py
Performance impact: ~99% reduction in I/O for directory listings.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-27 01:46:25 -04:00
Miguel Astor
e9307c8fae
Added CLAUDE.md documentation file.
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-27 01:36:25 -04:00
Miguel Astor
964fee5ddf
Simple code cleanups.
2025-01-15 15:14:40 -04:00
bcefd5fdd1
Changed colors to darker versions.
2023-09-19 02:11:19 -04:00
01cebe36ed
Added logout button to image view.
2023-08-23 22:01:09 -04:00
72513f2f6d
Fixed image view dimensions.
2023-08-23 21:57:43 -04:00
bac5437e7e
Added basic user authentication.
2023-08-23 17:45:39 -04:00
511acab59c
Missing comment.
2023-08-23 16:53:48 -04:00
5c6f23a722
Various reworks. Removed VH units from CSS.
2023-08-23 16:53:06 -04:00
3d317e7505
Reworked search to optimize a bit.
2023-08-21 21:57:22 -04:00
d445d633b4
Added search function.
2023-08-21 21:20:27 -04:00
1a16e9f763
Changed size of prev/next buttons in image view.
2023-08-21 16:05:49 -04:00
0b9ab250c5
Added previous/next buttons to image view.
2023-08-21 15:32:18 -04:00
51211ac9a7
Reworked nav bar and paging links
2023-08-20 12:44:41 -04:00
eeeaa9260a
Hid page links when there is just one page.
2023-08-19 23:41:46 -04:00
43b74c1521
Added page navigation buttons to the gallery view.
2023-08-19 23:37:19 -04:00
eeb88057e7
Added path to gallery view.
2023-08-19 23:19:16 -04:00
4a60c139a5
Added paging to gallery view.
2023-08-19 23:11:36 -04:00
Miguel Astor
55cf243eaf
Changed title in image view.
2023-07-30 21:30:47 -04:00
a13d726899
Increased row lenght to 7 in table layout.
2023-07-30 21:20:38 -04:00
468769275b
Changed CSS grid layout for a table layout.
2023-07-30 21:18:36 -04:00