Commit Graph

1104 Commits

Author SHA1 Message Date
Andrea Grandi 6b6458f2ea
Use requests lib instead of urllib2 2018-10-29 11:50:39 +00:00
amercader 204b1f301a One more fix for 2.9 2018-10-26 14:11:20 +02:00
amercader 128fddffc3 Bump to 1.1.3 2018-10-26 13:55:44 +02:00
amercader da9232348c Merge branch '2.9-fixes' 2018-10-26 13:55:23 +02:00
amercader ed288dca63 Reduce usage of c vars, add more tests 2018-10-26 13:38:09 +02:00
amercader 7d1bcdf8bd Merge branch '2.9-support' 2018-10-25 15:50:39 +02:00
amercader fa0e277324 Bump to 1.1.2 2018-10-25 15:49:38 +02:00
amercader dea0bd09ad Remove unused controller 2018-10-25 15:48:42 +02:00
amercader cb5186962e Support for CKAN 2.9
Use objects from toolkit, remove old checks using missing c properties,
Add legacy routes
2018-10-25 15:39:57 +02:00
amercader 7a22a3cf46 Test CKAN 2.8 2018-10-25 14:58:37 +02:00
amercader c72142cdf3 Merge branch 'etri-odp-master' 2018-10-25 13:05:09 +02:00
amercader 7bad691415 Add tests and docs for include/exclude groups 2018-10-25 13:04:37 +02:00
amercader 753d29d5ff Merge branch 'master' of https://github.com/etri-odp/ckanext-harvest into etri-odp-master 2018-10-25 12:47:26 +02:00
amercader 3e5f98e708 Document redis password param 2018-10-25 12:20:47 +02:00
amercader b51c5f119e Merge branch 'master' of github.com:ckan/ckanext-harvest 2018-10-25 12:19:47 +02:00
amercader bdbf53caea Fix styling issues on Bootstrap 3 2018-10-25 12:19:43 +02:00
Adrià Mercader 3808d52487
Merge pull request #332 from gavinpc-mindgrub/use-redis-password
Use Redis password from configuration when present.
2018-10-25 12:18:56 +02:00
Adrià Mercader fd5f2deaf7
Merge pull request #335 from dennisrpnw/master
Ensures the AND operator for fq in solr
2018-10-25 12:14:13 +02:00
Bruce Bolt e7384106c3 A harvester may not have an info method
This fixes the error `AttributeError: 'HarvesterBase' object has
no attribute 'info'` which prevents new harvest sources from
being created.
2018-10-25 10:32:50 +01:00
Dennis Rupnow 1a63250e4b Ensures the AND operator for fq in solr 2018-08-30 16:33:55 +02:00
Gavin Cannizzaro 9f8b98e54f Use Redis password from configuration when present. 2018-07-12 10:14:24 -04:00
Adrià Mercader dcbc5d5d05
Merge pull request #329 from stefina/send-harvest-error-mail-to-members
Send harvest-error-mails to organization-admins
2018-06-15 11:31:45 +02:00
Stefanie Taepke cd6f75251f test if error-mails are only sent to respective org’s admins 2018-06-14 14:45:26 +02:00
Stefanie Taepke 304bbcec06 send harvest-error-mails to organization-admins 2018-06-14 11:07:49 +02:00
amercader 7dd82a0e01 Bump to 1.1.1 2018-06-13 15:31:32 +02:00
amercader 300da315e0 Merge branch 'stefina-error-mail' 2018-06-13 14:22:16 +02:00
amercader 9085533909 Readme tweaks 2018-06-13 14:19:30 +02:00
amercader a6cb710127 Merge branch 'error-mail' of https://github.com/stefina/ckanext-harvest into stefina-error-mail 2018-06-13 14:17:42 +02:00
Adrià Mercader 818c76dd97
Merge pull request #328 from servercode/py3-proof-print
Fix print statements to be Py3 friendly
2018-06-13 14:00:01 +02:00
Stefanie Taepke c29b52867c update readme for receivers of error-mails 2018-06-13 13:54:13 +02:00
Stefanie Taepke e1e6b44a44 extend TestHarvestErrorMail from FunctionalTestBase
This prevents failing tests for older versions.
2018-06-13 13:31:03 +02:00
Stefanie Taepke ad9e513c0d mock ckan.lib.mailer 2018-06-13 13:12:14 +02:00
Stefanie Taepke 00911a6924 test harvest-error-mail 2018-06-13 10:53:36 +02:00
Stefanie Taepke f965751bd5 send error-mail to sys-admins 2018-06-13 10:46:35 +02:00
Stefanie Taepke 20c9235270 use logic-actions instead of DB-Calls 2018-06-13 09:09:36 +02:00
Stefanie Taepke 5f414e2c99 add error-notifications in case of harvest-failure
requires configuration-values:
ckan.harvest.status_mail.errored = true
email_to = %comma seperated list of emails to receive the email%
error_email_from = %sender of email%
ckan.site_title = %will be included in the email%
2018-06-11 13:38:38 +02:00
Ross Jones fff9800266 Fix print statements to be Py3 friendly
Fixes the print statements where they were doung to use print as a
function, and also to switch to .format() rather than %.

Also contains some flake8 whitespace changes as I suspect making this
PEP8ish will take several PRs.
2018-06-08 09:53:13 +01:00
Stefan Oderbolz 2619185bf9
Merge pull request #318 from ckan/readme-test-tip-ckan-parameter
Readme test tip ckan parameter
2018-06-07 18:57:09 +02:00
Adrià Mercader 9efb9f4ee5
Merge pull request #327 from GovDataOfficial/config-option-for-dataset-name-append-type
Add config option for dataset name append type
2018-06-04 14:13:10 +02:00
seitenbau-govdata 431d202d4e Add tests and documentation for dataset name suffix config 2018-06-01 21:45:29 +02:00
seitenbau-govdata 938d0322f5 Add config option for dataset name append type 2018-06-01 21:43:37 +02:00
MinhChau 0f8d448864 feat: add groups filter config 2018-04-17 13:22:26 +09:00
David Read 47bdd576fb Minor formatting improvements - unquote 2018-04-03 12:24:33 +01:00
David Read a11c2a6697 Minor formatting improvements 2018-04-03 12:20:18 +01:00
David Read c2000e3804 Added a tip, based on running related tests in ckanext-dcat. 2018-04-03 12:13:03 +01:00
Stefan Oderbolz 65e3163015
Merge pull request #315 from maxious/fix-solr-erase-all
Don't delete all solr documents/fail to index harvesters when harvest config blank
2018-03-03 09:55:36 +01:00
Alex Sadleir c89ddc02a3 Don't delete all solr documents when harvest config blank 2018-03-03 19:19:54 +11:00
Adrià Mercader 7fa6ee8bc0
Merge pull request #313 from opendatazurich/compatibility-with-fa-4
FontAwesome 4.x/CKAN 2.7.x compatibility
2018-02-20 13:54:18 +01:00
Stefan Oderbolz 00fc2f8a8f Fix build 2018-02-20 09:14:20 +01:00
Stefan Oderbolz 2464dd27b3 Add the CSS classes for FontAwesome 4.x
CKAN 2.7.x upgrades to FontAwesome 4.x, so the CSS classes need to be
updated in order to work. But because this extension is used in older
CKAN versions as well, we simply add the new classes, while keeping the
old ones for backwards compatibility.
2018-02-13 16:26:29 +01:00