Commit Graph

1177 Commits

Author SHA1 Message Date
amercader 783b396dd1 Redis updates for py3
By default Redis returns all values as bytes. To keep our existing
logic, we pass the decode_responses and encoding parameters so it
returns strings instead.
Align the requirement with the one in CKAN core.
2020-02-17 13:23:05 +01:00
amercader 5a0a2eb6a5 Use py3 libraries 2020-02-17 12:48:18 +01:00
amercader 63c484cfa9 Update Travis setup for py2/py3 testing 2020-02-16 22:27:02 +01:00
amercader d2d5c34395 Second batch of pytest tests 2020-02-14 23:29:47 +01:00
amercader 16d85737fd First nose tests (again) 2020-02-14 16:01:48 +01:00
amercader cfc6f794cb Merge branch 'py3-support' of github.com:ckan/ckanext-harvest into py3-support 2020-02-14 13:54:51 +01:00
amercader d89815d664 Re-add deleted old nose tests 2020-02-14 13:54:27 +01:00
amercader caa2c71526 Fix bad merge 2020-02-14 13:49:25 +01:00
amercader 90ee2de450 Merge branch 'py3-support' of github.com:ckan/ckanext-harvest into py3-support 2020-02-10 23:57:33 +01:00
amercader 2bba07fb49 Test nose only for now 2020-02-10 23:49:01 +01:00
amercader 8899f67577 Merge branch 'py3-support' of github.com:ckan/ckanext-harvest into py3-support 2020-02-10 23:48:14 +01:00
amercader 88f86b5820 Pytest tests, first batch 2020-02-10 23:45:53 +01:00
amercader 4ee8fa2a5d Use nose ini file 2020-02-10 22:27:29 +01:00
amercader 1b120da59a Fix asserts 2020-02-10 22:11:42 +01:00
amercader b670aa64a8 Start splitting tests, fix nose ones 2020-02-08 01:18:20 +01:00
amercader 4c2af58307 Add missing snippet file 2020-02-08 01:10:01 +01:00
amercader f6143b3002 Fix var 2020-02-07 20:40:43 +01:00
amercader fa81efe2a4 Merge branch 'py3' of https://github.com/DataShades/ckanext-harvest into DataShades-py3 2020-02-07 15:24:02 +01:00
Adrià Mercader efc78fae69
Merge pull request #390 from starsinmypockets/fix/exeception-handling
Don't swallow exceptions
2020-02-04 12:30:13 +01:00
Paul Walker 2da18c8dd2 Don't swallow exceptions 2020-02-01 09:06:46 -05:00
amercader 8525767dac Merge branch 'master' of github.com:ckan/ckanext-harvest 2020-01-22 14:38:33 +01:00
amercader 7307a8baa3 New version 1.2.1 2020-01-22 14:38:24 +01:00
amercader 713a0fb04f Merge branch 'alphagov-dgu-fixes' 2020-01-22 14:33:17 +01:00
amercader a5abb6d43e Remove overall_statistics as they are no longer used 2020-01-22 14:33:04 +01:00
amercader c0aadfc5a5 Merge branch 'dgu-fixes' of https://github.com/alphagov/ckanext-harvest into alphagov-dgu-fixes 2020-01-22 14:24:36 +01:00
amercader 9a07b26e22 Merge branch 'remove-unused-templates' 2020-01-22 14:24:16 +01:00
Adrià Mercader 3477dc6cde
Merge pull request #387 from smellman/patch-1
Missing package name in CKANHarvester example
2020-01-22 14:20:36 +01:00
amercader f1ce5ded51 Remove more old templates 2020-01-22 14:15:29 +01:00
amercader 0b9dc3bb6b Remove unused file 2020-01-22 14:03:06 +01:00
Adrià Mercader 4832439b59
Merge pull request #389 from starsinmypockets/fix/do-not-render-admin-link-without-auth
Check for auth before rendering admin link.
2020-01-22 13:51:45 +01:00
Paul Walker 9267d19f82 Check for auth before rendering admin link.
Note that the incorectly rendered admin link does _not_ grant authorization to update the harvest source. The auth appears to be correct. The problems appears to be that the admin link is rendered when it should not be. Following the link results in 401 when rendered for a user without the correct permissions.
2020-01-21 20:10:15 -05:00
Sergey Motornyuk 376cc51ab7 Modernize controller 2020-01-16 11:58:47 +02:00
Sergey Motornyuk bb005415bb CLI is working in both forms 2020-01-16 10:43:25 +02:00
Sergey Motornyuk be494e1af6 First successfull fetch from demo.ckan.org 2020-01-15 18:42:33 +02:00
Sergey Motornyuk aae1267315 Futurize. 1st stage 2020-01-15 17:33:05 +02:00
Sergey Motornyuk 55bd3fc282 Start updating cli 2020-01-15 17:32:30 +02:00
Taro Matsuzawa aka. btm 600e9cc87f
Missing package name in CKANHarvester example 2019-12-25 12:44:30 +09:00
Ken Tsang 5507adc825 import mock.patch 2019-12-17 23:35:41 +00:00
kentsanggds 5fc035aa2d
Merge branch 'master' into dgu-fixes 2019-12-17 23:22:31 +00:00
David Read f9eedcac4e
Merge pull request #382 from ckan/fix-travis-requirements-py2
Fix for Travis build, now requirements.txt on master is for python3
2019-11-22 13:47:28 +00:00
David Read 90a0d4bfb5 Fix for Travis build, now requirements.txt on master is for python3 2019-11-22 12:16:42 +00:00
Stefan Oderbolz 83c483dc06
Add #381 to CHANGELOG 2019-11-14 17:22:57 +01:00
Stefan Oderbolz 6100839809
Re-add Unreleased section 2019-11-14 17:20:23 +01:00
Stefan Oderbolz f80564301e
Merge pull request #381 from stefina/fix-error-mail-for-harvest-object-error
get message from harvest_object_error-dict
2019-11-14 17:17:55 +01:00
Stefanie Taepke 27fbd0caad add test for error mail when HarvestObjectError occurs 2019-11-14 16:01:00 +01:00
Stefanie Taepke 56dd067e5b get message from harvest_object_error-dict 2019-11-13 18:14:06 +01:00
amercader 142731a3ca Make revision_id optional in schema, as it has been removed in CKAN master 2019-11-08 10:12:51 +01:00
amercader 7b251f0e3b Actually skip the log tests 2019-11-01 16:41:44 +01:00
amercader 98206669da Update version number and changelog 2019-11-01 16:37:22 +01:00
amercader 34517193fe Merge branch '369-broken-tests' 2019-11-01 16:33:53 +01:00