Custom Query (2152 matches)
Results (829 - 831 of 2152)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#1268 | fixed | Speed up listing users by revisions by adding db index | kindly | rgrp |
Description |
At the moment this appears to be slow (kindly suggests because missing index in db). Page is /user on a ckan instance. Would this also speed up user page where we recent changes? |
|||
#1270 | fixed | Default site www.ckan.net is a redirect and loses POSTs | dread | dread |
Description |
The default site was www.ckan.net, which had an Apache 301 redirect to ckan.net, but the problem was urllib was not rePOSTing stuff. This affected search parameters: In [1]: import ckanclient In [2]: c = ckanclient.CkanClient() In [3]: c2 = ckanclient.CkanClient('http://ckan.net/api') In [4]: c.package_search('', search_options={'groups':'openspending'}) Out[4]: {u'count': 2102, u'results': <generator object _result_generator at 0x10168b1e0>} In [5]: c2.package_search('', search_options={'groups':'openspending'}) Out[5]: {u'count': 29, u'results': <generator object _result_generator at 0x10168b410>} Thanks to borior for finding this and raising it. |
|||
#1271 | fixed | CORS support | rgrp | rgrp |
Description |
CORS - http://www.w3.org/TR/cors/ - support. This is what you do in Apache. Should do this in lib/base.py or similar. Header always set Access-Control-Allow-Origin "*" Header always set Access-Control-Allow-Methods "POST, PUT, GET, OPTIONS" Header always set Access-Control-Allow-Headers "X-CKAN-API-KEY, Content-Type" # Respond to all OPTIONS requests with 200 OK # This could be done in the webapp # This is need for pre-flighted requests (POSTs/PUTs) RewriteEngine On RewriteCond %{REQUEST_METHOD} OPTIONS RewriteRule ^(.*)$ $1 [R=200,L] |
Note: See TracQuery
for help on using queries.