Nicolas Frandeboeuf
0747c46400
Print URL in console when launching webserver
2020-01-08 19:25:07 +01:00
Nicolas Frandeboeuf
5b15ce6918
Add keywords to ignore in description to avoid useless ads
2020-01-08 19:25:07 +01:00
Nicolas Frandeboeuf
a150312daa
Fix some typos
2020-01-08 19:25:07 +01:00
Simon Sapin
e4f1ce96bb
Add support for SMTP authentication for email notification
...
CC 23bbee8271
2019-01-25 18:41:16 +01:00
Lucas Verney
0f2c4e0685
Partially fix tests
2019-01-17 14:52:26 +01:00
Lucas Verney
11684b6fd7
Don't crash metadata API route if timestamp file is not ready
2019-01-17 09:16:04 +01:00
Lucas Verney
15fcb04368
Support OPTIONS method for all API endpoints
2019-01-17 09:10:00 +01:00
dohseven
f67ec66d9b
Make linter happy
2019-01-15 22:05:46 +01:00
dohseven
1434cfedda
Add metadata indicating last update of application
2019-01-15 21:49:42 +01:00
dohseven
c5187172f6
Set the Moment.js locale
2018-12-25 12:02:40 +01:00
dohseven
22906b063f
Add missing localizations
2018-12-24 16:44:14 +01:00
dohseven
a1b3470f6b
Add French support
2018-12-21 17:09:58 +01:00
dohseven
ff9c46dac5
Add French translations
2018-12-21 17:09:41 +01:00
Adrien Guatto
a38cf0e9a8
Allow blacklisting words from flat descriptions
...
This commit adds a new field "description_should_not_contain" to the
configuration object. Any flat whose description contains a word
appearing in this list will be filtered out.
2018-11-07 15:53:13 +01:00
Lucas Verney
d87f2ec37d
Fix issue #131
2018-11-07 15:34:52 +01:00
Julien Wajsberg
ef896f999f
Fix the "delete" button in the table view
...
In c7fa6c8b5b
the code using
`updateFlatStatus` moved to the new file `flatstableline.vue` but the
actual method wasn't moved in the process, yielding an error when one
wanted to use the button.
This patch moves the method to the new file.
2018-10-30 14:52:19 +01:00
Lucas Verney
dc9392e6f0
Fix an error with photos hashes in the fetch command
2018-10-15 08:48:36 +02:00
Julien Wajsberg
7a9767ffce
Split stations on comma
2018-10-13 23:21:25 +02:00
Lucas Verney
82f2e84243
Add emphasis to the expired status
2018-10-13 17:11:43 +02:00
Julien Wajsberg
1548f0176d
Localization !
2018-10-13 17:11:43 +02:00
Julien Wajsberg
e631d09df3
Do something with the is_expired column in the view
2018-10-13 17:11:43 +02: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
Julien Wajsberg
dc9abadf12
Serve the .well-known directory to support letsencrypt's ACME protocol
2018-09-25 15:41:46 +02:00
Benjamin Bouvier
c2f0a2389a
Add missing this when calling $t in the flatstableline component;
2018-09-16 21:04:02 +02:00
Lucas Verney
e0e04317ca
Support other transport modes, fix #62
2018-09-07 19:28:15 +02:00
Lucas Verney
9e71b946e3
Add a max-width on thumbnails
2018-09-07 18:24:54 +02:00
Lucas Verney
139568f85e
Fix slider component as well to use local images
2018-09-07 15:13:10 +02:00
Lucas Verney
c7fa6c8b5b
Fix serve images locally client side + some client optimizations
2018-09-07 15:06:59 +02:00
Lucas Verney
826989f77c
Monkey patch a WebOOB bug: No long waiting for the flats to be fetched!
...
When passing a `Query` to a WebOOB backend and the query has no cities
for this backend, WebOOB was returning nonsense. This is now solved as
we only call the relevant backends for each query.
2018-07-25 09:20:48 +02:00
Lucas Verney
cc9ed3d34b
Improve doc + s/weboob/WebOOB/
2018-07-25 08:57:31 +02:00
Lucas Verney
0d3f984545
No need to catch MissingSchema actually
2018-07-16 14:52:06 +02:00
Lucas Verney
4df1f1d2a1
Do not throw on MissingSchema request exception, see #120
2018-07-16 13:18:42 +02:00
VA
43b14ada51
config check: update since weboob now uses real Python enums
2018-06-24 21:04:35 +02:00
Lucas Verney
0c9f7d3067
Avoid a crash when no photos are found for a flat
2018-03-04 18:40:57 +01:00
Lucas Verney
0b89f27a43
Fix a bug with locally serving images, fix issue #118
2018-02-23 16:58:58 +01:00
Lucas Verney
4ff4510ab7
Prevent Out Of Memory errors with image cache, fix #117
2018-02-23 16:58:55 +01:00
Lucas Verney
c5953cfe7e
Log flat id when downloading photos
2018-02-17 21:53:49 +01:00
Lucas Verney
bfc27bbb92
Update Flatisfy to handle the latest dev version of Weboob. Fixes #91 and #85 .
2018-02-07 19:54:48 +01:00
Lucas Verney
576c18b597
Fix #116 and incorrect handling of invalid images file in ImageCache
2018-01-30 17:01:31 +01:00
Lucas Verney
d160962509
Fix CI
2018-01-30 10:36:40 +01:00
Lucas Verney
ee2880326c
Add a way to download photos locally
...
Fix for #94 .
2018-01-28 17:08:53 +01:00
Lucas Verney
d6b82b24c6
Phone number should not count for as much in duplicates detection + better handling of multiple phone numbers
2018-01-26 10:51:16 +01:00
nicofrand
bb78725a05
Trim whitespaces in string normalization
2018-01-22 13:01:07 +01:00
nicofrand
88087c8628
Address review
2018-01-22 13:01:07 +01:00
nicofrand
9957206abe
Add tests with cropped photos
2018-01-22 12:32:26 +01:00
nicofrand
39b3ce6a1d
Add test on similar but different flats
2018-01-22 12:31:06 +01:00
nicofrand
83d7792e4c
Duplicates score should be enough, removing common photos assertion
2018-01-22 12:30:59 +01:00
nicofrand
4870078599
More duplicates tests
2018-01-21 14:25:44 +01:00
Lucas Verney
27d601ca21
Fix a bug with roman literals conversion
2018-01-21 12:12:14 +01:00
Lucas Verney
08599d91de
Address a few nits in review
2018-01-21 12:00:30 +01:00
nicofrand
9fa2177087
Add unit tests for image comparison
2018-01-21 11:53:59 +01:00
Lucas Verney
4b41e6de2d
Actually, this should be done the other way
2018-01-21 10:51:37 +01:00
Lucas Verney
03476dc8a5
Fix last commit about time_to handling
2018-01-21 10:41:22 +01:00
nicofrand
a391d51d67
fix issue with travel time
2018-01-20 21:20:18 +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
7bf08adbce
Avoid computing multiple times the same photo hash, fix for #111
2018-01-18 15:43:39 +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
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
Lucas Verney
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
Lucas Verney
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
Lucas Verney
02420d7a1b
Use an eye icon rather than a plus icon in FlatsTable. Fix #105 .
2018-01-18 11:59:32 +01:00
Lucas Verney
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
Lucas Verney
48835c0d83
Make "flatisfy" key optional in deep_duplicate computation
2018-01-12 14:48:10 +01:00
Lucas Verney
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
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
47ce1ba7e0
Ignore duplicates by IDs, no need to even add the duplicate in db
2018-01-10 17:03:18 +01:00
Lucas Verney
35c88050df
Better logging for station metadata detection
2018-01-10 16:46:30 +01:00
Lucas Verney
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
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
7196add731
Lint code
2017-12-30 14:45:58 +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
49ebfe9111
Add an opendata endpoint in API
2017-12-13 14:38:05 +01:00
Lucas Verney
a1846782ba
Add support for PATCH method in CORS header
2017-12-08 15:47:59 +01:00
Lucas Verney
03d2ac8b80
Support sorting and pagination in API
2017-12-07 16:07:47 +01:00
Lucas Verney
c3941bd70c
Rebuild data on import command if required
2017-12-06 19:16:24 +01:00
Lucas Verney
0376cdf4e0
Fix a bug with Flat.from_dict
2017-12-06 19:03:25 +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
8a74a79ac2
Update doc link in README.md
2017-12-05 15:17:03 +01:00
Lucas Verney
daf16d88ba
Sphinx-generated doc
2017-12-05 14:56:08 +01:00
Lucas Verney
b285c270aa
Cleaner API
2017-12-05 12:20:40 +01:00
Lucas Verney
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
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
376b327379
Drop support for entreparticuliers Weboob module
2017-12-03 22:26:48 +01:00
Lucas Verney
64f6e8886b
Deduplicate the available backends list
2017-11-27 15:05:13 +01:00
Lucas Verney
702f58cf9e
Fix JS lint
2017-11-27 10:42:22 +01:00
Lucas Verney
571b42f5b1
Check that postal codes are strings in config
2017-11-26 16:51:50 +01:00
Lucas Verney
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
Lucas Verney
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
Lucas Verney
d6bee1dcb0
Merge branch 'master' of git.phyks.me:Phyks/flatisfy
2017-11-09 16:01:00 +01:00
Lucas Verney
b9e108d63d
Make Flat notes searchable
2017-11-09 16:00:50 +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