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

Admin Portal - Selfhosted

This commit is contained in:
hillelcoren 2024-01-24 15:00:37 +00:00
parent 9abc79b5d6
commit 562b822e55

View File

@ -43499,7 +43499,7 @@ if(B.c.c_(a,"https://invoicing.co"))e=""
s=A.f9N()
r=e==null?"":e
q=t.N
p=A.q(["X-CLIENT-PLATFORM",s,"X-CLIENT-VERSION","5.0.151","X-API-SECRET",r,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],q,q)
p=A.q(["X-CLIENT-PLATFORM",s,"X-CLIENT-VERSION","5.0.152","X-API-SECRET",r,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],q,q)
if(b.length!==0)p.A(0,"X-API-Token",b)
s=c==null
if((s?"":c).length!==0)p.A(0,"X-API-OAUTH-PASSWORD",s?"":c)
@ -43509,10 +43509,10 @@ p.A(0,"X-API-PASSWORD-BASE64",B.fC.gvQ().eQ(s))}return p},
dZO(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.r(A.fpe(p,b.gjC(b),b.c))
else if(r==null){p=b.gjC(b).length>200?B.c.aQ(b.gjC(b),0,200):b.gjC(b)
throw A.r("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.LO("5.0.151")
throw A.r("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.LO("5.0.152")
q.toString
s=A.VN(s,A.LO(q))
if(s<0)throw A.r("Error: client not supported, please update to the latest version [Current v5.0.151 < Minimum v"+q+"]")
if(s<0)throw A.r("Error: client not supported, please update to the latest version [Current v5.0.152 < Minimum v"+q+"]")
else{s=A.VN(A.LO(r),A.LO("5.0.4"))
if(s<0)throw A.r("Error: server not supported, please update to the latest version [Current v"+r+" < Minimum v5.0.4]")
else if(p>=400)throw A.r(A.fpe(p,b.gjC(b),b.c))}}},
@ -218308,7 +218308,7 @@ return s.a=s.a+("\n \u2022 "+A.u(a))},
$S:10}
A.eN9.prototype={
$1(a){a.a="https://21e3763afb044f1fb75d832fd9f06b73@sentry2.invoicing.co/3"
a.fx=a.CW="5.0.151"
a.fx=a.CW="5.0.152"
a.ax=new A.eN6(this.a)},
$S:1166}
A.eN6.prototype={
@ -220320,7 +220320,7 @@ s=r==="system"?s.cx:r==="dark"}else s=!1
if(s)o=p}return A.iA(o)},
gOP(a){var s="v"+this.z.a[this.y.a].b.x.x
if(s.length!==0)s+="-"
return B.c.ap(s+A.frs(),B.a.ga6("5.0.151".split(".")))},
return B.c.ap(s+A.frs(),B.a.ga6("5.0.152".split(".")))},
guP(){var s=this,r=s.x.rx.b.h(0,s.z.a[s.y.a].b.f.dn).a.a,q=A.J(r).i("a5<1>")
return A.y(new A.a5(r,new A.bBy(s),q),!0,q.i("t.E"))},
gaI7(){var s=this.x.rx.b.h(0,this.z.a[this.y.a].b.f.dn).a