Commit Graph

20 Commits

Author SHA1 Message Date
Gautier P 7790eb0a32 Add debug logs 2021-02-08 17:08:52 +01:00
Gautier P a92db5e8ee Reformat with black (max-line-length=120) 2021-02-08 17:08:52 +01:00
Gautier P 42909bd46f reformat with black 2021-02-08 17:08:52 +01:00
Gautier P c659dc6b76 Add --new-only import option 2021-02-08 17:08:52 +01:00
Lucas Verney d482d9b6fa Make CI fail if a test fails + a bit of linting 2018-01-18 14:48:28 +01:00
nicofrand 5b85ad6e59 Add unit tests 2018-01-17 08:43:25 +01:00
Lucas Verney c3941bd70c Rebuild data on import command if required 2017-12-06 19:16:24 +01:00
Lucas Verney 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
Lucas Verney f1a5535bca Fix an error introduced in 88a923c87e 2017-10-19 15:30:03 -04:00
Lucas Verney fa20d0fcbc Fix #73 2017-09-27 00:16:36 +02:00
Lucas Verney ed7e9dfc1a Add a CLI argument to import only a given constraint. Drop the necessary constraint. 2017-06-19 16:08:06 +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 3469035f4a Towards more modular system for data files
Also use `lru_cache` to do some memoization on data files loading
function, and speed up everything a bit.
2017-06-14 15:29:33 +02:00
Lucas Verney 969c6ab0fe There are up to 3 passes available, the `--passes` argument constraint should match. 2017-06-14 10:50:02 +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 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 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 d7012e3834
Initial commit 2017-04-13 20:03:59 +02:00