Commit Graph

31 Commits

Author SHA1 Message Date
Gautier P 4d11726332 Use ratelimit to avoid rate bans on some APIs 2021-02-08 18:23:36 +01:00
Gautier P 582a868a1d Reduce logs verbosity 2021-02-08 17:08:52 +01:00
Gautier P 713912cfbc Translate email notification 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
Gautier P e6b71c6ed5 Sleep when querying leboncoin 2021-02-07 11:43:54 +01:00
Gautier P da6cb83f93 Simplify bad/good term match 2021-02-07 11:43:54 +01:00
Nicolas Frandeboeuf 0747c46400 Print URL in console when launching webserver 2020-01-08 19:25:07 +01:00
dohseven 1434cfedda Add metadata indicating last update of application 2019-01-15 21:49:42 +01:00
Julien Wajsberg e8c28a4a91 Add an is_expired column to the model
You should delete your database and let the software recreate it after
this commit. Alternatively, add the `is_expired` column to the flats
table.
2018-10-13 17:11:09 +02:00
Lucas Verney cc9ed3d34b Improve doc + s/weboob/WebOOB/ 2018-07-25 08:57:31 +02:00
Lucas Verney 45c4eca775 Add a logging line after webserver is started.
Also remove useless `debug` config option.
2018-01-10 19:41:51 +01:00
Lucas Verney a6b193ae87 Fix missing config arg in deep_detect 2018-01-05 19:01:08 +01:00
Lucas Verney 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
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
Benjamin Bouvier 23bbee8271 Adds basic email notifications when new flats have been found (fixes #47). 2017-07-06 15:06:13 +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 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 49f5b6a714 Status of flats was not correctly set at first import
When importing flats for the first time, their status was not correctly
set, resulting in flats not being marked as ignored when they should be.

This is a bug introduced with the fix for issue #31, now fixed.
2017-05-04 15:33:20 +02:00
Lucas Verney 8a50dd3302 Do not refetch details on filtering. To fetch details, one should do import. Closes issue #38. 2017-05-03 15:55:08 +02:00
Lucas Verney 982ea995a7 Add a search feature and matching UI elements
Also do some minor UI improvements:
* Add an icon to identify followed flats in tables
* Fix wrong enforced plural for 'flats'
2017-05-03 15:55:08 +02:00
Lucas Verney 3df3162e2a Be careful when filtering / reimporting, do not overwrite user-defined status. Closes #31. 2017-05-03 15:55:07 +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 bd3e599d12 Handle weboob exceptions, fix issue #25 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