Commit Graph

14 Commits

Author SHA1 Message Date
1e5453f62d Fix language toggle: use body class instead of inline styles
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
- EN mode no longer shows Russian subtitle under mineral name
- RU mode now correctly reveals all lang-ru elements via CSS body.mode-ru rules
- Subtitle in RU mode shows English name as reference below Russian heading

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 08:45:33 +03:00
8a162afe2a Add Russian translations and pronunciation button
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
- Russian fields on Mineral model (name_ru, description_ru, history_ru, etc.)
- scrape_minerals_ru management command fetches from Russian Wikipedia via langlinks
- EN/RU toggle in header, saved to localStorage
- Speaker button next to mineral name uses Web Speech API
- Section headers and labels translated
- Russian Wikipedia link in footer when in RU mode

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 22:54:46 +03:00
7220af6a60 Add mineral search and permalink pages
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
- Search bar toggle in header (magnifying glass icon)
- /daily-stone/search/?q= endpoint with results list
- /daily-stone/mineral/<id>/ permalink for each mineral
- Mineral count shown in footer

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 22:44:13 +03:00
aa64d6949a Make mineral admin fully editable with organized fieldsets
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Removed readonly on image_urls so URLs can be changed in admin.
Added list_editable for day_of_year and color_hex for quick edits.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 22:32:21 +03:00
cd068ca593 Add dynamic crystal favicon colored per mineral
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
SVG gem shape as inline data URI, automatically tinted with the
mineral's color_hex. No static assets needed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 22:20:14 +03:00
6695e7e8ab Render chemical formulas with proper subscript notation
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Adds a template filter that cleans up spaced-out formulas from scraping
and wraps subscript numbers in <sub> tags for proper display.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 22:13:19 +03:00
44e2420c29 Add random mineral button to daily-stone page
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 22:03:43 +03:00
0be99e8e9a Add daily-stone page showing a different mineral each day
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
New dailystone app with 207 minerals scraped from Wikipedia.
Each day displays a different mineral with photos, formula,
properties, description, and history. Page theme color matches
the mineral's typical appearance.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 18:30:10 +03:00
a8ab5f6ce1 Add backlogger app at /backlogger/ with login protection
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Django app with Item model (games/books/films/other categories), CRUD
views, and login-required access. Login page at /accounts/login/ uses
custom dark-themed template consistent with the site design.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-29 22:18:32 +03:00
62bb86f11d Add nginx vhost configs for reference
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-03-29 21:46:18 +03:00
81009b6705 Add core migrations
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-03-29 21:37:03 +03:00
114fabdbdb Switch to Django with visitor tracking and server info footnote
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
2026-03-29 21:31:35 +03:00
7f4b543f3d Allow manual pipeline trigger
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-03-29 21:18:17 +03:00
021d53fe13 Initial website commit 2026-03-29 21:08:06 +03:00