Patrick Barron
36669ff451
Use correct setter access modifiers
4 years ago
Patrick Barron
12b8e29aef
Fix duplicate permissions
4 years ago
Patrick Barron
f638ee6b09
Enable nullable for Jellyfin.Data and remove unnecessary attributes
4 years ago
Patrick Barron
287dab4655
Remove constructor side effects and remove unneeded parameterless constructors
4 years ago
Claus Vium
21d2e9ff0c
Merge pull request #4771 from crobibero/typed-get-preference
...
Use typed UserManager GetPreference
4 years ago
crobibero
e051090904
Use proper array setter
4 years ago
crobibero
a515ecbada
Use range operator to get subarray
4 years ago
crobibero
ee23d06154
Use a more descriptive function name
4 years ago
crobibero
8f4a4a3cc5
Convert values without throwing exception
4 years ago
crobibero
b670937c3d
Use typed UserManager GetPreference
4 years ago
Ionut Andrei Oanca
499f3ee950
Update authorization policies for SyncPlay
4 years ago
Joshua M. Boniface
a9e5f6e770
Remove nullable from MaxActiveSessions
4 years ago
Joshua M. Boniface
5a7dda337f
Add active session tracking
...
Adds a flag for a maximum number of user sessions, as well as an
authentication check to ensure that the user is not above this level.
4 years ago
Patrick Barron
1f2e7e47ce
Suppress CA2227
4 years ago
Patrick Barron
732ec7a462
Clean up User.cs
4 years ago
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.
4 years ago
Bond_009
4243a17c86
Enable TreatWarningsAsErrors for Emby.Data in Release
4 years ago
Patrick Barron
68a185fd02
Serialize/deserialize new entities properly.
4 years ago
Patrick Barron
592d2480ca
Make adjustments to display preference entities.
4 years ago
Patrick Barron
ab396225ea
Migrate Display Preferences to EF Core
4 years ago
Patrick Barron
3278015444
Actually fix profile images
4 years ago
Patrick Barron
a194895e7a
Add missing default permission
4 years ago
Patrick Barron
98142613e8
Apply review suggestions and fix bug
4 years ago
Patrick Barron
63344ec5fd
Remove unused portions of the user schema
5 years ago
Patrick Barron
e8b6da3cd7
Expand and document IHasPermissions
5 years ago
Patrick Barron
4cff9b8512
Clea up IsParentalScheduleAllowed
5 years ago
Patrick Barron
8ca78f33e9
Fix bug when migrating user db with users that have never logged in.
5 years ago
Patrick Barron
9a853ca089
Add another null check
5 years ago
Patrick Barron
7c823464bc
Fix merge conflicts with SyncPlay
5 years ago
Patrick Barron
42177d1739
Replace Weekday with DayOfWeek
5 years ago
Patrick Barron
d72ea70995
Document user class and fix a few minor issues
5 years ago
Patrick Barron
0ccf7320b0
Fix a few issues in User
5 years ago
Patrick Barron
64c14beb27
Fix default permissions and HasPassword property
5 years ago
Patrick Barron
1d1a145ad4
Fix issues and add profile image support
5 years ago
Patrick Barron
d35a7ba8bd
Fix more issues
5 years ago
Patrick Barron
d27b2481a0
Fix an issue causing multiple permissions/preferences objects to be created.
5 years ago
Patrick Barron
3eeb6576d8
Migrate User DB to EF Core
5 years ago
Patrick Barron
b7621d762c
2nd half of changes
5 years ago
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
5 years ago
Patrick Barron
9ad839c776
Initial migration code
5 years ago
Patrick Barron
55cfa96b9f
Apply review suggestions
5 years ago
Patrick Barron
2b41f8ab63
Clean up generated code
5 years ago
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.
5 years ago