Commit Graph

216 Commits

Author SHA1 Message Date
Thegan Govender
837dd18014 Sync Changes
Added Sync feature to only sync Recently Added Items that don't exist in the database (this will not update existing data), default interval now set to 15 Minutes

Renamed existing sync to Full sync (should function exactly the same), default interval now set to 1 day

Reworked handling of items no longer on jellyfin. Items are no longer deleted but are now marked as archived so that we can still view their items when looking at Playback Activity.

Added options to purge Archived data. This will either purge just the item (including seasons and episodes if its a show) or the item plus all related watch activity
2023-11-19 22:17:36 +02:00
Thegan Govender
a9f9b07552 CSS fixes 2023-11-16 15:59:42 +02:00
Thegan Govender
ad8ea58428 swagger changes
fix for pagination when using larger items per page count
2023-11-15 21:36:43 +02:00
Thegan Govender
791e3675fe Merge pull request #126 from DaftFuzz/feature/geolocate-ip
Fix for process is undefined when migrated to vite
Will need to research and fix so that ```VITE_``` prefix its not required
2023-11-15 18:20:10 +02:00
fuzz
26adf3ba7a fix for vite env prefixes 2023-11-15 15:55:59 +00:00
fuzz
cef9d6de80 update example env 2023-11-15 15:12:14 +00:00
fuzz
dc6dc5c18f Merge branch 'unstable' into feature/geolocate-ip 2023-11-15 15:11:57 +00:00
fuzz
7b462bb428 update for vite
also fix margin bottom warning
2023-11-15 15:11:37 +00:00
Thegan Govender
dc0d4d5925 Merge pull request #124 from c4lyp5o/vite
Migrated to Vite for faster development
improved json payloads by adding compression
Frontend now uses production build files
2023-11-15 14:18:02 +02:00
c4lyp5o
adabea297c Merge branch 'unstable' into vite 2023-11-15 08:18:28 +08:00
Mohammad Aimaan
2f91cfb614 Merge branch 'CyferShepard:main' into vite 2023-11-15 08:17:43 +08:00
c4lyp5o
c427a8092d Revert "fix: package.json"
This reverts commit 88f8d04edb.
2023-11-15 01:50:13 +08:00
Thegan Govender
e060c8885e Merge pull request #125 from DaftFuzz/bugfix/live-tv-eta
fix NaN for live tv playback
2023-11-13 16:36:50 +02:00
fuzz
de1850b284 don't really need this comment 2023-11-13 11:17:58 +00:00
fuzz
20972d7aec fix NaN for live tv playback
Jellyfin reports playback for live tv with an end time of 00:00:00, replicating this in Jellystat.

Also add the current program name to the now playing item

Also some aesthetic changes to ensure playback counter row is always at the bottom of the card
2023-11-13 11:14:07 +00:00
c4lyp5o
88f8d04edb fix: package.json
add npm run build to build static page for serving
2023-11-12 08:19:32 +08:00
Thegan Govender
85e4cd6e92 updated ports in swagger docs 2023-11-11 17:22:26 +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
Thegan Govender
2beefd8184 proxy enpoint case sensitivity fix
proxied endpoints are case sensitive in vite, this fix is to update the endpoint names to match the proxied endpoints
2023-11-08 12:25:46 +02:00
c4lyp5o
966c525b3c fix: font color
make font color white globally
2023-11-08 16:52:05 +08:00
c4lyp5o
619d6506ea fix: vite config
optimization
2023-11-08 16:51:04 +08:00
c4lyp5o
2bdd91af59 chore: housekeeping
added some signboard
ordering of app
appended [JELLYSTAT] to console.log
added indication if database already exists
2023-11-08 12:29:22 +08:00
c4lyp5o
daaee706ec fix: added back logo and icon
back to usual jellystat logo
deleted vite.svg
restored index.html as before with changes for vite
restored manifest.json
2023-11-08 12:17:27 +08:00
c4lyp5o
7b24613dd3 chore: reinstall npm fresh
moved dev dependencies to correct place
2023-11-08 08:20:43 +08:00
c4lyp5o
d2b07733cd feat: .env.example and vite config
added example
added comments in vite config for clarification
2023-11-07 16:58:31 +08:00
c4lyp5o
78c7bee34a fix: added more folder for gitignore
env and local deployment
2023-11-07 16:54:55 +08:00
c4lyp5o
2a9dbab909 fix: Dockerfile
prep for deployment
2023-11-07 16:54:22 +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
c4lyp5o
d986cd5b71 fix: deployment changes
disables x-powered-by
set up local deployment environment
some prettier cleanups
add dotenv for local .env usage
2023-11-07 16:49:17 +08:00
c4lyp5o
c0c9d11360 style: readability
a few spaces here and there
prettier formatting
2023-11-07 16:47:39 +08:00
c4lyp5o
3ffb21f8b8 feat: change webpack to vite
changed all extensions from js to jsx
added proxies in vite config
set up chunk for smaller distribution size
remove setupProxy
remove reportWebVitals
2023-11-07 16:44:45 +08:00
Thegan Govender
db3b354af5 Merge pull request #123 from DaftFuzz/feature/geolocate-ip
Feature/geolocate ip
2023-11-04 23:35:24 +02:00
Thegan Govender
c9b64aea1e Update session-card.js
Removed Tooltip as it was unnecessary
Also added a check in the frontend. if the env variables where not set for the GEOLITE API, it would disable the option entirely
2023-11-04 23:34:29 +02:00
fuzz
3089cb2c3f use table-style for modal
more consistent with stream info modal from activity table
2023-11-03 18:01:28 +00:00
fuzz
300c6d5dfd update ipv4 regex
- filter out local ip addresses
- do not show modal for local ip addresses, only remote
- tooltip to show local/remote
2023-11-03 17:03:50 +00:00
fuzz
3126d636f8 explicitly move to new row
otherwise ends up on same line as subtitle info
2023-11-03 13:03:42 +00:00
fuzz
ba6a885e40 merge fix 2023-11-03 12:51:57 +00:00
fuzz
699ec2f83b Merge branch 'unstable' into feature/geolocate-ip 2023-11-03 12:50:08 +00:00
fuzz
e1c628900e increase stat card size
add padding to image
2023-11-03 12:40:32 +00:00
Thegan Govender
c4463285c1 Update session-card.js
css fixes
moved ETA to contextual hover function
moved subtitles to be grouped with other info to correct scaling issues
2023-10-29 04:08:20 +02:00
Thegan Govender
1ace28088c Update Tasks.js
Fix for 100% cpu usage on browsers when loading this page
2023-10-28 23:11:17 +02:00
Thegan Govender
fd0be75c54 Update issue templates 2023-10-26 22:28:02 +02:00
Thegan Govender
87b69aa944 added axios caching 2023-10-25 22:30:15 +02:00
Thegan Govender
b7ae4ca5db Update sessions.js 2023-10-25 20:57:33 +02:00
fuzz
c1d3dec173 use proxy, set up modal in frontend
Add row to session card with IP Address. Clickable, opens modal.

Modal WIP - displays general info about IP location (maybe can include a map within this modal?)
2023-10-25 18:07:47 +01:00
fuzz
5e238fdad2 initial commit
needs work - currently just an api endpoint that will return geolocation data for a given IP.
ToDo:
- Display IP in session-card
- Clicking IP opens modal with geolocation info
2023-10-25 16:23:25 +01:00
Thegan Govender
1fddf8d4d1 Merge pull request #120 from DaftFuzz/feature/last-card-link-to-item
add links to last-watched-card
2023-10-25 16:15:13 +02:00
fuzz
f4da3a964a add links to last-watched-card
QoL changes:
- Show/Movie title will take you to the show/movie in Jellystat
- Episode title will take you to the episode in Jellystat
Aesthetic changes:
- Small margin added between user pic and username on session card
2023-10-25 15:08:32 +01:00
Thegan Govender
186ef87635 Merge pull request #113 from CyferShepard/CyferShepard-patch-docker-workflow
Update docker-image.yml
2023-10-23 16:50:02 +02:00
Thegan Govender
1a46447384 Merge pull request #114 from CyferShepard/CyferShepard-patch-docker-workflow
Update docker-image.yml
2023-10-23 16:48:55 +02:00