64 Commits

Author SHA1 Message Date
Thegan Govender
d79223bc00 Merge branch 'unstable' into main 2025-10-05 17:09:53 +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
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
2de6616129 bump version to 1.1.7 in package.json and package-lock.json 2025-05-02 08:04:56 +02:00
56039bd3b9 Add webhook management and scheduling functionality 2025-04-25 10:53:00 +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
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
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
adbdcbd5da version bump 1.1.4
fixed Catalan invalid naming schemes for language code and file/folder name
2025-02-10 16:27:36 +02:00
CyferShepard
801653100a sanitizer uitl import fix 2025-02-01 18:17:20 +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
da6b61968f added memoizee to update checker to prevent hitting githubs api limit 2024-12-27 18:47:51 +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
CyferShepard
0b0c32eef5 version bump 1.1.2 2024-11-28 19:58:40 +02:00
CyferShepard
4e18680b01 chore: Update axios dependency to version 1.7.2 2024-07-30 16:47:13 +02:00
CyferShepard
afa99af321 chore: Fix database transaction issue in insertBulk function 2024-07-05 15:28:04 +02:00
CyferShepard
f70bce6b9a Version Bump 1.1.0 => 1.1.1
Added Dynamic API loader framework for Emby/Jellyfin switching, Emby API is still WIP, DO NOT USE as per #133

Reworked ome pages for correct url mapping of emby external links

Added IS_JELLYFIN flag to config endpoint to indicate if server is displaying Emby or Jellyfin Data

Fix for #218 Require Login set to false still displays Login Page until reload

New feat: Grouped Recently added Episodes under Seasons and Episode count on Home page. Toggle to revert back to ugrouped display will be added later

Added middleware to infer param types in API to simplify value checks, eg bool or numeric parameters
2024-06-29 22:57:33 +02:00
CyferShepard
6e33d179f7 fix to replace is-url-http library due to docker build issues 2024-06-06 12:52:47 +02:00
CyferShepard
68252c00af chore: refactored url formating when performing url and api key validation for Jellyfin
fix: fixed validation message bug in settings page for Jellyfin details not diplaying error messages
2024-06-06 10:16:01 +02:00
CyferShepard
f245b86eab added DateCreated field 2024-03-30 13:28:57 +02:00
CyferShepard
7b2a8d75d5 Reworked activity table, now uses Material-react-table
added filtering and deleting of activity
2024-03-25 20:29:58 +02:00
Thegan Govender
91cc064e04 Update package dependencies 2024-02-20 10:17:12 +02:00
Thegan Govender
60b68db0e8 Add i18next-fs-backend package and update debug mode in localization.js
Update translations and units in statistics.jsx and daily-play-count.jsx
Update task descriptions and types in tasklist.jsx
2024-02-09 15:55:00 +02:00
Thegan Govender
b4243e694c Added Localisation Framework
Converted Below pages to use localization:
Navbar
Home Page
Libraries (Library Overview only)

Rest is WIP
2024-02-07 21:14:38 +02:00
Simon Caron
dd970dd5aa Update package-lock.json 2023-12-17 15:34:49 -05:00
Simon Caron
5bcf8ae51a Implement DNS Caching with cacheable-lookup 2023-12-10 14:33:39 -05:00
Thegan Govender
e146260572 Version bump and minor changes
Incremented version to 1.0.9
Updated dockerfile to run build to generate static webpages
Fixed missing parameter REQUIRE_LOGIN from config payload
2023-11-28 18:48:06 +02:00
Thegan Govender
e63f52e2fb Added .dockerignore file to speed up local image builds
Changed Dockerfile as previos file was failing to build consistently
removed some unused packages
added compression to json payloads
changed vite ports to 3000 to not break existing builds
backend and frontend both use port 3000 now
2023-11-11 17:06:44 +02:00
c4lyp5o
7b24613dd3 chore: reinstall npm fresh
moved dev dependencies to correct place
2023-11-08 08:20:43 +08:00
c4lyp5o
1d17d63426 fix: package json
added dotenv and nodemon for local dev
added new scripts for development and deployment
2023-11-07 16:53:56 +08:00
Thegan Govender
87b69aa944 added axios caching 2023-10-25 22:30:15 +02:00
Thegan Govender
aef4a08e32 Merge pull request #105 from CyferShepard/main
bring in new changes to unstable
2023-10-14 16:04:16 +02:00
Thegan Govender
d81f589cb8 Sync optimisations + fix for Fetch Users 2023-10-09 16:43:49 +02:00
Sylvain Blanc
3d63d09891 improve release
add workflow
2023-10-06 18:08:35 +02:00
Thegan Govender
c21b2f2c65 Added Override Credential Params + Swagger
Added JS_USER  and JS_PASSWORD to env variables so that these credentials can be used to access jellystat incase of forgotten credentials

Added swagger implementation + swag doc auto-generator
2023-09-11 22:00:44 +02:00
Thegan Govender
aeb46f2a08 Task and Logging Changes
Reworked Tasks and logging to prevent overlapping tasks from executing. This is done by reworking the logging process so that the task state is stored and accurately tracked allowing us to check for currently running tasks.

Backup and sync tasks also reworked to reduce code redundancy and allow for better error handling

Websockets finally fixed and implementation has begun

Added Toast notifications
2023-09-03 20:47:52 +02:00
dependabot[bot]
6e6be3eda9 Bump tough-cookie from 4.1.2 to 4.1.3
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-20 09:28:45 +00:00
dependabot[bot]
a1cb21683f Bump word-wrap from 1.2.3 to 1.2.5
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-20 09:23:43 +00:00
Thegan Govender
efae782481 Update version
1.0.5.0 > 1.0.5
2023-07-21 16:43:41 +02:00
Thegan Govender
ebf2a12ebf Update package-lock.json 2023-07-19 19:27:21 +02:00
Thegan Govender
7e569cd4d6 Update package-lock.json 2023-07-14 18:30:42 +02:00
Thegan Govender
48fab7f8cd Dependabot fixes
Bumped semver and dottie versions
2023-07-02 01:01:12 +02:00
Thegan Govender
2e2bab9b73 Fix for library sync
Made changes to sync process
Data calls are now paginated at 200 items per call
Recursive search added to account for items within subfolders

Reduced API calls by recursive calls on entire library vs per library/show/season
2023-06-07 11:00:04 +02:00
Thegan Govender
d8b4360b3d Added Data Debugger
This is to assist in the ongoing sync issues by allowing you to export any missing data for inspection
2023-06-04 13:29:22 +02:00
Thegan Govender
3a04661915 Automated Tasks + Logging +misc
New:
Added automated tasks for Sync and Backups - Backups run every  24hrs, Sync runs every 10 minutes
Added switcher to switch between 12hr/24hr time formats
Added sorting to Activity Tables
Added Version Checking and indicators
Added logging on Tasks + Log Page
Added Recently Added view to Home page
Added background images to item banners
Added Proxy for Device Images in session card
Changed Navbar to be a side bar

Fixes:
Fixed Jellyfin API returning Empty folder as library item
CSS File to add breakpoints to bootstrap-width

Other:
Various CSS changes
Temporarily removed Websockets due to Proxy Errors
Changed Activity View Playback conversion function to more accurately display Playback Duration
Backend changes to sum Playback Durations to show more accurate information in thee collapsed summarized view
2023-05-25 07:21:24 +02:00
Thegan Govender
4391c2ede8 Fix for Proxy with SSL support
Added SSL proxying on the server side so that HTTP content can be served with HTTPS content

Changed css colors from hardcoded values to use variables

Changes to websockets to be able to work with SSL/Proxies

WIP support of 12/24Hr time format in activities tables  (Not working yet)
WIP added version checker to be able to check for available updates from GitHub (Not working yet)
2023-05-09 09:53:39 +02:00
Thegan Govender
3e0bc347ae added button to upload backups to jellystat + icons
added button to upload backups to jellystat
Added Jellystat Logo to favicon + navbar

Removed unused imports and functions in the project
Removed unnecessary console.log files
2023-05-01 12:59:29 +02:00
Thegan Govender
6f7f5c069f Added Activity view for users/items/library
Backend and frontend changes to have an activity view per user/ item or library
Switched over to MUI for the tables as the library provides alot of solutions such as pagination or sorting built in

Reworked info components to allow for Activity-Table component to be reusable and remove redundant components
2023-04-27 18:29:26 +02:00