Commit Graph

842 Commits

Author SHA1 Message Date
FuzzyGrim
e3db102e32 fix: remove unused get_issue_number function and set max_progress to None #735 2025-11-26 21:15:14 +01:00
FuzzyGrim
a3c8f1859e fix: active source highlight in search 2025-11-26 20:50:30 +01:00
FuzzyGrim
88c1f371a5 fix: update default source retrieval to use value instead of label for media types 2025-11-26 20:46:03 +01:00
FuzzyGrim
c71aafe53b fix: manual tv show not showing seasons in details 2025-11-26 12:10:35 +01:00
FuzzyGrim
f17fb6c79c fix: restructure metadata function to handle TV and SEASON media types separately 2025-11-26 10:52:51 +01:00
FuzzyGrim
0aa8f09834 fix: change item title field from CharField to TextField for better flexibility 2025-11-26 10:50:22 +01:00
FuzzyGrim
181a46ae3e fix: include season number in enrich_items_with_user_data lookup key 2025-11-21 13:39:56 +01:00
FuzzyGrim
607c86f1f9 refactor: update test cases to use correct media model and improve error handling 2025-11-21 13:35:40 +01:00
FuzzyGrim
e3ae6373f8 refactor: remove redundant enrichment of related TV related items in season details 2025-11-20 21:26:19 +01:00
FuzzyGrim
0e0878a965 refactor: optimize enrich_items_with_user_data with bulk query
Replace individual database queries per item with a single bulk query
using Q objects and a lookup dictionary for O(1) matching.
2025-11-19 22:33:05 +01:00
FuzzyGrim
18cb5219d4 refactor enrich_items_with_user_data 2025-11-19 19:35:06 +01:00
FuzzyGrim
9e8ffa8718 refactor: streamline media retrieval by removing unnecessary exception handling 2025-11-19 17:23:16 +01:00
FuzzyGrim
e14e485dc7 refactor: improve code readability by formatting function calls and enhancing whitespace 2025-11-18 22:57:26 +01:00
Xila Cai
0c6c0f1cc0 Merge pull request #842 from tuur29/feature/status-on-more-media-cards
Show tracking status on more media cards
2025-11-17 22:40:53 +01:00
Xila Cai
ec85a26e24 Merge pull request #834 from christaikobo/dev
Support setting Redis prefix using environmental variable REDIS_PREFIX
2025-11-15 23:42:34 +01:00
FuzzyGrim
3f4b4834c4 Fix missing title in tv_with_seasons when all seasons cached #758
When all requested seasons were cached but TV metadata wasn't,
tv_with_seasons would return only season data without base TV fields
like 'title', causing KeyError in importers. Now ensures TV metadata
is always fetched and included in the response.
2025-10-14 23:43:51 +02:00
FuzzyGrim
7fe3572f32 remove extra period 2025-10-06 22:31:18 +02:00
FuzzyGrim
3d79bbd1ed fix(tests): update mock call arguments to ignore unused values
chore(deps): bump ruff from 0.12.12 to 0.13.0
2025-09-15 21:48:36 +02:00
FuzzyGrim
a431b25071 fix(tests): remove orphan assertion 2025-08-28 23:14:28 +02:00
Tuur Lievens
4261c6ce42 Add missing test data to EnrichItemsWithUserDataTest 2025-08-27 21:35:07 +02:00
Tuur Lievens
ab1ec7259d Show tracking status on more media cards
#814
2025-08-27 21:32:08 +02:00
christaikobo
943dd6be58 Set Redis key and channel prefix for session using REDIS_PREFIX 2025-08-24 14:37:49 -07:00
FuzzyGrim
28a9a93742 refactor: remove problematic assertions from hardcover book test 2025-08-22 22:31:42 +02:00
FuzzyGrim
fd93f614a5 feat: add runtime to episode metadata in tests 2025-08-19 22:53:28 +02:00
FuzzyGrim
3c8666fca9 Merge branch 'dev' of github.com:FuzzyGrim/Yamtrack into dev 2025-08-19 22:47:23 +02:00
Xila Cai
489c1cf854 Merge pull request #813 from andrebk/episode-runtime
Display runtime for each episode
2025-08-19 22:43:33 +02:00
FuzzyGrim
8b738458cb refactor: update sorting functions to use HomeSortChoices constants 2025-08-16 11:45:23 +02:00
FuzzyGrim
de42a631c5 fix: update publish date for The Great Gatsby in metadata tests 2025-08-16 10:20:07 +02:00
Xila Cai
21877322fd Merge pull request #783 from BornToGrill/home-most-recent
feat: add recent sort option to home page
2025-08-15 23:26:02 +02:00
Andreas Bro Kolstø
214dc80f01 Refactor to align with existing duration calcs
Do readable formatting when processing data instead of the template,
which is the way it is done in the code for other durations.
2025-08-15 21:37:39 +02:00
Andreas Bro Kolstø
410fcc5ca4 Display runtime for each episode
Closes #804
2025-08-15 21:08:26 +02:00
FuzzyGrim
266c818cea refactor: make source buttons dynamic 2025-08-14 14:35:49 +02:00
FuzzyGrim
aebbfe4349 fix integration tests 2025-08-14 09:33:21 +02:00
Joey
7616f347a6 Order episoides by ep # for manual adds (#771)
* Update .gitignore

* Update manual.py

* Revert "Update manual.py"

This reverts commit caaa7d4dca.

* Revert "Update .gitignore"

This reverts commit d665293231.

* Reapply "Update manual.py"

This reverts commit fb74524f61.
2025-08-11 23:30:57 +02:00
Daniel
1e2482fe5f feat: add recent sort option to home page 2025-08-06 21:37:44 +02:00
FuzzyGrim
8f9cfdf5fc Merge branch 'dev' of github.com:FuzzyGrim/Yamtrack into dev 2025-07-31 12:55:38 +02:00
Xila Cai
d76f2fb7d0 Merge pull request #753 from baswag/trakt-oauth-import
feat: add oauth import for trakt
2025-07-31 11:30:47 +02:00
FuzzyGrim
b5917c86b6 fix: remove custom expiration time from cache set in external_game function 2025-07-30 23:29:46 +02:00
Jeffrey Neer
ddb5ddd7c6 Inital Implementation of Steam Game import functionality (#711)
* Feat: Inital Implementation of Steam import functionality

* Migrating IGDB lookup to use externalGames endpoint rather than searching by name

* Correcting ruff errors

* Correcting Import ui after merge conflict resolution

---------

Co-authored-by: Xila Cai <34800654+FuzzyGrim@users.noreply.github.com>
2025-07-30 23:00:02 +02:00
Bastian Wagner
58035bdff0 refactor: better oauth handling for trakt and simkl
Get username/user ID from service and store in periodic task to show in UI instead of encrypted token
Remove old Trakt importer, make new oauth importer backwards-compatible
Add migration for SIMKL periodic tasks to new username+token format
2025-07-29 16:21:13 +02:00
FuzzyGrim
7d420efd59 feat: update SVG icon for games 2025-07-26 23:29:41 +02:00
FuzzyGrim
494ed976a0 refactor: simplify icon function and update media card list to use it 2025-07-26 23:19:44 +02:00
FuzzyGrim
666ab9aedb apply ruff and djlint 2025-07-25 09:20:13 +02:00
CrazyTim71
bf02a75d7c List view (#657)
* implement the list view

* formatting

---------

Co-authored-by: Laptop\Denji <denji@local.de>
2025-07-25 09:16:01 +02:00
FuzzyGrim
e21bddf288 fix: update publisher and page count in hardcover book test 2025-07-22 20:28:07 +02:00
FuzzyGrim
5d679b1dcb fix: handle empty editions in search results for Open Library #746 2025-07-22 20:22:50 +02:00
FuzzyGrim
894fea4f4a fix: handle missing TVDB ID in BaseWebhookProcessor #701 2025-07-18 11:51:53 +02:00
FuzzyGrim
8cde363cce fix caching logic in tmdb find function 2025-07-18 10:48:04 +02:00
FuzzyGrim
b3437d6812 replace SQL TruncDate with Python day-binning to avoid SQLite “string or blob too big” 2025-07-12 14:34:35 +02:00
Xila Cai
3c73199bee Fixes #707 (#709)
* fix: handle missing watched_at dates in Simkl importer and tests
2025-07-10 23:37:39 +02:00