Commit Graph

57 Commits

Author SHA1 Message Date
Shadowghost 82080bd1ef Apply review suggestions 2023-03-17 11:43:53 +01:00
Shadowghost 76ae599bd3 Fix playlist creation and removal 2023-03-10 19:16:35 +01:00
cvium 52e2776d8e Merge branch 'master' into simplify_authz
# Conflicts:
#	Jellyfin.Api/Auth/SyncPlayAccessPolicy/SyncPlayAccessHandler.cs
2023-02-12 22:59:48 +01:00
cvium 209edd38a4 refactor: simplify authz 2023-02-09 13:51:37 +01:00
Bond_009 52230d1c30 Return NotFound when itemId isn't found 2023-02-04 20:11:08 +01:00
Shadowghost f5f890e685 Migrate to file-scoped namespaces 2023-02-02 18:50:33 +01:00
Claus Vium e79f5d8226
fix: require current password when admin changes their own password (#9238)
Fixes https://github.com/jellyfin/jellyfin/issues/9208
2023-02-02 07:25:48 -07:00
Niels van Velzen 479d477e01 Deprecate user id based authentication endpoint 2022-12-19 21:46:12 +01:00
Bond_009 52194f56b5 Replace != null with is not null 2022-12-05 15:01:13 +01:00
Bond_009 c7d50d640e Replace == null with is null 2022-12-05 15:00:20 +01:00
cvium 6afc911043 fix Release build 2022-10-06 14:15:40 +02:00
cvium 5dc30c6a6d fix: use HttpContext and ClaimsPrincipal instead of IAuthorizationContext 2022-10-06 13:57:47 +02:00
luz paz 9ec2870b10 Fix various typos
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
2022-08-15 06:48:34 -04:00
Joshua Boniface b7206b4816 Backport pull request #8013 from jellyfin/release-10.8.z
Fix password change during parental control schedule

Authored-by: David Ullmer <davidullmer@outlook.de>

Merged-by: Bond-009 <bond.009@outlook.com>

Original-merge: 84a1674f39
2022-07-20 19:29:06 -04:00
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
2022-02-21 14:15:09 +01:00
crobibero 397868be95 Fix issues with QuickConnect and AuthenticationDb 2021-06-23 21:07:08 -06:00
Patrick Barron a0c6f72762 Migrate authentication db to EF Core 2021-05-20 23:56:59 -04:00
crobibero 856819e58f Don't use obsolete Password property 2021-04-22 06:49:42 -06:00
David 19e4ef82dd Remove conversion from IPAddress to string to IPAddress 2021-03-23 17:16:10 +01:00
David Ullmer 07f1a2c2dc
Update Jellyfin.Api/Controllers/UserController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-02-06 18:36:18 +01:00
David eb0ff0c370 Fix forgot password pin request 2021-02-06 17:18:37 +01:00
crobibero 77b417e41e Mark non-nullable body as null 2021-01-24 15:02:56 -07:00
Bond-009 04ba59ab40
Merge pull request #4766 from barronpm/usermanager-async
Convert DeleteUser to async
2020-12-11 21:29:20 +01:00
Patrick Barron 76f61eb0d6 Convert DeleteUser to async 2020-12-11 10:15:43 -05:00
Claus Vium 80ff564143
Merge pull request #4722 from crobibero/forbid
Fix API forbidden response
2020-12-08 10:11:14 +01:00
Claus Vium 4c199ac9a5
Merge pull request #4711 from barronpm/api-fixes
Add required attributes to parameters
2020-12-08 08:36:32 +01:00
crobibero 5150598c6d Fix API forbidden response 2020-12-07 08:55:42 -07:00
Patrick Barron 391870ebae Add required attributes to parameters 2020-12-06 20:05:55 -05:00
Bond_009 f5973d57e8
Remove UTF8 bom from some files 2020-11-21 14:26:03 +01:00
crobibero 3756611d01 Add /Users/Me endpoint 2020-11-05 13:23:22 -07:00
Patrick Barron 72263613d0 Convert some code in UserManager to async 2020-10-29 20:30:33 -04:00
cvium fed58a0327 Add Dto to ForgotPassword 2020-09-25 12:56:47 +02:00
Bond-009 1d633aac0a
Merge pull request #4093 from crobibero/bad-route
Fix api routes
2020-09-11 09:10:16 +00:00
Bond-009 4447589460
Merge pull request #4116 from cvium/add_known_proxies
Add Known Proxies to system configuration
2020-09-10 14:10:26 +00:00
cvium 7576824cee Standardize use of IsLocal and RemoteIp 2020-09-10 14:16:41 +02:00
crobibero 63ebae2f9e Remove nullable from required 2020-09-09 14:28:30 -06:00
crobibero eab92a0b01 Merge remote-tracking branch 'upstream/master' into api-stream-return 2020-09-06 14:34:31 -06:00
crobibero 29fc882037 merge all attributes 2020-09-06 09:07:27 -06:00
crobibero 59d47ec3f5 Make all FromRoute required 2020-09-05 17:07:25 -06:00
crobibero 2f33bee2a9 Set openapi schema type to file where possible 2020-09-01 17:26:49 -06:00
Matt Montgomery 5f1a863241 Apply suggestions from code review 2020-08-17 17:13:11 -05:00
ConfusedPolarBear eaa5711534
Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-08-16 17:21:08 -05:00
Matt Montgomery 035d29fb35 Migrate to new API standard 2020-08-16 14:45:39 -05:00
crobibero 314728195c Fix setting user policy 2020-08-10 09:31:01 -06:00
crobibero fffa94fc33 Apply fixes from review 2020-08-06 08:17:45 -06:00
crobibero 858aecd409 Fix all route for base url support 2020-08-04 12:48:53 -06:00
crobibero 8f6c2e7679 Remove leading slash from route attributes 2020-08-04 08:27:54 -06:00
crobibero dbeeb7cf4a fix merge conflicts 2020-08-03 12:01:24 -06:00
crobibero 5c66f9e471 changes from merge 2020-07-20 14:43:54 -06:00
crobibero 73bcda7eac Make all optional strings nullable 2020-06-27 10:50:44 -06:00