1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00

Admin Portal - Selfhosted

This commit is contained in:
hillelcoren 2023-01-15 07:18:39 +00:00
parent 595ea7c188
commit 651c46d78b

View File

@ -36631,7 +36631,7 @@ cCw:function cCw(){},
biK(a,b,c,d,e){var s,r
if(B.c.cz(a,"https://invoicing.co"))e=""
s=t.X
r=A.t(["X-CLIENT-VERSION","5.0.104","X-API-SECRET",e,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],s,s)
r=A.t(["X-CLIENT-VERSION","5.0.105","X-API-SECRET",e,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],s,s)
if(b.length!==0)r.u(0,"X-API-Token",b)
if((c==null?"":c).length!==0)r.u(0,"X-API-OAUTH-PASSWORD",c)
if((d==null?"":d).length!==0){s=B.aG.giR().ed(d)
@ -36639,8 +36639,8 @@ r.u(0,"X-API-PASSWORD-BASE64",B.eD.giR().ed(s))}return r},
dxu(a,b){var s=b.e,r=s.h(0,"x-app-version"),q=s.h(0,"x-minimum-client-version"),p=b.b
if(p>=500)throw A.i(A.eNT(p,b.ghN(b)))
else if(r==null){p=b.ghN(b).length>200?B.c.aX(b.ghN(b),0,200):b.ghN(b)
throw A.i("Error: please check that Invoice Ninja v5 is installed on the server\n\nURL: "+a+"\n\nResponse: "+p+"\n\nHeaders: "+s.k(0)+"}")}else{s=A.asB(A.asC("5.0.104"),A.asC(q))
if(s<0)throw A.i("Error: client not supported, please update to the latest version [Current v5.0.104 < Minimum v"+A.k(q)+"]")
throw A.i("Error: please check that Invoice Ninja v5 is installed on the server\n\nURL: "+a+"\n\nResponse: "+p+"\n\nHeaders: "+s.k(0)+"}")}else{s=A.asB(A.asC("5.0.105"),A.asC(q))
if(s<0)throw A.i("Error: client not supported, please update to the latest version [Current v5.0.105 < Minimum v"+A.k(q)+"]")
else{s=A.asB(A.asC(r),A.asC("5.0.4"))
if(s<0)throw A.i("Error: server not supported, please update to the latest version [Current v"+r+" < Minimum v5.0.4]")
else if(p>=400)throw A.i(A.eNT(p,b.ghN(b)))}}},
@ -188681,7 +188681,7 @@ return A.O($async$$0,r)},
$S:31}
A.eeY.prototype={
$1(a){a.a="https://21e3763afb044f1fb75d832fd9f06b73@sentry2.invoicing.co/3"
a.dy=a.ay="5.0.104"
a.dy=a.ay="5.0.105"
a.at=new A.eeU(this.a)},
$S:3012}
A.eeU.prototype={
@ -190553,7 +190553,7 @@ r=this.y.a[r].b.x
r=r==null?null:r.x
s="v"+(r==null?"":r)
if(s.length!==0)s+="-"
return B.c.ah(s+A.ePo(),B.a.ga0("5.0.104".split(".")))},
return B.c.ah(s+A.ePo(),B.a.ga0("5.0.105".split(".")))},
gx6(){var s=this,r=s.w.ok,q=s.x.a
q=s.y.a[q].b.f.eo
q=r.b.h(0,q).a.a