Commit Graph

1433 Commits

Author SHA1 Message Date
pdelboca d1d9a4fef3 Remove CKAN <= 2.8 info from README 2023-02-28 13:01:43 -03:00
pdelboca 9f2f84abd2 Clean no longer needed boostrap helper 2023-02-28 12:49:32 -03:00
pdelboca 9e3e63fb6b Clean up six from the codebase 2023-02-28 12:44:32 -03:00
pdelboca ee661f12b2 Remove six from tests 2023-02-28 12:27:36 -03:00
pdelboca 6090ad83fb Sanitize blueprints to Flask syntax 2023-02-28 12:17:41 -03:00
pdelboca 339cdd9988 Rename fanstatic to assets 2023-02-28 10:46:27 -03:00
pdelboca 163bb39e3a Drop admin link support for old versions 2023-02-28 10:42:26 -03:00
pdelboca aa44587b7a Remove old snippets for resource/asset compatibility 2023-02-28 10:27:12 -03:00
pdelboca 8c340f3690 Drop support for old versions in templates 2023-02-28 10:24:17 -03:00
pdelboca 7b391e6be9 Re introduce plugin.py file 2023-02-28 09:28:11 -03:00
pdelboca a47a4f1a4f Drop support for Pylons 2023-02-28 09:04:07 -03:00
Adrià Mercader 74a8b2fdfe
Merge pull request #519 from GSA/sort-ho-id
pick the right harvest_object_id if there are multiple
2023-02-16 10:43:02 +01:00
Fuhu Xia 2f59c0d5f0 pick the right harvest_object_id if there are multiple 2023-02-15 17:12:31 -05:00
Adrià Mercader 10e50a709b
Merge pull request #517 from GSA/datagov-2022-12-21
added unescape for email text body to avoid encoded characters
2023-01-24 12:03:03 +01:00
amercader ecb9e702bb Bump version 2023-01-12 15:08:20 +01:00
Jin-Sun-tts 9338de78a8 fix lint 2022-12-22 16:48:12 -05:00
Jin-Sun-tts 84780a9633 specify different unescape package for python3.4+ and python2 user 2022-12-22 16:45:18 -05:00
Jin-Sun-tts 8b450af41b add unescape for email body 2022-12-21 14:14:14 -05:00
Adrià Mercader 2e5ac42f3b
Merge pull request #516 from pdekraker-epa/master
Add CSRF Protection Support
2022-12-07 14:31:05 +01:00
Paul DeKraker 84e1152047 Merge remote-tracking branch 'upstream/master' 2022-12-07 07:47:13 -05:00
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
amercader 49f1093ca0 Bump lint workflow py version 2022-12-06 21:23:52 +01: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
Adrià Mercader d84ae949b0
Merge pull request #514 from GSA/harvest_error_harvest_object_id_idx
add index harvest_error_harvest_object_id_idx
2022-10-11 16:02:20 +02:00
amercader 3bde75ff72 Add enum34 requirement for py2 2022-10-11 15:57:29 +02:00
amercader c87309a8dc Remove pyopenssl requirement 2022-10-11 15:30:31 +02:00
amercader 53770b3378 Install different pyopenssl versions depending on py version 2022-10-11 15:20:28 +02:00
Fuhu Xia 41a620b615 add index harvest_error_harvest_object_id_idx 2022-10-10 12:46:36 -04:00
amercader cb0a703441 Bump version 2022-09-20 13:47:45 +02: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
amercader 98edcd3ad7 Bump pyopenssl
To fix this failure on the CI tests:

```
   File "/__w/ckanext-harvest/ckanext-harvest/ckanext/harvest/harvesters/ckanharvester.py", line 7, in <module>
    from urllib3.contrib import pyopenssl
  File "/usr/lib/python3.9/site-packages/urllib3/contrib/pyopenssl.py", line 50, in <module>
    import OpenSSL.SSL
  File "/usr/lib/python3.9/site-packages/OpenSSL/__init__.py", line 8, in <module>
    from OpenSSL import crypto, SSL
  File "/usr/lib/python3.9/site-packages/OpenSSL/crypto.py", line 1550, in <module>
    class X509StoreFlags(object):
  File "/usr/lib/python3.9/site-packages/OpenSSL/crypto.py", line 1570, in X509StoreFlags
    CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
```
2022-09-07 11:20:47 +02:00
Adrià Mercader 03b5c93cc9
Merge pull request #510 from FuhuXia/sysadmin-recipient
add recipient only if there is email
2022-08-16 12:21:51 +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
amercader 8ed1ecacfb requirements.txt in test workflow 2022-07-06 15:32:11 +02:00
amercader a35f095ac1 Use requirements.txt instead of pip-requirements.txt
To match the vast majority of other extensions. pip-requiremetns.txt has
been kept as a symlink
2022-07-06 15:25:21 +02:00
amercader a595579c4e Upper bound pika requirement 2022-07-06 15:22:59 +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
Sergey 2560315910
Merge pull request #504 from Engerrs/broken-pagination-on-dataset-list-page
Fix pagination for Dataset list on source page
2022-06-02 08:58:08 +03:00