Add IP location service
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pierre HUBERT 2022-11-12 17:01:45 +01:00
parent 42d2c20ce3
commit bfe65b0216
278 changed files with 119 additions and 34 deletions

1
Cargo.lock generated
View File

@ -512,6 +512,7 @@ dependencies = [
"include_dir",
"jwt-simple",
"lazy-regex",
"lazy_static",
"log",
"mime_guess",
"qrcode-generator",

View File

@ -36,4 +36,5 @@ webauthn-rs = { version = "0.4.7", features = ["danger-allow-state-serialisation
url = "2.3.1"
aes-gcm = { version = "0.10.1", features = ["aes"] }
bincode = "1.3.3"
chrono = "0.4.22"
chrono = "0.4.22"
lazy_static = "1.4.0"

BIN
assets/img/countries/ac.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/img/countries/ad.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 B

BIN
assets/img/countries/ae.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

BIN
assets/img/countries/af.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 541 B

BIN
assets/img/countries/ag.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 846 B

BIN
assets/img/countries/ai.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 923 B

BIN
assets/img/countries/al.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 533 B

BIN
assets/img/countries/am.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 B

BIN
assets/img/countries/ao.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 531 B

BIN
assets/img/countries/aq.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

BIN
assets/img/countries/ar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

BIN
assets/img/countries/as.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
assets/img/countries/at.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 B

BIN
assets/img/countries/au.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/img/countries/aw.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 429 B

BIN
assets/img/countries/ax.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 B

BIN
assets/img/countries/az.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 406 B

BIN
assets/img/countries/ba.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 738 B

BIN
assets/img/countries/bb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 499 B

BIN
assets/img/countries/bd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 B

BIN
assets/img/countries/be.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

BIN
assets/img/countries/bf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 B

BIN
assets/img/countries/bg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

BIN
assets/img/countries/bh.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B

BIN
assets/img/countries/bi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 980 B

BIN
assets/img/countries/bj.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

BIN
assets/img/countries/bl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

BIN
assets/img/countries/bm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1018 B

BIN
assets/img/countries/bn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/img/countries/bo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 409 B

BIN
assets/img/countries/bq.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 B

BIN
assets/img/countries/br.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
assets/img/countries/bs.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 564 B

BIN
assets/img/countries/bt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 934 B

BIN
assets/img/countries/bv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 B

BIN
assets/img/countries/bw.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 B

BIN
assets/img/countries/by.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 676 B

BIN
assets/img/countries/bz.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
assets/img/countries/ca.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 B

BIN
assets/img/countries/cc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 663 B

BIN
assets/img/countries/cd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 819 B

BIN
assets/img/countries/cf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

BIN
assets/img/countries/cg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

BIN
assets/img/countries/ch.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 B

BIN
assets/img/countries/ci.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

BIN
assets/img/countries/ck.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/img/countries/cl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 B

BIN
assets/img/countries/cm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B

BIN
assets/img/countries/cn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 452 B

BIN
assets/img/countries/co.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 B

BIN
assets/img/countries/cp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

BIN
assets/img/countries/cr.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

BIN
assets/img/countries/cu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 713 B

BIN
assets/img/countries/cv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 688 B

BIN
assets/img/countries/cw.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 B

BIN
assets/img/countries/cx.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 768 B

BIN
assets/img/countries/cy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 739 B

BIN
assets/img/countries/cz.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 B

BIN
assets/img/countries/de.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

BIN
assets/img/countries/dg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
assets/img/countries/dj.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 481 B

BIN
assets/img/countries/dk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

BIN
assets/img/countries/dm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 816 B

BIN
assets/img/countries/do.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 B

BIN
assets/img/countries/dz.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 583 B

BIN
assets/img/countries/ea.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

BIN
assets/img/countries/ec.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/img/countries/ee.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 B

BIN
assets/img/countries/eg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

BIN
assets/img/countries/eh.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 614 B

BIN
assets/img/countries/er.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 922 B

BIN
assets/img/countries/es.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

BIN
assets/img/countries/et.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 641 B

BIN
assets/img/countries/eu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 B

BIN
assets/img/countries/fi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 B

BIN
assets/img/countries/fj.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
assets/img/countries/fk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
assets/img/countries/fm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 577 B

BIN
assets/img/countries/fo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

BIN
assets/img/countries/fr.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

BIN
assets/img/countries/ga.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 563 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
assets/img/countries/gb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
assets/img/countries/gd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
assets/img/countries/ge.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 B

BIN
assets/img/countries/gf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

BIN
assets/img/countries/gg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 494 B

BIN
assets/img/countries/gh.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 B

BIN
assets/img/countries/gi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 802 B

BIN
assets/img/countries/gl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 B

BIN
assets/img/countries/gm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

BIN
assets/img/countries/gn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 B

Some files were not shown because too many files have changed in this diff Show More