Commit Graph

504 Commits

Author SHA1 Message Date
Bond_009
3ab50f5a3f Address comments 2020-04-01 19:05:41 +02:00
Bond_009
e9d1eabd53 Remove unused usings 2020-03-24 16:12:06 +01:00
Mark Monteiro
b67e9cde8c Replace ILogger with ILogger<T> wherever possible
Log entries will contain additional class context when using this interface
2020-03-03 23:07:10 +01:00
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
dkanada
de40f22a46
Merge pull request #2384 from Bond-009/warn16
Fix some warnings in Emby.Server.Implementations
2020-02-23 21:46:15 +09:00
Bond_009
adc9fc282c Minor improvements 2020-02-19 23:08:58 +01:00
Bond_009
184ad29f3f Address comments 2020-02-19 21:04:28 +01:00
Bond_009
e714b9930e Merge branch 'master' into embytv 2020-01-10 21:16:46 +01:00
Bond_009
a253fa616d Fix build and address comments 2020-01-08 01:23:57 +09:00
dkanada
aca31457c0 merge branch master into media-attachments 2020-01-08 01:21:09 +09:00
Bond_009
ab57b504fe Delete user config dir on user deletion 2019-12-29 19:32:12 +01:00
Bond_009
5cab79c839 Clean up Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs 2019-12-04 21:39:27 +01:00
Bond_009
3221e837f9 * Add support for multi segment base urls
* Make baseurl case-insensitive
2019-11-25 11:55:24 +01:00
Andrew Mahone
743685110c
Update MediaBrowser.Controller/Library/IMediaSourceManager.cs
formatting

Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-07 11:29:34 -05:00
Andrew Mahone
0fd7886a12
Update MediaBrowser.Controller/Library/IMediaSourceManager.cs
formatting

Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-07 11:28:11 -05:00
Bond-009
2b1e766c17
Update MediaBrowser.Controller/Library/IUserManager.cs
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2019-10-29 17:50:09 +01:00
Andrew Mahone
1513c76a3e Support MediaAttachment retrieval in MediaSourceManager. 2019-10-22 10:35:00 -04:00
Bond_009
fef35d0505 Add clearer exceptions, warnings and docs 2019-10-20 21:12:03 +02:00
Bond_009
8d3b5c851d Improvements to UserManager 2019-08-16 21:06:11 +02:00
Phallacy
09921a00aa made password resets an interface and per user 2019-03-22 00:01:23 -07:00
Vasily
bca7a26ffd
Merge branch 'master' into update_tvdb 2019-02-20 14:46:07 +03:00
Claus Vium
b9efcace79 Extract imagetype-to-keytype statements into a utility function and move tvdb specific utils to separate class 2019-02-15 19:33:10 +01:00
Claus Vium
8029cd3ebb Add better language support 2019-02-15 19:33:10 +01:00
Claus Vium
ecbc0538f6 Add some error handling, grab imdb id and other minor fixes 2019-02-15 19:33:10 +01:00
Claus Vium
c2202be0f8 Some of it works??? 2019-02-15 19:33:10 +01:00
Bond_009
3e6819c718 Don't clone lists 2019-02-12 21:06:47 +01:00
Bond_009
41fb1e5106 Tuple -> ValueTuple 2019-02-12 21:06:47 +01:00
Bond_009
1385d89df6 Remove MoreLINQ 2019-02-02 12:27:06 +01:00
Claus Vium
8985fb8d58 Remove support for games as a media type 2019-01-31 19:04:47 +01:00
Erwin de Haan
3a831994f6 Unwrapped GetDirectoryName and DirectorySeperatorChar 2019-01-28 22:06:34 +01:00
Joshua Boniface
9da5d3acc2 Replace our TVDB key with @drakus72's which is V1 2019-01-20 12:59:22 -05:00
Erwin de Haan
38f96af079 Reformat JustAMan review pt2 changes
Refs #575
2019-01-17 20:24:39 +01:00
Erwin de Haan
e867446437 ReSharper format: conform inline 'out' parameters. 2019-01-13 21:46:33 +01:00
Erwin de Haan
65bd052f3e ReSharper conform to 'var' settings 2019-01-13 21:37:13 +01:00
Erwin de Haan
a36658f6f0 ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
Erwin de Haan
ba610b5094 Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Erwin de Haan
3ed6f37030 EditorConfig reformat: MediaBrowser.Controller 2019-01-13 20:30:58 +01:00
Erwin de Haan
26ca4b607b Visual Studio Reformat: MediaBrowser.Controller 2019-01-13 20:25:32 +01:00
Erwin de Haan
846456b41e Reformatted the files with notes. 2019-01-12 21:41:08 +01:00
Erwin de Haan
e2751d42e8 Merge branch 'dev' into code-cleanup 2019-01-11 12:50:36 +01:00
Andrew Rabert
e5c2dbdf23 Merge pull request #540 from joshuaboniface/api-keys
Update Emby API keys to our own
2019-01-10 23:02:29 -05:00
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.
2019-01-10 20:38:53 +01:00
Joshua Boniface
7603b8d0fe Update TheTVDB API key to our own 2019-01-09 12:44:48 -05:00
hawken
bd169e4fd4 remove trailing whitespace 2019-01-07 23:27:46 +00:00
Bond_009
340a2c6512 Post GPL cleanup 2019-01-03 23:19:02 +01:00
Bond_009
0f8b3c6347 Use Microsoft.Extensions.Logging abstraction 2018-12-30 22:44:38 +01:00
Andrew Rabert
a86b71899e Add GPL modules 2018-12-27 18:27:57 -05:00
stefan
48facb797e Update to 3.5.2 and .net core 2.1 2018-09-12 19:26:21 +02:00
Luke Pulverenti
58a7829ecd update library changed notifier 2017-11-25 23:48:12 -05:00
Luke Pulverenti
77695f8abe 3.2.40.1 2017-11-21 17:14:56 -05:00
Luke Pulverenti
7e5036a587 update image aspect ratio detection 2017-10-22 02:22:43 -04:00
Luke Pulverenti
66ad10348f update translations 2017-10-13 01:43:11 -04:00
Luke Pulverenti
a5b82cd2ec remove unneeded async signatures 2017-10-03 14:39:37 -04:00
Luke Pulverenti
bca1d65bdc fixes #1074 2017-09-17 12:45:23 -04:00
Luke Pulverenti
fe10df6935 improve queries from scheduled tasks 2017-09-09 23:18:23 -04:00
Luke Pulverenti
39c4542cf6 update query objects 2017-09-04 15:28:22 -04:00
Luke Pulverenti
e287e3a50d remove async when there's nothing to await 2017-08-26 20:32:33 -04:00
Luke Pulverenti
e441e2f53d update active recordings 2017-08-24 15:52:19 -04:00
Luke Pulverenti
f4765a87cc update m3u tuner 2017-08-20 15:10:00 -04:00
Luke Pulverenti
1ad990ad72 update live tv data transfer 2017-08-19 15:43:35 -04:00
Luke Pulverenti
0951819f00 fixes #2798, fixes #2799 2017-08-13 16:15:07 -04:00
Luke Pulverenti
40442f887b consolidate emby.server.core into emby.server.implementations 2017-08-09 15:56:38 -04:00
Luke Pulverenti
52aeb3c40b consolidate interfaces 2017-08-07 17:06:13 -04:00
Luke Pulverenti
db315c4e32 update media source methods 2017-08-05 15:02:33 -04:00
Luke Pulverenti
a46840534f 3.2.26.3 2017-07-25 14:32:03 -04:00
Luke Pulverenti
15947c2a4c update opening of live streams 2017-07-02 14:58:56 -04:00
Luke Pulverenti
1e5c3db9eb support individual library refreshing 2017-06-23 12:04:45 -04:00
Luke Pulverenti
282dce7f10 normalize session object 2017-06-09 15:26:54 -04:00
Luke Pulverenti
e91f569c15 update live tv startup 2017-06-03 03:36:32 -04:00
Luke Pulverenti
33014f77aa update GetItems method 2017-05-26 02:48:54 -04:00
Luke Pulverenti
54cf0da758 update query fields 2017-05-22 00:54:02 -04:00
Luke Pulverenti
da77b05817 update data queries 2017-05-21 03:25:49 -04:00
Luke Pulverenti
47fc7c6aee add GenreItems property 2017-05-18 17:05:47 -04:00
Luke Pulverenti
696a6b34ea improve smb support 2017-05-04 14:14:45 -04:00
Luke Pulverenti
491886632d update remote control responses 2017-04-25 14:23:20 -04:00
Luke Pulverenti
561028c907 update automated checkins 2017-04-17 15:01:16 -04:00
Luke Pulverenti
ccb694a89a update home sections 2017-04-06 16:07:25 -04:00
Luke Pulverenti
36f8eb1149 add db startup error handling 2017-02-17 16:11:13 -05:00
Luke Pulverenti
ab026ab2de restore localized guids switch 2017-01-29 15:00:29 -05:00
Luke Pulverenti
e1b880a5a0 update series queries 2016-12-13 02:36:30 -05:00
Luke Pulverenti
d84bb7160f update next up queries 2016-12-12 14:40:27 -05:00
Luke Pulverenti
f275d7f3d2 reduce library queries 2016-11-21 03:54:53 -05:00
Luke Pulverenti
872aec9352 continue reworking provider project 2016-10-27 03:58:33 -04:00
Luke Pulverenti
ef6b90b8e6 make controller project portable 2016-10-25 15:02:04 -04:00
Luke Pulverenti
07791d46a5 rework scheduled tasks in preparation of common project going portable 2016-10-23 15:14:57 -04:00
Luke Pulverenti
c7f559f8ce make model project portable 2016-10-21 22:08:34 -04:00
Luke Pulverenti
b9cacd8076 update live streams 2016-10-05 03:15:29 -04:00
Luke Pulverenti
76c7bfcb67 update closing of streams 2016-09-29 08:55:49 -04:00
Luke Pulverenti
fdc2826709 add network share config 2016-09-24 02:22:03 -04:00
Luke Pulverenti
8b096ccc0e stub out storage for new path substitution 2016-09-23 02:21:54 -04:00
Luke Pulverenti
05edb9f4bd update timeshifting 2016-09-18 16:38:38 -04:00
Luke Pulverenti
151d88f20d encapsulate path substitution 2016-09-12 14:10:09 -04:00
Luke Pulverenti
4e0adb17e7 update dialogs 2016-09-07 01:48:14 -04:00
Luke Pulverenti
67505e24bd fix artist editor 2016-09-06 01:02:05 -04:00
Luke Pulverenti
8508e07bb9 improve genre displays 2016-08-13 16:54:29 -04:00
Luke Pulverenti
68d1b60964 stub out objects for per library settings 2016-08-13 01:49:00 -04:00
Luke Pulverenti
319a956b38 update validators 2016-08-06 00:38:01 -04:00
Luke Pulverenti
39245133f8 remove people refresh retry 2016-08-04 00:38:58 -04:00
Luke Pulverenti
0920c9b3a1 next up upgrade fixes 2016-07-01 11:51:35 -04:00
Luke Pulverenti
759f5a8560 update task results 2016-06-19 02:18:29 -04:00
Luke Pulverenti
f9847be17c update item by name queries 2016-06-17 09:06:13 -04:00
Luke Pulverenti
626a2ed2a9 update child count creation 2016-06-16 09:24:12 -04:00
Luke Pulverenti
3118196ac6 update user data queries 2016-05-11 10:36:28 -04:00
Luke Pulverenti
33c002684e update recording saving 2016-05-04 16:50:47 -04:00
Luke Pulverenti
107d1fc4f1 move media path methods to core 2016-05-04 12:33:22 -04:00
Luke Pulverenti
6330b13262 support multiple user data keys 2016-04-30 19:05:21 -04:00
Luke Pulverenti
1f9d32afc5 limit use of GetUserDataKey 2016-04-30 18:05:13 -04:00
Luke Pulverenti
6c62c20a9e update CollectionFolder 2016-04-27 13:53:23 -04:00
nfnty
0ace5b38c3 Use HTTPS for API requests: Fix missed URLs 2016-04-26 12:13:13 +02:00
Luke Pulverenti
69622a74a8 faster cleanup of missing episodes 2016-04-25 23:39:21 -04:00
Sven Van den brande
168587b2a0 Remove unused code... 2016-03-27 23:11:27 +02:00
Luke Pulverenti
ca308bc3c9 update progress ping 2016-03-21 23:31:35 -04:00
Luke Pulverenti
4b7093e923 get recursive items from db 2016-03-20 02:46:51 -04:00
Luke Pulverenti
076a07a546 optimize FindByPath 2016-03-01 14:39:46 -05:00
Luke Pulverenti
10d4ad98d9 create notion of locked path 2016-02-24 13:45:20 -05:00
Luke Pulverenti
b30bd9a1df update recording deletion process 2016-02-11 23:54:00 -05:00
Luke Pulverenti
9e8d35dadc update recording sync fields 2016-02-11 13:29:42 -05:00
Luke Pulverenti
904175ce26 update views 2015-11-18 00:49:20 -05:00
Luke
47a862b0e8 Merge pull request #1269 from MediaBrowser/master
merge from master
2015-11-13 15:55:23 -05:00
Luke Pulverenti
3e5bb74fcc update i/o methods 2015-11-13 15:45:19 -05:00
Luke
1051745fd1 Merge pull request #1265 from MediaBrowser/master
update use of FileAttributes
2015-11-12 15:54:31 -05:00
Luke Pulverenti
c6ce834216 update use of FileAttributes 2015-11-12 15:51:39 -05:00
Luke Pulverenti
cc19ce0daf added new parent methods 2015-11-11 09:56:31 -05:00
Luke Pulverenti
6aa3313bc0 make sure ._ osx files are properly ignored 2015-11-04 18:49:06 -05:00
Luke Pulverenti
67dc2a0bf9 update item queries 2015-10-29 15:01:04 -04:00
Luke Pulverenti
0bd1f36ece update db queries 2015-10-29 09:28:05 -04:00
Luke Pulverenti
9b998a068a update image encoding 2015-10-28 15:40:38 -04:00
Luke Pulverenti
d577e1c7b0 support image stubbing 2015-10-16 13:06:31 -04:00
Luke Pulverenti
a8e5aba643 update library setup 2015-10-16 00:46:41 -04:00
Luke Pulverenti
078277ebc2 continue file system rework 2015-10-04 00:23:11 -04:00
Luke Pulverenti
8ad702060e begin file system rework 2015-10-03 23:38:46 -04:00
Luke Pulverenti
3787af4c9c update guide 2015-08-19 19:57:27 -04:00
Luke Pulverenti
032891c9f3 update user views 2015-08-14 14:00:26 -04:00
Luke Pulverenti
96346fc88c update globalize 2015-08-05 21:21:18 -04:00
Luke Pulverenti
47b1a4cafd update image processing 2015-08-02 15:08:55 -04:00
Luke Pulverenti
3799ad5940 update task triggers 2015-07-28 08:33:30 -04:00
Luke Pulverenti
0291df3193 3.0.5666.2 2015-07-08 12:10:34 -04:00
Luke Pulverenti
dfa17aec70 update people queries 2015-07-06 22:25:23 -04:00
Luke Pulverenti
8bb10cb12f start people update 2015-06-20 23:35:22 -04:00
Luke Pulverenti
f2abd8ba39 update live tv database 2015-06-01 10:49:23 -04:00
Luke Pulverenti
4e04d31c7d consolidate slideout panels 2015-05-29 19:51:33 -04:00
Luke Pulverenti
623874ec8b improve live stream pinging 2015-04-20 14:04:02 -04:00
Luke Pulverenti
064b5e82e4 fix roku thumbnails 2015-04-15 11:41:42 -04:00
Luke Pulverenti
1b600aee37 improve name matching 2015-04-09 17:11:57 -04:00
Luke Pulverenti
b9c656e859 added out of network bitrate limit 2015-04-09 01:20:23 -04:00
Luke Pulverenti
b9f3944b7f rework media source methods 2015-04-01 17:56:32 -04:00
Luke Pulverenti
a79962b7eb update live stream generation 2015-03-29 12:45:16 -04:00
Luke Pulverenti
578dec0c71 update stream generation 2015-03-29 00:56:39 -04:00
Luke Pulverenti
bd2ea703e3 implement modular media sources 2015-03-28 16:22:27 -04:00
Luke Pulverenti
dbb7fd61ff add dynamic images 2015-03-14 00:50:23 -04:00