Commit graph

114 commits

Author SHA1 Message Date
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
Christian Quest
5312a6bd47 Merge branch 'yohanboniface' 2016-05-17 17:40:14 +02:00
Christian Quest
31dbc19e36 Merge branch 'review' of https://github.com/yohanboniface/backend into yohanboniface-review2 2016-05-17 17:19:59 +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
cquest
f6179e354b Update other.json 2016-05-16 18:35:44 +02:00
cquest
cfdaba74a3 Update event.json 2016-05-16 18:34:20 +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
Laurent Bossavit
089e4a8dbd Upgrade backend to production version of Ubuntu 2016-05-08 16:45:50 +02:00
Christian Quest
48a18584c3 add distance calculation with 'near' search 2016-05-08 16:09:29 +02:00
Christian Quest
093bda5fa6 needed utf-8 decode back 2016-05-08 14:47:20 +02:00
Christian Quest
9897e07a34 unneeded utf-8 decode removed 2016-05-08 14:44:38 +02:00
Christian Quest
b21cbe1d46 start/stop to now by default 2016-05-08 14:43:41 +02:00
Christian Quest
3f2c5d9429 minimal formatting for featurecollections 2016-05-08 11:56:56 +02:00
cquest
1f6cc66b36 Merge pull request #1 from openeventdatabase/updates
Deal with updates
2016-05-08 10:08:06 +02:00
Christian Quest
51ef635674 && instead of @> to match overlapping date ranges 2016-05-08 09:51:16 +02:00
Laurent Bossavit
cac641f26e Deal with updates 2016-05-07 10:59:57 +02:00
Christian Quest
10b92cb555 str() removed around mogrify 2016-05-07 10:44:27 +02:00
Christian Quest
bdb1a9d3dc bytes to string after morgrify 2016-05-07 09:38:36 +02:00
Christian Quest
304250fa7c fix 2016-05-06 22:25:45 +02:00
Christian Quest
be0f5a958f start/stop added + fix 2016-05-06 22:21:12 +02:00
Christian Quest
22679a47fe first swagger definition file 2016-05-06 22:08:39 +02:00
Christian Quest
fe0119e16d fix on when=now 2016-05-06 20:55:16 +02:00
Christian Quest
24e8d28117 search events on type, what, when, where 2016-05-06 20:51:46 +02:00
Christian Quest
81dbb18ef4 has_key > in 2016-05-06 18:06:08 +02:00
Christian Quest
2818e28708 bbox(E,S,W,N) support to filter event list 2016-05-06 18:01:55 +02:00
Christian Quest
1bca268190 safer SQL range in INSERT query 2016-05-06 17:27:01 +02:00
Christian Quest
f94740c1cf events_tags now jsonb (was json) 2016-05-06 17:04:52 +02:00
Christian Quest
ad965fffee id/createdate/lastupdate added to properties 2016-05-06 16:48:37 +02:00
Christian Quest
d966e626a3 return centroid of event in lists 2016-05-06 15:59:18 +02:00
Christian Quest
a47007c7dd postgres default connection 2016-05-06 15:22:31 +02:00
Christian Quest
fb7af852c8 resync with master 2016-05-06 15:17:01 +02:00
Christian Quest
1427b3a0e3 list recent current events 2016-05-06 15:08:32 +02:00
Laurent Bossavit
c2a7e37d85 Remove editor, moved to its own repo 2016-05-06 12:14:56 +02:00
Laurent Bossavit
8bf79a1288 Adds an editor for geometry and properties 2016-05-05 22:31:54 +02:00