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
84faf3d84c
Changed css.
2023-07-30 20:54:45 -04:00
306def68d6
Added static files.
2023-07-30 20:31:34 -04:00
605f5bcd6a
Championship style exception handling.
2023-07-30 19:11:22 -04:00
ea9341642f
Good God I'm an idiot!
2023-07-30 19:07:32 -04:00
1a3c484735
Added systemd units.
2023-07-30 19:04:15 -04:00
1693d0604c
Removed needles auth app and added home to installed apps.
2023-07-30 19:00:14 -04:00
a7b89f4868
Added Readme file.
2023-07-30 18:58:27 -04:00
721e4f8107
Basic functionality ready.
2023-07-30 18:55:12 -04:00
0cc9e55db0
Initial commit.
2023-07-29 18:46:58 -04:00