149 Commits

Author SHA1 Message Date
Thegan Govender
d79223bc00 Merge branch 'unstable' into main 2025-10-05 17:09:53 +02:00
T++
2f8d82e956 Merge branch 'unstable' into main 2025-09-29 23:05:31 +02:00
Thegan Govender
e978a2d3ac Merge pull request #444 from gunanr/postgres-ssl-verify-toggle
POSTGRES_SSL_ENABLED and POSTGRES_SSL_REJECT_UNAUTHORIZED environment variable support
2025-09-24 18:38:10 +02:00
Gunnar Smith
d2dfa41acd POSTGRES_SSL_ENABLED environment variable 2025-09-19 23:11:22 -05:00
Gunnar Smith
bc7571dab4 user configurable validation of psql ssl 2025-09-19 22:21:41 -05:00
Thegan Govender
1ba1c2dc74 Merge pull request #410 from Zlendy/dayjs
refactor: Replace `moment` with `dayjs`
2025-09-11 08:49:29 +02:00
tpp
5f7e89c969 Adaptive Polling Implementation 2025-08-29 00:32:45 +02:00
Thegan Govender
0f75598636 Merge pull request #414 from jon4hz/main
fix: sanitize data before db insert
2025-07-07 11:46:33 +02:00
Zlendy
26173e5486 fix: Custom parser is not enabled 2025-07-04 19:19:10 +02:00
jon4hz
5b3b0396cb fix: sanitize data before db insert 2025-06-29 23:08:28 +02:00
Zlendy
67bdb8dafb refactor: Replace moment with dayjs
https://day.js.org/en/
2025-06-21 00:04:11 +02:00
Félix MARQUET
2feef53758 refactor(webhooks): improve Discord webhook handling and update notifications 2025-06-02 09:04:14 +02:00
Félix MARQUET
b2e6a4405c Update backend/routes/sync.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-26 10:12:15 +02:00
Félix MARQUET
1f1a51fd6c Update backend/routes/webhooks.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-26 10:12:02 +02:00
Félix MARQUET
247df5fed3 Update backend/routes/webhooks.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-26 10:11:51 +02:00
eeada4fbb2 feat(webhooks): add Discord webhook support and event notifications for playback and media actions 2025-05-26 10:01:30 +02:00
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
Sanidhya Singh
579a7a3f8b Changes for the daily & weekly playback duration charts 2025-05-06 00:24:16 +05:30
Sanidhya Singh
c1800334a6 Daily watch time changes 2025-05-05 22:56:18 +05:30
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
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
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
5acb7bb1d0 refactor: Use GET in /statistics API endpoints instead of POST 2025-04-18 10:26:23 +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
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
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
0c67a67b68 fix for libraries not loading after first sync #336 2025-03-11 15:45:31 +02: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
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
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
CyferShepard
6bfaaa74e4 backup fix hotfix 2025-02-04 16:32:34 +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
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
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