Commit Graph

17 Commits

Author SHA1 Message Date
Adrià Mercader 312e9b8209 [refactoring] Update view controller and templates 2011-04-12 16:15:14 +01:00
Adrià Mercader 842bea8433 [refactoring] Remove all geo related functions as they now have it own extension ckanext-spatial 2011-04-11 19:19:09 +01:00
Adrià Mercader 280dce1626 [refactoring] Add status info to harvest sources. Updated dict functions and UI. 2011-04-11 16:30:56 +01:00
Adrià Mercader 4023bb7222 [refactoring] Use the common functions in the web interface.
Not yet implemented in create and edit harvest source as they use the DGU forms API.
Also TODO, think of what report info is needed in the listing and details page.
2011-04-05 13:39:23 +01:00
Adrià Mercader 6a877666bd Use the URL of a WMS type resource instead of the package URL 2011-03-28 09:40:17 +01:00
Adrià Mercader 61e23196bf Better handling of unauthorized access 2011-03-23 17:02:02 +00:00
Adrià Mercader 0cf2c7e7ac Nicer design for the WMS preview 2011-03-23 10:00:39 +00:00
Adrià Mercader 32a180f39c First version of the WMS viewer. The viewer is based on OpenLayers, which is used to parse the GetCapabilities response and build a map with the layers found. 2011-03-22 17:33:58 +00:00
Adrià Mercader ee186376bd Display an error if the API call fails 2011-03-15 16:19:13 +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 70bff06b48 Add refresh link to the UI. 2011-03-10 17:24:23 +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 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