1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 14:12:44 +01:00

Admin Portal - Selfhosted

This commit is contained in:
hillelcoren 2023-06-19 09:52:46 +00:00
parent 962b6085a1
commit 034ea24342

View File

@ -39563,7 +39563,7 @@ cOE:function cOE(){},
brD(a,b,c,d,e){var s,r
if(B.c.cp(a,"https://invoicing.co"))e=""
s=t.X
r=A.u(["X-CLIENT-VERSION","5.0.120","X-API-SECRET",e,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],s,s)
r=A.u(["X-CLIENT-VERSION","5.0.121","X-API-SECRET",e,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],s,s)
if(b.length!==0)r.t(0,"X-API-Token",b)
if((c==null?"":c).length!==0)r.t(0,"X-API-OAUTH-PASSWORD",c)
if((d==null?"":d).length!==0){s=B.aN.gjF().ex(d)
@ -39571,8 +39571,8 @@ r.t(0,"X-API-PASSWORD-BASE64",B.f7.gjF().ex(s))}return r},
dPg(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.fan(p,b.gio(b)))
else if(r==null){p=b.gio(b).length>200?B.c.b4(b.gio(b),0,200):b.gio(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.axG(A.axH("5.0.120"),A.axH(q))
if(s<0)throw A.i("Error: client not supported, please update to the latest version [Current v5.0.120 < 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.axG(A.axH("5.0.121"),A.axH(q))
if(s<0)throw A.i("Error: client not supported, please update to the latest version [Current v5.0.121 < Minimum v"+A.k(q)+"]")
else{s=A.axG(A.axH(r),A.axH("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.fan(p,b.gio(b)))}}},
@ -203526,7 +203526,7 @@ return A.P($async$$0,r)},
$S:30}
A.ezJ.prototype={
$1(a){a.a="https://21e3763afb044f1fb75d832fd9f06b73@sentry2.invoicing.co/3"
a.dy=a.ay="5.0.120"
a.dy=a.ay="5.0.121"
a.at=new A.ezF(this.a)},
$S:1603}
A.ezF.prototype={
@ -205498,7 +205498,7 @@ r=this.z.a[r].b.x
r=r==null?null:r.x
s="v"+(r==null?"":r)
if(s.length!==0)s+="-"
return B.c.ab(s+A.fcn(),B.a.ga4("5.0.120".split(".")))},
return B.c.ab(s+A.fcn(),B.a.ga4("5.0.121".split(".")))},
gve(){var s=this,r=s.x.RG,q=s.y.a
q=s.z.a[q].b.f.fS
q=r.b.h(0,q).a.a