325 Commits

Author SHA1 Message Date
CyferShepard
a8e4c9f00b generalized Genre stat card
Added Genre stat card to libary views #292
bug fixes on Genre chart view
2025-03-30 17:46:07 +02:00
CyferShepard
607b21c542 Added Genre stats to users page #292
Added Genres to items table
enhanced db-helper to add group by
fixed bug in fb-helper where null rows triggered a not count prop error
fixed issue where no plays on user screen attempted to open the item page
updated translations for genres
2025-03-30 17:33:58 +02:00
CyferShepard
17fb7d6813 api fixes for config not loading during sycn on new threads 2025-03-30 13:52:43 +02:00
CyferShepard
3c14740381 Fixes for new Transcode Column to use the api for filtering and sorting
Update language packs
css fixes
2025-03-22 10:46:24 +02:00
CyferShepard
08d5a55e7e add 10s delay to first run of full sync
prevent task scheduler from running if config is not completed
2025-03-15 15:00:56 +02:00
CyferShepard
ab3a530088 fix for writing default task intervals to db 2025-03-15 14:47:30 +02:00
CyferShepard
0c67a67b68 fix for libraries not loading after first sync #336 2025-03-11 15:45:31 +02:00
FieldofClay
bc9f24fa00 allow configuring listen IP 2025-03-09 09:47:09 +11:00
CyferShepard
d7953caac3 added missing onexit for different tasks
updated task state to failed when stopped
2025-03-07 23:25:04 +02:00
CyferShepard
cd165a5c47 fix for #249
also fixed activity materialized view not refreshing for imported data
2025-03-07 23:14:59 +02:00
CyferShepard
ec6a165c6b null config fix for threaded tasks using plugins endpoint 2025-03-07 23:01:49 +02:00
CyferShepard
32a0508f46 improve message handling in WebSocket server to ensure valid payload structure 2025-03-06 09:28:26 +02:00
CyferShepard
81fe4997d1 task scheduler rework
task manager implementation to start/stop tasks WIP
implemented socket client for internal communication between threads - needs more testing as connection string is hardcoded
added loopback in ws server to pass through toast ws messages from threads - needs more testing

fixed potential bug during config fetch function when syncing
2025-03-04 22:23:34 +02:00
CyferShepard
4ab5942f50 fix for session endpint function crashing when lost connection 2025-02-26 09:17:50 +02:00
CyferShepard
fe560abcb8 fix sorting by date created desc on recently added 2025-02-09 18:58:35 +02:00
CyferShepard
8426aac136 Added Fix for recently added items api endpoint. The way the query was structured made individual episodes count towards the limit, resulting in a Movie added on the same day to not show as it was pushed past the row limit by the episodes
Added English US option. This still uses the English UK language pack, but allows for the date to be formated as MM/DD/YYYY

Modified activity table to be able to use the selected language localization for formating dates
2025-02-09 15:49:20 +02:00
Thegan Govender
e1012c6c9f Merge pull request #304 from GrimJu/activity-timeline-episode-number-fix
Activity timeline fixes and improvements
2025-02-08 19:29:51 +02:00
CyferShepard
6bfaaa74e4 backup fix hotfix 2025-02-04 16:32:34 +02:00
GrimJu
04ae6de886 Timeline: Improvement - start a new group if a series is interrupted by another activity 2025-02-03 08:29:42 +01:00
CyferShepard
d2aed2e0cf add migration to fix and enhance fs_get_user_activity function 2025-02-02 17:04:06 +02:00
CyferShepard
801653100a sanitizer uitl import fix 2025-02-01 18:17:20 +02:00
Thegan Govender
60964cd0c3 Merge commit from fork
Fixes Path Traversal in most endpoints
2025-02-01 18:03:49 +02:00
Nishant Jain
740365723b add the function call lol 2025-01-27 22:22:19 -08:00
Nishant Jain
e6cf5aa433 sample fix 2025-01-27 22:15:54 -08:00
CyferShepard
f9f061057a added fix for sql injection in custom query constructor for history 2025-01-27 19:21:40 +02:00
CyferShepard
0d1d0a597b fix filter for username, serach on activity username and not on user table 2025-01-26 14:19:39 +02:00
CyferShepard
e428398019 added filtering to all activity table fields and api history endpoints 2025-01-26 13:51:04 +02:00
GrimJu
4ff3449c4d Activity timeline improvements:
+ Remove sidebar link to activity timeline
+ use jf_libraries.CollectionType as MediaType instead of calculating it
+ reduce minimum playback duration to 30 seconds
2025-01-20 07:50:01 +00:00
GrimJu
30f3bbe6ee Activity timeline improvements:
+Turn cards into links that lead to the item

+Show EpisodeCount for shows

+Filter out activities under 15 minutes

+Add timeline to userInfo view
2025-01-11 20:45:33 +01:00
GrimJu
cfe36ee247 Prototype implementation of activity timeline feature 2025-01-11 03:58:28 +01:00
CyferShepard
2a4f036dd7 fix sort on Total Plays and Total Duration for Group Activity 2025-01-04 19:32:51 +02:00
CyferShepard
ebdc6f9433 updated swagger doc
added hacky code to add param enums to sort field, to fix later
2025-01-04 04:13:33 +02:00
CyferShepard
76363ea0ba added sorting to history endpoints and changed Activity tables to apply sorting to api calls 2025-01-04 03:50:39 +02:00
CyferShepard
cd0f2ae6a6 Moved TotalPlays and TotalPlaybackDuration to sql query to allow for future sorting callback in material react table 2025-01-03 21:50:20 +02:00
CyferShepard
73b35c50dc fix for Last Activity not updating in library view due to materialized view being static
Last Activity is now calculated in the select statement for that view using ActivityDateInserted
2025-01-03 20:50:59 +02:00
CyferShepard
3242e7c615 optimized materialized view for possible duplication bug with activity having the same activity date
moved refresh views trigger to code as it caused a delay on inserts/updates/deletes
2025-01-03 20:38:33 +02:00
CyferShepard
9f0c3fcb2b convert js_library_stats_overview to material view to reduce load times
added triggers on jf_playback_activity to refresh js_library_stats_overview view when data changes
2025-01-02 23:02:17 +02:00
CyferShepard
6b1d5932b6 changed grouping to be perfomed on sql to present more accurate data in tables.
added latest activity view to assist in grouping
added triggers as the view is a material view and will need to be updated when changes are made to activity table
created new view to include episode and library metadata to reduce join operations needed in query
2025-01-02 20:32:39 +02:00
CyferShepard
9cf93f2862 expanded api querying of history to add a search field 2025-01-02 01:44:21 +02:00
CyferShepard
da6b61968f added memoizee to update checker to prevent hitting githubs api limit 2024-12-27 18:47:51 +02:00
CyferShepard
be3c3fc175 Added refresh on item count per row change 2024-12-27 18:29:02 +02:00
CyferShepard
58804e08d3 optiomisations on history queries 2024-12-27 14:53:14 +02:00
CyferShepard
42402b7cfd updated swagger docs 2024-12-27 00:25:01 +02:00
CyferShepard
7eae08c797 added pagination to backend history endpoints
changed frontend activity elements to use server-side paging
Bug in MaterialReactTable causing page index to reset was found aswell as a bug that prevents expanding subrows when using manual pagination. Solution is WIP
Added a busy loader to activity tables
2024-12-27 00:23:22 +02:00
brikim
5d9540c92f Added limit attribute for getHistory, getLibraryHistory and getUserHistory 2024-12-25 13:15:53 -06:00
CyferShepard
2f31a365cd fix for possible bad logic when implementing MINIMUM_SECONDS_TO_INCLUDE_PLAYBACK env 2024-12-22 16:25:38 +02:00
CyferShepard
a143eebfea dix for device icon not displaying in emby on active sessions 2024-12-15 16:19:28 +02:00
CyferShepard
840201a064 add external url settings #265 2024-12-15 16:12:18 +02:00
CyferShepard
3813f66298 patch to fix /backup endpoints not working on download, delete, restore 2024-12-06 21:18:58 +02:00
CyferShepard
099fd0b149 fix for #263, default value for no activity on fs_user_stats 2024-12-03 09:33:06 +02:00