Commit Graph

6 Commits

Author SHA1 Message Date
amercader 34d3e372b8 [#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:31:40 +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
amercader cafc0b9644 [tests] Fix test for changes in logic layer 2012-04-29 18:17:13 +01:00
amercader 60bc030e7d [tests] Update package create functions to logic refactor 2012-04-13 10:59:21 +01:00
amercader 25470e3a43 [tests] Add tests for spatial search integration and search widget 2012-02-22 12:26:52 +00:00
Adrià Mercader 571a27a274 [tests] Add tests 2011-10-16 23:40:19 +01:00