Bond_009
0f897589ed
Streamline authentication proccess
2019-07-06 14:52:24 +02:00
Erwin de Haan
acf52b9b55
Cleanup extra spaces.
2019-07-04 20:55:49 +02:00
Erwin de Haan
7587fe56d8
Moved VACUUM down to the end of the list.
2019-07-04 20:54:57 +02:00
dkanada
9e9952d81f
Merge pull request #1247 from bugfixin/master
...
Adjust detection of 'sample' in filenames to use regex boundaries
2019-07-04 11:38:01 -07:00
Bond_009
29ae7b9aeb
Add docs
2019-07-01 18:24:35 +02:00
Bond_009
45c13141f9
Address comments
2019-07-01 17:59:01 +02:00
Bond_009
ecb8d8991b
Fix whitespace
2019-06-28 12:22:33 +02:00
Bond_009
d961278b3d
Reduce amount of raw sql
2019-06-28 12:14:27 +02:00
Bond_009
db2765aae5
Last bit of cleanup
2019-06-28 12:14:27 +02:00
Bond_009
7898af4ceb
Reworked PRAGMA statements use
2019-06-28 12:14:27 +02:00
Bond_009
edfd2d0cd9
Fix startup
2019-06-28 12:14:27 +02:00
Bond_009
d00ad28efd
Address comments
2019-06-28 12:14:27 +02:00
Bond-009
02b864e41b
Last line?
2019-06-28 12:14:27 +02:00
Bond-009
e88ebd748d
Final fixes
2019-06-28 12:14:27 +02:00
Bond-009
b6954f3bfd
More
2019-06-28 12:14:27 +02:00
Bond-009
27c29bbb4c
Back to a single connection
2019-06-28 12:13:34 +02:00
Bond-009
30842656a7
Properly dispose
2019-06-28 12:12:54 +02:00
Bond-009
e5248cfaa2
Properly dispose
2019-06-28 12:12:54 +02:00
Bond-009
c30ba14c1f
Use a connection pool instead of creating new connections
2019-06-28 12:12:54 +02:00
Bond-009
cec22ad10d
Simplify db code
2019-06-28 12:12:54 +02:00
dkanada
b3b08fecb2
Merge pull request #1453 from Bond-009/cleanup2
...
Improve main code flow
2019-06-26 01:03:09 -07:00
dkanada
1b2621cd30
Merge pull request #1454 from Bond-009/webresource
...
Simplify file serving code
2019-06-21 23:33:37 -07:00
Bond-009
0a5550b13d
Remove more unused stuff
2019-06-18 22:20:34 -04:00
Bond-009
067200be83
Remove usage of depricated 'WebRequest'
...
Ref: https://docs.microsoft.com/en-us/dotnet/api/system.net.webrequest?view=netframework-4.7.2
2019-06-17 19:35:05 -04:00
Bond_009
5554595255
Update deps
2019-06-14 18:49:57 +02:00
Bond_009
65a0ca2f32
Improvements to InstallationManager
2019-06-14 18:38:14 +02:00
Anthony Lavado
d4a42a1680
Merge pull request #1080 from Bond-009/httpclient
...
Remove usage of deprecated 'WebRequest'
2019-06-14 09:19:56 -04:00
Bond-009
af099a9b53
Update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Jean-Samuel Aubry-Guzzi <DrPandemic@users.noreply.github.com>
2019-06-14 08:21:06 +02:00
Bond-009
6ebac0e500
Update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Jean-Samuel Aubry-Guzzi <DrPandemic@users.noreply.github.com>
2019-06-14 08:20:52 +02:00
Anthony Lavado
b25c08e79a
Merge pull request #1156 from Bond-009/sep
...
Small cleanups here and there
2019-06-13 22:27:00 -04:00
Joshua M. Boniface
687255aa31
Merge pull request #1442 from jellyfin/release-10.3.z
...
Backmerge for Release 10.3.4 and 10.3.5
2019-06-12 23:30:57 -04:00
ferferga
b136f14084
Vacuum databases at startup
2019-06-10 11:31:38 +02:00
Bond_009
253e72f667
Simplify file serving code
2019-06-10 00:53:16 +02:00
Bond_009
aa30227545
Improve main code flow
...
Improved the way how some parts of the code depend on eachother
Fixed some style issues
2019-06-09 23:51:52 +02:00
Joshua M. Boniface
2946ae1009
Revert "Don't set a default reset provider"
...
This reverts commit c230d49d7c
.
This reenables an edge case where an admin might want to reset, with
the default auth provider, the password of an externally-provided
user so they could "unlock" the account while it was failing. There
might be minor security implications to this, but the malicious
actor would need FS access to do it (as they would with any password
resets) so it's probably best to keep it as-is.
Removing this in the first place was due to a misunderstanding
anyways so no harm.
2019-06-09 15:29:43 -04:00
Joshua M. Boniface
4b8f735cb8
Remove superfluous conditional
...
This wasn't needed to prevent updating the policy on-disk from my
tests and can be removed as suggested by @Bond-009
2019-06-09 13:57:49 -04:00
Joshua M. Boniface
c230d49d7c
Don't set a default reset provider
2019-06-09 13:46:53 -04:00
Joshua M. Boniface
20e2cb2d86
Use SecurityException for auth failure
2019-06-09 13:45:51 -04:00
Joshua M. Boniface
b70083f3b3
Apply suggestions from code review
...
Co-Authored-By: Claus Vium <cvium@users.noreply.github.com>
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-06-09 13:41:14 -04:00
Joshua M. Boniface
74ef389879
Add nicer log message and comment
2019-06-09 11:07:35 -04:00
Joshua M. Boniface
d78a55adb4
Implement InvalidAuthProvider
...
Implements the InvalidAuthProvider, which acts as a fallback if a
configured authentication provider, e.g. LDAP, is unavailable due
to a load failure or removal. Until the user or the authentication
plugin is corrected, this will cause users with the missing provider
to be locked out, while throwing errors in the logs about the issue.
Fixes #1445 part 2
2019-06-08 22:54:31 -04:00
Anthony Lavado
aee3360841
Merge pull request #1366 from Bond-009/warn3
...
Fix more warnings
2019-06-05 01:17:21 -04:00
Anthony Lavado
256f44a870
Merge pull request #994 from Bond-009/tasks
...
Remove Tasks wrapped in a Task
2019-06-05 01:11:25 -04:00
Anthony Lavado
a623dd1921
Merge pull request #1368 from dkanada/drives
...
Only return useful drives
2019-06-04 00:19:35 -04:00
dkanada
b768ad978e
split the new command to more than one line
2019-06-02 21:49:12 -07:00
Juvenal Yescas
6b6776042c
Translated using Weblate (Spanish (Mexico))
...
Currently translated at 100.0% (94 of 94 strings)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_MX/
2019-06-01 20:50:19 -04:00
Julio García
4adaeee054
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (94 of 94 strings)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es/
2019-06-01 20:50:19 -04:00
Hyunsu Nam
a2d9420139
Translated using Weblate (Korean)
...
Currently translated at 97.8% (92 of 94 strings)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ko/
2019-06-01 20:50:19 -04:00
exveria1015
3431a85adf
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (94 of 94 strings)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ja/
2019-06-01 20:50:18 -04:00
dracocephalum
430483c7a1
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (94 of 94 strings)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2019-06-01 20:50:16 -04:00
Bond-009
ce1fa42f9d
Merge branch 'master' into tasks
2019-06-01 17:06:01 +02:00
Bond-009
a6f9ceedd8
Fix more warnings
2019-06-01 11:31:27 +02:00
exveria1015
b1f764984f
Added translation using Weblate (Japanese)
2019-05-30 18:28:11 -04:00
DrPandemic
69ee49bee6
Format correctly the PIN when updating it
2019-05-25 13:46:55 -04:00
erikasne6152
2aed2d164b
Translated using Weblate (Lithuanian)
...
Currently translated at 100.0% (94 of 94 strings)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lt/
2019-05-24 14:28:14 -04:00
Bond-009
2d011b781e
Merge pull request #1383 from jellyfin/release-10.3.z
...
Backmerge for Release 10.3.3
2019-05-18 12:56:42 +02:00
dkanada
4a9b349c04
only return useful drives
2019-05-16 16:45:56 -07:00
DrPandemic
c22068d6b1
Fix pin bug introduced in 10.3.z.
...
The issue is that the new easyPassword format prepends the hash
function. This PR extract the hash from "$SHA1$_hash_".
2019-05-11 19:53:34 -04:00
Bond-009
35d7e97258
Ignore casing photo extensions
2019-05-11 11:55:41 +02:00
Joshua M. Boniface
89537abdc4
Merge pull request #1293 from Bond-009/query-time
...
Fix query time logging
2019-05-10 09:19:05 -04:00
Bond-009
d9c159122f
Merge pull request #1229 from voodoos/cleanup/SocketSharp
...
Cleaning WebSocketSharp continued
2019-05-09 17:16:51 +02:00
Joshua M. Boniface
2bc378a9c3
Merge pull request #1337 from jellyfin/release-10.3.z
...
Backmerge for 10.3.2 release
2019-04-30 23:35:11 -04:00
bugfixin
1df73fdeba
Fix incorrect hasPassword flag when easy pin set
2019-04-30 19:16:53 +00:00
Joshua M. Boniface
4e0be95368
Merge pull request #1305 from bugfixin/passwordless-form-encoded
...
Fix passwordless authentication with non-json content-types
2019-04-29 23:07:04 -04:00
Bond-009
61d7bed181
Merge pull request #1304 from jellyfin/release-10.3.z
...
Backmerge 10.3.1
2019-04-25 07:27:37 +02:00
bugfixin
844ea9d77e
Don't coalesce empty strings to null in StringMapTypeDeserializer
2019-04-25 04:36:28 +00:00
Bond_009
71479286e9
Fix #1234
2019-04-24 19:56:57 +02:00
Bond_009
a9337033c1
Fix query time logging
2019-04-24 15:25:22 +02:00
Claus Vium
28c2ac528d
Re-add content length, semi revert of changes in #1010 ( #1287 )
...
* Re-add content length, semi revert of changes in #1010
2019-04-24 14:06:54 +02:00
bugfixin
08d3a5d2fe
Fix null reference when request content type is application/x-www-form-urlencoded
2019-04-21 19:29:05 +00:00
Joshua M. Boniface
3738f95871
Merge pull request #1258 from Bond-009/fixpluginload
...
Handle exception when loading unsupported assembly
2019-04-20 12:35:57 -04:00
Claus Vium
764c6d5461
Fix comparison for empty password migration
2019-04-20 17:50:34 +02:00
Bond-009
6973182ade
Fix more possible exceptions
2019-04-20 17:47:11 +02:00
Bond-009
f62af07381
Handle exception when loading unsupported assembly
...
Fixes #1256
2019-04-20 17:47:11 +02:00
Bond-009
a8da122fb3
Merge pull request #1252 from jellyfin/release-10.3.z
...
Backmerge release 10.3.0
2019-04-20 12:25:29 +02:00
bugfixin
da842d5a73
Fix incorrect escaping in regex pattern
2019-04-19 18:35:28 +00:00
Joshua Boniface
4ad71766fc
Merge branch 'translations' into release-10.3.z
2019-04-19 14:19:22 -04:00
Weblate
9d60cc8c66
Rename Chinese (Traditional) file
2019-04-19 13:59:04 -04:00
bugfixin
0794a3edf4
Adjust detection of 'sample' in filenames to use regex boundaries
2019-04-19 17:53:51 +00:00
Libor Filípek
4a6243096a
Translated using Weblate (Czech)
...
Currently translated at 100.0% (94 of 94 strings)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/cs/
2019-04-19 13:38:32 -04:00
Heldenkrieger01
10cbdc8e8e
Translated using Weblate (Swiss German)
...
Currently translated at 100.0% (94 of 94 strings)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/gsw/
2019-04-19 12:09:39 -04:00
SaddFox
4886fc467c
Translated using Weblate (Slovenian)
...
Currently translated at 100.0% (94 of 94 strings)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sl/
2019-04-19 12:09:38 -04:00
WWWesten
8e2827cc39
Translated using Weblate (Kazakh)
...
Currently translated at 100.0% (94 of 94 strings)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/kk/
2019-04-19 12:09:37 -04:00
Βασίλης Μουρατίδης
395d2e4917
Translated using Weblate (Greek)
...
Currently translated at 100.0% (94 of 94 strings)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/el/
2019-04-19 12:09:37 -04:00
Dan Johansen
d31f5229da
Translated using Weblate (Danish)
...
Currently translated at 100.0% (94 of 94 strings)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/da/
2019-04-19 12:09:37 -04:00
Libor Filípek
d6622818dc
Translated using Weblate (Czech)
...
Currently translated at 100.0% (94 of 94 strings)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/cs/
2019-04-19 12:09:37 -04:00
tinganhsu
ba684d6d3a
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 96.8% (91 of 94 strings)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2019-04-19 12:09:36 -04:00
tinganhsu
90c04a4640
Added translation using Weblate (Chinese (Traditional))
2019-04-19 00:32:52 -04:00
Joshua M. Boniface
06a1e1f166
Merge pull request #1244 from joshuaboniface/hotfix-authapi
...
Hotfix authapi
2019-04-18 17:58:54 -04:00
Bond-009
8f703f4744
Remove unused event
...
Release builds were failing because of this unused event.
2019-04-18 13:19:16 +02:00
Joshua Boniface
250e0c75df
Add MethodNotAllowedException with code 405
2019-04-17 22:31:06 -04:00
Joshua M. Boniface
c3532b92f7
Merge pull request #1158 from Bond-009/httpclean
...
Reduce complexity http routes
2019-04-17 22:12:17 -04:00
Bond_009
c7fedfbca3
Fix metadata path save
2019-04-17 15:09:31 +02:00
Anthony Lavado
34ab99caf1
Move the ProductName to the public endpoint
...
Moves the ProductName field over from the private system/info point to
the public one, for easier identification
2019-04-16 01:16:02 -04:00
Anthony Lavado
b2f94c0e40
Remove the old message responders
...
Leaves only an answer to "Who is Jellyfin", removing older ones for
EmbyServer and MediaBrowser_v2.
2019-04-15 00:21:14 -04:00
VooDooS
ba12d96d23
Removed wrapping of HeaderNames fields
2019-04-12 15:25:18 +02:00
VooDooS
bb807554e2
Replace CRLF injection mitigation by use of .NET ip parsing
2019-04-12 13:48:12 +02:00
VooDooS
56d1050bac
Replace custom ip "normalization" by methods from IPAddress
2019-04-11 17:49:18 +02:00
VooDooS
a6e1b23eb0
Simplify headers use in WSS
2019-04-11 17:49:14 +02:00
Joshua M. Boniface
75a4f04cce
Merge pull request #1209 from joshuaboniface/hotfix-authprovider-create
...
Override username with AuthenticationProvider
2019-04-10 00:18:08 -04:00