a739e7307d
Update frontend JavaScript to use query parameters
...
- Changed getRefreshParams() to parse query params instead of path segments
- Added buildUrl() helper to construct query param URLs
- Updated keyboard shortcuts (j/k for delay, o for order toggle) to use query params
2026-04-25 05:47:28 -05:00
f856c92394
Clean up tests for query param conversion and remove auth
...
- Deleted test_auth.py (auth no longer exists)
- Rewrote TestOrderDelayRoute -> TestRootRedirectWithOrderDelay using query params
- Updated TestHashPageWithRefresh to use ?order=...&delay=... URLs
- Added play button query param assertion in TestHashPage
- Removed password=None from test_navigation.py seeded_indexers fixture
- Formatted with black, all 59 tests passing
2026-04-25 05:35:27 -05:00
22bf57f896
Remove auth references from conftest.py
...
- Removed expected_password from _reset_state
- Removed password field from args_directory/args_zip fixtures
- Removed set_auth_password calls from initialized_dir/initialized_zip
- Removed _dummy_auth_header function
- Removed Authorization headers from client_dir/client_zip fixtures
2026-04-25 05:28:55 -05:00
8a8fff37e0
Convert order/delay from path params to query params
...
- Merged hash_page and hash_page_with_refresh into single /{file_hash} endpoint
- Added optional order and delay query parameters
- Updated _render_page to use _build_url for query param URLs
- Updated play/pause buttons to use query param format
- Removed old /{order}/{delay}/{file_hash} route
2026-04-25 05:22:21 -05:00
1c6935307c
Add test suite
2026-04-23 22:11:51 -05:00
9840804e40
Fix random next bug
2026-04-23 21:23:59 -05:00
9821d4330a
Update best practices
2026-04-23 21:23:11 -05:00
35afd5039b
Format code with black
2026-04-23 20:46:52 -05:00
4cf492c37a
Fix order preservation: navigation keys now properly maintain current mode (next/random/browse) instead of forcing timer mode
2026-04-22 21:24:03 -05:00
3dde1db8a3
Implement order preservation for navigation links by serving correct URLs from server instead of client-side JavaScript manipulation
2026-04-22 21:24:03 -05:00
b6f5f31b10
Add Vi-style keyboard controls (h/j/k/l) for left-handed navigation alongside existing arrow key controls
2026-04-22 21:24:03 -05:00
75298a7acc
Update README.md with comprehensive documentation of the image server features, usage, and API
2026-04-22 21:24:03 -05:00
4c8f121f58
Fix hallucination over FastAPI Basic auth
2026-04-12 17:25:35 +00:00
c86d4321ad
oops
2026-04-12 11:15:30 +00:00
9bcf2931ce
Tweaking styls
2026-04-12 11:13:44 +00:00
2a437479f9
Try it as a background image
2026-04-12 11:08:19 +00:00
9fd80f5d12
fix some breakages
2026-04-12 10:59:19 +00:00
396060041f
cleanup
2026-04-12 10:55:52 +00:00
84db52c718
Add basic password support
2026-04-12 10:55:52 +00:00
bb7730e8dc
Keep the image from flashing as it loads.
2026-04-12 10:55:52 +00:00
eb87518657
Change spacebar to play/pause
2026-03-17 21:40:57 -05:00
94fed6db51
Add a pause button
2026-03-17 21:34:07 -05:00
78fd988583
Add play button
2026-03-17 21:16:54 -05:00
4c786fbce9
Center the image in older browsers
2026-03-12 20:53:51 +00:00
3941358e20
Need to set the whole URL
2026-03-12 09:39:48 +00:00
874a88a7f1
backtick strings conflict with python string templates
2026-03-12 09:37:30 +00:00
fd32dcc534
Try again to fix refresh navigation
2026-03-12 09:34:40 +00:00
cf1e9d47c2
Fix refresh navigation.
2026-03-12 09:21:40 +00:00
c57c37ffb9
Add keyboard navigation for refresh mode.
2026-03-12 09:16:01 +00:00
143c8563de
Clicking image in refresh mode stops the refresh
2026-03-12 09:07:41 +00:00
4eb9ff1188
Add an easier way to access order/delay
2026-03-12 08:59:07 +00:00
af5b58a8ad
Refresh should keep going.
2026-03-12 08:54:53 +00:00
933592a2e2
Fix routing order issue.
2026-03-12 08:51:53 +00:00
7875030298
Style changes
2026-03-12 08:42:03 +00:00
362b6fa165
Add refresh and sequence
2026-03-12 08:38:27 +00:00
ef0c0549b5
Fix bug where image click only goes to the next image
2026-03-10 03:03:18 +00:00
7b96ca27d8
Add Opencode config. This was mostly done with big pickle but when I ran out of tokens, I switched to Qwen3.5 35B
2026-03-10 02:33:37 +00:00
2e54447e15
Convert to a classic webapp that serves html pages.
2026-03-10 02:31:43 +00:00
3cde0ad202
First step to templated html
2026-03-09 20:29:13 -05:00
b57ca2c47a
Use navigable link elements.
2026-03-09 10:01:02 +00:00
5774ef7779
Allow a glob source
2026-03-09 09:46:43 +00:00
82c32c2a0b
Add deterministic hash salt.
2026-03-09 09:36:57 +00:00
4cc68e2535
tooltip filename
2026-03-09 09:30:23 +00:00
b87bcdbb53
Add mouse navigation
2026-03-09 09:23:11 +00:00
a3e81068c1
Enable navigation by keyboard
2026-03-09 09:18:56 +00:00
5387ce070c
Frontend now uses hashes so images are bookmarkable
2026-03-09 09:08:07 +00:00
7c0d33282a
Add frontend app
2026-03-09 08:51:27 +00:00
f78f495dbc
add linting with ruff
2026-03-09 08:41:05 +00:00
bab4e68d4b
Move / to /random
2026-03-09 08:28:40 +00:00
e11a45ab70
initial commit
2026-03-09 08:23:34 +00:00