Commit Graph

20 Commits

Author SHA1 Message Date
Lucas Verney d87f2ec37d Fix issue #131 2018-11-07 15:34:52 +01:00
Lucas Verney dc9392e6f0 Fix an error with photos hashes in the fetch command 2018-10-15 08:48:36 +02:00
Lucas Verney e0e04317ca Support other transport modes, fix #62 2018-09-07 19:28:15 +02:00
nicofrand bb78725a05 Trim whitespaces in string normalization 2018-01-22 13:01:07 +01:00
Lucas Verney 27d601ca21 Fix a bug with roman literals conversion 2018-01-21 12:12:14 +01:00
Lucas Verney a45eba65c7 Improve cities fuzzy matching
* Convert arabic numerals to roman ones in fuzzy comparison, to ensure
there is no more discrepancies between "Paris 20" and "Paris XX" for
instance. Fix #112 and improve on top of #110.
* Improve handling of opendata postal codes (no more duplicates, better
capitalization).

Note: You should `pip install -r requirements.txt` and rebuild the
database (`python -m flatisfy build-data --config config.json`) after
this commit.

Thanks @nicofrand for building the basic blocks for this!
2018-01-19 11:53:27 +01:00
Lucas Verney deeba0e5f2 Disable roman numerals conversion, add extra test 2018-01-18 15:00:21 +01:00
Lucas Verney d482d9b6fa Make CI fail if a test fails + a bit of linting 2018-01-18 14:48:28 +01:00
Nicolas Frandeboeuf 62907a621c Add link to gist 2018-01-18 14:04:39 +01:00
nicofrand 07955af574 Fix roman numbers convertion 2018-01-18 13:50:49 +01:00
Lucas Verney daf16d88ba Sphinx-generated doc 2017-12-05 14:56:08 +01:00
Lucas Verney 1baebffb87 Do some linting 2017-10-29 21:04:09 +01:00
Lucas Verney 9b087729d3 Fix flatisfy.tools.batch with Python3 2017-09-26 01:04:09 +02:00
Lucas Verney 7e35b71c28 Fix an issue with functools, see https://github.com/Phyks/Flatisfy/issues/4 2017-09-24 23:10:07 +02:00
Benjamin Bouvier 6a0681fc99 Optimize photo comparisons; fixes #41, fixes #59 2017-06-28 22:37:13 +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 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 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