Commit Graph

538 Commits

Author SHA1 Message Date
IRHM cc9f246c9a update watched_util_test with new model name 2026-07-05 17:39:42 +00:00
IRHM 75d75248e1 Remove AddActivity endpoint
it isn't used and is only a way for others to potentially add activity to other peoples watched entries since user owning the watched entry is not validated on the endpoint.

Co-Authored-By: Dreddy <24421368+dredsen@users.noreply.github.com>
2026-07-05 17:39:42 +00:00
IRHM c34a0878b2 New Deref helper for using pointers safely with default values 2026-07-05 17:39:42 +00:00
IRHM 681212566b activity: Change AddRequest name to Props. Add CountAsPlay param to AddActivity()
and some formatting
2026-07-05 17:39:42 +00:00
IRHM df37de00e1 manually validate WatchedUpdateRequest struct and add plays count to watcheddto 2026-07-05 17:39:42 +00:00
IRHM fc900d8e93 db: Optimize when opening and new optimize task ran every 24hr server is running to keep it running best 2026-07-05 17:39:42 +00:00
IRHM 57ce143ebe migrate db to WAL journal_mode 2026-07-05 17:39:42 +00:00
IRHM 3eb2810a31 db: Configure sqlite connection when open. Currently set synchronous to FULL
(did this work a long time ago now so commits are in weird order)
2026-07-05 17:39:42 +00:00
IRHM b8598ba404 Remove deleted_at columns for watched episode/season tables
We don't use these columns and won't in the foreseeable future. Query speed seems be to be faster now that we aren't filtering for the extra deleted_at cols.
2026-07-05 17:39:42 +00:00
IRHM 579428d86b migrate: Backfill media plays data from existing activity 2026-07-05 17:39:42 +00:00
IRHM 4da8730b6f Activity: Add CountAsPlay property 2026-07-05 17:39:42 +00:00
IRHM e980a1f70e db: Create custom migrations support 2026-07-05 17:39:42 +00:00
IRHM f73105e9c7 v3.0.2-dev1 2026-03-19 01:30:26 +00:00
IRHM a12faf8e72 v3.0.1 2026-03-09 11:14:19 +00:00
IRHM eb1b8b86c7 v3.0.1-dev2 2026-03-09 10:48:51 +00:00
IRHM 664caa6ba2 v3.0.1-dev1 2026-03-09 09:14:26 +00:00
IRHM e4e015daf8 age->GetAge: If we don't have a birthday skip processing
Otherwise eg: we get current year - 1 as someones age if their birthday isn't listed on tmdb
2026-03-09 07:01:22 +00:00
IRHM d379d3f147 igdb: Fix some logs, only log req on Debug because it could be sensitive 2026-03-09 03:34:57 +00:00
IRHM ac8d8769af import: Support games importing
Fixing watcharr import from watcharr export not importing users games.

Also works if user edits the table in import/process to change the type of something to a game (and multi results works too).

Added warning message if user tries importing a watcharr export that has games when `!serverFeatures.games`
2026-03-09 03:34:57 +00:00
IRHM 7a7bd4f566 jellyfin sync: Fix addWatched params formatting 2026-03-06 18:33:12 +00:00
IRHM ca82a36d23 sync: Update err soft deleted comments 2026-03-06 18:33:12 +00:00
IRHM 1e6a97202b tag: GetTagPage: Remove debug call 2026-03-06 18:33:12 +00:00
IRHM 0e54a8c44a sync: Fix already on list handling by using new add watched func AND no longer auto restore soft deleted records
no longer auto restoring soft deleted records means if the user (soft) deletes a show (default behavior), the next sync job wont add it back.
2026-03-06 18:33:12 +00:00
IRHM 5c4c7be115 import: Fix already on list handling by using new add watched func 2026-03-06 18:33:12 +00:00
IRHM f458eec732 watched: abide by new api in router 2026-03-06 18:33:12 +00:00
IRHM 8ad2208162 watched: Restore can be skipped with flag and now returns a new error if watched just plain exists 2026-03-06 18:33:12 +00:00
IRHM 28c373173b v3.0.0 2026-03-04 09:08:01 +00:00
IRHM 5fb92daf0c WatchedDto: Add comment to thoughts 2026-03-04 08:49:43 +00:00
IRHM 7f4da2d90e v3.0.0-dev5 2026-03-04 08:41:45 +00:00
IRHM af04698625 (fix) Add thoughts to watchedDto for Content Page responses 2026-03-04 08:22:09 +00:00
IRHM c16e0af3b2 v3.0.0-dev4 2026-03-04 06:54:57 +00:00
IRHM 7561b59037 v3.0.0-dev3 2026-03-04 03:46:48 +00:00
IRHM cb97aa3914 search->searchMyList: Add a lil commento 2026-03-04 03:45:28 +00:00
IRHM d1e9a60beb watched: Remove leftover debug call on query 2026-03-04 03:45:28 +00:00
IRHM 404b7c680f search: Return resp directly when we fetched the data FromMyList
to avoid extra unnecessary db queries
2026-03-04 03:45:28 +00:00
IRHM 9bb4f3f948 (feat) Search your own list for results before external search 2026-03-04 03:45:28 +00:00
IRHM 624a3b1bbf v3.0.0-dev2 2026-03-03 18:23:00 +00:00
IRHM a314231780 search: multi: Only get games for first page 2026-03-03 18:21:17 +00:00
IRHM fc4d65ccbc tv seasons: Fix release date 2026-03-03 18:21:17 +00:00
IRHM c62c2cdfc0 Update twitch config and fix possible undefined issues 2026-03-03 18:21:17 +00:00
IRHM 8955cacee6 search: Don't attempt game search if twitch is not configured 2026-03-03 18:21:17 +00:00
IRHM 8fbf4ddc6d config: Create TwitchEnabled func 2026-03-03 18:21:17 +00:00
IRHM 532d3f49c7 v3.0.0-dev1 2026-03-01 22:20:28 +00:00
IRHM 4e40a9fdb5 config: Fix generateConfig not setting our cfg var
Altered the read func to return a ServerConfig pointer instead of taking one in
2026-03-01 22:12:27 +00:00
IRHM 81a67404d3 Fix setup
authProvider wasn't being passed in
2026-03-01 21:47:29 +00:00
IRHM 307f5324f0 image->DownloadAndInsertImage: Replace fatal log with err response 2026-03-01 21:05:34 +00:00
IRHM 4a922df7e4 user->UploadUserAvatar: Replace fatal log with err response 2026-03-01 21:03:45 +00:00
IRHM 0e4249ee42 AddWatched: Keep support for the 'contentId' property for now
Instead of completely removing it, I've added it back so third party scripts can migrate to the new property 'tmdbId'.

I realised I don't want to break any ones experience, this should allow for a painfree path to migration.
2026-03-01 20:44:26 +00:00
IRHM ce264cbf4a TraktImport: Add a log for when a custom api key is provided 2026-03-01 20:27:51 +00:00
IRHM 26dfad19bc TraktImport: Renew default api-key and support bringing your own key
Resolves #1014
2026-03-01 20:21:11 +00:00