Some postal codes correspond to multiple cities, then sometimes we were
spawning queries with more than three cities. This should no longer be
the case. This fixes https://github.com/Phyks/Flatisfy/issues/10.
Rework a bit on top of @bnjbvr's MR to add basic email notifications
support.
* Cleaned the code a bit.
* Add a `Date` and a `Message-ID` header to improve the spam score.
Thanks a lot @bnjbvr's for the MR!
* Remove the text-decoration due to the use of links
* Make the link element occupy the whole table cell, without padding
* Use `router-link` instead of `a` tag
Some Weboob backends were returning multiple phone numbers
(comma-separated) or phone numbers in different formats (with or without
spaces, with or without separating dots, etc).
This commit harmonizes all of this so that all phone links will be
rendered correctly and be usable to call in a single click.
Related, https://git.weboob.org/weboob/devel/merge_requests/42.
Weboob does handle the raised exceptions when fetching housing posts
through the `WebNip` class. However, when fetching details, we directly
call the Weboob backend method and no exceptions handling is done.
When importing data with a `crontask`, websites may be offline for some
time, especially at night, then leading to a failure in import process.
Let's just handle such exceptions so that an offline website does not
break the whole import process. Details from the temporary offline
websites which could not be fetched will be fetched at next run.
This closes#60.
Tcl stations GPS coordinates are given as `lng, lat` and not `lat, lng`
hence it was not working because the found stations were too far from
the housing post location, as reported by @bnjbvr.
This commit should fix this.