Commit Graph

298 Commits

Author SHA1 Message Date
Félix MARQUET
280fa89c59 feat(webhooks): add support for playback and media notification events
- Implement event handlers for 'playback_started', 'playback_ended' and 'media_recently_added'
- Add API routes to manage event webhook status
- Create user interface components for easy webhook configuration
- Update webhook manager to properly trigger events
- Add translations for new UI elements
2025-05-23 08:29:08 +00:00
Félix MARQUET
27062b2d14 Merge branch 'CyferShepard:main' into main 2025-05-23 09:34:40 +02:00
CyferShepard
833e8852eb update set config logic to change default prefered admin if a value is set and is not included in the current admins list 2025-05-01 14:35:51 +02:00
CyferShepard
a4f0d07aaf update archive logic for shows to only update seasons/episodes where archived items/seasons contains items withouth the archived flag 2025-05-01 14:10:01 +02:00
Félix MARQUET
193b47c4af Improve error messages and logging in webhook manager and scheduler and fix error when webhook is undefined 2025-04-26 11:44:44 +02:00
56039bd3b9 Add webhook management and scheduling functionality 2025-04-25 10:53:00 +02:00
CyferShepard
d986f46030 fix no login required issue #373 2025-04-24 18:47:18 +02:00
CyferShepard
7e42aea9e2 Merge branches 'unstable' and 'unstable' of https://github.com/CyferShepard/Jellystat into unstable 2025-04-24 18:37:21 +02:00
CyferShepard
3cd1cc3372 Refactor genre data handling in GenreStatCard for improved sorting and display
Genres no display the top 15 genres alphabetically
should fix #359
2025-04-24 18:37:18 +02:00
Zlendy
2fcbf78ddf refactor: Use Map<K,V> instead of Object 2025-04-19 20:24:08 +02:00
Zlendy
8532f1ed2f fix: /stats/getViewsByLibraryType can return an empty object 2025-04-19 20:19:45 +02:00
Zlendy
fc8c5fa233 feat: API endpoint /stats/getViewsByLibraryType 2025-04-19 19:56:28 +02:00
Zlendy
85336327f7 chore: Generate swagger schema 2025-04-18 10:38:02 +02:00
Zlendy
5acb7bb1d0 refactor: Use GET in /statistics API endpoints instead of POST 2025-04-18 10:26:23 +02:00
CyferShepard
b44dc5ff86 Fix onExit callback condition to only trigger on non-zero exit codes 2025-04-14 21:22:57 +02:00
CyferShepard
f8436f39a0 Bump version to 1.1.6
Ensure worker exits when task completes
2025-04-14 18:49:14 +02:00
CyferShepard
3673bbfcef Refactor ActivityMonitor.js for improved error handling and code readability #360 2025-04-09 18:53:28 +02:00
CyferShepard
a3d74af981 fix for numeric sql error. #357 2025-04-09 08:36:15 +02:00
CyferShepard
6e80cee618 Expanded Exclusion list for numeric conversion on db queries 2025-04-08 10:22:08 +02:00
CyferShepard
7348c22ab8 Version Bump 1.1.5
add better logging for child worker threads
add better error handling for updateSingleFieldOnDB function
2025-04-08 09:34:44 +02:00
CyferShepard
1407c3d4c3 Add "NowPlayingItemName" to skippedColumns in query results 2025-04-06 16:12:36 +02:00
CyferShepard
c720e56c08 Add numeric conversion for query results and implement isNumeric helper function 2025-04-06 01:20:49 +02:00
CyferShepard
ccc8469716 Added validation for Genres by Whitlisting Genre titles
Changed sort order on those endpoints to order genres alphabetically
fixed auth bug
Update api docs
2025-03-31 09:41:40 +02:00
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