Commit Graph

321 Commits

Author SHA1 Message Date
Lucas Verney 5da06280be Handle database migrations 2018-10-16 23:07:53 +02:00
Lucas Verney dc9392e6f0 Fix an error with photos hashes in the fetch command 2018-10-15 08:48:36 +02:00
Phyks 35c902d3d3 Merge branch 'split-different-stations' into 'master'
Split stations on comma

See merge request phyks/Flatisfy!32
2018-10-15 08:37:29 +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 6c7527f443 Update doc to mention public transport travel time is computed assuming departure on next Monday at 8am 2018-09-07 19:33:35 +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
Phyks 07cb54b179 Merge branch 'ignore-weboob-errors' into 'master'
Docker: ignore errors in the update_weboob.sh script;

See merge request phyks/Flatisfy!29
2018-08-27 12:25:02 +02:00
Benjamin Bouvier bd00a5c076 Docker: ignore errors in the update_weboob.sh script; 2018-08-27 12:13:36 +02:00
Phyks 3aa8843142 Merge branch 'fix-docker' into 'master'
Fix Dockerfile and docker instructions

See merge request phyks/Flatisfy!28
2018-08-22 13:42:59 +02:00
Benjamin Bouvier af8fa705dd Fix Dockerfile and docker instructions; 2018-08-22 13:14:00 +02:00
Lucas Verney 0e7a577041 Update FAQ 2018-07-25 09:58:22 +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 56c5aa20d4 Improve doc about Flatisfy appearing stuck 2018-07-25 08:52:22 +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
Lucas Verney 540d69f9e2 Merge branch 'ntome/Flatisfy-master' 2018-06-25 10:22:23 +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
Phyks 3855888bcb Merge branch 'oom' into 'master'
Prevent Out Of Memory errors with image cache, fix #118

Closes #118 and #117

See merge request phyks/Flatisfy!26
2018-02-24 23:02:39 +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
Phyks e7218e90f3 Merge branch 'moar-tests' into 'master'
More duplicates tests

See merge request phyks/Flatisfy!23
2018-01-26 10:34:44 +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