Commit Graph

37 Commits

Author SHA1 Message Date
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
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
cd165a5c47 fix for #249
also fixed activity materialized view not refreshing for imported data
2025-03-07 23:14:59 +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
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
f77a440b9d Refactored Activity monitor code to be easily debugged and to fix issue #234
Added pkName  option to deleteBulk query for Primary keys that are not called "Id"
2024-08-08 23:15:38 +02:00
CyferShepard
159679377b Added LastActivityDate Field to /api/getItemDetails endpoint #235 2024-08-08 19:01:37 +02:00
CyferShepard
afa99af321 chore: Fix database transaction issue in insertBulk function 2024-07-05 15:28:04 +02:00
CyferShepard
d5c6f1b927 chore: Update environment variable name for Postgres database in backend files
Fix: http/https not being appended to jellyfin server url during setup process, this should address issues #175, #163
2024-06-03 08:59:54 +02:00
CyferShepard
b79cee28b8 Fix to address multiple insert issue #183 2024-04-30 13:57:53 +02:00
CyferShepard
b9bd668344 wd not inserting record fox + db accumulator fix 2024-04-16 08:46:27 +02:00
CyferShepard
048f1679d5 possible fix for pb_activity duplicate insert attempt 2 2024-04-14 20:25:32 +02:00
CyferShepard
80dad5ea86 possible fix for pb_activity duplicate insert 2024-04-13 17:03:34 +02:00
Thegan Govender
b3483849ba Fix logging in db.js, accidentaly used contains instead of includes 2024-02-28 10:55:33 +02:00
Jean-Sebastien Mouret
4a236d3fbc Use POSTGRES_DATABASE everywhere 2024-01-20 20:51:44 +00:00
Thegan Govender
6933813f9a Fix for Error 403 on First time setup
Fix for Error 403 on First time setup by dynamically checking the config status and allowing the config status to exist at multiple stages of the setups vs at the last stage of configuration

Fix sync logs missing as logging was not awaited on insert

Cleaned up some logging code in the db class
2023-11-29 19:04:34 +02:00
Thegan Govender
fab97c4a7b Cleanup first time setup and sync logic
Fixed checks and triggers for First time setup and sync processes so that sync wont run until setup is complete
2023-11-27 20:58:31 +02:00
Thegan Govender
4cf53f6356 Fix broken first time setup
Issues resulting in a buggy first time setup due to factorized code changes have been fixed
2023-11-27 16:45:45 +02:00
Thegan Govender
c284d59454 Fix for incorrect stat count
Forgot to add archived items exclusion when tallying stats
This feature has been extended to seasons and seasons/episodes as some episodes may be archived but not the entire show
2023-11-26 20:06:33 +02:00
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
c4lyp5o
c0c9d11360 style: readability
a few spaces here and there
prettier formatting
2023-11-07 16:47:39 +08: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
Thegan Govender
1fc57445cd backend changes to improve sync
Reworked library view script,this reduces page load time by 90%
catered for new episodes in recently added feed.
Underlying work done for toggle to untrack certain libraries
General ui fixes
Backup files now limited to latest 5 files
Updated compose to have a limit on log files and sizes (Thanks @Hutch79)
2023-06-24 23:56:58 +02:00
Thegan Govender
550e1d3f7c v1.0.4.10 Beta 2023-06-18 21:02:18 +02:00
Thegan Govender
590ae82f85 DB Migrations
Implemented better Database initializations and migrations.

No longer dependent on default postgres user and set owner to POSTGRES_USER
2023-04-08 13:07:23 +02:00
Thegan Govender
3a85fcdea3 Stats Changes
Added more stuff to statistics page

Playback per hour page has a bug
2023-04-02 22:15:28 +02:00
Thegan Govender
74faa14940 Secured API
Secured API endpoints with JWT

Added Login ,Signup and Configuration Pages
2023-04-02 19:06:06 +02:00
Thegan Govender
0b0e08b295 Stats Page
Added stats page, fixed auto init
2023-04-01 12:36:28 +02:00
Thegan Govender
697f721fd6 Userpage+ UI Changes
Basic user page completed

UI color scheme and css changes

Now stores and uses blurred image hashes for loading item images

Broke auto init DB somewhere along the lines
2023-03-25 23:27:58 +02:00
Thegan Govender
dc3f900c5a users page + db auto create(WIP)
Created users info page when viewing user data on user tab

Added DB Procs to retrieve data for those components

Added db auto initialize to the backend in preparation for docker images, this needs work as it still crashes if it cant connect to the db
2023-03-23 22:37:04 +02:00
Thegan Govender
582a39918e full change to statistics
1) Created components for statistic reporting.
2) Database changes and PROC/Function creations. Still need to make MOST VIEWED LIBRARIES/CLIENTS/ MOST ACTIVE USERS dynamically load with date range (Function Creation on DB side)
2023-03-19 22:01:40 +02:00
Thegan Govender
504aaee682 initial commit 2023-03-08 06:59:56 +02:00