Commit Graph

1020 Commits

Author SHA1 Message Date
P DeKraker 63e55cdeb2
Apply only to versions with CSRF
Co-authored-by: Adrià Mercader <amercadero@gmail.com>
2022-12-07 07:37:26 -05:00
Paul DeKraker 85f8c1682d Merge remote-tracking branch 'github/master' 2022-12-03 23:26:04 -05:00
Paul DeKraker 301879427e Add CSRF protection to new source form 2022-12-03 23:14:25 -05:00
amercader a628782a98 Merge branch 'master' of github.com:ckan/ckanext-harvest 2022-10-11 16:02:26 +02:00
amercader c87309a8dc Remove pyopenssl requirement 2022-10-11 15:30:31 +02:00
Fuhu Xia 41a620b615 add index harvest_error_harvest_object_id_idx 2022-10-10 12:46:36 -04:00
amercader baca6242ed Merge branch 'NCAR-fix-email-access-authn' 2022-09-20 13:42:00 +02:00
amercader 72e9feee5e Merge branch 'fix-email-access-authn' of https://github.com/NCAR/ckanext-harvest into NCAR-fix-email-access-authn 2022-09-20 13:41:46 +02:00
Adrià Mercader 9d34e952c4
Merge pull request #508 from GovDataOfficial/fix-502-broken-unicode-support-py2
Fixes unicode error in Python 2
2022-09-20 13:39:36 +02:00
Fuhu Xia 8b84b8f41d
add recipient only if there is email 2022-08-12 00:59:39 -04:00
seitenbau-govdata a38d5e9322 Fixes unicode error in Python 2 2022-07-14 15:54:19 +02:00
amercader 7b6097ad98 Cross-version mock import 2022-07-14 14:00:52 +02:00
amercader b92b364bd9 Refactor tests to avoid failures
Caused by https://github.com/ckan/ckan/issues/6880
2022-07-14 14:00:13 +02:00
Brian Bonnlander 125ec71f89 Fix indents 2022-06-09 20:09:43 +00:00
Brian Bonnlander 9dbe02a606 Remove request for extra fields 2022-06-09 20:07:33 +00:00
bonnland f5e4e1c093
Update ckanext/harvest/logic/action/get.py
Co-authored-by: Adrià Mercader <amercadero@gmail.com>
2022-06-09 13:32:21 -06:00
Brian Bonnlander 053d6e99ea Filter out users with no email address 2022-06-07 16:42:48 +00:00
Brian Bonnlander cdf767d1e9 Avoid crashing mailer when sysadmin has no email 2022-06-06 19:50:10 +00:00
Brian Bonnlander 79a5a45ba0 make it possible to get email address 2022-06-02 23:30:08 +00:00
Yan Rudenko d9a99ea4da Fix pagination for Dataset list on source page 2022-05-18 22:57:34 +03:00
Adrià Mercader 8a9885a04e
Merge pull request #498 from NCAR/check-email-exists
Check 'email' field existence before use
2022-04-20 15:14:12 +02:00
Andres Vazquez 74f103dc5f Remove unused import 2022-04-20 08:24:09 -03:00
bonnland 7fb4f43c0c Check field existence before use 2022-04-14 17:10:28 -06:00
Andres Vazquez 17fd9deb77 Use unicode_safe 2022-04-14 13:53:15 -03:00
cirun 2ce1164744 fix for test_blueprint.py 2022-04-12 23:01:30 +02:00
cirun e50bc721ff fix for solr 8 2022-04-12 13:43:36 +02:00
amercader 83e42c6273 Cross version URL support 2022-04-08 14:41:43 +02:00
amercader e8362c4616 Use unicode_safe validator in schema
CKAN core no longer supports builtin functions as validators.
Requires ckantoolkit>=0.0.7 for CKAN 2.7 support
2022-04-08 14:40:20 +02:00
Adrià Mercader 89b1a322ac
Merge pull request #493 from GSA/render-jinja2
use render_jinja2 for ckan 2.8
2022-04-06 12:54:47 +02:00
Adrià Mercader 6ae2043a94
Merge pull request #492 from salsadigitalauorg/add-support-for-CKAN-2.10
Add support for CKAN 2.10
2022-04-05 11:38:38 +02:00
Fuhu Xia 6c9bb4fe96 use render_jinja2 for ckan 2.8 2022-03-24 13:22:47 -04:00
cirun 1669302d64 remove unnecessary code 2022-03-24 15:15:56 +01:00
cirun 0bbf8b02df update ckan hooks 2022-03-24 15:13:42 +01:00
Adrià Mercader b17eb5e714
Merge pull request #490 from TomeCirun/add-bs5-support
Add BS5 support
2022-03-24 13:13:35 +01:00
cirun bbf2beec27 remove template_base variable 2022-03-24 12:05:29 +01:00
cirun 1e228f0992 remove extra templates-bs3 2022-03-24 09:13:31 +01:00
cirun e8b465e13b remove harvest_plugin_extended 2022-03-24 09:01:07 +01:00
Adrià Mercader 4ef77d7616
Merge pull request #489 from TomeCirun/JSONDecoder-error
JSONDecode Error
2022-03-23 15:01:32 +01:00
cirun 3ec494789b lint 2022-03-22 11:31:09 +01:00
cirun f20a7a9855 lint 2022-03-22 11:24:39 +01:00
cirun fe3a55795a add support for CKAN 2.10 2022-03-22 10:53:57 +01:00
cirun ba40b7e0fb fix 2022-03-04 17:14:03 +01:00
cirun 1bdd4269b2 add template_base 2022-03-04 17:05:57 +01:00
cirun 00cc50ed43 add bs5 support 2022-03-04 16:27:24 +01:00
cirun 80423ab715 check before json.loads() 2022-03-04 14:21:05 +01:00
Francesco Frassinelli 725d4a0201 Add ckan.harvest.not_overwrite_fields 2022-03-04 09:41:30 +01:00
Adrià Mercader 82f3b59267
Merge pull request #475 from frafra/fix-truncate
Replace h.truncate with truncate
2022-02-08 15:06:39 +01:00
Adrià Mercader ddc891f268
Merge pull request #487 from ckan/futureproof_version_check
Futureproof version check to work also on 3.0+
2022-01-24 18:16:15 +01:00
Jari Voutilainen e650be8a4e Futureproof version check to work also on 3.0+ 2022-01-18 15:46:18 +02:00
seitenbau-govdata d2b7340509 Rename keep-actual to keep-current and updated documentation 2021-12-22 10:39:18 +01:00