Lucas Verney
8e9cb2c1c7
Add a note about IRC channel
2017-06-20 11:04:05 +02:00
Lucas Verney
6e12490fbd
Add some doc about CLI option and better informative message
2017-06-19 17:20:53 +02:00
Lucas Verney
082d177f19
More informative error message when matching accidentally a wrong postal code. See #64 for more context.
2017-06-19 17:15:42 +02:00
Lucas Verney
25f2e71264
Partial fix for #62 (documentation)
2017-06-19 16:26:12 +02:00
Lucas Verney
edb7b822d2
Multiple constraints in config and Tcl data
...
**Note**: This new feature requires a modification of the SQLite database used by Flatisfy. If you don't care about your current database, you can just remove it and do a reimport. Otherwise, you should do the following modifications manually:
* Add a [flatisfy_constraint](ed7e9dfc1a/flatisfy/models/flat.py (L89)
) VARCHAR field in the flats table.
* Create [this table](ed7e9dfc1a/flatisfy/models/public_transport.py (L24-32)
) for public transport data and [this one](ed7e9dfc1a/flatisfy/models/postal_code.py (L24-34)
) for postal codes data.
Closes #58
See merge request !10
2017-06-19 16:12:17 +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
b7f9427d53
Fix GPS position import of Tcl stations
...
Tcl stations GPS coordinates are given as `lng, lat` and not `lat, lng`
hence it was not working because the found stations were too far from
the housing post location, as reported by @bnjbvr.
This commit should fix this.
2017-06-19 14:25:02 +02:00
Lucas Verney
c4f6a80b0c
Fix a StopIteration error in web API
2017-06-19 12:01:55 +02:00
Lucas Verney
b187a106e4
Avoid loading multiple times the same data
...
There was a bug in `data.py` which made it load the same data as many
times as the number of postal codes in constraints. This is now fixed.
2017-06-19 12:01:10 +02:00
Lucas Verney
d396d33506
Rewrite doc and frontend to match new constraints in config
2017-06-16 16:56:59 +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
12a55e64be
Add support for Tcl data
...
This closes #58 .
2017-06-15 15:52:11 +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
e04e8a0eab
Update getting started doc to add tips
2017-06-15 13:48:25 +02:00
Lucas Verney
947f53252a
Explain how to enable new Weboob backends in Flatisfy in CONTRIBUTING.md
2017-06-14 16:35:36 +02:00
Lucas Verney
1517d8d30b
Add support for Foncia backend from Weboob
2017-06-14 16:30:19 +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
b3ae71a8be
Merge branch 'valueerror' into 'master'
...
Fixes #55 : Handle ValueError when fetching detailed info about a flat
Closes #55
See merge request !1
2017-06-14 11:08:17 +02:00
Benjamin Bouvier
4beee77a02
Fixes #55 : Handle ValueError when fetching detailed info about a flat;
2017-06-14 11:02:49 +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
f52b07b869
No need for unicode
...
Missed it while reviewing !2 , but as we use `from builtins import str`, there is no need to use `unicode`.
2017-06-14 10:48:17 +02:00
Lucas Verney
bd1e1d2068
Update documentation
...
Add a section about common arguments for all subcommands. Closes #56 .
2017-06-14 10:46:38 +02:00
Lucas Verney
b889d0e4f3
Update CONTRIBUTING.md
...
Closes #57 .
2017-06-14 10:31:13 +02:00
Lucas Verney
e96add4013
Remove useless mention of required Weboob MR in README.md.
2017-06-14 10:29:38 +02:00
Lucas Verney
577abafa07
Merge branch 'config-check' into 'master'
...
Catch the right error when the constraint type name is not set
See merge request !2
2017-06-14 10:28:33 +02:00
Benjamin Bouvier
8c126ef8e3
Catch the right error when the constraint type name is not set;
2017-06-13 16:17:03 +02:00
Lucas Verney
2d30061b7b
Fix typo in requirements.txt, should be request*s*.
2017-05-21 21:48:14 +02:00
Lucas Verney
adb520b54d
SHow "Loading…" message when loading data from the API
2017-05-12 16:27:31 +02:00
Lucas Verney
e4768de086
Fix a bug introduced in last commit, do not pre-wrap TD cells.
2017-05-12 11:46:37 +02:00
Lucas Verney
03e6571545
Fix broken table layout due to large notes in pre tag
...
This closes #51 .
2017-05-11 14:27:30 +02:00
Lucas Verney
2bdfa8158b
Fix sorting order in Chromium
...
This closes #48 .
2017-05-11 14:06:38 +02:00
Lucas Verney
6272819109
A click on a button in a flat row in the flats table should not trigger
...
a click event and go to the flat details page.
2017-05-09 17:50:07 +02:00
Lucas Verney
d152b4dce8
Better "Followed" page
...
"Followed" page is now sorted by notation for each postal code. Notes
left about the flats are listed in the list, to help have a good
overview of the followed flats.
This closes issue #45 .
2017-05-09 17:36:17 +02:00
Lucas Verney
05aa5812ad
Better mobile UI
...
The mobile UI is now more responsive, without grid in the details view.
Clicking on a line in the flats table sends the user to the flat
details. Also features better title descriptions and reactive title of
the tab.
2017-05-09 16:02:24 +02:00
Lucas Verney
7cec9dcec2
Prefill search input from query
2017-05-05 11:12:57 +02:00
Lucas Verney
e0f8434877
Fix whooshalchemy
...
Whooshalchemy was adding an event every time a new db session was
created, thus increasing a lot the computation time at each new call.
This is now fixed, and is a partial fix for #43 .
2017-05-05 11:04:29 +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
9d7707ec4c
Add screenshots in the README.md file
...
This closes issue #16 .
2017-05-04 10:51:28 +02:00
Lucas Verney
0e3d1576b2
Use stars to note flats
...
Instead of a binary "followed" / "not followed" status, use 5 stars to
allow users to give a note to a flat between 0 (not followed) and 5. Any
note different from zero add a "followed" status.
Closes issue #36 .
2017-05-03 22:14:51 +02:00
Lucas Verney
69588a9601
Add the possibility to leave notes on flats
...
* Add a database field to store `notes` (as a memo) about flats.
* Add matching UI elements to let users store their notes about flats.
This commit closes issue #34 .
2017-05-03 19:18:07 +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
b0e18b45b7
Fix bugs in Chromium. Closes issue #33 .
2017-05-03 15:55:07 +02:00
Lucas Verney
aae71282aa
Better display of time_to, close issue #32 .
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
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
bd3e599d12
Handle weboob exceptions, fix issue #25
2017-05-03 15:55:07 +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