222 Commits

Author SHA1 Message Date
d482d9b6fa Make CI fail if a test fails + a bit of linting 2018-01-18 14:48:28 +01:00
Phyks
6bcfb62e8d Merge branch 'fix-roman-numbers' into 'master'
Fix roman numbers

See merge request phyks/Flatisfy!18
2018-01-18 14:17:57 +01:00
caa79f245b Fix CI, also do not fail if ~/.local directory does not exist. 2018-01-18 14:16:38 +01:00
Nicolas Frandeboeuf
62907a621c Add link to gist 2018-01-18 14:04:39 +01:00
da0252974f Fix an import error in Python 3 2018-01-18 13:59:22 +01:00
nicofrand
771b140705 Fix tests 2018-01-18 13:50:49 +01:00
nicofrand
07955af574 Fix roman numbers convertion 2018-01-18 13:50:49 +01:00
02420d7a1b Use an eye icon rather than a plus icon in FlatsTable. Fix #105. 2018-01-18 11:59:32 +01:00
82681c6c27 Disable log coming directly from Canister 2018-01-17 20:24:08 +01:00
nicofrand
5b85ad6e59 Add unit tests 2018-01-17 08:43:25 +01:00
48835c0d83 Make "flatisfy" key optional in deep_duplicate computation 2018-01-12 14:48:10 +01:00
46457b014a Avoid too broad ignoring of flats when looking for only some postal codes in a city covered by multiple postal codes. Fix #110. 2018-01-10 20:01:22 +01:00
45c4eca775 Add a logging line after webserver is started.
Also remove useless `debug` config option.
2018-01-10 19:41:51 +01:00
47ce1ba7e0 Ignore duplicates by IDs, no need to even add the duplicate in db 2018-01-10 17:03:18 +01:00
35c88050df Better logging for station metadata detection 2018-01-10 16:46:30 +01:00
219b8e156e Fix a bug when throwing an exception with unicode characters from
Weboob.

As reported by @nicofrand.
2018-01-06 10:53:35 +01:00
3f30257b44 Fix spelling in deep_detect 2018-01-05 19:43:07 +01:00
a6b193ae87 Fix missing config arg in deep_detect 2018-01-05 19:01:08 +01:00
83ff6be409 Better fix for #100 2017-12-30 19:30:32 +01:00
67d1299b15 Consider duplicates cannot belong to the same website, should fix #100. 2017-12-30 15:27:46 +01:00
7196add731 Lint code 2017-12-30 14:45:58 +01:00
1119bdbf0b Allow to define the threshold between a housing and a station
Fix #101.
2017-12-29 22:58:05 +01:00
49ebfe9111 Add an opendata endpoint in API 2017-12-13 14:38:05 +01:00
a1846782ba Add support for PATCH method in CORS header 2017-12-08 15:47:59 +01:00
03d2ac8b80 Support sorting and pagination in API 2017-12-07 16:07:47 +01:00
c3941bd70c Rebuild data on import command if required 2017-12-06 19:16:24 +01:00
0376cdf4e0 Fix a bug with Flat.from_dict 2017-12-06 19:03:25 +01:00
03d2ad6f7f Add CORS headers in the API response, add a debug option to get verbose debugging from Bottle webserver 2017-12-05 17:33:19 +01:00
8a74a79ac2 Update doc link in README.md 2017-12-05 15:17:03 +01:00
daf16d88ba Sphinx-generated doc 2017-12-05 14:56:08 +01:00
b285c270aa Cleaner API 2017-12-05 12:20:40 +01:00
9424f81959 Rework API code
Factor flat post-processing in API and fix for #83. Always return JSON
even if an exception occurred.
2017-12-04 22:01:46 +01:00
aa0e1fd965 Use a single common data source for public transports stops
Now makes use of Navitia opendata dumps to cover France. Fixes #65.
2017-12-04 16:14:52 +01:00
376b327379 Drop support for entreparticuliers Weboob module 2017-12-03 22:26:48 +01:00
64f6e8886b Deduplicate the available backends list 2017-11-27 15:05:13 +01:00
702f58cf9e Fix JS lint 2017-11-27 10:42:22 +01:00
571b42f5b1 Check that postal codes are strings in config 2017-11-26 16:51:50 +01:00
4a65f52475 Do not store personal data by default, let user overload this behavior
through config.

Fixes #80.
2017-11-17 16:14:11 +01:00
c936228726 Add an ICS feed of visits
UI is minimalist and should be improved in the future. Fixes #40.
2017-11-10 16:29:38 +01:00
d6bee1dcb0 Merge branch 'master' of git.phyks.me:Phyks/flatisfy 2017-11-09 16:01:00 +01:00
b9e108d63d Make Flat notes searchable 2017-11-09 16:00:50 +01:00
2d8dfcb7c7 Fix a bug with minimum number of photos constraint 2017-11-03 17:41:16 +01:00
1baebffb87 Do some linting 2017-10-29 21:04:09 +01:00
40e62baadf Add a config option to filter on terms in the description. Fix #77. 2017-10-29 20:16:33 +01:00
f81deb9f13 Rename minimum_photos config option to minimum_nb_photos 2017-10-29 20:15:19 +01:00
6b82af6b85 Review of Hatrix42 PR 2017-10-29 03:05:35 +01:00
9c55904f59 Merge branch 'master' of https://github.com/Hatrix42/Flatisfy into Hatrix42-master 2017-10-29 02:58:02 +01:00
1791142218 Check that area, rooms etc are lists in config 2017-10-29 02:39:15 +02:00
1d6233e5ca Completely fix https://github.com/Phyks/Flatisfy/issues/10 2017-10-24 16:56:23 -04:00
7fd44b7e8f No longer make queries with more than three cities
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.
2017-10-24 15:50:19 -04:00