Commit Graph

33 Commits

Author SHA1 Message Date
Lucas Verney 3f30257b44 Fix spelling in deep_detect 2018-01-05 19:43:07 +01:00
Lucas Verney a6b193ae87 Fix missing config arg in deep_detect 2018-01-05 19:01:08 +01:00
Lucas Verney 83ff6be409 Better fix for #100 2017-12-30 19:30:32 +01:00
Lucas Verney 67d1299b15 Consider duplicates cannot belong to the same website, should fix #100. 2017-12-30 15:27:46 +01:00
Lucas Verney 1119bdbf0b Allow to define the threshold between a housing and a station
Fix #101.
2017-12-29 22:58:05 +01:00
Lucas Verney daf16d88ba Sphinx-generated doc 2017-12-05 14:56:08 +01:00
Lucas Verney 64f6e8886b Deduplicate the available backends list 2017-11-27 15:05:13 +01:00
Lucas Verney 2d8dfcb7c7 Fix a bug with minimum number of photos constraint 2017-11-03 17:41:16 +01:00
Lucas Verney 1baebffb87 Do some linting 2017-10-29 21:04:09 +01:00
Lucas Verney 40e62baadf Add a config option to filter on terms in the description. Fix #77. 2017-10-29 20:16:33 +01:00
Lucas Verney f81deb9f13 Rename minimum_photos config option to minimum_nb_photos 2017-10-29 20:15:19 +01:00
Lucas Verney 6b82af6b85 Review of Hatrix42 PR 2017-10-29 03:05:35 +01:00
Maël Le Garrec$ e7c81d31ac Add config option for minimum number of pictures 2017-10-24 17:21:48 +02:00
Benjamin Bouvier 6a0681fc99 Optimize photo comparisons; fixes #41, fixes #59 2017-06-28 22:37:13 +02:00
Lucas Verney 6ed484bb8b Merge branch 'foncia' into 'master'
Add support for Foncia backend from Weboob

See merge request !5
2017-06-26 13:33:15 +02:00
Lucas Verney f1df23dc29 Linting 2017-06-20 13:37:54 +02:00
Lucas Verney 082d177f19 More informative error message when matching accidentally a wrong postal code. See #64 for more context. 2017-06-19 17:15:42 +02:00
Lucas Verney b7f9427d53 Fix GPS position import of Tcl stations
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.
2017-06-19 14:25:02 +02:00
Lucas Verney d396d33506 Rewrite doc and frontend to match new constraints in config 2017-06-16 16:56:59 +02:00
Lucas Verney bdf8a6b8d2 Handle multiple constraints in the config
All the backend part has been rewritten to handle multiple constraints
in the config (== multiple queries).

Also did some linting.

Still to be done: frontend part and doc.
2017-06-16 16:22:02 +02:00
Lucas Verney 82a88590b6 Rewrite data files management, to make it more modular
This is to prepare for the integration of Tcl data, see #58.
2017-06-15 15:48:16 +02:00
Lucas Verney 947f53252a Explain how to enable new Weboob backends in Flatisfy in CONTRIBUTING.md 2017-06-14 16:35:36 +02:00
Lucas Verney 1517d8d30b Add support for Foncia backend from Weboob 2017-06-14 16:30:19 +02:00
Lucas Verney a5aeadef86
Various bug fixes
Fix some bugs introduced in recent developments as well as some UI
issues (and i18n).

Closes issue #42.
2017-05-04 20:52:10 +02:00
Lucas Verney 589bfdfb13 Better deduplication
Perform deeper deduplication, based on all the available data, and
trying to match common photos.
2017-05-03 15:55:07 +02:00
Lucas Verney 2af742b764 Various UI fixes
* Fix status on details page
* Fix follow button on details page
* Replace back button by a link on the flat status
* Fix leaflet markers position, close #24
* Fix Leaflet icons
* Add unfollow link on followed posts
2017-05-03 15:55:07 +02:00
Lucas Verney 0fb5f28184 Add a page listing flats by status
Also display the journeys on the details view.
2017-05-03 15:55:07 +02:00
Lucas Verney 5f2f4d0ccf Better deduplication
* Improve deduplication on URLs (match sets).
* Keep track of duplicates and update their status on refiltering.
2017-05-03 15:55:07 +02:00
Lucas Verney 1d98c631e0 Refilter command and backends in config
* Add a refilter command
* Add a backend option in config to only enable some backends.
2017-05-03 15:55:07 +02:00
Lucas Verney 65bd5db98a Fix Decimal issue with JSON 2017-05-03 15:55:06 +02:00
Lucas Verney a57d9ce8e3 Switch to a Vue-based web app
* Init Webpack / Babel / etc setup.
* Build the app using Vue, Vue-router, Vuex.
* i18n

Some backends changes were made to match the webapp development:
* Return the flat status as a single string ("new" rather than
"FlatStatus.new")

* Completely switch to calling Weboob API directly for fetching
* Use Canister for Bottle logging
* Handle merging of details dict better
* Add a WSGI script
* Keep track of duplicates
* Webserver had to be restarted to fetch external changes to the db
* Handle leboncoin module better

Also add contributions guidelines.

Closes issue #3
Closes issue #14.
2017-05-03 15:54:26 +02:00
Lucas Verney 4966fe2111
Styling update, fix some Pylint errors
Also update the stations fetching code to handle the warn the user when
fetched stations differ from the one fetched at previous pass.
2017-04-13 23:22:11 +02:00
Lucas Verney d7012e3834
Initial commit 2017-04-13 20:03:59 +02:00