Commit Graph

73 Commits

Author SHA1 Message Date
Nicolas Frandeboeuf
a150312daa Fix some typos 2020-01-08 19:25:07 +01:00
11684b6fd7 Don't crash metadata API route if timestamp file is not ready 2019-01-17 09:16:04 +01:00
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
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
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
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
9e71b946e3 Add a max-width on thumbnails 2018-09-07 18:24:54 +02:00
139568f85e Fix slider component as well to use local images 2018-09-07 15:13:10 +02:00
c7fa6c8b5b Fix serve images locally client side + some client optimizations 2018-09-07 15:06:59 +02:00
d482d9b6fa Make CI fail if a test fails + a bit of linting 2018-01-18 14:48:28 +01:00
02420d7a1b Use an eye icon rather than a plus icon in FlatsTable. Fix #105. 2018-01-18 11:59:32 +01:00
82681c6c27 Disable log coming directly from Canister 2018-01-17 20:24:08 +01:00
45c4eca775 Add a logging line after webserver is started.
Also remove useless `debug` config option.
2018-01-10 19:41:51 +01:00
49ebfe9111 Add an opendata endpoint in API 2017-12-13 14:38:05 +01:00
a1846782ba Add support for PATCH method in CORS header 2017-12-08 15:47:59 +01:00
03d2ac8b80 Support sorting and pagination in API 2017-12-07 16:07:47 +01:00
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
8a74a79ac2 Update doc link in README.md 2017-12-05 15:17:03 +01:00
daf16d88ba Sphinx-generated doc 2017-12-05 14:56:08 +01:00
b285c270aa Cleaner API 2017-12-05 12:20:40 +01:00
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
702f58cf9e Fix JS lint 2017-11-27 10:42:22 +01:00
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
01e9f7ec0a Merge branch 'cost-per-sq-meter' into 'master'
Display cost per square meter

See merge request !8
2017-07-11 15:08:41 +02:00
be43206d4b Merge branch 'fix-slider' into 'master'
Fix image slider perspective

See merge request !3
2017-06-29 12:00:51 +02:00
Benjamin Bouvier
26e2cdefbe Display cost per square meter; 2017-06-28 22:03:20 +02:00
210192d09c Rework a bit on top of bnjbvr's fix for #49.
* Remove the text-decoration due to the use of links
* Make the link element occupy the whole table cell, without padding
* Use `router-link` instead of `a` tag
2017-06-26 16:26:35 +02:00
Benjamin Bouvier
aac6b63e0a Use simple anchors for flat details; 2017-06-26 15:52:51 +02:00
5c171a8356 Do not constrain too much the minimum zoom level of the flats map. 2017-06-20 16:32:27 +02:00
78b9ebf04e Better handling of phone links
Some Weboob backends were returning multiple phone numbers
(comma-separated) or phone numbers in different formats (with or without
spaces, with or without separating dots, etc).

This commit harmonizes all of this so that all phone links will be
rendered correctly and be usable to call in a single click.

Related, https://git.weboob.org/weboob/devel/merge_requests/42.
2017-06-20 14:20:54 +02:00
f1df23dc29 Linting 2017-06-20 13:37:54 +02:00
ed7e9dfc1a Add a CLI argument to import only a given constraint. Drop the necessary constraint. 2017-06-19 16:08:06 +02:00
c4f6a80b0c Fix a StopIteration error in web API 2017-06-19 12:01:55 +02:00
d396d33506 Rewrite doc and frontend to match new constraints in config 2017-06-16 16:56:59 +02:00
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
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
adb520b54d SHow "Loading…" message when loading data from the API 2017-05-12 16:27:31 +02:00
e4768de086 Fix a bug introduced in last commit, do not pre-wrap TD cells. 2017-05-12 11:46:37 +02:00
03e6571545 Fix broken table layout due to large notes in pre tag
This closes #51.
2017-05-11 14:27:30 +02:00
2bdfa8158b Fix sorting order in Chromium
This closes #48.
2017-05-11 14:06:38 +02:00
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