jellyfin-server/Emby.Server.Implementations
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
..
Activity Fix build 2020-02-08 22:25:44 +01:00
AppBase Merge pull request #2041 from Bond-009/warn11 2019-12-11 01:14:55 +09:00
Archiving Fix more warnings 2019-11-27 16:29:56 +01:00
Branding More warnings (removed) 2019-12-11 00:13:57 +01:00
Browser Fix more warnings 2019-11-27 16:29:56 +01:00
Channels Fix warnings 2020-01-31 22:26:53 +01:00
Collections Fix warnings 2020-01-31 22:26:53 +01:00
Configuration Fix warnings 2020-01-31 22:26:53 +01:00
Cryptography More warnings (removed) 2019-12-11 00:13:57 +01:00
Data Minor improvements 2020-02-19 23:08:58 +01:00
Devices Minor improvements 2020-02-19 23:08:58 +01:00
Diagnostics More warnings (removed) 2019-12-11 00:13:57 +01:00
Dto Simplify image processing by removing image enhancers 2020-01-21 20:26:30 +01:00
EntryPoints Address comments 2020-02-19 21:04:28 +01:00
HttpClientManager Fix some warnings in Emby.Server.Implementations 2020-02-06 15:21:38 +01:00
HttpServer Fix some warnings in Emby.Server.Implementations 2020-02-06 15:21:38 +01:00
Images More warnings (removed) 2019-12-11 00:13:57 +01:00
IO Fix some warnings in Emby.Server.Implementations 2020-02-06 15:21:38 +01:00
Library Fix emby/user/public API leaking private data 2020-03-01 21:46:01 +01:00
LiveTv Address comments 2020-02-19 21:04:28 +01:00
Localization Translated using Weblate (Hungarian) 2020-02-29 04:10:17 -05:00
MediaEncoder Fix more warnings 2019-09-01 18:39:23 +02:00
Middleware Fix some warnings 2019-11-22 16:15:31 +01:00
Net Fix warnings 2020-01-31 22:26:53 +01:00
Networking Minor improvements to network code 2019-11-28 17:46:06 +01:00
Playlists Fix warnings 2020-01-31 22:26:53 +01:00
Properties Adjusted AssemblyCopyright attribute values. 2019-03-14 22:17:56 +01:00
ScheduledTasks update task names and descriptions 2020-02-01 22:27:25 +09:00
Security Return DB asap 2019-08-18 22:05:06 +02:00
Serialization Remove FileSystem.GetStream 2020-01-22 22:20:35 +01:00
Services Fix some warnings 2019-11-22 16:15:31 +01:00
Session Merge branch 'master' into sessionmanager 2020-02-19 21:07:09 +01:00
SocketSharp Fix warnings 2020-01-31 22:26:53 +01:00
Sorting Fix some warnings 2019-11-22 16:15:31 +01:00
TV Use CultureInvariant string conversion for Guids 2019-08-09 23:17:54 +02:00
Udp Update UdpServer.cs 2020-01-13 09:00:30 +01:00
Updates Enable TreatWarningsAsErrors for some projects 2019-12-13 20:11:37 +01:00
UserViews Don't shuffle some types by default 2019-10-20 16:08:40 +02:00
WebSockets Fix warnings 2020-01-31 22:26:53 +01:00
ApplicationHost.cs Merge pull request #2176 from Bond-009/nullable2 2020-02-23 21:52:46 +09:00
ConfigurationOptions.cs Replace '_' with ':' in config keys 2019-12-12 16:57:16 +01:00
Emby.Server.Implementations.csproj Update deps 2020-01-28 22:42:07 +01:00
IStartupOptions.cs Finalise removal of --ffprobe switch 2019-03-12 22:09:18 +00:00
ResourceFileManager.cs Simplify file serving code 2019-06-10 00:53:16 +02:00
ServerApplicationPaths.cs Remove unused fields and properties 2019-12-04 21:53:01 +01:00