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
Claus Vium
571d0570f5
Kill HttpListenerHost
4 years ago
Matt Montgomery
2974a0248a
Merge remote-tracking branch 'upstream/master' into quickconnect
4 years ago
Matt Montgomery
5f1a863241
Apply suggestions from code review
4 years ago
Patrick Barron
adabb4b842
Use IEventManager in SessionManager
4 years ago
Patrick Barron
ca1f15af19
Move GenericEventArgs to Jellyfin.Data.Events
4 years ago
Matt Montgomery
4fa3d3f4f3
Merge remote-tracking branch 'upstream/master' into quickconnect
4 years ago
Matt Montgomery
a40fe86776
Merge remote-tracking branch 'upstream/master' into quickconnect
4 years ago
Bond_009
01e781035f
Fix warnings
4 years ago
Patrick Barron
3cca8db905
Fix log spam from EF Core
4 years ago
crobibero
ef8bec23c4
revert missing session fields
4 years ago
ConfusedPolarBear
e2f16fc255
Merge remote-tracking branch 'upstream/master' into quickconnect
4 years ago
Bond-009
9af6eda0b4
Merge pull request #3343 from telans/comment-stops
...
Add full stop at end of comments (SA1629)
4 years ago
telans
247f9c61e6
fix SA1513/SA1516
4 years ago
telans
9018f8d8be
Add full stop at end of comments (SA1629)
4 years ago
Patrick Barron
42b4f0aa2e
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Library/UserManager.cs
# Jellyfin.Data/Jellyfin.Data.csproj
4 years ago
Patrick Barron
d0e2027b05
(Hopefully) fix concurrency exceptions.
4 years ago
ConfusedPolarBear
7d9b552403
Apply suggestions from code review
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
ConfusedPolarBear
35ff2be9d7
Merge remote-tracking branch 'upstream/master' into quickconnect
4 years ago
crobibero
44957c5a9a
Use typed logger where possible
4 years ago
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
4 years ago
ConfusedPolarBear
5d281adedd
Merge remote-tracking branch 'upstream/master' into quickconnect
5 years ago
Bond_009
4748105dce
Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode
5 years ago
Patrick Barron
8ca78f33e9
Fix bug when migrating user db with users that have never logged in.
5 years ago
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
5 years ago
gion
e42bfc92f3
Fix code issues
5 years ago
Patrick Barron
3eeb6576d8
Migrate User DB to EF Core
5 years ago
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
5 years ago
gion
8c04049a59
Fix some code smells
5 years ago
gion
029bb80910
Merge remote-tracking branch 'upstream/master' into syncplay
5 years ago
Patrick Barron
9ad839c776
Initial migration code
5 years ago
gion
5c8cbd4087
Fix code issues
5 years ago
gion
8a6ec2fb71
Rename Syncplay to SyncPlay
5 years ago
gion
6e22e9222b
Fix code issues
5 years ago
Bond_009
3623aafcb6
Make SonarCloud happy
5 years ago
Bond_009
15634a1913
Merge branch 'master' into websocket
5 years ago
gion
0b974d09ca
Synchronize access to data
5 years ago
gion
083d3272d0
Refactor and other minor changes
5 years ago
gion
aad5058d25
Implement KeepAlive for WebSockets
5 years ago
gion
84d92ba9ce
Check that client is playing the right item
...
Send date when playback command is emitted
Rename some classes
5 years ago
gion
10c2c62f07
Implement syncplay backend
5 years ago
ConfusedPolarBear
36f3e933a2
Add quick connect
5 years ago
Mark Monteiro
53380689ad
Return correct status codes for authentication and authorization errors
...
- Use AuthenticatonException to return 401
- Use SecurityException to return 403
- Update existing throws to throw the correct exception for the circumstance
5 years ago
Joshua M. Boniface
c356266419
Revert #2146 ordering change
5 years ago
Bond-009
0f173e1778
Merge branch 'master' into sessionmanager
5 years ago
Anthony Lavado
00073c162a
Merge pull request #2363 from dkanada/view
...
Add session view endpoint
5 years ago
Bond-009
cefac4f886
Update Emby.Server.Implementations/Session/SessionManager.cs
...
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
5 years ago
Bond-009
0a43814596
Merge branch 'master' into sessionmanager
5 years ago
Bond-009
3fe84c3213
Apply suggestions from code review
...
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
5 years ago
dkanada
f93edb7ade
add code suggestions
5 years ago
dkanada
1bc8ca2542
add session view endpoint
5 years ago
dkanada
26dd67a441
change authentication flow
5 years ago
dkanada
6341d986a9
fix a few warnings
5 years ago
dkanada
7df6f8d54e
update error message
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
dkanada
afe9ed977b
improve scan progress and fix a few bugs
5 years ago
Bond-009
70bc03c795
Apply suggestions from code review
...
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
5 years ago
Bond_009
c601def484
Fix warnings in SessionManager
5 years ago
Bond_009
407f54e776
Style fixes
5 years ago
Bond-009
4d311870d2
Fix websocket handling
5 years ago
Bond_009
5ca68f9623
Fix nullref exception and added logging
5 years ago
Bond_009
976459d3e8
Rewrite WebSocket handling code
5 years ago
Bond-009
b8c61a5c40
Merge pull request #2146 from cromefire/patch-1
...
Fix invalid username handling
5 years ago
dkanada
02928128b9
track progress for any item that supports the feature
5 years ago
Cromefire_
7e987b9642
Remove whitespace
...
Co-Authored-By: Claus Vium <cvium@users.noreply.github.com>
5 years ago
Cromefire_
6231fc18ea
Fixed invalid username handling
5 years ago
Bond-009
a2c35e6dba
Merge remote-tracking branch 'upstream/master' into random
5 years ago
Vasily
5263aaa026
Merge pull request #1503 from cvium/webapi_v2
...
Move StartupWizard to ASP.NET Web Api
5 years ago
Claus Vium
27e3cf1558
Move appbuilder and service collection to Jellyfin.Server
5 years ago
dkanada
51cdc6ea16
Merge pull request #1926 from Bond-009/auth
...
Add clearer exceptions, warnings and docs
5 years ago
Bond-009
b477b3874e
Fix some warnings
5 years ago
Bond_009
fef35d0505
Add clearer exceptions, warnings and docs
5 years ago
Bond_009
bbc0875387
Don't shuffle some types by default
5 years ago
Bond_009
8d3b5c851d
Improvements to UserManager
5 years ago
Bond_009
52c1b45feb
Fix build
5 years ago
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
5 years ago
Anthony Lavado
b25c08e79a
Merge pull request #1156 from Bond-009/sep
...
Small cleanups here and there
5 years ago
Bond_009
b69b19ddce
Move messageId out of outer loop
6 years ago
Bond_009
6c0e2e249d
Even more duplicate code removed
6 years ago
Bond_009
8ed5d154b7
Remove duplicate code
6 years ago
Bond_009
2696ac5eac
Lower the amount of running tasks
6 years ago
Bond-009
6566c91360
Seperate changes from #1023
...
The unrelated changes from #1023 (and more)
6 years ago
Bond-009
bf43dc00bb
More warning fixes
6 years ago
Claus Vium
0abe57e930
Merge remote-tracking branch 'remotes/upstream/master' into kestrel_poc
6 years ago
Claus Vium
27e7e792b3
Replace some usage of QueryParamCollection
6 years ago
Bond-009
1731bf7372
Remove ordering items
6 years ago
Claus Vium
0ef2b46106
Remove custom Threading
6 years ago
William Taylor
65cd3ed597
Replaced injections of ILogger with ILoggerFactory
...
This makes resolving dependencies from the container much easier as
you cannot resolve with primitives parameters in a way that is any
more readable.
The aim of this commit is to change as little as possible with the end
result, loggers that were newed up for the parent object were given the same
name. Objects that used the base or app loggers, were given a new logger with
an appropriate name.
Also removed some unused dependencies.
6 years ago
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
6 years ago
Erwin de Haan
65bd052f3e
ReSharper conform to 'var' settings
6 years ago
Erwin de Haan
e566d9a231
Find+Sed BOM removal *.cs: BDInfo-Emby.XmlTv
6 years ago
Erwin de Haan
0efc699e3d
Visual Studio Reformat: Emby.Server.Implementations Part S-S
6 years ago
Erwin de Haan
ec1f5dc317
Mayor code cleanup
...
Add Argument*Exceptions now use proper nameof operators.
Added exception messages to quite a few Argument*Exceptions.
Fixed rethorwing to be proper syntax.
Added a ton of null checkes. (This is only a start, there are about 500 places that need proper null handling)
Added some TODOs to log certain exceptions.
Fix sln again.
Fixed all AssemblyInfo's and added proper copyright (where I could find them)
We live in *current year*.
Fixed the use of braces.
Fixed a ton of properties, and made a fair amount of functions static that should be and can be static.
Made more Methods that should be static static.
You can now use static to find bad functions!
Removed unused variable. And added one more proper XML comment.
6 years ago
Anthony Lavado
f2fedb9f34
Merge pull request #383 from Bond-009/unused
...
Remove firebase and empty resource config file
6 years ago
Bond_009
a997bb609f
Remove unnecessary using statements
6 years ago
Bond_009
391b48614d
Remove FireEventIfNotNull
...
It's a pretty useless "helper" class
6 years ago