Claus Vium
53209830e7
Merge pull request #7346 from Bond-009/guid
...
Optimize Guid comparisons
3 years ago
Bond_009
f50a250cd9
Optimize Guid comparisons
...
* Use Guid.Equals(Guid) instead of the == override
* Ban the usage of Guid.Equals(Object) to prevent accidental boxing
* Compare to default(Guid) instead of Guid.Empty
3 years ago
Cody Robibero
ee46754238
Fix build and clean up
3 years ago
Fernando Fernández
5df6058a8e
Add FullNowPlayingQueue property
3 years ago
Bond_009
cbfa355e31
Update StyleCop
3 years ago
Cody Robibero
32629cd7da
Use BaseItemKind where possible
3 years ago
Patrick Barron
7180983654
Fix warnings in SessionManager
3 years ago
dkanada
f6c0db4bb5
merge branch 'master' into syncplay-sessions-fix
3 years ago
Bond_009
637e86478f
Fix some warnings
3 years ago
Patrick Barron
06d682c296
Merge remote-tracking branch 'origin/authenticationdb-efcore' into authenticationdb-efcore
3 years ago
Patrick Barron
bbac9ff67e
GetDeviceOptions always returns an instance of DeviceOptions
3 years ago
Patrick Barron
befedaf6fc
Update Emby.Server.Implementations/Session/SessionManager.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
3 years ago
crobibero
397868be95
Fix issues with QuickConnect and AuthenticationDb
3 years ago
Patrick Barron
ae878fa051
Merge branch 'master' into authenticationdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/QuickConnect/QuickConnectManager.cs
# Emby.Server.Implementations/Session/SessionManager.cs
# Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
3 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
3 years ago
Patrick Barron
be88efce3c
Merge branch 'master' into authenticationdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Devices/DeviceManager.cs
# Emby.Server.Implementations/HttpServer/Security/SessionContext.cs
# Emby.Server.Implementations/Security/AuthenticationRepository.cs
# Emby.Server.Implementations/Session/SessionManager.cs
# Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
# MediaBrowser.Controller/Library/IUserManager.cs
# MediaBrowser.Controller/Net/ISessionContext.cs
3 years ago
Patrick Barron
373155a063
Correctly handle devices without custom names
3 years ago
Claus Vium
1594385497
Merge pull request #6038 from crobibero/delete-existing-sessions
...
Don't logout if deviceId is null
4 years ago
Patrick Barron
a0c6f72762
Migrate authentication db to EF Core
4 years ago
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
4 years ago
Patrick Barron
a225f34796
Merge branch 'master' into authenticationdb-efcore
...
# Conflicts:
# Jellyfin.Api/Helpers/RequestHelpers.cs
4 years ago
crobibero
f53aa55bdb
Don't logout if deviceId is null.
4 years ago
BaronGreenback
2e98de9062
Code Clean up: Convert to null-coalescing operator ?? ( #5845 )
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
4 years ago
crobibero
940c30081e
Mark PasswordSha1 as obsolete
4 years ago
Patrick Barron
75df6965a0
Don't use database for QuickConnect
4 years ago
Patrick Barron
3ebc047434
Convert UpdateUser to solely async
4 years ago
Patrick Barron
8607b52541
Make device/session code async
4 years ago
Patrick Barron
44e71774b1
Rewrite device manager using EF Core
4 years ago
Patrick Barron
16ca8c7536
Remove unused SessionManager methods
4 years ago
Ionut Andrei Oanca
9eb740ba57
Fix storing outdated sessions in SyncPlay
4 years ago
dkanada
158e69c6f0
Merge pull request #4935 from ConfusedPolarBear/quickconnect-cleanup
...
Remove used quick connect tokens
4 years ago
Bill Thornton
cfca27e99a
Fix capitalization of Playstate message
4 years ago
Matt Montgomery
8dd83327b5
Remove quick connect tokens after usage
4 years ago
Ionut Andrei Oanca
0825ce687d
Add SessionControllerConnected event
4 years ago
Joshua M. Boniface
c98c2ab955
Merge branch 'master' into syncplay-enhanced
4 years ago
Patrick Barron
5790db05ba
Clean up DeviceManager and don't store capabilities on disk
4 years ago
Ionut Andrei Oanca
8819a9d478
Add playlist-sync and group-wait to SyncPlay
4 years ago
cvium
3d69bcd190
Fix playbackstart not triggering in the new eventmanager
4 years ago
Bond-009
e011659186
Merge pull request #4210 from nielsvanvelzen/typed-websocket-message
...
Use enum for WebSocket message types
4 years ago
Joshua M. Boniface
67e89dd525
Use nicer count comparitor
4 years ago
Joshua M. Boniface
df177b4752
Revert "Implement better count method"
...
This reverts commit 5aa519fd39
.
4 years ago
Joshua M. Boniface
5aa519fd39
Implement better count method
4 years ago
Joshua M. Boniface
8dfa2015d0
Make the count an int for cleanliness
4 years ago
Joshua M. Boniface
d0ec6872f3
Increase count check to 1
...
There's another way to disable a user anyways.
4 years ago
Joshua M. Boniface
6e1d1eed23
Make log entry informational
4 years ago
Joshua M. Boniface
b130af1b0c
Remove variables from SecurityException
4 years ago
Joshua M. Boniface
975fca5158
Fix syntax error
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
Niels van Velzen
72534f9d66
Use SessionMessageType for WebSocket messages
4 years ago
Niels van Velzen
3459655bb4
Use GeneralCommandType enum in GeneralCommand name
4 years ago