From e9c171f7ab0a6b706aa6f3adc991d040cc102c56 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 8 Apr 2023 22:18:22 -0500 Subject: [PATCH] fix(web): show OAuth login button when disabled (#2219) * fix(web): show OAuth login button when disable * update api --- mobile/openapi/doc/APIKeyApi.md | Bin 8522 -> 8532 bytes mobile/openapi/doc/AlbumApi.md | Bin 22176 -> 22200 bytes mobile/openapi/doc/AssetApi.md | Bin 43607 -> 43639 bytes mobile/openapi/doc/AuthenticationApi.md | Bin 7280 -> 7290 bytes mobile/openapi/doc/DeviceInfoApi.md | Bin 2050 -> 2052 bytes mobile/openapi/doc/JobApi.md | Bin 3570 -> 3574 bytes mobile/openapi/doc/OAuthApi.md | Bin 6265 -> 6275 bytes mobile/openapi/doc/SearchApi.md | Bin 6726 -> 6732 bytes mobile/openapi/doc/ServerInfoApi.md | Bin 5029 -> 5037 bytes mobile/openapi/doc/ShareApi.md | Bin 8692 -> 8702 bytes mobile/openapi/doc/SystemConfigApi.md | Bin 6760 -> 6768 bytes mobile/openapi/doc/TagApi.md | Bin 8306 -> 8316 bytes mobile/openapi/doc/UserApi.md | Bin 16231 -> 16251 bytes mobile/openapi/lib/api/album_api.dart | Bin 21103 -> 21051 bytes mobile/openapi/lib/api/api_key_api.dart | Bin 7816 -> 7830 bytes mobile/openapi/lib/api/asset_api.dart | Bin 45632 -> 45520 bytes .../openapi/lib/api/authentication_api.dart | Bin 8162 -> 8136 bytes mobile/openapi/lib/api/device_info_api.dart | Bin 2132 -> 2137 bytes mobile/openapi/lib/api/job_api.dart | Bin 3578 -> 3582 bytes mobile/openapi/lib/api/o_auth_api.dart | Bin 7582 -> 7565 bytes mobile/openapi/lib/api/search_api.dart | Bin 8331 -> 8322 bytes mobile/openapi/lib/api/server_info_api.dart | Bin 5980 -> 5933 bytes mobile/openapi/lib/api/share_api.dart | Bin 7918 -> 7938 bytes mobile/openapi/lib/api/system_config_api.dart | Bin 6323 -> 6265 bytes mobile/openapi/lib/api/tag_api.dart | Bin 7636 -> 7668 bytes mobile/openapi/lib/api/user_api.dart | Bin 16351 -> 16367 bytes mobile/openapi/test/album_api_test.dart | Bin 2334 -> 2514 bytes mobile/openapi/test/api_key_api_test.dart | Bin 1084 -> 1159 bytes mobile/openapi/test/asset_api_test.dart | Bin 4928 -> 5168 bytes .../openapi/test/authentication_api_test.dart | Bin 1160 -> 1235 bytes mobile/openapi/test/device_info_api_test.dart | Bin 635 -> 650 bytes mobile/openapi/test/job_api_test.dart | Bin 735 -> 765 bytes mobile/openapi/test/o_auth_api_test.dart | Bin 1085 -> 1160 bytes mobile/openapi/test/search_api_test.dart | Bin 1127 -> 1172 bytes mobile/openapi/test/server_info_api_test.dart | Bin 949 -> 1009 bytes mobile/openapi/test/share_api_test.dart | Bin 1156 -> 1231 bytes .../openapi/test/system_config_api_test.dart | Bin 1003 -> 1063 bytes mobile/openapi/test/tag_api_test.dart | Bin 1029 -> 1104 bytes mobile/openapi/test/user_api_test.dart | Bin 1765 -> 1915 bytes server/immich-openapi-specs.json | 77 ++++++++++++++++++ .../lib/components/forms/login-form.svelte | 2 +- 41 files changed, 78 insertions(+), 1 deletion(-) diff --git a/mobile/openapi/doc/APIKeyApi.md b/mobile/openapi/doc/APIKeyApi.md index b3815f7da3f9cf62698873e24c59485f14a27ca6..f28922c0d38fe0f959a4476f08724250f699910e 100644 GIT binary patch delta 47 zcmX@*bj4{yEYs#geE*m>N3xbO16hvDn|XP*gT##3Hh&V?#R_DZF>ih#o5c(O)p`<^ delta 56 zcmccObjoQ%EYs#o9DkTLN3)hP16ki#frLHt#5H_OQG1Mw`FC*Spv z*sP;+n+eFXW8Unp#m@p{eP!D0Yj_tTHhDLP`{s@2+E8OdK4rEWNr5e Kgt9z>3zz}nC@**b diff --git a/mobile/openapi/doc/AssetApi.md b/mobile/openapi/doc/AssetApi.md index 3a910edb2e86e0344cde8b900fd4bc84b12cfb51..de0ad6a8b56b8865abf6fef13caec8479f888781 100644 GIT binary patch delta 211 zcmcb9h3WehrVTQjn}y=OGfiHg&%RlLM?@ILW818*^o<$9dr;4@SxR#vgtvKt{vNnE z`{oF{L!~z%Hd^ge@#CycL`BU;PR+zZw=2tl%Kqe_NZ~j?) qjtRngR@nr15!>eEHZCM{GJ2tI0J_$5v-y;X+%U7aH=kJ4&kg{Lm{y$t delta 224 zcmexPDbLb)8B@~OEjyJM5w$G zB*uc^y^b^o@gA@O2^HqeTIo}m;F6Qq={s-!m-7K+lsxlh{*rSbIeF&E{3Yz0S*xm% eoL1Y$g=A<;??i<4U{gY;Oyq`}yZP~=DeM5!d05B* diff --git a/mobile/openapi/doc/AuthenticationApi.md b/mobile/openapi/doc/AuthenticationApi.md index 5b529cadb1c72179e3def0aa81b2be8dea4b88a1..4ce630177a6efd49e6d976c158634dc1d28ba05f 100644 GIT binary patch delta 45 zcmexh@ylYv5vI+Dn2s_p{v^P>xs`JX^W;NJS(_*FCNppTByfQhNT@S!elFR`1OVf7 B6Tbie delta 53 zcmexm@xfxl5vIxdycwJIn4_724D-##g2$OQcXBRa-mK4i8YVQI6)eXrUd{>t5zG;x diff --git a/mobile/openapi/doc/DeviceInfoApi.md b/mobile/openapi/doc/DeviceInfoApi.md index 092487151269cfff09023ed568356cc9248f662b..e0a9a7de3af5c6717a716159f2aa3dfbef007d61 100644 GIT binary patch delta 12 TcmZn?Xc5@Z#<;nKv5pM@98d%r delta 12 TcmZn>XcE}a#<;nIv4#x*9AE?- diff --git a/mobile/openapi/doc/JobApi.md b/mobile/openapi/doc/JobApi.md index 5c6dff1cc31df2ec4c0250cc067ecd4a5b64d6b9..96979c4e19720bc254635e7af950ced16a7f5398 100644 GIT binary patch delta 17 Zcmew){Y`qqD#pz#7%#DIu3)cX0{~0n2VVdH delta 22 dcmew+{YiSmD#p!q?4Ox7&u6*I1Y}jP0RVcK36cN+ diff --git a/mobile/openapi/doc/OAuthApi.md b/mobile/openapi/doc/OAuthApi.md index b0952f865cddcb81771d5bd879cb42960d4eb93a..e6ceb2bdc3dd24a9ef7a30bea56f2bf0989ef159 100644 GIT binary patch delta 65 zcmexq&}_INk7=^7u;t`RHoeIlyz!fjm<5iuCH^$9Qd_R~b@8{CmEXKN-3C!EPpR1J_$YS9E03UP>yZ`_I delta 32 lcmX?Oa?E7IH^$9p*%g>KOR#Qc0Me diff --git a/mobile/openapi/doc/ServerInfoApi.md b/mobile/openapi/doc/ServerInfoApi.md index b9d3ab5a22c2b17b7b8b42f9fffdd366e797dd48..aa74bf56ca5771e3c1cd47214665a3104dece0b5 100644 GIT binary patch delta 44 wcmZ3gzE*uh6w_t{Zgu9(^{lIyCL3^DZcgC11QOc83gS&p;PBg=D`>$408JeZ1ONa4 delta 48 wcmZ3hzEpif6w~An0_L0Zx!*BuZe(2r;gRnNNlgTP)U0OxHJj{pDw diff --git a/mobile/openapi/doc/ShareApi.md b/mobile/openapi/doc/ShareApi.md index e669d1c41f0fb89bc6cfd1315d1c32e7d2d6c7e6..335c39d08a70469f8f6c09eef25461dee58fa1c9 100644 GIT binary patch delta 56 zcmez3{LgvATBgnNGN#O%AFy6y2C}|0ZC=fD7bNzVX>+qs7)Z>4dGb0T`ORjMuR-Eh FSpk* diff --git a/mobile/openapi/doc/SystemConfigApi.md b/mobile/openapi/doc/SystemConfigApi.md index 9cd479fc8908ac3d80f50100ee0d850ac5a7fab2..d033f2f8d6553706fdd3b19b4cf8ceac128c90ad 100644 GIT binary patch delta 42 rcmaE1^1)<7Bh%)3ruD2qLW6m82=^Wk7sxUbd<0_sW7;et9>NR&W|9vv delta 42 rcmexh^1@_8Bh%()rnRg^d<0_sVcIMs9>NR&Xgm)~ diff --git a/mobile/openapi/doc/TagApi.md b/mobile/openapi/doc/TagApi.md index c3cf63232befd7f335b938dc3c592d0af45db69b..ba0aea9c26ecba81549c2590e8a164179ba62ef7 100644 GIT binary patch delta 52 zcmez5@W)|;IMe2H!oQg|3$WTV16g*=o4dI;g2cWuZPpiD2x9570SRN~%{sDf%m6rF B6Po}4 delta 56 zcmez4@X29=IMZfUsh>=ng;?#GfhFZ8jBL2x1vBZ{`&L1!9%6 F0RR&)5nKQO diff --git a/mobile/openapi/doc/UserApi.md b/mobile/openapi/doc/UserApi.md index 872a6cb5f3a79091f57a62f7a8e750b4dab3f582..d820878b43185f4172cd66401ede7ccc536b0327 100644 GIT binary patch delta 101 zcmaD}_q%SxU*^q^mHseo{?1kkWu@`vf>`m)n+-%>F+pTSq|`xT-|2x4M@dbrp+cc#>@a$``&32q=H|5Nvf4XNJeI{LT+kFMt+JyQEEwPQC_h^Nk*!I zM@UG3LUd4SaY24wacZm{MAPI8e!i1mv-(W#7U$YLpNWl`4I#eyHR}{+>R7Q^p6e15 zlF^gpx%4K>I16vC;AN+d6-tvGq_{VK5a>p-1}rxDgMcQ;s>$-lhPo+>^8*~-lhQf<`nk;CK%_JW(!<)V;`2Z^z7W>jRRR@5J0<(T|H%@rK||CFX6 zNB?A?+~x;rbClqQ>-FWfxcx{Nx;`%Zr5WCl(-AMMv8`(pDmr!;C=A>gF~wnEi? aDT);WUVhX`IgOk3d{)AY-h9DtJ~IFp`f64H delta 1212 zcmdnJgz^0n#tkbNLjqEZ((;RPixm>{6g)yg0upilxIqk+UU6!y-sB0MzMIXMVwfjS z_jH?V#^kfvkj;ZRm`JNii&Kk8v1zgnuioUh-dvmQxn?neY}~BF>%r`T#Ww$7n9qp! zh|**|aqh_rgf&4{Os*5>-mD<#3$jKUB(Zscur_lzUaRzzi&7IyQgw?n5{pt(baOKE zvPrOgv!3_^m~C#GYor{Q12AoKarJQxam9!<;;nI*yun^@v!7fP$SO-9hkf%`1!l%D zOsm{oVL^zLI8yS<^K$YNQ;4@PbaS85V^H$&o7|`5x>-=&l35J9Ws@1TC8TgCyUmqa zzD%3X>ilQ&#jYPcC6nOB$w!qWHdh(!2L+1X<|)RK%+C1iAl_u9%>w32K)#orEMUHH zbFFn5wlstzR!Pr_lMg$YfiuWK`}H8dxNSb{l*TNH=@+PtlQZ4r)o=$nT23zn8~xO6 iDbwcZo>Lh8F^vsy3~~0LAa(j~-syc8;_#P#LCgSZ!L$1S diff --git a/mobile/openapi/lib/api/api_key_api.dart b/mobile/openapi/lib/api/api_key_api.dart index fb6cc9941d7c788c3e85d86c928f0f803e68c0b6..e13eb32e1a6d1b4b961507cdfec186237f25f578 100644 GIT binary patch delta 453 zcmeCMoo2gX6{91Uf`Y!jK7>^8%P&c_QV7Y&ELO-(Ey>7FQ7B3+DJ{w?Rw&6xRqzN2 z2~da*N-ZwP&nr%i)q`l7oXDXx`2>sED=0uK3NX9x% z*5m$4xv4;h`)uCHStt|Gb6da|B`^JJhaH#bOgFarQSyMu=S delta 453 zcmbPc+hMz56{A}~YEfE#QEst9VxEFWNJxN!dVqg$h=P7%L8fkYYNfhDenDzcVo7Fx z9#BP!LQ!f-X;EIWLP`nrSi{zx3t{ zEI!P>m=?IW`nZO;!mZG+&P=H#-X5pT^Em=Q=37rT=l<%2X}r5D!ucedy`IO5X)_zY v7_%jQgYmd`v$v1|)8-}-LuM?F3kW6Kan_slC9Z-zZZcV4!g+ItG#@hn!hoE< diff --git a/mobile/openapi/lib/api/asset_api.dart b/mobile/openapi/lib/api/asset_api.dart index 620da42f763f820772287a01de0ef5f97e39eaad..ea05bf84497363451e24edf25f23413c4c68918d 100644 GIT binary patch delta 470 zcmX@`gz3U#rVT3?Ctq+)-Yn0g#XNcAY>mnCOg@`8u!;zSL?;`_cuf93gKKk#WG@p) zcC&#@FEd!?hLQ` zx+V~NZs>+=t~N}N2Ak#(;07{na(yDlWRC!z$$vvcfi(YQzX;CF_k7(UHaG;FhuG~9 zz%hAEIM`)i9rvTzCohN)pS;hPW3p9*!{i1b`^^(We=vgm15~_uP55DuPP@qh`681S z__A)kAFay7qOY&7u$eJV3RS8-Q64I_I9VGc)i>ES+ivrQbbpY$gEzZo7lSoy7Ra}S zD4gt2F19(LFa&0f^k&skIj9*9z#NDUP!O7e%QM;{+j0$z`N)nkY-g z4+5niO;;q9((;H}T10ADmQ=JH#erG~uej!MCg%o@_(0%DZ3I?anIWbP@9H(S4X#_% z;ZzVP-vNPtP5Ck9OMyI+AZJ@KGl?q+Hqij}B0fw#vc%zI@CkXNRXCYwmM_S6q@v6T zv31M6Iib=62s5(-*s~Qfo)q>+2jP79josCs4_tkd_`<$zW}K;$w>s3{*gam>C5_JB zrT>kE;|l|@%Ko%HG+yv3n}Sd2bu!h;Ju<{5R#%Zii%vU_N4W^RSQ;bn`}7ceU+yPo z9HmvnDSV#Rka2JhuE8jmB=BLy2lx0>WZF?u%j>1A#EHfK+Bpd19@;C=*fr=YsN|d@ znb(aVFtb7Ctw3<<$S^8|ceE4mP6`t6qnsnX?X|H-A3oE0bxj@E(Z&e)yq0m_Y}M!( zUJ5G7YskU$zw*nxitUYQ+mh{#Mf}`#8p`)Ckn?SjNAt@Xa1Rt*-<*Vt4@CPY>YLS$ v#vD|8x#>ojs8#|etB;$*1<%%=`{~jVloGE>E9rO6)LR+~3))WVDg zTBo$xgWH2z#_t!j0lVIjKN-b}{epJP&|o1ta5h_unlMdXAjq;gNBjm8sk$dyiz;kh NDWw51;hc;JGXPlCe8&I) delta 482 zcmX?M|HyvBF2=xs)S|TfqTFJI#5@I$kdOcc^#K3i5C#3j(vl4Q#FX63Jl*2V^gP|t z0(FJ_g4CkKlFa-(pyCvTqSTVoqP${-l8jV^=%Cc%g8aPV)L6aA_8dx+&$DPvp3T9v zIglxgX|fxK^yc#{`pm(2?Mlu_%u7$zEl4abF3&GYA=0+Z_8d1sHiT}j;^t%a#A`!N zetKpek>-MZu}9Db>bOn>9sEm^P<~UuAN|YfxEYPG(AC nNoq)bb}BwcPu3Jw*xVtd!Nl%X3XG3bo5_jta+~kSykP$#`^ diff --git a/mobile/openapi/lib/api/device_info_api.dart b/mobile/openapi/lib/api/device_info_api.dart index b65b6bd713dde3e128792a3ec828daa4c4a2911e..ac3c81842d79fe4487bb45a35ccf2090443221c6 100644 GIT binary patch delta 94 zcmca2a8qEzCPqgt1qFS5eF&-GmtT@Cv^Ldt5W&md(9LE3v delta 95 zcmca9a7AFlCPvSI)S|TfqTFJI#5@I$kdOcc^?=Y21^txNvdrXE-ORkSe07EVg4CkK ylFa-(prRCoqSTVoqP${-l8jV^=%Cc%g8aPV)L6aAS6C7@2QyVOZNAM?#|!{?K_aFA diff --git a/mobile/openapi/lib/api/job_api.dart b/mobile/openapi/lib/api/job_api.dart index 7e4037832cb8173cb48a5d2530a399942c47bd96..a3c0e87aabe3ad19614834a679d67ee061801cc9 100644 GIT binary patch delta 157 zcmew*{ZD$s5=MP41qFS5D5>C=Uy^F25R#EutdN^pl98XHP?TCyT9j9;P?C|V;1LoM zu=y6F850Xohr(uFmVZo+Bx+ZP4oWR9$j>WIjn#u_-5koU!psI?PYz|T+x&rxix~i@ CsV-{( delta 177 zcmew-{Y!eo5=N(h)S|TfqTFJI#5@I$kdOccb$8bg1^ul2q+)f2{DRb?#FEVXJfLif zLQ!f-X;EIWLPMxL`OV~oX<$Go)Ij}eps}7Q WwL}`c*@s<)d2%p&`Q|TNT+9F%mp-BZ diff --git a/mobile/openapi/lib/api/o_auth_api.dart b/mobile/openapi/lib/api/o_auth_api.dart index b8778596a7148e5fd06f943e54dee66425c09eed..61165c9a2d70da05ac1ff94b1b81bf21c503e2ba 100644 GIT binary patch delta 417 zcmbPd-D|yJ1*0REf`Y!jK7>^8%P&c_QV7Y&ELO-(Ey>7FQ7B3+DJ{w?Rw&6xRqzN2 z2~da*N-ZwP&nr%i)q`l7e336@b0kv=6C0c#wON3biJ2-!YfN_F)|>3l#I<=ZM-q}1 z8k-%sJ*Z&C=8Jp>kc^F*d|OIr^Ebh#Owb@9I$$Qxmr&U3B&y290t`-t$tmK0NHt;e PdL4ICwYOLPmvwSI=eVJ02CSTzT-Ym$< z#OzJL{QSJM%yi;S*VtUcF$-k6;^Z0*z0F13Qp}$CZOF;YBi8ks&+;9Bxcsf)cP4jC zbKPCx0h61bl$n#NTa=oTS(KVwg2xAw+a(k>8;hzkO^z4;X^&|ra&VXC5peG2b_r9a K&4;B delta 256 zcmZp2>~`F+iqRn;wJ0sWD7RQ4F;BrGBqTsV-Q6`rLBBXPu_!r1KeeJDC%-6FT_L|9 zwJ5P9Gd~ZgE=8dzwWPEtuUMfZBX#mZcIC}~7^Rsu%dvzo+v7JbIX^EgGaZjC=Uy^F25R#EutdN^pl98XHP?TCyT9j9;P?C|V;1LoM zF!=$G%4T6EF(wwEE``l%ET5RjGNO@P5o*MI&VM8uvH1ayHB`F<|7()913jUzIaNpo KYDAsLJthFB2vF1j delta 324 zcmZ3hcSmo-CPv$U)S|TfqTFJI#5@I$kdOccb$8bg1^wdGqO#N?-ORkSe07EVg4CkK zlFa-(prRCoqSTVoqP${-l8n^N4;ihPHY>5bXL2QMjy}-9VxS>-%$xj>QFC)9yA0Fj z9?suPV%W``Y{)Ath1*R)GgLO;;t^+JcPj-tG}UJELP4?3qWq_soUogR>{tDQ%)E5` Q4pi8zF9dX8kjQN&0NT@W*#H0l diff --git a/mobile/openapi/lib/api/share_api.dart b/mobile/openapi/lib/api/share_api.dart index 53993285ab4b30e2e4b11f5fff72d17881e589bf..ce0e4d8d026a9bb877bb9d19ab2b44ad53ae8af1 100644 GIT binary patch delta 477 zcmaE7+hn(41*0REf`Y!jK7>^8%P&c_QV7Y&ELO-(Ey>7FQ7B3+DJ{w?Rw&6xRqzN2 z2~da*N-ZwP&nr%i)q`l7e2`CTvVo}JW?iNyOl+uPlXaQgH}|mWGh0(&&E)rd;+sV| zMVVND4prE!&K<%`xvMuHyi;FUQV;b+`>f;*XN@h53_Lt6ug{{P7 H7P)@_181Y) diff --git a/mobile/openapi/lib/api/system_config_api.dart b/mobile/openapi/lib/api/system_config_api.dart index d2d0ac5ba50fbb21cf9ea60093b245dc0f52e7a5..328a1fc3b7159f20c285eb3beaa8fe65ec69617b 100644 GIT binary patch delta 291 zcmdmN_|ss+Hb#9e1qFS5D5>C=Uy^F25R#EutdN^pl98XHP?TCyT9j9;P?C|V;1LoM zFnJ%3@@5GpQ6?6kE``lnEH{|QG9s5<0cu1S=N*!b*u0M?5vpB=-<;WzL{BJ02c;Gl eqH(DP1{?@0-6P7^uIM7f7I7mELZ8(k<~vH70V GHzoi&xP2-B delta 439 zcmexjeZ_ji5=N(h)S|TfqTFJI#5@I$kdOcc^#K3i5C#2`#B_Cq{DRb?#FEVXJfLif zLQ!f-X;EIWLP5#0QhoiP>&Z{J-kV|?>+VX>$(xyYbeJ}q@@X);;nq)z zn}GiI+5Ae-7VNIg`65@CJTMIoa13$wAlbV>qpdgZ7e5Fx+GO&6aa(YZ@=HHu0ss}i BmJI*^ diff --git a/mobile/openapi/lib/api/user_api.dart b/mobile/openapi/lib/api/user_api.dart index f187652ac2437552472a680722b10fe1b4c9bcf3..51bd6180fb7e5e1ce9746025102c4412e85eef65 100644 GIT binary patch delta 973 zcmca#|Gs|1GDb%(1qFS5eF&-GmtT@@0VXTCRl!%38$~6qf?UHwUO(p|&+g)WgxN zG25J@b(LDyW&+u;S&~PG*$>ln7grzG5Lc)_szJW- zOsOT_qJYiU_(MPz*iVkr658A$beYKs(-L=AXh;!nu+rvzq8$*I=SjpdTjDWPKNnw^ zZ~iT9#x&W5M{;wZ+!3ZoeCD7;qdqx-u}m=q92lF!RIV@u;Ik_;FD;)eD|V}gL#&9? zdd}p5&x+*y(!3H9LVWT*QMS$NbQgg`9n7gS5Mma`v;v&+C-<6&s}YyfH(xYf4R$j) hjodQ3iY<)Ie00P delta 91 zcmca4JWpuDA;!rU8Fx;8!OAnakBxWoCZ-NJJBhh$@^j{0lQ*#BP1a>y0~GIu%C${a VW}gXH_k?}crdXtI2*wUV#+~qW-%*HzQGiM5YS|I_!^ diff --git a/mobile/openapi/test/asset_api_test.dart b/mobile/openapi/test/asset_api_test.dart index f6b5dbd407755e72788da615e4217f90728928f1..3430b2e0399c0ba5ce85e1020a0ccece962913fb 100644 GIT binary patch delta 200 zcmX@0wn1aVAx1`p$?}|{n@=)+VS+FxpJWuDe4AwfkeAOVHMyO&A1W@()&XZpZ$8fU z1Ec|@B%VWj@*~b^U`eUTEnH`ytQhWgunM)wzq!-EVxp5}+4v`y^UMZ|OHG#Jg{T0r o*f;Osjen+a delta 132 zcmdm>aX@XuA;!s9`QrcMMI0?Z?WLk*e{ANOuX=5%x$h>Es2>^{+5vu?I delta 27 jcmcc2*}=KtF5~1kjNOylm}X7ZXYQVSk~wp-Bg-TJrB@3+ diff --git a/mobile/openapi/test/device_info_api_test.dart b/mobile/openapi/test/device_info_api_test.dart index 9fd25bcd342d68a09707e094601b21bb3285ffd5..94897849a9fbf9d0bd93186ff3b47e2c7748c4c6 100644 GIT binary patch delta 20 acmey((#5*rA|rrXz#xDfzDN(L|h delta 11 ScmeBT{mruBBID!-jH>`1aRn~` diff --git a/mobile/openapi/test/job_api_test.dart b/mobile/openapi/test/job_api_test.dart index 54d9a510dddde0e00a7f5a7670eaa62b1485feb2..7cc1a4b2a080b702f1dc806f206c08cd9b27c6c8 100644 GIT binary patch delta 33 fcmcc5`j>UX9!3rYE(IXa*PpzVu?xYmU|J3Uq^AhG delta 15 Xcmey%dY^T}9>&S18Jj1^GA#fAI%x*T diff --git a/mobile/openapi/test/o_auth_api_test.dart b/mobile/openapi/test/o_auth_api_test.dart index bc8b5f3810ebbe2979b606ee146f8ee7006d030f..db5e6c0a21b04a31461228df0e872f1a66b1d39c 100644 GIT binary patch delta 76 ycmdnX(ZRXl5F>{ImjV#z>rdXzI0eD+U|NLWoMo1u%*3375J+dvMR3kC7XSdO(-A)a delta 31 mcmeC++{>}y5aZ;FjJ=a{nPyKGXKtCiia8BPOH4Lr2?PMd-3t@| diff --git a/mobile/openapi/test/search_api_test.dart b/mobile/openapi/test/search_api_test.dart index 85204a5bb6f8cd40fbd9a15e9edc4c28c869963e..89037f3c4977141a32a4e1e7ebb8bfdb15815f97 100644 GIT binary patch delta 47 mcmaFPF@I9ANn0Kmu%+yDRo delta 23 fcmey!zLkB$MaIbw7^^2|F*Q&A!&Ef6mbnA~fK3WA diff --git a/mobile/openapi/test/share_api_test.dart b/mobile/openapi/test/share_api_test.dart index e05839a792290999d1c0dff0d7ccaf0a1c9e86f2..d746800de4ef43ef05001ec6e2ad64f07d25ecbb 100644 GIT binary patch delta 80 zcmZqSJkPn|5F>{ImjV#z>rZ~qq&oQlV=qD=jcEdc^PXu6GDl0PWTc&;S4c diff --git a/mobile/openapi/test/system_config_api_test.dart b/mobile/openapi/test/system_config_api_test.dart index 6cb7aa79d1d26c710984e02ec9a34c1f138337a2..28a3b0ed26455c4c93558188ea622a27b765da58 100644 GIT binary patch delta 67 tcmaFOzMNyjbw&;aE(IXa*PncWu>_f;G&!Cr3|T;G@(HGXgg^lEYyee#5d8oE delta 35 ncmZ3^@tS?Zb;ilh7;}MGdU7pO7?2j8{FSL6NJ~s!&0GTj7Pb!q diff --git a/mobile/openapi/test/tag_api_test.dart b/mobile/openapi/test/tag_api_test.dart index a504aedfaebd7c8cc0b551e384c8ce577e33f43c..ffb6c70a492846aa9455386ff1e856da929d43f0 100644 GIT binary patch delta 80 zcmZqWxWKVt4rZB6mYaN;F#{oB!jy*KOlB%Ya2S~@kU4UbCoq=+0Lgw3 A(f|Me delta 31 mcmcb>(aN!5594GPX7S077&9hEGR03m&Xfn_7fwFH+yel;)C=kW diff --git a/mobile/openapi/test/user_api_test.dart b/mobile/openapi/test/user_api_test.dart index 5163a150041fad11c8b5f8bd5efe16a8038cc4fa..d24f3659062ddbe80ebe5f9600bf003b9a2e96ff 100644 GIT binary patch delta 157 zcmaFL`R~aNfsnf$W{UX9?vHP delta 67 zcmey(_mp?Te#Xh?80SwGWtNycg{cTg*Gyi(+z94-u*6Q@!cq%nN3f<%KFit$W>>ML JfoXR35&%g97Ki`< diff --git a/server/immich-openapi-specs.json b/server/immich-openapi-specs.json index 49b71ae117..7318739e24 100644 --- a/server/immich-openapi-specs.json +++ b/server/immich-openapi-specs.json @@ -4,6 +4,7 @@ "/album": { "get": { "operationId": "getAllAlbums", + "description": "", "parameters": [ { "name": "shared", @@ -53,6 +54,7 @@ }, "post": { "operationId": "createAlbum", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -92,6 +94,7 @@ "/api-key": { "post": { "operationId": "createKey", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -129,6 +132,7 @@ }, "get": { "operationId": "getKeys", + "description": "", "parameters": [], "responses": { "200": { @@ -161,6 +165,7 @@ "/api-key/{id}": { "get": { "operationId": "getKey", + "description": "", "parameters": [ { "name": "id", @@ -198,6 +203,7 @@ }, "put": { "operationId": "updateKey", + "description": "", "parameters": [ { "name": "id", @@ -245,6 +251,7 @@ }, "delete": { "operationId": "deleteKey", + "description": "", "parameters": [ { "name": "id", @@ -277,6 +284,7 @@ "/auth/login": { "post": { "operationId": "login", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -308,6 +316,7 @@ "/auth/admin-sign-up": { "post": { "operationId": "adminSignUp", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -342,6 +351,7 @@ "/auth/validateToken": { "post": { "operationId": "validateAccessToken", + "description": "", "parameters": [], "responses": { "201": { @@ -371,6 +381,7 @@ "/auth/change-password": { "post": { "operationId": "changePassword", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -410,6 +421,7 @@ "/auth/logout": { "post": { "operationId": "logout", + "description": "", "parameters": [], "responses": { "201": { @@ -439,6 +451,7 @@ "/device-info": { "put": { "operationId": "upsertDeviceInfo", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -478,6 +491,7 @@ "/jobs": { "get": { "operationId": "getAllJobsStatus", + "description": "", "parameters": [], "responses": { "200": { @@ -507,6 +521,7 @@ "/jobs/{jobId}": { "put": { "operationId": "sendJobCommand", + "description": "", "parameters": [ { "name": "jobId", @@ -555,6 +570,7 @@ "/oauth/mobile-redirect": { "get": { "operationId": "mobileRedirect", + "description": "", "parameters": [], "responses": { "200": { @@ -569,6 +585,7 @@ "/oauth/config": { "post": { "operationId": "generateConfig", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -600,6 +617,7 @@ "/oauth/callback": { "post": { "operationId": "callback", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -631,6 +649,7 @@ "/oauth/link": { "post": { "operationId": "link", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -670,6 +689,7 @@ "/oauth/unlink": { "post": { "operationId": "unlink", + "description": "", "parameters": [], "responses": { "201": { @@ -699,6 +719,7 @@ "/search": { "get": { "operationId": "search", + "description": "", "parameters": [ { "name": "q", @@ -853,6 +874,7 @@ "/search/config": { "get": { "operationId": "getSearchConfig", + "description": "", "parameters": [], "responses": { "200": { @@ -882,6 +904,7 @@ "/search/explore": { "get": { "operationId": "getExploreData", + "description": "", "parameters": [], "responses": { "200": { @@ -914,6 +937,7 @@ "/server-info": { "get": { "operationId": "getServerInfo", + "description": "", "parameters": [], "responses": { "200": { @@ -943,6 +967,7 @@ "/server-info/ping": { "get": { "operationId": "pingServer", + "description": "", "parameters": [], "responses": { "200": { @@ -964,6 +989,7 @@ "/server-info/version": { "get": { "operationId": "getServerVersion", + "description": "", "parameters": [], "responses": { "200": { @@ -985,6 +1011,7 @@ "/server-info/stats": { "get": { "operationId": "getStats", + "description": "", "parameters": [], "responses": { "200": { @@ -1014,6 +1041,7 @@ "/share": { "get": { "operationId": "getAllSharedLinks", + "description": "", "parameters": [], "responses": { "200": { @@ -1046,6 +1074,7 @@ "/share/me": { "get": { "operationId": "getMySharedLink", + "description": "", "parameters": [ { "name": "key", @@ -1084,6 +1113,7 @@ "/share/{id}": { "get": { "operationId": "getSharedLinkById", + "description": "", "parameters": [ { "name": "id", @@ -1121,6 +1151,7 @@ }, "delete": { "operationId": "removeSharedLink", + "description": "", "parameters": [ { "name": "id", @@ -1151,6 +1182,7 @@ }, "patch": { "operationId": "editSharedLink", + "description": "", "parameters": [ { "name": "id", @@ -1200,6 +1232,7 @@ "/system-config": { "get": { "operationId": "getConfig", + "description": "", "parameters": [], "responses": { "200": { @@ -1227,6 +1260,7 @@ }, "put": { "operationId": "updateConfig", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -1266,6 +1300,7 @@ "/system-config/defaults": { "get": { "operationId": "getDefaults", + "description": "", "parameters": [], "responses": { "200": { @@ -1295,6 +1330,7 @@ "/system-config/storage-template-options": { "get": { "operationId": "getStorageTemplateOptions", + "description": "", "parameters": [], "responses": { "200": { @@ -1324,6 +1360,7 @@ "/user": { "get": { "operationId": "getAllUsers", + "description": "", "parameters": [ { "name": "isAll", @@ -1363,6 +1400,7 @@ }, "post": { "operationId": "createUser", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -1400,6 +1438,7 @@ }, "put": { "operationId": "updateUser", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -1439,6 +1478,7 @@ "/user/info/{userId}": { "get": { "operationId": "getUserById", + "description": "", "parameters": [ { "name": "userId", @@ -1478,6 +1518,7 @@ "/user/me": { "get": { "operationId": "getMyUserInfo", + "description": "", "parameters": [], "responses": { "200": { @@ -1507,6 +1548,7 @@ "/user/count": { "get": { "operationId": "getUserCount", + "description": "", "parameters": [ { "name": "admin", @@ -1538,6 +1580,7 @@ "/user/{userId}": { "delete": { "operationId": "deleteUser", + "description": "", "parameters": [ { "name": "userId", @@ -1577,6 +1620,7 @@ "/user/{userId}/restore": { "post": { "operationId": "restoreUser", + "description": "", "parameters": [ { "name": "userId", @@ -1616,6 +1660,7 @@ "/user/profile-image": { "post": { "operationId": "createProfileImage", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -1656,6 +1701,7 @@ "/user/profile-image/{userId}": { "get": { "operationId": "getProfileImage", + "description": "", "parameters": [ { "name": "userId", @@ -1695,6 +1741,7 @@ "/asset/upload": { "post": { "operationId": "uploadFile", + "description": "", "parameters": [ { "name": "key", @@ -1744,6 +1791,7 @@ "/asset/download/{assetId}": { "get": { "operationId": "downloadFile", + "description": "", "parameters": [ { "name": "assetId", @@ -1792,6 +1840,7 @@ "/asset/download-files": { "post": { "operationId": "downloadFiles", + "description": "", "parameters": [ { "name": "key", @@ -1900,6 +1949,7 @@ "/asset/file/{assetId}": { "get": { "operationId": "serveFile", + "description": "", "parameters": [ { "name": "isThumb", @@ -1966,6 +2016,7 @@ "/asset/thumbnail/{assetId}": { "get": { "operationId": "getAssetThumbnail", + "description": "", "parameters": [ { "name": "assetId", @@ -2022,6 +2073,7 @@ "/asset/curated-objects": { "get": { "operationId": "getCuratedObjects", + "description": "", "parameters": [], "responses": { "200": { @@ -2054,6 +2106,7 @@ "/asset/curated-locations": { "get": { "operationId": "getCuratedLocations", + "description": "", "parameters": [], "responses": { "200": { @@ -2086,6 +2139,7 @@ "/asset/search-terms": { "get": { "operationId": "getAssetSearchTerms", + "description": "", "parameters": [], "responses": { "200": { @@ -2118,6 +2172,7 @@ "/asset/search": { "post": { "operationId": "searchAsset", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -2160,6 +2215,7 @@ "/asset/count-by-time-bucket": { "post": { "operationId": "getAssetCountByTimeBucket", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -2199,6 +2255,7 @@ "/asset/count-by-user-id": { "get": { "operationId": "getAssetCountByUserId", + "description": "", "parameters": [], "responses": { "200": { @@ -2285,6 +2342,7 @@ }, "delete": { "operationId": "deleteAsset", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -2327,6 +2385,7 @@ "/asset/time-bucket": { "post": { "operationId": "getAssetByTimeBucket", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -2599,6 +2658,7 @@ "/asset/shared-link": { "post": { "operationId": "createAssetsSharedLink", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -2638,6 +2698,7 @@ "/asset/shared-link/add": { "patch": { "operationId": "addAssetsToSharedLink", + "description": "", "parameters": [ { "name": "key", @@ -2686,6 +2747,7 @@ "/asset/shared-link/remove": { "patch": { "operationId": "removeAssetsFromSharedLink", + "description": "", "parameters": [ { "name": "key", @@ -2734,6 +2796,7 @@ "/tag": { "post": { "operationId": "create", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -2771,6 +2834,7 @@ }, "get": { "operationId": "findAll", + "description": "", "parameters": [], "responses": { "200": { @@ -2803,6 +2867,7 @@ "/tag/{id}": { "get": { "operationId": "findOne", + "description": "", "parameters": [ { "name": "id", @@ -2840,6 +2905,7 @@ }, "patch": { "operationId": "update", + "description": "", "parameters": [ { "name": "id", @@ -2887,6 +2953,7 @@ }, "delete": { "operationId": "delete", + "description": "", "parameters": [ { "name": "id", @@ -2919,6 +2986,7 @@ "/album/count-by-user-id": { "get": { "operationId": "getAlbumCountByUserId", + "description": "", "parameters": [], "responses": { "200": { @@ -2948,6 +3016,7 @@ "/album/{albumId}/users": { "put": { "operationId": "addUsersToAlbum", + "description": "", "parameters": [ { "name": "albumId", @@ -2997,6 +3066,7 @@ "/album/{albumId}/assets": { "put": { "operationId": "addAssetsToAlbum", + "description": "", "parameters": [ { "name": "albumId", @@ -3052,6 +3122,7 @@ }, "delete": { "operationId": "removeAssetFromAlbum", + "description": "", "parameters": [ { "name": "albumId", @@ -3101,6 +3172,7 @@ "/album/{albumId}": { "get": { "operationId": "getAlbumInfo", + "description": "", "parameters": [ { "name": "albumId", @@ -3146,6 +3218,7 @@ }, "delete": { "operationId": "deleteAlbum", + "description": "", "parameters": [ { "name": "albumId", @@ -3176,6 +3249,7 @@ }, "patch": { "operationId": "updateAlbumInfo", + "description": "", "parameters": [ { "name": "albumId", @@ -3225,6 +3299,7 @@ "/album/{albumId}/user/{userId}": { "delete": { "operationId": "removeUserFromAlbum", + "description": "", "parameters": [ { "name": "albumId", @@ -3265,6 +3340,7 @@ "/album/{albumId}/download": { "get": { "operationId": "downloadArchive", + "description": "", "parameters": [ { "name": "albumId", @@ -3329,6 +3405,7 @@ "/album/create-shared-link": { "post": { "operationId": "createAlbumSharedLink", + "description": "", "parameters": [], "requestBody": { "required": true, diff --git a/web/src/lib/components/forms/login-form.svelte b/web/src/lib/components/forms/login-form.svelte index 2bea728674..0fecd86876 100644 --- a/web/src/lib/components/forms/login-form.svelte +++ b/web/src/lib/components/forms/login-form.svelte @@ -124,7 +124,7 @@ {/if} -{#if !authConfig.enabled} +{#if authConfig.enabled} {#if authConfig.passwordLoginEnabled}