Commit Graph

46 Commits

Author SHA1 Message Date
samuel.thibault aae5ea5183 Laisser le test ouvert dès que c'est éligible quelque part, et ne pas se restreindre à FDN
C'est notamment nécessaire pour les adresse éligibles seulement à Netwo.
2023-05-24 20:08:37 +02:00
samuel.thibault 358b163ef6 On peut aussi tester par netwo 2023-05-24 19:01:05 +02:00
Johan Le Baut 0fb3de88e1 clean code 2023-02-28 22:31:35 +01:00
Johan Le Baut 461550c544 fix ordre des pastilles si liazo + aquilenet 2023-01-11 22:26:41 +01:00
Johan Le Baut bfc0a30c84 autorise zoom 19 2023-01-11 18:14:48 +01:00
Johan Le Baut 296ed8da8a resize box on window resize 2023-01-11 17:12:21 +01:00
Johan Le Baut 2f5dddde8b fix liazo priority 2023-01-11 16:57:07 +01:00
Johan Le Baut 39bec33217 fix data commandable logic 2023-01-11 16:44:06 +01:00
Johan Le Baut f2b749e6d3 API par coord et amélioration UI 2023-01-11 15:35:12 +01:00
Johan Le Baut 275238fa39 script to fetch arcep data 2022-12-09 15:34:28 +01:00
Johan Le Baut b8b02bd5c8 API: add date commandable 2022-12-09 15:26:18 +01:00
Johan Le Baut a3e165ec45 Update ingest axione to add date in refimm table for API 2022-12-09 15:21:07 +01:00
Johan Le Baut 8a1c95f9ad update poetry 2022-12-09 12:17:48 +01:00
Johan Le Baut 0897ea9aea check if axione is commandable 2022-12-09 12:01:55 +01:00
Johan Le Baut 70419dbbeb fix ingest sxr 2022-12-09 10:24:44 +01:00
Johan Le Baut 90bcc50087 update axione ingest script 2022-12-08 12:28:33 +01:00
Johan Le Baut 270812f6d6 ajout de priorité dans l'affichage des immeubles selon leur statut de déploiement 2022-11-30 19:29:27 +01:00
Johan Le Baut f52e29463a remove unused comment 2022-11-16 16:15:51 +01:00
Johan Le Baut 22f43fc954 Add API to get elig status per imm ref 2022-11-16 16:10:30 +01:00
johan.le.baut 1e9d62c03b johan/consolidate-ipe-data (#5)
Use IPE datas from multiples sources: Axione, ARCEP, Liazo

Co-authored-by: Johan Le Baut <johan@helloasso.org>
Reviewed-on: #5
2022-10-14 13:56:31 +02:00
Johan Le Baut 4c8a59e64c Add colors to icons 2022-06-21 16:55:57 +02:00
Johan Le Baut b902f24711 Lien vers test d'éligibilité pour la fibre Axione 2022-06-21 14:28:00 +02:00
Félix Baylac-Jacqué 18187c0007
webapp: alter Kosc/Bouygues msg
The previous message was misleading, adopting youpi's suggestion instead.
2022-05-17 12:29:06 +02:00
Johan Le Baut a39d004ec3 message & remove print 2022-04-13 11:30:11 +02:00
Johan Le Baut eecbde1d24 no elig link for aquilenet 2022-04-13 11:27:02 +02:00
Johan Le Baut b02881720d call eligibility tools 2022-04-13 11:04:48 +02:00
Johan Le Baut e6d6ba013b display per result 2022-04-12 23:17:40 +02:00
Johan Le Baut 58bb3e0d1b update with arcep 2022-04-12 20:39:33 +02:00
Johan Le Baut 70ed8a22ae shellcheck 2022-04-11 21:45:08 +02:00
Johan Le Baut 4a6f063c1f Add script to fetch latest arcep data 2022-04-11 09:49:51 +02:00
Johan Le Baut b9df2de12a ajout connexion Liazo 2022-03-23 22:54:04 +01:00
Johan Le Baut b05cf14bf3 model 2022-03-14 22:16:25 +01:00
Johan Le Baut 108efc33f3 model 2022-03-14 22:05:44 +01:00
Johan Le Baut ca58802500 extract ipe fetch from main 2022-03-14 21:58:52 +01:00
Félix Baylac-Jacqué 5f5c08798a
webapp: add readme 2022-02-24 11:26:55 +01:00
Félix Baylac-Jacqué 52e4ecb2a2 webapp: save map position/zoom state in the URL search string
Doing this provides the user a way to share the result of a
eligibility test with other people by sharing the browser URL.
2022-02-22 17:01:34 +01:00
Félix Baylac-Jacqué b708c894be webapp: vendor leaflet 2022-02-22 16:05:15 +01:00
Félix Baylac-Jacqué f98598718f webapp: fix absolute links
Some links were set as absolute. It's probablematic since we're
deploying the application at tools.aquilenet.fr/ftth-ipe-map/ instead
of the top-level of a sub-domain as I was expecting.
2022-02-22 15:53:42 +01:00
Félix Baylac-Jacqué 6308ae9cea ops: deploy webapp on Gaia
Add systemd service + start script and deploy all that on Gaia.
2022-02-22 15:15:29 +01:00
Félix Baylac-Jacqué 38c67ee588 Webapp: add real elig data query
When a acceptable zoom level is reached, the frontend is going to
query the DB for the eligibility data associated to the region the
user is viewing.

When requesting too much data, the frontend gets pretty slow. In order
to prevent that, we require a minimal zoom level before triggering the
actual request.
2022-02-22 14:24:41 +01:00
Félix Baylac-Jacqué 925d93fc58 Frontend: fix minor bug on the fetchEligData button 2022-02-21 19:00:40 +01:00
Félix Baylac-Jacqué 2890656b8a data-ingest: Create a spatial index on the building geodata 2022-02-21 19:00:11 +01:00
Félix Baylac-Jacqué 6c8c3b138d webapp: fetch eligibility data on backend
We fetch the eligibility data from the backend for the area the user
is currently viewing.

We don't want to trigger the search when the user is zoomed out, it
could be heavy on the backend CPU. Hence, we trigger the fetch after
the user searched for his real address or reached a good-enough zoom level.

The backend is currently returning a dummy answer.
2022-02-21 17:21:21 +01:00
Félix Baylac-Jacqué 8fbad8b7b1 webapp: display interactive map + geocoding
Adding an interactive map with a geocoding search bar. We use leaflet
with the openstreetmap.fr tiles. As for the geocoding part, we use
komoot's photon API for the time being.
2022-02-21 15:28:19 +01:00
Félix Baylac-Jacqué 17849388cc Add some doc 2022-02-21 12:52:23 +01:00
Félix Baylac-Jacqué 77f9be057e Add primitive IPE data ingestor. 2022-02-21 12:47:59 +01:00