Commit graph

80 commits

Author SHA1 Message Date
cquest
8cecaeab3c events_count as integer, not float 2016-08-07 10:34:17 +02:00
cquest
bb4a8cf5e3 more error messages feedback on POST 2016-08-07 10:23:42 +02:00
cquest
83d808e303 polyline_precision parameter + ST_LineFromEncodedPolyline bug workaround 2016-07-31 13:22:09 +02:00
cquest
5bb208d98b add polyline geometry support 2016-07-28 16:10:03 +02:00
cquest
429cf6197b search event by geometry 2016-07-28 01:00:07 +02:00
cquest
2e2bd9e106 add geom=only to return only event id and geom center 2016-06-19 16:47:48 +02:00
cquest
17222abf63 add YEAR to LAST/NEXT relative dates 2016-06-19 16:31:36 +02:00
cquest
29907cfc7c add YEAR to LAST/NEXT relative dates 2016-06-19 16:31:03 +02:00
cquest
73d5dd5eab accept + in URL for timezones 2016-06-19 16:30:13 +02:00
cquest
6d718755c5 add geom_center lat/lon in properties 2016-06-19 16:29:06 +02:00
cquest
d05415c694 uppercase for relative times 2016-06-19 14:18:27 +02:00
cquest
639347de8f limit parameter 2016-06-19 14:15:05 +02:00
cquest
81c0b2f4b2 fix LAST/NEXT HOUR/DAY/MINUTE, etc 2016-06-13 23:42:40 +02:00
cquest
b78bbf577f cleaner code ;) 2016-06-09 00:25:09 +02:00
cquest
f696a258e8 re.match instead of too many if 2016-06-09 00:21:17 +02:00
cquest
aa6b65b8a1 sort json 2016-06-08 23:58:37 +02:00
cquest
e641d46008 more then 0-9 minutes/hours 2016-06-08 23:54:45 +02:00
cquest
0a047d5a93 when = LAST/NEXT nn MINUTES 2016-06-08 23:38:49 +02:00
cquest
788e4f0324 avoid errors on failed insert because of duplicates 2016-06-07 06:38:48 +02:00
cquest
277e712449 return error 409 when attempting to create duplicates 2016-06-07 06:38:07 +02:00
cquest
4c6d9e8fd7 uptime + db_uptime added in /stats 2016-06-05 20:37:35 +02:00
cquest
49ff0a1832 faster /stats, no more count(*) 2016-06-05 20:24:47 +02:00
cquest
107a2ce3b1 relative dates for when/start/stop 2016-06-05 20:03:19 +02:00
cquest
6ca76391bd round distance to 1m 2016-06-04 23:05:06 +02:00
Christian Quest
5f10e79a75 geom snaptogrid added 2016-05-30 09:06:25 +02:00
Christian Quest
6d081de7f1 cleaner features count 2016-05-30 08:57:08 +02:00
Christian Quest
4e712eb891 add count in results 2016-05-30 08:03:17 +02:00
Christian Quest
be3c7c3dc1 when to uppercase 2016-05-30 07:51:16 +02:00
Christian Quest
23e1cef33b when=lasthour/nexthour search added 2016-05-30 07:45:36 +02:00
Christian Quest
b6dbe874d1 when=now search added 2016-05-30 07:42:40 +02:00
Christian Quest
65ac5dec59 when=today/tomorrow/yesterday search added 2016-05-30 07:34:58 +02:00
Laurent Bossavit
4c169c169f Allow Content-Type in CORS 2016-05-23 14:56:10 +02:00
Christian Quest
6264912347 id+lastupdate back in the properties 2016-05-17 17:53:45 +02:00
Yohan Boniface
06a40638db Use our own json encoder to deal with datetime 2016-05-17 16:03:13 +02:00
Yohan Boniface
a9af21418b Factorize rows_to_collection 2016-05-17 10:05:39 +02:00
Yohan Boniface
8b5107e6c1 Factorize row_to_feature 2016-05-17 09:45:11 +02:00
Yohan Boniface
49523bd566 Use DictCursor for events query 2016-05-13 21:49:52 +02:00
Yohan Boniface
bc731e686c Use Falcon middleware for common headers 2016-05-13 21:25:33 +02:00
Yohan Boniface
65dd8fad24 Simpler db connection pattern 2016-05-13 21:22:05 +02:00
Yohan Boniface
71719e849f import order 2016-05-13 21:18:11 +02:00
Yohan Boniface
a9f1220bca Use DictCursor for stat query 2016-05-13 21:18:08 +02:00
Yohan Boniface
5458bedd09 Do not generate json by hand 2016-05-13 20:58:37 +02:00
Yohan Boniface
3cde7042a1 pep 8 2016-05-13 20:56:04 +02:00
Christian Quest
c05b744fee limit to 200 events in search results 2016-05-09 18:10:27 +02:00
Christian Quest
08bee9d947 distance is now optional in 'near' search (defaults to 1m) 2016-05-09 16:11:17 +02:00
Christian Quest
a2125a74ba get full geometries with &geom=full 2016-05-09 14:39:27 +02:00
Christian Quest
63ff78eaa1 compute/store geo.geom centroid only once 2016-05-09 14:23:51 +02:00
Christian Quest
5d07c7895d Merge branch 'master' of github.com:openeventdatabase/backend 2016-05-09 14:13:59 +02:00
Christian Quest
0537b09e47 near distance using buffer intersection 2016-05-09 14:13:34 +02:00
Laurent Bossavit
2690347bc8 Implement DELETE method on /event 2016-05-08 17:06:45 +02:00