689 Commits

Author SHA1 Message Date
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
Thegan Govender
b1afafe179 Merge pull request #297 from GrimJu/activity-timeline-prototype
Prototype implementation of activity timeline feature
2025-01-20 09:54:08 +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
Thegan Govender
7dd9a7bc9c Merge pull request #290 from ItsKiddow/patch-1
Update security.jsx
2025-01-16 16:23:36 +02: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
Thegan Govender
f6f8841016 Merge pull request #296 from xRino94/main
i18n: Add it-IT translation
2025-01-11 14:09:05 +02:00
GrimJu
cfe36ee247 Prototype implementation of activity timeline feature 2025-01-11 03:58:28 +01:00
Gianmarco Novelli
239c44b0dd Update translation.json 2025-01-09 22:33:07 +01:00
Gianmarco Novelli
2d5be28ed9 Create translation.json 2025-01-09 22:23:13 +01:00
Gianmarco Novelli
44f10d0a09 Update languages.jsx 2025-01-09 22:21:04 +01:00
Thegan Govender
9d4e2d46fc Merge pull request #294 from EVOTk/patch-1
Update fr translation.json
2025-01-08 23:19:58 +02:00
EVO
e38c918df0 Update translation.json
fr > external url
2025-01-08 22:16:18 +01:00
ItsKiddow
3b0f732cc7 Update security.jsx
Removed a check that evaluated for any input in the Current Password field and would cause the entry to enter in any non-null input to fail due to password length. 
This is related to: https://github.com/CyferShepard/Jellystat/issues/254
2025-01-06 20:19:44 +01:00
CyferShepard
38b14c99f1 css fixes for overflown text on item stat cards 2025-01-04 22:58:44 +02: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
d08c6b82cb Merge branch 'unstable' of https://github.com/CyferShepard/Jellystat into unstable 2025-01-03 20:38:51 +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
Thegan Govender
9ee7f23334 Merge pull request #287 from brikim/fix/streamInfoShowsNaNForFramerateOnMusic
Fix NaN showing up for audio only activity
2025-01-03 12:47:18 +02:00
brikim
6b3cf946ee Fix NaN showing up for audio only activity 2025-01-02 18:40:55 -06:00
CyferShepard
12b0d95ae6 css fixes on placeholder colours
set alerts to dark theme
2025-01-02 23:23:12 +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
b1e0b5b45f fixed infinte load issue on activity data table due to white spaces
removed debug logging
2025-01-02 20:49:47 +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
Thegan Govender
4d1059c7ff Merge pull request #286 from brikim/cleanUpAudioSessionCard
Clean up audio session card & Add translations for sessions
2024-12-29 17:26:12 +02:00
brikim
b6324f8208 Added translations for hard coded items added in sessions. Improved music session card. 2024-12-29 08:04:27 -06:00
brikim
d4e0e9856e Cleaned up Audio section for audio type media. Added Artist name to session card. 2024-12-28 21:15:34 -06: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
Thegan Govender
95d3a0f0fc Merge pull request #283 from brikim/Issue132-SessionCardMoreDetailVideoAudio
Split out Video and Audio into different columns.
2024-12-27 13:39:30 +02:00
brikim
e621115b2d Split out Video and Audio into different columns. Use the IsVideoDirect and IsAudioDirect flags to determine if the cooresponding field is Direct Stream or not. 2024-12-26 21:01:39 -06:00
CyferShepard
ebeccd6f2b fix data not fetched on page change for item activity 2024-12-27 02:03:27 +02:00
CyferShepard
a02fa138e3 page index resetting fix - this doesnt seem like the indended use, just a quick fix to be addressed in by the creators of material react table 2024-12-27 01:36:22 +02:00
CyferShepard
abc9e2234c fix for non expanding rows 2024-12-27 01:29:18 +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
Thegan Govender
ab4784858d Merge pull request #282 from brikim/historyApiAddLimit
History api add limit to query
2024-12-26 13:39:44 +02:00
brikim
5d9540c92f Added limit attribute for getHistory, getLibraryHistory and getUserHistory 2024-12-25 13:15:53 -06:00
Thegan Govender
d981a2e86b Merge pull request #280 from CyferShepard/unstable
V1.1.2 Release
2024-12-25 09:58:32 +02:00