1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Admin Portal - Selfhosted

This commit is contained in:
hillelcoren 2023-11-01 11:19:41 +00:00
parent 7361c7d1c8
commit b60d4225b2
2 changed files with 6 additions and 6 deletions

View File

@ -42213,7 +42213,7 @@ if(B.c.bV(a,"https://invoicing.co"))e=""
s=A.f26()
r=e==null?"":e
q=t.N
p=A.q(["X-CLIENT-PLATFORM",s,"X-CLIENT-VERSION","5.0.127","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.128","X-API-SECRET",r,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],q,q)
if(b.length!==0)p.u(0,"X-API-Token",b)
s=c==null
if((s?"":c).length!==0)p.u(0,"X-API-OAUTH-PASSWORD",s?"":c)
@ -42223,10 +42223,10 @@ p.u(0,"X-API-PASSWORD-BASE64",B.eQ.gjU().eq(s))}return p},
dTo(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.fhh(p,b.gjf(b),b.c))
else if(r==null){p=b.gjf(b).length>200?B.c.aQ(b.gjf(b),0,200):b.gjf(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.l(0)+"}")}else{s=A.a5u("5.0.127")
throw A.r("Error: please check that Invoice Ninja v5 is installed on the server\n\nURL: "+a+"\n\nResponse: "+p+"\n\nHeaders: "+s.l(0)+"}")}else{s=A.a5u("5.0.128")
q.toString
s=A.aiH(s,A.a5u(q))
if(s<0)throw A.r("Error: client not supported, please update to the latest version [Current v5.0.127 < Minimum v"+q+"]")
if(s<0)throw A.r("Error: client not supported, please update to the latest version [Current v5.0.128 < Minimum v"+q+"]")
else{s=A.aiH(A.a5u(r),A.a5u("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.fhh(p,b.gjf(b),b.c))}}},
@ -212770,7 +212770,7 @@ return s.a=s.a+("\n \u2022 "+A.t(a))},
$S:11}
A.eFP.prototype={
$1(a){a.a="https://21e3763afb044f1fb75d832fd9f06b73@sentry2.invoicing.co/3"
a.fx=a.CW="5.0.127"
a.fx=a.CW="5.0.128"
a.ax=new A.eFM(this.a)},
$S:3366}
A.eFM.prototype={
@ -214770,7 +214770,7 @@ s=r==="system"?s.cx:r==="dark"}else s=!1
if(s)o=p}return A.it(o)},
gNm(a){var s="v"+this.z.a[this.y.a].b.x.x
if(s.length!==0)s+="-"
return B.c.ao(s+A.fj5(),B.a.ga8("5.0.127".split(".")))},
return B.c.ao(s+A.fj5(),B.a.ga8("5.0.128".split(".")))},
gu_(){var s=this,r=s.x.rx.b.h(0,s.z.a[s.y.a].b.f.fY).a.a,q=A.J(r).i("a7<1>")
return A.x(new A.a7(r,new A.by9(s),q),!0,q.i("v.E"))},
gaGi(){var s=this.x.rx.b.h(0,this.z.a[this.y.a].b.f.fY).a

File diff suppressed because one or more lines are too long