Commit Graph

1074 Commits

Author SHA1 Message Date
Stefan Oderbolz 11a3bf261e Update the 'unreleased' changelog 2017-03-29 11:49:53 +02:00
Stefan Oderbolz 7028a10075 Emphazise the changelog 2017-03-29 11:34:26 +02:00
Stefan Oderbolz 545cc215d6 Convert CONTRIBUTING.md to CONTRIBUTING.rst 2017-03-29 11:33:00 +02:00
Stefan Oderbolz fc9a334b80 Add a CONTRIBUTING.md file 2017-03-29 11:26:05 +02:00
Stefan Oderbolz 55b0ee8155 Add changelog entries for 0.0.2 and 0.0.3 2017-03-29 11:10:42 +02:00
Stefan Oderbolz 1956060315 Add missing releases to CHANGELOG 2017-03-28 23:30:13 +02:00
Stefan Oderbolz 81d7abd098 Update CHANGELOG 2017-03-28 23:06:02 +02:00
Adrià Mercader e3b4854b07 Merge pull request #270 from GovDataOfficial/improve-resolving-local-groups
Improve resolving local groups
2017-03-01 12:29:29 +00:00
David Read 345fbd03a8 Merge pull request #283 from DataShades/282-fix-gather-fails
#282 Return an empty list when no CKAN datasets are gathered
2017-02-21 09:37:07 +00:00
Mark Gregson dc06f92ec7 Return an empty list when no CKAN datasets are gathered 2017-02-21 12:22:02 +11:00
Adrià Mercader c32ae36ef2 Merge pull request #278 from 6aika/fix-plugin-namespace-packages
Fix setup.py to match it's current paster template
2017-01-13 10:57:08 +00:00
Mikko Nieminen be20bb7d8a Fix setup.py to match it's current paster template 2017-01-13 08:24:53 +02:00
Adrià Mercader 768e90a774 Merge pull request #276 from warriorkitty/patch-1
Fix JSON typo
2017-01-05 12:18:37 +00:00
Davor Lozic 863305ece8 Fix JSON typo 2017-01-05 12:31:40 +01:00
Adrià Mercader 977589fdd6 Merge pull request #272 from 6aika/master
remove authz as they are not used and they are no longer new
2016-11-23 15:26:45 +02:00
Adrià Mercader 3836fcfd65 Merge pull request #268 from GovDataOfficial/clearsource-history-command
Add clearsource history command
2016-11-23 14:35:45 +02:00
Jari Voutilainen afee362bbc remove authz as they are not used and they are no longer new 2016-11-17 14:14:02 +02:00
rnoerenberg ff1b861f1b Update documentation
Added note with the limit of 1000 harvest sources
2016-11-16 16:02:12 +01:00
David Read e7c03855ca Avoid the "# dont use factory because it looks for the existing source" by copying the SOURCE_DICT each time, rather than letting tests edit the master copy. 2016-11-16 15:40:44 +01:00
seitenbau-govdata 7f76f60ec3 Fixed variable name 2016-11-16 00:34:07 +01:00
seitenbau-govdata d511663038 Sort lists for assert 2016-11-16 00:25:19 +01:00
seitenbau-govdata 95d0c1ca41 Ignoring not existent harvest sources in harvest_sources_job_history_clear
Ignoring not existent harvest sources harvest_sources_job_history_clear because of a possibly corrupt search index.
2016-11-15 23:36:11 +01:00
seitenbau-govdata 0f951d9fc0 Improve resolving local groups
Improve resolving local groups by searching for group additionally by name.
2016-11-15 22:38:27 +01:00
seitenbau-govdata f68bf323f0 Using test class wide unique harvest source url
Using test class wide unique harvest source url, because in a test created objects are still present in following tests.
2016-11-15 22:28:37 +01:00
seitenbau-govdata d01a86680e Fix creating different harvest sources
Fix creating different harvest sources. Different harvest sources can't be created with factory.
2016-11-15 21:56:57 +01:00
seitenbau-govdata 096e746c81 Fixed HarvestSourceObj argument 2016-11-15 21:23:20 +01:00
seitenbau-govdata 8d5ff4b4ef Fixed harvest_sources_job_history_clear test
Fixed harvest_sources_job_history_clear test by creating different harvest sources.
2016-11-15 21:09:42 +01:00
rnoerenberg cf1cfcca48 Fixed using property of object 2016-11-15 15:50:03 +01:00
rnoerenberg 1acab98026 Added tests for clearsource history command 2016-11-15 15:37:26 +01:00
seitenbau-govdata af0e1712b9 Changed filter query for reading harvest sources
Changed filter query for reading harvest sources in according to the code in /ckanext/harvest/plugin.py.
2016-11-15 15:04:01 +01:00
Raphael Stolt e8570b9e50 Add clearsource history command 2016-11-15 15:04:01 +01:00
Adrià Mercader b78afd0302 Merge pull request #269 from GovDataOfficial/fix-missing-i18n-directory
Include i18n directory in package
2016-10-28 14:37:58 +01:00
Raphael Stolt 8deba079c5 Include i18n directory in package 2016-10-28 11:49:17 +02:00
David Read f4af291754 Merge pull request #265 from argv0/patch-1
Change 'redirect' calls to 'h.redirect_to'
2016-09-19 11:23:29 +01:00
Andy Gross f2e1dc512c Change 'redirect' calls to 'h.redirect_to'
ckan.lib.base.redirect was removed in [1], guidance is to always use h.redirect_to instead.  Manifested as 503 errors in the harvest UI against an install of CKAN master branch. 

[1] 34f3f18e88
2016-09-18 03:23:29 -07:00
Adrià Mercader 57173ff9fe Merge pull request #263 from metaodi/add-last-job-status
Add new parameter return_last_job_status to harvest_source_list
2016-08-31 11:23:42 +01:00
Stefan Oderbolz 4ee772f064 Use toolkit.asbool to parse given boolean parameter 2016-08-31 09:13:36 +02:00
David Read 1edb114482 Merge pull request #264 from metaodi/245-use-apgl-in-setup-py
Specify AGPL in setup.py in accordance with CKAN
2016-08-30 10:38:09 +01:00
Stefan Oderbolz aa12bc9937 Specify AGPL in setup.py in accordance with CKAN [#245] 2016-08-29 11:53:43 +02:00
Stefan Oderbolz 8b081e2868 Add new parameter return_last_job_status to harvest_source_list
In order to get a quick overview over successful/failed harvesters, a
call to harvest_source_list with return_last_job_status=true can be used
to get this information.
By default return_last_job_status is False, and hence the extra
resources to grab this information is not wasted for every call, but
only if the client requests is explicitly.
The original 'status' field stays as-is, this PR introduces a new field
called 'last_job_status' to return this information.

The returned information is gather by a call to
harvest_source_status_show.
2016-08-25 17:56:51 +02:00
Adrià Mercader b0f2c84806 Merge pull request #261 from ckan/260-docs
[#260] Improve install docs
2016-08-08 12:21:20 +01:00
David Read ab6a83c49a [#260] Fix the ckan ini filename 2016-08-05 16:12:59 +01:00
David Read d0a8cab479 [#260] Improve install docs 2016-07-29 12:05:12 +01:00
David Read 2208da6669 Merge pull request #258 from torfsen/257-allow-sharing-of-redis-database
[#257] Purge only our own Redis data.
2016-07-20 15:58:17 +01:00
Florian Brucker 2602de9094 [#257] Purge only our own Redis data.
Previously purging the queue on the Redis backend would clear the whole
database, making it hard to share the same database with other parts of
CKAN. With this commit, only the keys that belong to ckanext-harvest and
the current CKAN instance are purged.
2016-07-20 16:24:13 +02:00
Adrià Mercader f8cfc63885 Merge pull request #255 from ckan/253-default-groups
[#253] Fix default_groups
2016-07-01 20:45:46 +02:00
David Read 78933fb775 [#253] Fix default_groups by saving the dicts to the config object, since saving it to the harvester object doesnt work in the real world. This is a lot more efficient than doing group_show for every dataset imported. 2016-06-27 12:01:35 +01:00
Adrià Mercader b737a419dc Merge pull request #252 from jweyrich/master
Don't let the user specify mutually exclusive configuration options
2016-06-15 10:06:02 +01:00
Jardel Weyrich e8f539a45e Don't let the user specify mutually exclusive configuration options:
- organizations_filter_include
- organizations_filter_exclude
2016-06-14 11:35:38 -03:00
Adrià Mercader f2d8a5f8cc Merge pull request #251 from ckan/249-default-tag
Fix default_groups, plus fix docs for default_tags
2016-06-13 13:59:54 +01:00