1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

Admin Portal - Selfhosted

This commit is contained in:
hillelcoren 2021-10-31 19:19:05 +00:00
parent 6b8043ebe6
commit 3dce68f39c
2 changed files with 14 additions and 15 deletions

View File

@ -58830,7 +58830,7 @@ _.z=_.y=_.x=_.r=_.f=_.e=_.d=_.c=_.b=_.a=null},
aZ1:function(a,b,c,d,e){var s,r
if(C.c.dP(a,"https://invoicing.co"))e=""
s=t.X
r=P.r(["X-CLIENT-VERSION","5.0.62","X-API-SECRET",e,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],s,s)
r=P.r(["X-CLIENT-VERSION","5.0.63","X-API-SECRET",e,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],s,s)
if(b.length!==0)r.D(0,"X-API-Token",b)
if((c==null?"":c).length!==0)r.D(0,"X-API-OAUTH-PASSWORD",c)
if((d==null?"":d).length!==0){s=C.aD.ghS().eB(d)
@ -58839,8 +58839,8 @@ cN0:function(a){var s,r=a.e,q=r.h(0,"x-app-version"),p=r.h(0,"x-minimum-client-v
r=a.b
if(r>=500)throw H.h(F.dS1(r,a.gip(a)))
else if(q==null)throw H.h("Error: please check that Invoice Ninja v5 is installed on the server")
else{s=Q.afI(Q.afJ("5.0.62"),Q.afJ(p))
if(s<0)throw H.h("Error: client not supported, please update to the latest version [Current v5.0.62 < Minimum v"+H.j(p)+"]")
else{s=Q.afI(Q.afJ("5.0.63"),Q.afJ(p))
if(s<0)throw H.h("Error: client not supported, please update to the latest version [Current v5.0.63 < Minimum v"+H.j(p)+"]")
else{s=Q.afI(Q.afJ(q),Q.afJ("5.0.4"))
if(s<0)throw H.h("Error: server not supported, please update to the latest version [Current v"+q+" < Minimum v5.0.4]")
else if(r>=400)throw H.h(F.dS1(r,a.gip(a)))}}},
@ -159182,7 +159182,7 @@ return s.a=J.eK(s.a,"\n \u2022 "+H.j(a))},
$S:10}
F.dlM.prototype={
$1:function(a){a.a="https://634363c8dd6048b8ae89ab6c66dd9c24@sentry.invoicing.co/7"
a.go=a.cy="5.0.62"
a.go=a.cy="5.0.63"
a.ch=new F.dlL(this.a)},
$S:759}
F.dlL.prototype={
@ -160083,8 +160083,8 @@ s=6
return P.V(V.mW(),$async$$3)
case 6:l=b6
k=H.je(J.b(l.a,"app_version"))
l.tC("String","app_version","5.0.62")
if(!J.m(k,"5.0.62")){n.b.fK(0)
l.tC("String","app_version","5.0.63")
if(!J.m(k,"5.0.63")){n.b.fK(0)
n.c.fK(0)
n.d.fK(0)
for(j=0,a0=n.e;j<10;++j)a0[j].fK(0)
@ -160654,7 +160654,7 @@ r=J.b(this.z.a,r).b.y
r=r==null?null:r.y
s="v"+(r==null?"":r)
if(s.length!==0)s+="-"
return C.c.at(s+D.dSZ(),C.b.gac("5.0.62".split(".")))},
return C.c.at(s+D.dSZ(),C.b.gac("5.0.63".split(".")))},
gBx:function(){var s=this,r=s.x.fy,q=s.y.a
q=J.b(s.z.a,q).b.f.dL
q=J.ci(J.b(r.b,q).a.a,new T.b0r(s))
@ -194363,13 +194363,12 @@ Y.aS7.prototype={
ax:function(){var s,r=this
r.aF()
s=r.a
s=s.c.c.ghc()
r.dy=!s
if(s){s=window.document.documentElement
s.toString
s=s.getAttribute("data-"+new W.Vi(new W.LN(s)).q6("login"))==="true"}else s=!0
s=!s.c.c.ghc()
r.dy=s
if(s){r.dx=!0
r.fr=!1}},
r.fr=!1}else{s=window.document.documentElement
s.toString
if(s.getAttribute("data-"+new W.Vi(new W.LN(s)).q6("login"))==="true")r.fr=!1}},
aa:function(){var s=this.y
if(s.a.a.length===0)s.sU(0,this.a.c.c.b)
this.aL()},

File diff suppressed because one or more lines are too long