Admin Portal - Selfhosted

This commit is contained in:
hillelcoren 2024-09-08 08:06:10 +00:00
parent c27d8acc9a
commit b7de04de0d

View File

@ -43894,7 +43894,7 @@ if(B.c.c0(a,"https://invoicing.co"))e=""
s=A.ffm() s=A.ffm()
r=e==null?"":e r=e==null?"":e
q=t.N q=t.N
p=A.r(["X-CLIENT-PLATFORM",s,"X-CLIENT-VERSION","5.0.164","X-API-SECRET",r,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],q,q) p=A.r(["X-CLIENT-PLATFORM",s,"X-CLIENT-VERSION","5.0.165","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) if(b.length!==0)p.A(0,"X-API-Token",b)
s=c==null s=c==null
if((s?"":c).length!==0)p.A(0,"X-API-OAUTH-PASSWORD",s?"":c) if((s?"":c).length!==0)p.A(0,"X-API-OAUTH-PASSWORD",s?"":c)
@ -43904,10 +43904,10 @@ p.A(0,"X-API-PASSWORD-BASE64",B.fJ.gw7().eP(s))}return p},
e3u(a,b){var s=b.e,r=s.h(0,"x-app-version"),q=s.h(0,"x-minimum-client-version"),p=b.b e3u(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.p(A.fvm(p,b.gk_(0),b.c)) if(p>=500)throw A.p(A.fvm(p,b.gk_(0),b.c))
else if(r==null){p=b.gk_(0).length>200?B.c.aP(b.gk_(0),0,200):b.gk_(0) else if(r==null){p=b.gk_(0).length>200?B.c.aP(b.gk_(0),0,200):b.gk_(0)
throw A.p("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.Mb("5.0.164") throw A.p("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.Mb("5.0.165")
q.toString q.toString
s=A.Wc(s,A.Mb(q)) s=A.Wc(s,A.Mb(q))
if(s<0)throw A.p("Error: client not supported, please update to the latest version [Current v5.0.164 < Minimum v"+q+"]") if(s<0)throw A.p("Error: client not supported, please update to the latest version [Current v5.0.165 < Minimum v"+q+"]")
else{s=A.Wc(A.Mb(r),A.Mb("5.0.4")) else{s=A.Wc(A.Mb(r),A.Mb("5.0.4"))
if(s<0)throw A.p("Error: server not supported, please update to the latest version [Current v"+r+" < Minimum v5.0.4]") if(s<0)throw A.p("Error: server not supported, please update to the latest version [Current v"+r+" < Minimum v5.0.4]")
else if(p>=400)throw A.p(A.fvm(p,b.gk_(0),b.c))}}}, else if(p>=400)throw A.p(A.fvm(p,b.gk_(0),b.c))}}},
@ -79184,7 +79184,7 @@ aBM:function aBM(a){this.a=a},
cHL:function cHL(a){this.a=a}, cHL:function cHL(a){this.a=a},
cpz:function cpz(){}, cpz:function cpz(){},
cpA:function cpA(a){this.a=a}, cpA:function cpA(a){this.a=a},
aSY:function aSY(a,b){this.a=!1 aSY:function aSY(a,b){this.a=!0
this.b=a this.b=a
this.c=b}, this.c=b},
hwb(a,b,c,d,e){var s,r,q,p=A.a0(a,t.i).c hwb(a,b,c,d,e){var s,r,q,p=A.a0(a,t.i).c
@ -221549,7 +221549,7 @@ return s.a=s.a+("\n \u2022 "+A.t(a))},
$S:10} $S:10}
A.eSA.prototype={ A.eSA.prototype={
$1(a){a.a="https://21e3763afb044f1fb75d832fd9f06b73@sentry2.invoicing.co/3" $1(a){a.a="https://21e3763afb044f1fb75d832fd9f06b73@sentry2.invoicing.co/3"
a.go=a.cy="5.0.164" a.go=a.cy="5.0.165"
a.ay=new A.eSx(this.a)}, a.ay=new A.eSx(this.a)},
$S:1313} $S:1313}
A.eSx.prototype={ A.eSx.prototype={
@ -223576,7 +223576,7 @@ s=r==="system"?s.cx:r==="dark"}else s=!1
if(s)o=p}return A.h2(o)}, if(s)o=p}return A.h2(o)},
gPM(a){var s="v"+this.y.a[this.x.a].b.x.x gPM(a){var s="v"+this.y.a[this.x.a].b.x.x
if(s.length!==0)s+="-" if(s.length!==0)s+="-"
return B.c.ap(s+A.fxC(),B.a.ga6("5.0.164".split(".")))}, return B.c.ap(s+A.fxC(),B.a.ga6("5.0.165".split(".")))},
gv5(){var s=this,r=s.w.RG.b.h(0,s.y.a[s.x.a].b.f.dk).a.a,q=A.J(r).i("a7<1>") gv5(){var s=this,r=s.w.RG.b.h(0,s.y.a[s.x.a].b.f.dk).a.a,q=A.J(r).i("a7<1>")
return A.v(new A.a7(r,new A.bD8(s),q),!0,q.i("x.E"))}, return A.v(new A.a7(r,new A.bD8(s),q),!0,q.i("x.E"))},
gaK7(){var s=this.w.RG.b.h(0,this.y.a[this.x.a].b.f.dk).a gaK7(){var s=this.w.RG.b.h(0,this.y.a[this.x.a].b.f.dk).a