amercader
5b05a12d61
Reduce duplication on blueprint/controllers
2021-05-28 13:57:15 +02:00
Sergey Motornyuk
68a872a6cb
remove future
2020-04-14 23:11:15 +03:00
Sergey Motornyuk
1e6f68990d
Use 1.11 six api
2020-01-21 15:28:30 +02:00
Sergey Motornyuk
ca35e7a971
Update encoding
2020-01-21 14:31:34 +02:00
Sergey Motornyuk
e063522032
Futurize
2019-12-11 14:23:03 +02:00
Sergey Motornyuk
2ab242ed97
Update views
2019-12-11 13:44:09 +02:00
Mark Winterbottom
541e0cb9b9
Fixed relative path issue with resource_stream in api.py.
2017-05-30 16:04:38 +01:00
Mark Winterbottom
c695370afc
Fixed issue with template path.
2017-05-24 15:34:40 +01:00
Mark Winterbottom
4223cfe62f
Fixed package reference for api controller.
2017-05-24 13:53:31 +01:00
Mark Winterbottom
711e9c8d2d
Updated package name to 'ckanext.spatial.validation' to fix bug https://github.com/ckan/ckanext-spatial/issues/174
2017-05-24 13:39:32 +01:00
Mark Winterbottom
155a6bd252
Pep8 improvemnets.
2017-05-24 12:33:07 +01:00
David Read
b7a2cee4e0
Remove unused imports. PEP8.
2016-09-19 12:32:55 +01:00
Andy Gross
d3c69a1326
Remove import of base.redirect
...
This function was removed in ckan/ckan@34f3f18
2016-09-18 03:35:56 -07:00
Tom Kralidis
e4ffbe611b
remove legacy CSW server implementation
2015-12-26 08:40:49 -05:00
amercader
f41f20c0da
[ #97 ] Move all GeoAlchemy(2) related code to a common module
...
This allows code in lib, model etc to not worry about GeoAlchemy
versions. This assume the correct library installed, as the check has
been done when starting up.
2015-03-27 15:57:55 +00:00
Tom Mortimer-Jones
d6896d68c2
Update csw.py
...
Fix copy paste error
2014-06-20 12:36:04 +01:00
amercader
d5461477aa
[ #8 ] Do not add XML declaration when storing the content
...
Rather than store the XML declaration in the DB, we add it if not present
when outputing the contents (Also in ckanext-harvest's show_object)
2013-03-01 17:33:53 +00:00
amercader
cc60327d0b
[ #10 ] Improve harvested metadata API
...
Some improvements on the endpoints that return the contents of the
harvest objects:
* Nicer URLs with redirects to the old ones
* Returning the raw harvest object content is available on the main
harvest extension, so just redirect there
* Support for showing the original document of a harvest object, if
present
* Suport for defining a custom XSLT for the HTML view, via
ckanext.spatial.harvest.xslt_html_content
ckanext.spatial.harvest.xslt_html_content_original
2013-02-19 18:38:15 +00:00
David Read
44728f12f7
Add XSL for converting Gemini XML to nice HTML, used in controllers/api.py.
2013-02-08 17:31:34 +00:00
amercader
0379852fe0
Merge branch '2641-spatial-widgets-new-theme' into release-v2.0
2012-11-12 16:44:05 +00:00
David Read
20e8f12615
Merged in ckanext-inspire.
...
Tests are passing, apart from a couple which didn't work before:
* test_functional.py -> functional/test_package.py (3 failures in 4)
* functional/test_dataset_map.py (1 fail in 1)
There may be some code errors still untested.
Renamed Validator -> Validators to make more sense.
2012-10-19 11:19:01 +01:00
David Read
8181b3d3bf
Merged in ckanext-csw @44d5a04656dff084e6bca57dda7b63deec69778c. Not tested yet.
2012-10-17 16:59:02 +01:00
amercader
01d6441886
[wms] More flexible wms format check
2012-08-13 17:07:59 +01:00
amercader
203558e97b
[search] Integrate spatial search with the default CKAN search
...
Search results coming from the default CKAN search (which are received
via the `search` method of the `IPackageController` interface) are
filtered to only contain the ones intersecting the provided bbox.
The search form temporarily shows a text field, which will be replaced
by a nice map widget.
2011-12-13 17:40:47 +00:00
Adrià Mercader
6f2b15f5ea
[api] Return only packages with state = active
2011-11-14 18:00:56 +00:00
Adrià Mercader
ab52106f20
Separate non-GEOS/PostGIS plugins to avoid needing to install them if not needed
...
I.e for the WMS preview plugin. Also add tests for the WMS preview plugin and
use dataset instead of package on the UI.
2011-10-28 13:03:31 +01:00
Adrià Mercader
e5dbeb9ff8
[wms_preview] Remove sysadmin check for WMS preview
2011-09-30 14:38:11 +01:00
Adrià Mercader
1798f63a08
[wms_preview] Fix for #1166 (Less stringent filters for WMS preview)
...
If one of the dataset resources has a 'WMS' format, the link will be
displayed. Also support for URLs with query params.
2011-09-30 12:15:53 +01:00
Adrià Mercader
40bddb0005
Use GeoAlchemy on the spatial query controller
2011-09-29 15:41:45 +01:00
Adrià Mercader
33235748b0
Update imports for the API controller
2011-05-26 15:34:21 +01:00
Adrià Mercader
1710205cf9
Moving the spatial query. You can enable it loading the spatial_query plugin in the ini file.
2011-04-11 18:04:28 +01:00
Adrià Mercader
76183b6f23
Moving the WMS previewer. You can enable it loading the wms_preview plugin in the ini file
2011-04-11 17:23:27 +01:00