Commit Graph

993 Commits

Author SHA1 Message Date
Denis Laxalde cc44d03a41 Drop log.error() call redundant with prior log.exception() call
logging.exception() already logs an ERROR message with exception
information, so there's no need to call both log.exception() and
log.error().

Along the way, make messages uniform in fetch_callback() and
gather_callback().
2017-11-02 17:17:00 +01:00
Adrià Mercader c1661442c9
Merge pull request #298 from ckan/use-api-to-get-dataset-count
Use the package_search API for the count of datasets
2017-11-02 10:31:36 +00:00
Stefan Oderbolz 9bfd5866fb Use package_search to display package count of harvester 2017-11-01 08:24:32 +01:00
Stefan Oderbolz 9c86e8f73d Merge pull request #296 from aykutsimseks/add-abort-ui
Abort stuck harvest jobs through UI
2017-10-26 18:20:02 +02:00
Ubuntu 6714d4de58 Move Stop Button 2017-10-26 16:06:48 +00:00
Ubuntu 0d877bf768 Abort Jobs from UI 2017-10-26 14:42:39 +00:00
Adrià Mercader 685b5c48f2 Merge pull request #297 from ckan/fix-travis-build
Fix travis build
2017-10-26 11:57:48 +01:00
Stefan Oderbolz ac62951fe5 Fix travis build
- Use correct version of CKAN
- install latest version of libcommons-fileupload-java
- Use the postgresql service of travis
2017-10-25 17:20:55 +02:00
amercader b589797c47 Merge branch 'master' of github.com:ckan/ckanext-harvest 2017-07-27 16:09:19 +01:00
amercader 881a9581d5 Fix url_for depending tests 2017-07-27 16:09:00 +01:00
Adrià Mercader 4fde5afdd6 Merge pull request #290 from geosolutions-it/289-fix-default-extras
[#289] Fix default_extras
2017-07-21 10:14:26 +01:00
etj 207ac81d70 [289] Fix default_extras 2017-05-29 20:11:49 +02:00
Adrià Mercader de01277e50 Merge pull request #288 from ckan/explicit_exception_checks
Minor test improvements
2017-05-09 11:55:00 +01:00
David Read cc438786de More explicit checks of the exception thrown when checking harvest config. Also the default_groups test was checking the wrong thing completely. 2017-05-02 20:39:49 +00:00
Stefan Oderbolz bca526c34a Release 1.0.0 2017-03-30 23:50:39 +02:00
Stefan Oderbolz 291d573870 Add a "Releases" section to README 2017-03-30 23:50:39 +02:00
Stefan Oderbolz 834edfacce Merge pull request #286 from ckan/update-readme-contributing
Update README to link to CONTRIBUTING
2017-03-30 23:47:03 +02:00
Stefan Oderbolz a0562de442 Update README to link to CONTRIBUTING
Add link to CKAN guidlines in CONTRIBUTING
2017-03-30 23:25:25 +02:00
Stefan Oderbolz f72424a0b8 Merge pull request #285 from ckan/update-changelog
Update CHANGELOG
2017-03-30 23:15:20 +02:00
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