jellyfin/MediaBrowser.Controller
Davide Polonio 5d760b7ee8 Fix emby/user/public API leaking private data
This commit fixes the emby/user/public API that was returning more data
than necessary. Now only the following information are returned:
- the account name
- the primary image tag
- the field hasPassword
- the field hasConfiguredPassword, useful for the first wizard only
(see
https://github.com/jellyfin/jellyfin/issues/880#issuecomment-465370051)
- the primary image aspect ratio

A new DTO class, PrivateUserDTO has been created, and the route has been
modified in order to return that data object.
2020-03-01 21:46:01 +01:00
..
Authentication More warnings (removed) 2019-12-11 00:13:57 +01:00
Channels Fix Json serialization error 2019-10-15 17:49:49 +02:00
Chapters Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Collections Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Configuration Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Devices Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Dlna Replace some usage of QueryParamCollection 2019-02-27 14:23:39 +01:00
Drawing Simplify image processing by removing image enhancers 2020-01-21 20:26:30 +01:00
Dto Fix warnings, improve performance (#1665) 2019-09-02 02:19:29 -04:00
Entities Fix photo serialization 2020-02-20 15:30:04 +01:00
Extensions Use extension methods 2019-12-12 17:02:42 +01:00
IO ReSharper conform to 'var' settings 2019-01-13 21:37:13 +01:00
Library Fix emby/user/public API leaking private data 2020-03-01 21:46:01 +01:00
LiveTv Fix Json serialization error 2019-10-15 17:49:49 +02:00
MediaEncoding Merge branch 'master' into images 2020-02-12 17:41:46 +01:00
Net Merge pull request #2358 from Bond-009/tests 2020-02-14 00:31:00 +09:00
Notifications Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Persistence Fix warnings 2020-01-31 22:26:53 +01:00
Playlists Merge remote-tracking branch 'upstream/master' into random 2019-12-06 12:06:13 +01:00
Plugins Use "implement" instead of "apply" when referring to an interface 2020-02-12 14:08:06 +01:00
Properties Adjusted AssemblyCopyright attribute values. 2019-03-14 22:17:56 +01:00
Providers Simplify image processing by removing image enhancers 2020-01-21 20:26:30 +01:00
Resolvers Fix style issues 2019-07-06 16:15:38 +02:00
Security Remove IEncryptionManager 2019-02-20 11:09:06 +01:00
Session Merge pull request #2363 from dkanada/view 2020-02-11 23:56:47 -05:00
Sorting ReSharper conform to 'var' settings 2019-01-13 21:37:13 +01:00
Subtitles Fix more warnings 2019-10-29 17:55:16 +01:00
Sync Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
TV Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
IResourceFileManager.cs Simplify file serving code 2019-06-10 00:53:16 +02:00
IServerApplicationHost.cs Fix baseurl (again) 2020-01-02 21:22:10 +01:00
IServerApplicationPaths.cs Remove unused fields and properties 2019-12-04 21:53:01 +01:00
MediaBrowser.Controller.csproj Fix some warnings in MediaBrowser.Controller 2020-02-04 02:10:44 +01:00