Commit graph

29 commits

Author SHA1 Message Date
a2d29d7937 Show recent Commons uploads obtained via Flickr mail
Display recent Wikimedia Commons uploads on the home page, filtered to
only show images that were obtained by contacting creators via Flickr
mail. Each upload shows:
- Thumbnail linking to Commons
- Creator name linking to their Flickr profile
- Link to the illustrated Wikipedia article (or Wikidata item)

Features:
- Parse sent mail messages to extract Flickr and Wikipedia URLs
- Match Commons uploads with sent mail by normalized Flickr URL
- Cache Commons API thumbnail responses and sent mail index
- Handle Wikidata item URLs (Q-numbers) with correct links
- Add update_flickr_uploads.py script to find uploads from UploadWizard
  contributions by checking Commons API metadata

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 10:43:45 +00:00
0062de8ede Add pagination for search results
- Add SearchResult dataclass with pagination metadata
- Update search_flickr() to accept page parameter
- Parse total results count from Flickr response
- Add Bootstrap pagination controls to template
- Display total result count in UI
- Update documentation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 17:03:30 +00:00
c3bc6895c4 Add AGENTS.md with codebase documentation for AI agents
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 16:52:38 +00:00
e627e6f34c Update README with integrated Flickr search feature
Document the new workflow where users can browse Flickr search results
directly in the interface instead of visiting Flickr's search page.

Closes: #5

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 16:52:27 +00:00
08d1f9b6c4 Add integrated Flickr search with photo selection
Instead of showing a link to search Flickr, the app now performs the
search directly and displays results as a grid of thumbnails. Each photo
shows the photographer's name and license (with Wikipedia-compatible
licenses highlighted in green). Clicking a photo takes the user to the
message composition page with the selected image displayed alongside.

Includes validation to ensure image URLs are from Flickr's static servers.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 13:41:37 +00:00
6f43cee91b Fix support for Wikipedia URLs
Closes: #4
2023-10-30 06:43:45 +00:00
e4e9df88d7 First form can take name or URL
Closes: #2
2023-10-02 19:48:50 +01:00
b202889dce Use original message with a few changes. 2023-10-02 19:48:35 +01:00
75f6178067 Add more info to footer. 2023-09-29 13:12:02 +01:00
43219f66c4 Link to source repo. 2023-09-29 12:52:11 +01:00
826ba9868c Add URL to README.md 2023-09-29 12:51:14 +01:00
37f2c4ebfb Open flickr search in new window 2023-09-29 12:40:30 +01:00
ea4adabdab Tidy 2023-09-29 12:32:14 +01:00
c81ba11616 Add README.md and LICENSE 2023-09-29 12:31:15 +01:00
adc7cffbd6 Fix typo 2023-09-29 12:28:23 +01:00
1ebed94f5d Add gitignore 2023-09-29 12:28:03 +01:00
af1640abec Show errors, even in production. 2023-09-09 17:06:01 +03:00
60708b5bb7 Avoid crash 2023-09-09 17:05:38 +03:00
3c7a81eaf4 Change page heading. 2023-09-09 17:05:29 +03:00
0090c3fab6 Add email address 2023-09-09 17:05:11 +03:00
3f573043a1 Tidy code 2023-09-08 19:03:51 +01:00
5d257055a6 Combine into single page, add copy buttons. 2023-09-08 19:03:07 +01:00
0768cc101c Combine first and second pages. 2023-09-08 12:11:42 +01:00
1c6a83083a Add missing template 2023-09-08 12:05:30 +01:00
d29285d468 Add link to send flickr message 2023-09-08 11:01:50 +01:00
c77ae56ba0 More steps, include link to search flickr 2023-09-08 03:46:04 +01:00
7934bacf20 Add .gitignore 2023-09-08 03:45:33 +01:00
bec16f8dcb Improvements 2023-09-08 01:52:04 +01:00
084c886933 Initial commit 2023-09-08 01:10:55 +01:00