Commit Graph

213 Commits

Author SHA1 Message Date
Patrick Barron
602e746af0 Treat all warnings as errors in Jellyfin.Data 2020-09-01 11:38:53 -04:00
Patrick Barron
a5f75a2d1a Rename Metadata to ItemMetadata 2020-09-01 11:38:09 -04:00
Patrick Barron
1f2e7e47ce Suppress CA2227 2020-09-01 11:36:45 -04:00
Patrick Barron
70b87a3e72 Add periods to documentation in CollectionItem.cs 2020-09-01 11:30:37 -04:00
Patrick Barron
cab45db228 Include shared version in Jellyfin.Data 2020-09-01 11:17:46 -04:00
Patrick Barron
d0f07d7ddd Clean up Group.cs 2020-09-01 11:16:09 -04:00
Patrick Barron
b24221b40f Clean up ActivityLog.cs 2020-09-01 11:12:31 -04:00
Patrick Barron
732ec7a462 Clean up User.cs 2020-09-01 11:09:08 -04:00
Patrick Barron
e56e2632d1 Clean up Preference.cs 2020-09-01 11:05:21 -04:00
Patrick Barron
617df5e0e6 Clean up and document Permission.cs 2020-09-01 11:04:32 -04:00
Patrick Barron
4a05943327 Document ItemDisplayPreferences.cs 2020-09-01 11:02:57 -04:00
Patrick Barron
0fc1810c41 Document ImageInfo.cs 2020-09-01 09:35:12 -04:00
Patrick Barron
81d03383e3 Delete ProviderMapping.cs 2020-09-01 09:31:45 -04:00
Patrick Barron
b1b2d399f8 Document UnratedItem.cs 2020-08-31 23:21:05 -04:00
Patrick Barron
65bce98ec5 Document SubtitlePlaybackMode.cs 2020-08-31 23:17:33 -04:00
Patrick Barron
0110b2472d Document PersonRoleType.cs 2020-08-31 23:15:13 -04:00
Patrick Barron
a1aece1299 Document MediaFileKind.cs 2020-08-31 23:11:58 -04:00
Patrick Barron
4e439652da Document IndexingKind.cs 2020-08-31 23:08:34 -04:00
Patrick Barron
8124e6fddf Document DynamicDayOfWeek.cs 2020-08-31 23:07:15 -04:00
Patrick Barron
367aa26ab5 Document ArtKind.cs 2020-08-31 23:04:49 -04:00
crobibero
5d528e202f Merge remote-tracking branch 'upstream/master' into 3.1.7 2020-08-31 08:10:15 -06:00
crobibero
bd66fd25df Merge remote-tracking branch 'upstream/master' into 3.1.7 2020-08-31 08:00:05 -06:00
Patrick Barron
acb213e4b8 First pass at cleaning entity classes.
- Documents all library entities
- Fixes styling warnings for library entities
- Updates library entities to inherit from interfaces
- Makes library entites no longer partial.
2020-08-30 18:51:31 -04:00
Patrick Barron
414bedbde4 Move library entities to folder. 2020-08-30 18:51:28 -04:00
crobibero
b02650ec2f use proper spdx 2020-08-26 07:39:01 -06:00
crobibero
5f60da29c7 switch to spdx 2020-08-26 07:36:57 -06:00
crobibero
670c41ee89 Properly pack project license 2020-08-25 21:33:19 -06:00
Joshua M. Boniface
e83f6d6ec7
Merge pull request #3889 from Ullmie02/nuget-versioning
Build Unstable NuGet packages
2020-08-25 17:08:06 -04:00
Patrick Barron
9fa4fff15d Merge branch 'master' into event-rewrite-1
# Conflicts:
#	Emby.Dlna/Emby.Dlna.csproj
#	Emby.Dlna/Eventing/DlnaEventManager.cs
#	Emby.Dlna/Service/BaseService.cs
#	Emby.Server.Implementations/ScheduledTasks/ScheduledTaskWorker.cs
#	MediaBrowser.Controller/Subtitles/SubtitleDownloadEventArgs.cs
2020-08-24 20:04:13 -04:00
crobibero
9626101c9f Merge remote-tracking branch 'upstream/master' into 3.1.7 2020-08-24 07:39:16 -06:00
Bond_009
4243a17c86 Enable TreatWarningsAsErrors for Emby.Data in Release 2020-08-22 23:29:54 +02:00
Patrick Barron
8c9cd5f6d7 Make EventArgs documentation more consistent. 2020-08-15 18:54:00 -04:00
Patrick Barron
dc88e93504 Migrate ServerEventNotifier.OnHasPendingRestartChanged to IEventConsumer 2020-08-15 18:33:30 -04:00
Patrick Barron
a0453a0fe6 Migrate ServerEventNotifier.OnUserUpdated to IEventConsumer 2020-08-15 18:16:20 -04:00
Patrick Barron
8a4bdaed6b Migrate ActivityLogEntryPoint.OnUserLockedOut to IEventConsumer 2020-08-13 21:11:38 -04:00
Patrick Barron
a1ecafb40d Migrate ActivityLogEntryPoint.OnUserPasswordChanged to IEventConsumer 2020-08-13 21:07:08 -04:00
Patrick Barron
737a86d0cb Migrate ActivityLogEntryPoint.OnUserDeleted to IEventConsumer 2020-08-13 21:01:35 -04:00
Patrick Barron
18d34f953b Migrate ActivityLogEntryPoint.OnUserCreated to IEventConsumer 2020-08-13 20:57:13 -04:00
Patrick Barron
ca1f15af19 Move GenericEventArgs to Jellyfin.Data.Events 2020-08-13 20:52:55 -04:00
David
b92fbe4d69 Use VersionPrefix 2020-08-13 19:03:24 +02:00
David
a61f6e3308 Fix nuget ci 2020-08-13 15:22:12 +02:00
crobibero
6709645ec9 bump deps 2020-08-12 15:52:29 -06:00
Patrick Barron
ad32800504 Switch to unstable chromecast version. 2020-08-01 14:56:32 -04:00
Patrick Barron
754837f16f Add tv home. 2020-07-27 20:50:58 -04:00
Patrick Barron
7d6c1befe5 Add Dashboard theme. 2020-07-27 20:44:46 -04:00
Patrick Barron
68a185fd02 Serialize/deserialize new entities properly. 2020-07-27 20:40:21 -04:00
Patrick Barron
592d2480ca Make adjustments to display preference entities. 2020-07-27 19:22:34 -04:00
Patrick Barron
3d69cea1c9
Merge branch 'master' into displaypreferences-efcore 2020-07-23 23:50:12 +00:00
Patrick Barron
5993a4ac2d Fix ChromecastVersion numbering 2020-07-17 23:36:13 -04:00
Patrick Barron
10f531bbe4 Manually specify enum order. 2020-07-17 20:03:17 -04:00
Patrick Barron
4742ddbb71 Update .NET Core to 3.1.6 2020-07-17 19:48:11 -04:00
Patrick Barron
27eefd49f1 Add missing fields 2020-07-17 19:36:55 -04:00
Patrick Barron
d806084937 Remove superfluous annotations. 2020-07-17 16:27:34 -04:00
Patrick Barron
2831062a3f Add max length for SortBy 2020-07-17 16:11:54 -04:00
Patrick Barron
9e17db59cd Reorder HomeSectionType 2020-07-17 16:11:54 -04:00
Patrick Barron
fcfe227537 Updated documentation to indicate required elements. 2020-07-17 16:11:54 -04:00
Patrick Barron
3c7eb6b324 Document HomeSection.cs 2020-07-17 16:11:54 -04:00
Patrick Barron
e96a36512a Document DisplayPreferences.cs 2020-07-17 16:11:53 -04:00
Patrick Barron
ab396225ea Migrate Display Preferences to EF Core 2020-07-17 16:11:53 -04:00
Patrick Barron
befd0c7a00 Remove EF Core Proxies 2020-07-13 12:49:20 -04:00
telans
98db8f72e0
fix SA1503 for one line if statements 2020-06-20 20:35:29 +12:00
telans
8de6452967
fix some documentation periods 2020-06-20 18:13:11 +12:00
telans
afe09612e8
fix SA1119 2020-06-20 18:13:11 +12:00
Bond-009
9af6eda0b4
Merge pull request #3343 from telans/comment-stops
Add full stop at end of comments (SA1629)
2020-06-16 11:54:58 +02:00
telans
247f9c61e6
fix SA1513/SA1516 2020-06-16 16:11:30 +12:00
telans
9018f8d8be
Add full stop at end of comments (SA1629) 2020-06-16 10:37:52 +12:00
telans
3d9049ef08
fix SA1508 2020-06-15 10:45:55 +12:00
Patrick Barron
42b4f0aa2e Merge branch 'master' into userdb-efcore
# Conflicts:
#	Emby.Server.Implementations/Library/UserManager.cs
#	Jellyfin.Data/Jellyfin.Data.csproj
2020-06-13 19:41:05 -04:00
Patrick Barron
3278015444 Actually fix profile images 2020-06-13 16:38:17 -04:00
crobibero
a6815018dc Update to .NET Core 3.1.5 2020-06-11 07:13:56 -06:00
Patrick Barron
a194895e7a Add missing default permission 2020-06-10 20:53:33 -04:00
Patrick Barron
98142613e8 Apply review suggestions and fix bug 2020-06-07 13:36:43 -04:00
Patrick Barron
bb23ce3466 Merge branch 'master' into userdb-efcore 2020-06-05 22:31:13 -04:00
Patrick Barron
06f9cde22f Merge branch 'master' into userdb-efcore
# Conflicts:
#	Emby.Server.Implementations/EntryPoints/ServerEventNotifier.cs
#	Emby.Server.Implementations/Library/UserManager.cs
#	Emby.Server.Implementations/Sorting/IsFavoriteOrLikeComparer.cs
#	Emby.Server.Implementations/Sorting/IsPlayedComparer.cs
#	Emby.Server.Implementations/Sorting/IsUnplayedComparer.cs
#	Emby.Server.Implementations/TV/TVSeriesManager.cs
#	Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs
2020-06-04 16:52:23 -04:00
dkanada
8ce7a0e6be small modification to data project 2020-06-05 00:03:01 +09:00
Bond-009
af93ec750c Enable TreatWarningsAsErrors for more projects 2020-06-03 13:22:40 +02:00
Patrick Barron
63344ec5fd Remove unused portions of the user schema 2020-05-30 22:11:53 -04:00
Patrick Barron
e72fd88913 Document and fix warnings in Group.cs 2020-05-30 21:53:56 -04:00
Patrick Barron
e8b6da3cd7 Expand and document IHasPermissions 2020-05-30 20:49:31 -04:00
Patrick Barron
4cff9b8512 Clea up IsParentalScheduleAllowed 2020-05-30 20:37:46 -04:00
Patrick Barron
acce726ed9 Clean up DayOfWeekHelper.cs and remove unnecessary function 2020-05-30 20:02:55 -04:00
Patrick Barron
8ca78f33e9 Fix bug when migrating user db with users that have never logged in. 2020-05-28 14:21:26 -04:00
Patrick Barron
9a853ca089 Add another null check 2020-05-27 11:30:53 -04:00
Patrick Barron
46a0a2a601 Update migrations and fix a few bugs 2020-05-26 21:20:55 -04:00
Patrick Barron
7c823464bc Fix merge conflicts with SyncPlay 2020-05-26 20:52:05 -04:00
Patrick Barron
01ce56016a Merge branch 'master' into userdb-efcore
# Conflicts:
#	Emby.Server.Implementations/Library/UserManager.cs
#	Jellyfin.Data/Jellyfin.Data.csproj
#	MediaBrowser.Api/UserService.cs
#	MediaBrowser.Controller/Library/IUserManager.cs
2020-05-26 20:29:11 -04:00
Patrick Barron
56212e8101 Warnings cleanup 2020-05-22 20:20:18 -04:00
Patrick Barron
42177d1739 Replace Weekday with DayOfWeek 2020-05-21 00:22:43 -04:00
Patrick Barron
d72ea70995 Document user class and fix a few minor issues 2020-05-20 19:47:41 -04:00
Patrick Barron
0ccf7320b0 Fix a few issues in User 2020-05-20 14:17:59 -04:00
Patrick Barron
7d9d54d2ec Fix profile images. 2020-05-20 12:09:52 -04:00
Patrick Barron
623dcde65c Manually specify enum values 2020-05-20 10:04:00 -04:00
Patrick Barron
64c14beb27 Fix default permissions and HasPassword property 2020-05-20 10:04:00 -04:00
Patrick Barron
1d1a145ad4 Fix issues and add profile image support 2020-05-20 10:04:00 -04:00
Patrick Barron
292993d8ef Document various classes. 2020-05-20 10:04:00 -04:00
Patrick Barron
d35a7ba8bd Fix more issues 2020-05-20 10:04:00 -04:00
Patrick Barron
d27b2481a0 Fix an issue causing multiple permissions/preferences objects to be created. 2020-05-20 10:04:00 -04:00
Patrick Barron
3eeb6576d8 Migrate User DB to EF Core 2020-05-20 10:04:00 -04:00
Mark Monteiro
3ed76d7e08 Update to .NET Core 3.1.4 2020-05-17 13:33:38 -04:00
Patrick Barron
aca7e221d8 Merge branch 'master' into userdb-efcore
# Conflicts:
#	Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs
#	Emby.Server.Implementations/ApplicationHost.cs
#	Emby.Server.Implementations/Devices/DeviceManager.cs
#	Jellyfin.Server/Jellyfin.Server.csproj
#	Jellyfin.Server/Migrations/MigrationRunner.cs
#	MediaBrowser.Controller/Devices/IDeviceManager.cs
2020-05-15 17:20:07 -04:00
Patrick Barron
a5dee36808 Apply more review suggestions 2020-05-15 12:51:18 -04:00
Patrick Barron
b94afc597c Address review comments 2020-05-14 17:13:45 -04:00
Patrick Barron
511d20a100 Apply review suggestions 2020-05-13 15:03:35 -04:00
Patrick Barron
b7621d762c 2nd half of changes 2020-05-13 00:00:57 -04:00
Patrick Barron
c1360a1dc3 Merge branch 'master' into userdb-efcore
# Conflicts:
#	Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
#	Emby.Server.Implementations/Library/UserManager.cs
#	Jellyfin.Data/Entities/User.cs
#	Jellyfin.Data/ISavingChanges.cs
#	Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj
#	Jellyfin.Server.Implementations/JellyfinDb.cs
#	Jellyfin.Server/Migrations/MigrationRunner.cs
#	MediaBrowser.Model/Notifications/NotificationOptions.cs
#	MediaBrowser.sln
2020-05-12 22:22:20 -04:00
Patrick Barron
9ad839c776 Initial migration code 2020-05-12 22:10:35 -04:00
Patrick Barron
6379391f87
Merge branch 'master' into activitydb-efcore 2020-05-12 16:08:28 +00:00
Patrick Barron
55cfa96b9f Apply review suggestions 2020-05-10 10:54:41 -04:00
Patrick Barron
75e0d58c2d Merge branch 'activitydb-efcore' into userdb-efcore 2020-05-04 15:18:11 -04:00
Patrick Barron
74f9ddc419 Delete DbContext class 2020-05-03 13:06:08 -04:00
Patrick Barron
032de931b1 Migrate activity db to EF Core 2020-05-02 18:32:22 -04:00
Patrick Barron
2b41f8ab63 Clean up generated code 2020-05-02 17:56:05 -04:00
Erwin de Haan
b8d1419d9a Add basic new data model.
Added maxlength to SourceId text field in Metadata entity.

Added extra fields to Person entity and adjusted SourceId length to 255.

Added Extra Nuget deps for Relational databases and added Default Sqlite connection string.

Made LibraryItem and Metadata abstract.

Added artwork, changed DbSet names, added Seasons, added Genres, removed Language enum

Add MediaFIleKind, add CustomVideos, add Books.

Add AdditionalStream

Updated GUIDs.

Remove merge artifacts.

Updated Language to use ISO-639-3 3 letter language codes.

Added collections and concurrency tokens.

Added chapters.

Added Photos and renamed CustomVideo to CustomItem.

Started adding fields.

Added extra fields and Company entities.

Implement a first pass of user permissions for the new database schema

Upgrade to v2 of the addon. Commit generated files.

Update comment, rename namespace and remove superflous field.

Un-ignore any generated code.

Clean up the model files and other left overs.
2020-04-26 19:14:45 +02:00