Commit graph

93 commits

Author SHA1 Message Date
cquest
5c2fc98d1a Merge branch 'master' of github.com:openeventdatabase/backend 2017-11-13 10:47:25 +01:00
cquest
8af58850a1 None -> "" for default postgresql connect 2017-11-13 10:40:56 +01:00
cquest
cc319cb8fb /events removed 2017-03-11 05:28:53 +00:00
cquest
367eb73dd4 pas de SRID dans le calcul de hash 2016-11-20 18:57:03 +01:00
cquest
604a079368 optimisation index partiels sur what 2016-11-20 11:33:45 +01:00
cquest
ee082a91de optimisation INSERT geo 2016-11-20 11:16:13 +01:00
cquest
071005528f optimisation calcul hash/validité geojson 2016-11-20 10:58:16 +01:00
cquest
268c270ac0 accept PUT and DELETE cros domain 2016-11-04 10:37:51 +01:00
Christian Quest
56be749f7d secret based authentication 2016-08-18 22:33:35 +02:00
cquest
dda78efdd1 soft DELETE, saved in events_deleted table 2016-08-11 22:20:28 +02:00
cquest
816d3e7ece 2D+T optimisation removed 2016-08-11 22:18:46 +02:00
cquest
e3d27f6b19 create/update 2D+T index on geo table 2016-08-07 16:59:28 +02:00
cquest
075e292e86 PATCH implementation 2016-08-07 12:51:28 +02:00
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