Commit Graph

359 Commits

Author SHA1 Message Date
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 6060bc5cb4 Fix encoding for gemini harvester 2020-01-21 14:25:53 +02:00
Sergey Motornyuk a0fc527131 pylons config 2020-01-15 11:08:40 +02:00
Sergey Motornyuk 27057e0a39 IClick support 2019-12-13 16:48:20 +02:00
Sergey Motornyuk 93951db642 Add webassets.yml 2019-12-11 14:34:31 +02:00
Sergey Motornyuk e063522032 Futurize 2019-12-11 14:23:03 +02:00
Sergey Motornyuk 2803729263 Update commands 2019-12-11 14:22:28 +02:00
Sergey Motornyuk 2ab242ed97 Update views 2019-12-11 13:44:09 +02:00
Sergey Motornyuk 75a37f8ce4 Split plugins 2019-12-11 12:31:25 +02:00
Andres Vazquez f9eec070b6
I saw the languaje specified like this
Example [here](https://gitlab.com/datopian/ckan-ng-harvest/blob/develop/harvest/csw/samples/sample2.xml#L5-7).
```
<gmd:language>
    <gco:CharacterString>en</gco:CharacterString>
</gmd:language>
```

I'm not sure if this is ok with ISO but this CSW source is using it.
2019-09-16 09:16:15 -03:00
Jean Pommier 8bfed010c2 [harvest] fixes https://github.com/ckan/ckanext-spatial/issues/225 2019-08-22 11:30:47 +02:00
Bruce Bolt b0b6eebf5a The expected key may not be set - this stops a KeyError 2018-11-14 11:26:48 +00:00
Emanuele Tajariol 2acf66b110 #188 Add clean_tags option in harvester (#189)
* cleanup bad chars from tags in harvester

* cleanup bad chars from tags in harvester - do safer config read

* use munge_tag to clear tags, code cleanup

* restored default tag truncate

* tests for clean tags

* removed hack for IHarvester.info()

* #188 cleanup

* #188 #190 Add doc about harvester JSON config

* clean tags tests updated #188

* #188 test fixes

* #188 test fixes

* #188 test fixes

* #188 test fixes

* removed unused/bad code after review #188
2018-05-12 12:07:43 +02:00
Ross Jones e5da0a15c9
Fix broken tests
Tests were relying on _rest action calls which have now been removed in
master (and 2.8) and therefore tests were failing.

Makes the tests work, although there is probably some effort required in
determining why metadata_modified is not being returned from
package_show calls.

Also caches the pip output, and tests against newer versions of CKAN
2018-05-09 22:51:46 +01:00
Tyler Kennedy ee643094b1 Fix missing import in before_index
[Most] versions of shapely do not have `geometry` imported at the top level. Import it explicitly to prevent indexing errors instead of relying on import side-effects.
2017-09-11 11:03:53 -04:00
Mark Winterbottom d74d331019 Pep-8 2017-05-31 08:53:52 +01:00
Mark Winterbottom 011008b9c5 pep-8 improvements. 2017-05-30 16:57:04 +01:00
Mark Winterbottom b79bf51a05 Updated called to `resource_stream` to use __name__ in validation.py for consistency. 2017-05-30 16:20:22 +01: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 11ae652df3 PEP-8 improvements. 2017-05-24 13:38:37 +01:00
Mark Winterbottom 91ba363f48 PEP-8 improvements. 2017-05-24 13:38:19 +01:00
Mark Winterbottom 155a6bd252 Pep8 improvemnets. 2017-05-24 12:33:07 +01:00
Mark Winterbottom faee1d4596 Updated usage of `resource_stream` to use 'ckanext.spatial.validation' to fix issue https://github.com/ckan/ckanext-spatial/issues/174. 2017-05-23 17:08:04 +01:00
Mark Winterbottom 63ad6478fb Updated paths for `transforms` which were missed from previous commit. 2017-05-23 16:07:07 +01:00
Mark Winterbottom 5fa5853c3a Made some pep8 improvements. Updated the resource_stream called to use '__name__' in attempt to fix this bug: https://github.com/ckan/ckanext-spatial/issues/174 2017-05-23 15:19:14 +01:00
Adrià Mercader 5040caee85 Merge pull request #164 from torfsen/leaflet-0.7.7-leaflet.draw-0.3.2
Update Leaflet to 0.7.7 and Leaflet.Draw to 0.3.2
2016-10-17 11:34:38 +01:00
Florian Brucker 10878dc168 Update Leaflet.Draw to 0.3.2. 2016-10-12 10:27:02 +02:00
Florian Brucker 1221fe67eb Update Leaflet to 0.7.7. 2016-10-11 15:54:17 +02:00
etj 3d73bc9642 [#162] Allow use of WMS layer in extent map 2016-10-04 16:38:27 +02:00
etj e15838d7f4 [#162] Allow use of WMS layer in extent map 2016-10-04 13:14:39 +02: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
amercader 44f05e181c [#157] Replace MapQuest by Stamen as default tiles 2016-08-03 11:57:10 +01:00
Miguel Gouveia 16fa672a18 Improving log error message.
Improving log error message for invalid geoJSON data.
2016-06-17 15:46:22 +01:00
Adrià Mercader cb9c1294f2 Merge pull request #116 from DataShades/spatial-field-solr-5
#114 solr-spatial-field search Solr 5 compatibility
2016-05-31 15:22:58 +01:00
Tom Kralidis 143250ea9c fix CSW constructor 2016-01-25 10:33:48 -05:00
amercader 918f06fa3c Merge branch 'license' of https://github.com/geosolutions-it/ckanext-spatial into geosolutions-it-license 2016-01-14 12:32:52 +00:00
Tobia Di Pisa 7970f2b656 Metadata license ID check for package: refinements. 2016-01-14 13:17:22 +01:00
amercader 02f01508bf Remove print statement 2016-01-14 12:12:43 +00:00
David Read fc3a364a0f Support new locations for test functions. 2016-01-14 09:55:27 +00:00
David Read 7e2f4f957c Merge pull request #141 from tomkralidis/remove-cswinfo
remove cswinfo
2016-01-14 09:47:12 +00:00
amercader 52a48694b5 Merge branch 'force-sortby' of https://github.com/tomkralidis/ckanext-spatial into tomkralidis-force-sortby 2016-01-13 17:54:40 +00:00
Tom Kralidis fc4c37c4c3 add super to init 2016-01-13 12:49:11 -05:00
Adrià Mercader 11b13cd132 Merge pull request #129 from nbtetreault/patch-1
Set tms option for custom layer
2016-01-13 18:38:10 +01:00
Adrià Mercader 29abbeb1bb Merge pull request #132 from ckan/paster-speedup
Speed up non-spatial paster commands.
2016-01-13 18:36:32 +01:00