Commit Graph

1948 Commits

Author SHA1 Message Date
fbb1725d10 [scrobbles] Fix LookupError in scrobble start and long-plays media lookups (868e2a91) 2026-08-07 13:02:43 -04:00
b815ca4e80 [workouts] Add Flexify workout importer (96c9fbf5)
All checks were successful
ci / test (push) Successful in 2m26s
ci / build-and-deploy (push) Has been skipped
2026-08-07 12:46:32 -04:00
89e95d2424 [workouts] Add the base for a workouts tracking app 2026-08-07 11:44:16 -04:00
5def87e7f1 [workouts] Add workouts app with exercise catalog and workout routines (ca613753) 2026-08-06 20:36:24 -04:00
550e17c5c5 [release] Bump to version 64.5
All checks were successful
ci / test (push) Successful in 1m59s
ci / build-and-deploy (push) Successful in 38s
- Clean up issues with org-mode notes
64.5
2026-08-03 12:06:19 -04:00
6cd05ff6c8 [tasks] Clean up org-mode note syncing for emacs webhooks (aa3dae85)
All checks were successful
ci / test (push) Successful in 2m10s
ci / build-and-deploy (push) Has been skipped
2026-08-03 12:02:08 -04:00
d19f931d21 [release] Bump to version 64.4
All checks were successful
ci / test (push) Successful in 2m1s
ci / build-and-deploy (push) Successful in 37s
- Fix raw HTML output from agent response
64.4
2026-08-03 11:10:14 -04:00
6dfdf0f1cb [agents] Fix raw HTML in agent session responses 2026-08-03 11:09:50 -04:00
937f431d7a [release] Bump to version 64.3
All checks were successful
ci / test (push) Successful in 2m1s
ci / build-and-deploy (push) Successful in 41s
- Add notifications when agent prompts return responses
- Make agent prompts more resilient
64.3
2026-08-03 10:27:59 -04:00
b8eb13083f [agents] Notify on agent responses and retry failed prompts 2026-08-03 10:25:39 -04:00
2ce3b756e6 [data] Add example data files 2026-08-02 09:59:30 -04:00
c874fb8c6d [release] Bump to version 64.2
All checks were successful
ci / test (push) Successful in 2m35s
ci / build-and-deploy (push) Successful in 1m11s
- Fix a bug in koreader imports using a static tmp file
64.2
2026-08-02 09:26:40 -04:00
8be6c7c5f3 [koreader] Use unique temp file for WebDAV import downloads 2026-08-02 09:25:52 -04:00
5c3583e7f0 [release] Bump to version 64.1
All checks were successful
ci / test (push) Successful in 2m36s
ci / build-and-deploy (push) Successful in 52s
- Add search for agent sessiosn
- Add rc.d files for FreeBSD process management
64.1
2026-08-01 21:43:20 -04:00
20e03dd686 [rc.d] Fix FreeBSD service scripts and switch deploy tooling to service(8) 2026-08-01 21:26:14 -04:00
8e16c8f91e [agents] Add search across agent prompts and responses 2026-08-01 20:34:39 -04:00
27b2f603ab [release] Bump to version 64.0
All checks were successful
ci / test (push) Successful in 2m28s
ci / build-and-deploy (push) Has been skipped
- Add Google Gemini as a model option back for agent sessions
- Update agent flow to use OpenRouter and select model
64.0
2026-07-31 23:55:01 -04:00
42ccdf5507 [agents] Offer Gemini as a model option alongside OpenRouter
Some checks failed
ci / test (push) Has been cancelled
ci / build-and-deploy (push) Has been cancelled
2026-07-31 23:52:54 -04:00
1e338dec2d [agents] Swap agent flow to OpenRouter with model selection
All checks were successful
ci / test (push) Successful in 2m35s
ci / build-and-deploy (push) Has been skipped
2026-07-31 23:06:09 -04:00
25f83bf08d [css] Bummp font on notes 2026-07-31 22:36:24 -04:00
de84e191df [geoloc] Handle Nominatim 429 rate limits with throttle and retry
All checks were successful
ci / test (push) Successful in 2m45s
ci / build-and-deploy (push) Has been skipped
2026-07-31 22:31:13 -04:00
d12a42adeb [release] Bump to version 63.2
All checks were successful
ci / test (push) Successful in 2m37s
ci / build-and-deploy (push) Successful in 41s
- Swap around AI API key for Google so Youtube still works
63.2
2026-07-31 09:51:25 -04:00
668570188a [agents] Use dedicated GOOGLE_AI_API_KEY for Gemini agent provider
Some checks failed
ci / test (push) Has been cancelled
ci / build-and-deploy (push) Has been cancelled
2026-07-31 09:50:02 -04:00
66fa555f63 [release] Bump to version 63.1
All checks were successful
ci / test (push) Successful in 2m31s
ci / build-and-deploy (push) Successful in 52s
- Fix agent scrobble bug with duration
- Swap around AI API key for Google so Youtube still works
63.1
2026-07-31 09:09:19 -04:00
af84e1419b [agents] Auto-complete agent session scrobbles after 10 minutes
All checks were successful
ci / test (push) Successful in 2m51s
ci / build-and-deploy (push) Has been skipped
2026-07-31 08:19:23 -04:00
63589c3fcc [release] Bump to version 63.0
All checks were successful
ci / test (push) Successful in 2m40s
ci / build-and-deploy (push) Successful in 56s
- Add agent-session scrobbling
- Fix small bug in nature importer if geojson is missing
63.0
2026-07-31 00:27:42 -04:00
eb991dbf0e [agents] Show agent sessions on homepage with first-prompt title
Some checks failed
ci / build-and-deploy (push) Has been cancelled
ci / test (push) Has been cancelled
2026-07-31 00:26:58 -04:00
0c92174440 [agents] Add agent-session scrobbling for Gemini and opencode providers
All checks were successful
ci / test (push) Successful in 3m2s
ci / build-and-deploy (push) Has been skipped
2026-07-31 00:21:24 -04:00
952ed596da [nature] Fix bug in importer when geojson is missing 2026-07-30 23:04:55 -04:00
2d2f77cfb4 [release] Bump to version 62.2
All checks were successful
ci / test (push) Successful in 2m25s
ci / build-and-deploy (push) Successful in 1m42s
- Fix concurrent trend to be more useful
- Add a public blog feature for scrobbles with notes
- Add drf-spectacular for OpenAPI schema generation
62.2
2026-07-30 12:09:56 -04:00
124eb86b74 Remove concurrent-reading trend, replace with concurrent-media-listening 2026-07-30 12:07:55 -04:00
b437e2a970 Add blog endpoint at /blog/<username>/ showing scrobbles with notes 2026-07-30 11:25:58 -04:00
d08aedbe2a Add filters to scrobble API endpoint
Add django-filter support to the ScrobbleViewSet with filters for:
- in_progress: boolean filter for active scrobbles
- visibility: enum filter (public/shared/private)
- media_type: enum filter for all 25 media types
- source: text search filter (icontains)
- played_to_completion: boolean filter
- timestamp_after/before: datetime range filters

Changes:
- Create scrobbles/api/filters.py with ScrobbleFilter class
- Add filterset_class to ScrobbleViewSet
- Filters appear in OpenAPI schema at /api/v1/scrobbles/
2026-07-23 21:45:50 -04:00
408475f159 Add videogame API and register ViewSets for scrobble relationships
VideoGame was missing from the API router, causing
HyperlinkedModelSerializer to fail when generating URLs for scrobble
relationships.

Changes:
- Create videogames/api/ with serializers and views
- Register VideoGameViewSet at /api/v1/videogames/
- Register VideoGameCollectionViewSet at /api/v1/videogame-collections/
- Register VideoGamePlatformViewSet at /api/v1/videogame-platforms/
2026-07-23 21:42:39 -04:00
caff69c714 Register missing trail and food-category ViewSets in API router
TrailViewSet and FoodCategoryViewSet were imported but never registered
in the DRF router, causing HyperlinkedModelSerializer to fail when
trying to generate URLs for scrobble relationships.

Changes:
- Add router.register(r'trails', TrailViewSet)
- Add router.register(r'food-categories', FoodCategoryViewSet)
2026-07-23 21:40:45 -04:00
b0d3029541 Switch scrobble API from UUID to pk lookup
The ScrobbleViewSet was using lookup_field="uuid" which caused
API detail views to fail for scrobbles with NULL UUIDs. Rather
than backfilling all NULL UUIDs, switch to pk lookup which is
always populated.

Changes:
- Remove lookup_field="uuid" from ScrobbleViewSet (defaults to pk)
- Remove extra_kwargs from ScrobbleSerializer (URL now uses pk)
- Update regenerate_share_token action signature to use **kwargs
2026-07-23 21:35:30 -04:00
7e222c9a8a Fix ImproperlyConfigured for scrobble-detail by backfilling NULL UUIDs
The ScrobbleSerializer uses HyperlinkedModelSerializer with
lookup_field='uuid', but 3,273 of 6,155 Scrobbles had NULL UUIDs,
causing URL resolution to fail.

Fix:
- Add migration 0104 to backfill NULL UUIDs with uuid4()
- All Scrobbles now have valid UUIDs for URL resolution
2026-07-23 20:37:52 -04:00
dcbb4034d0 Fix ImproperlyConfigured for paper-detail in scrobbles API
Same issue as drink-detail: Paper model had a template URL but no API
ViewSet, causing HyperlinkedModelSerializer to fail.

Fix:
- Add PaperSerializer and PaperViewSet to books/api/
- Register PaperViewSet as 'papers' in the DRF router
2026-07-23 20:28:35 -04:00
428d84d3bf Fix ImproperlyConfigured for drink-detail in scrobbles API
HyperlinkedModelSerializer could not resolve drink-detail because no
API ViewSet existed for the Drink model, even though the template URL
existed in drinks/urls.py.

Fix:
- Add DrinkSerializer and DrinkViewSet to drinks/api/
- Register DrinkViewSet as 'drinks' in the DRF router (vrobbler/urls.py)
- Mark task 8f2a3b4c as DONE in PROJECT.org

GET /api/v1/scrobbles/ now resolves without error.
2026-07-23 20:26:39 -04:00
d004336dd3 Add backlog task for drink-detail ImproperlyConfigured bug
GET /api/v1/scrobbles/ fails because HyperlinkedModelSerializer
can't resolve drink-detail — no API ViewSet exists for it, only a
template view in drinks/urls.py.
2026-07-23 20:22:59 -04:00
261bb618f5 Mark Android scaffold task as DONE in PROJECT.org
Scaffold completed in ../vrobbler-android with Compose, Hilt,
Navigation, OkHttp, Moshi, and EncryptedSharedPreferences.
2026-07-23 20:16:21 -04:00
cd9961662e Add drf-spectacular for OpenAPI schema generation
Closes #2fddd5d0-1138-4a6e-96b7-5879035f033f

drf-spectacular provides OpenAPI 3.0 schema generation for all 52
registered ViewSet endpoints under api/v1/. This is a prerequisite for
auto-generating the Kotlin networking layer.

Changes:
- Add drf-spectacular dependency (0.27.x)
- Register in INSTALLED_APPS and configure DEFAULT_SCHEMA_CLASS
- Add /api/schema/ (OpenAPI YAML) and /api/docs/ (Swagger UI) routes
- Add SPECTACULAR_SETTINGS with enum name overrides to suppress warnings

Schema generates cleanly with 4 non-blocking warnings (1 unique:
TagListSerializerField defaulting to string) and 14 unique skipped
errors (all non-ViewSet APIViews like webhooks that lack serializers).
2026-07-23 20:01:04 -04:00
050fce7ffc [release] Bump to version 62.1
All checks were successful
ci / test (push) Successful in 2m41s
ci / build-and-deploy (push) Successful in 1m40s
- Add open food stats as requirement
62.1
2026-07-22 01:17:09 -04:00
3bfb01b3f7 poetry lock 2026-07-22 01:16:52 -04:00
c6d94d8584 feat: add Open Food Facts search selector for food and drinks 2026-07-21 17:14:45 -04:00
dbb6225315 [release] Bump to version 62.0
Some checks failed
ci / test (push) Failing after 48s
ci / build-and-deploy (push) Has been skipped
- Add open food facts source for Food and Drink
62.0
2026-07-21 17:10:56 -04:00
155ed2a4f8 feat: add Open Food Facts search selector for food and drinks
- Add openfoodfacts Python SDK dependency
- Create foods/sources/openfoodfacts.py API wrapper with text_search
- Add off_code field + find_or_create_from_search() to Food model
- Add nutrition fields (protein, fat, carbs, fiber, sugar, sodium),
  ingredients, image, off_code to Drink model
- Create FoodSearchView and FoodScrobbleFromSearchView at /foods/search/
- Route beverages to Drink model based on OFF category keywords
- Update ManualScrobbleView to redirect '-f Food Name' to food search
- Add Drinks section to home page and scrobble detail templates
- Update drink_detail.html with nutrition grid and image display
2026-07-21 17:09:13 -04:00
f58f5406bb [release] Bump to version 61.5
All checks were successful
ci / test (push) Successful in 2m29s
ci / build-and-deploy (push) Successful in 2m10s
- Fix referer bug in OSM tiles
- Fix bugs in lifeevent urls
61.5
2026-07-20 23:55:37 -04:00
0e3b3cc68d fix(locations): add referrerPolicy to OSM tile layers
Add referrerPolicy: 'origin' to the Leaflet tile layer in
geolocation_list.html and geolocation_detail.html to match the
other four templates that already had it.

Without this, those templates send the full page URL as Referer,
which can trigger OSM rate limiting (osm.wiki/blocked error).

Also marks the task as DONE in PROJECT.org.
2026-07-20 23:53:12 -04:00
d53a9a9d33 Fix a bug in lifeevent urls 2026-07-20 23:48:17 -04:00