Commit Graph

4 Commits

Author SHA1 Message Date
c5b64cfc72 Rework opendata import script
* Homogeneize the handling of opendata files.
* Use a clear distinction between geometry (the position of the report)
and geo_shape (the shape of the report area).
* Keep track of OpenData sources, fix #51.
* Keep track of the area covered by a given report.
2018-11-01 18:04:48 +01:00
20dd75b152 Add a source field to keep track of the source of the reports 2018-11-01 15:43:34 +01:00
4345c3f4e3 Drop the active reports API route and use API filtering abilities
instead

Fix for #49.
2018-10-18 09:31:52 +02:00
a7792f5dbb Rework upvotes
Upvotes now reset the `datetime` field of the report, making it appear
as if it was newly reported. They also extend the lifetime for accidents
and GCUM.

This introduces database migrations as well.

Closes https://framagit.org/phyks/cyclassist/issues/41.
2018-09-12 13:51:53 +02:00