Commit Graph

1074 Commits

Author SHA1 Message Date
Adrià Mercader ee186376bd Display an error if the API call fails 2011-03-15 16:19:13 +00:00
Adrià Mercader b2320a9f25 Remove API test, as it will be tested in ckanext-dgu 2011-03-15 14:13:49 +00:00
Adrià Mercader 102bbeceba [tests] Add harvesting tests from ckan core 2011-03-15 10:29:39 +00:00
Adrià Mercader 94ec121029 [merge] 2011-03-14 17:17:15 +00:00
Adrià Mercader 2c8eb94344 #1030 Move harvesting controller to ckanext-harvest 2011-03-14 17:04:41 +00:00
james gardner 898149bb8f [merge] 2011-03-14 16:06:30 +00:00
james gardner 52b17ffceb [security] change public file path code to avoid a trailing , and thus adding / as a static file app in the Pylons middleware cascade 2011-03-14 16:05:34 +00:00
Adrià Mercader c2bfdd16fc #1030 Move harvesting model to ckanext-harvest 2011-03-14 15:19:58 +00:00
Adrià Mercader 544a88d18d #1030 Move paster harvester CLI command to ckanext-harvest 2011-03-14 13:34:48 +00:00
Adrià Mercader 2c23abf13e Hide delete links for now 2011-03-11 15:41:55 +00:00
Adrià Mercader dfd23d720c Add option to edit harvesting sources 2011-03-11 13:42:21 +00:00
Adrià Mercader 696a8dc058 Add option to delete harvesting sources 2011-03-11 12:41:13 +00:00
Adrià Mercader 58164e915d Fix typo 2011-03-11 12:38:09 +00:00
Adrià Mercader 81569c0f2c Show error notices for duplicate sources and existing jobs. 2011-03-11 12:35:27 +00:00
Adrià Mercader abfd394f0b Update README 2011-03-11 09:49:28 +00:00
Adrià Mercader 70bff06b48 Add refresh link to the UI. 2011-03-10 17:24:23 +00:00
Adrià Mercader 4f2a233cf1 Harvesting jobs creation controller 2011-03-10 16:48:50 +00:00
Adrià Mercader 6cc73aa1f7 Send the authz headers on all requests 2011-03-10 15:32:51 +00:00
Adrià Mercader ad239b93e8 Add controller to create a harvesting source
Before sending a create request to the forms API, an authz header is
added, with the API key defined in the config file
(ckan.harvesting.api_key). Also the data is formatted as the JSON object
expected by the forms API.
2011-03-10 14:02:21 +00:00
Adrià Mercader 1768dee13e Fix bug in details template 2011-03-10 13:53:52 +00:00
Adrià Mercader 2b2a311a03 Add a link to the create page 2011-03-10 09:55:58 +00:00
Adrià Mercader 572650d26a Use urllib2 and better error handling 2011-03-10 09:45:16 +00:00
Adrià Mercader bc8c69b015 Ignore swap files 2011-03-10 09:44:31 +00:00
Adrià Mercader 66c65f53f4 First draft of the Harvesting extension
This extension will hold all the harvesting code that is now located in
different parts of the ckan core and ckanext.dgu. This revision still
uses the ckanext-dgu forms API.
Controllers and templates have been defined for listing, creating and
showing the details of harvesting sources.
2011-03-09 18:56:55 +00:00