Commit graph

29 commits

Author SHA1 Message Date
c3cd7b5a16 Added ChangeLog
Added change log to track updates to the database, for easier pinging
from Syncer client.
2025-07-31 12:57:47 -05:00
fab306c393 Updated Dockerfile and compose.yaml
Updated Dockerfile to remove USER line, as that prevents proper file
mapping writing.
Updated compose file to map to /app/data where the database is supposed
to be.
2025-07-30 12:16:40 -05:00
4f51b82a93 Updated misc files 2025-07-24 04:23:32 -05:00
71a33539c4 Updated Solution
Added reference to the database in development.
2025-07-24 04:23:05 -05:00
50ad10682b Updated Migrations
Couple of migrations to get the Json Value to work properly.
2025-07-24 04:22:44 -05:00
904db16461 Updated SettingJson
Changed from object to string, as it was to difficult to handle any data
field in the value.
2025-07-24 04:22:15 -05:00
e670ad5701 Updated MapData
Had data going in the wrong direction, corrected this.
2025-07-24 04:21:10 -05:00
4985dc4179 Started the Split
Split Json data models coming from REST Api, from the Database models
storing them in a SQLite database.
Work to re-engineer endpoints to use Database objects, and copy/update
data from the json objects.
More work is needed.
2025-07-22 17:03:33 -05:00
157d46ee2e Updated Endpoints
Updated all endpoints to use Update() method of the model, instead of
trying to use the data from the REST object directly to update the
database.  WHen doing so, tracking gets busted in EFCore, so instead,
will go through and update all properties of a model from the database
object, with the data from the REST object.
2025-07-21 17:10:42 -05:00
21af6f4300 Update Video
Added Update() method to model.
2025-07-21 17:09:14 -05:00
77c95a9525 Update Subscription
Added Update() Method to model.
2025-07-21 17:08:58 -05:00
e1ad30da0c Updated Setting
Added Update() method to model.
2025-07-21 17:08:43 -05:00
b08c22e77b Updated Profile
Updated code to filter out subscriptions that have been removed from the
profile, and insert new ones into the list in the Update() fucntion.
2025-07-21 17:08:17 -05:00
561ba4f34a Updated Playlist
Updated code to filter out videos that have been removed from the
playlist, and insert new ones into the list in the Update() function.
2025-07-21 17:05:27 -05:00
977b40c403 Added Readme
Added Read me documentation for the project.
2025-07-21 13:23:56 -05:00
725e9e1105 Updated Solution
Added items for Dockerfile and Readme in solution
2025-07-21 13:23:44 -05:00
8c605ba902 Updated Docker Compose
Added docker compose to mount Volume for Data.
2025-07-21 13:07:55 -05:00
7090092565 Added to Dockerignore
Added folders that do not need to be in docker.
2025-07-21 13:07:21 -05:00
a5453c8191 Updated App Settings
Added FreeTubeSync database connection strings.
2025-07-21 13:06:55 -05:00
0359732385 Updated Program
Updated Program to have SQLite Configuration done through Connection
Strings.
Added auto migration for the database, if we get an exception, we create
the database instead (As it doesn't exist.)
2025-07-21 13:06:27 -05:00
2746bd84ed Moved Dockerfile
Moved dockerfile into root Solution folder.
2025-07-21 13:04:15 -05:00
0035ed14a8 Updated DataContext
Removed OnConfiguring(), as this is done in Program.cs now.
2025-07-21 13:03:51 -05:00
8e11008d58 Updated Migrations
Updated Migrations to handle change of Int to Long (SQLite still uses
integer field, but better safe if using something other then SQLite)
Changed Primary Key for Video from VideoId to PlaylistItemId.
2025-07-19 12:47:24 -05:00
6970b792eb Updated Video.cs
Removed videoId as Key, and use playlistItemId as Key, as this will be
unique to each playlist, and will not conflict with videos being on more
then one playlist.
2025-07-19 12:46:14 -05:00
aa2b694d70 Updated Git Ignore
Added SQLite tracking files to ignore.
2025-07-19 12:44:56 -05:00
a61362e9b5 Updated Playlist, SearchHistory and Video
Changed all ints to longs for field datatypes dealing with Unix
timestamp.
2025-07-19 12:42:26 -05:00
2e27078443 Updated SearchHistoryEndpoints.cs
Fixed wrong Model for SearchHistory, was using Regular History class,
instead of SearchHistory class.
2025-07-19 12:40:00 -05:00
15d949d7e1 Updated DataContext.cs
Added Navigation AutoInclude() for Profile subscriptions, and Playlist
videos.
2025-07-19 12:38:36 -05:00
0144221712 Initial Commit
Inital Commit of Code base, nothing tested.
2025-07-19 04:02:09 -05:00