Adrià Mercader
3d32a18802
[refactoring] Return dictionaries from the common functions, and use them in the CLI"
2011-04-05 12:55:58 +01:00
Adrià Mercader
dca4ff328f
[refactoring] Add missing column in error table
2011-04-05 12:53:36 +01:00
Adrià Mercader
a4d93e4ad3
[refactoring] Add a reference to objects from jobs
2011-04-05 12:36:27 +01:00
Adrià Mercader
e819a68f21
[refactoring] Move common functions to lib. Adapt the CLI to use these common functions.
2011-04-05 11:53:39 +01:00
Adrià Mercader
ce86cfde1b
[refactoring] Clean up the model definitions
2011-04-05 11:51:59 +01:00
Adrià Mercader
4220f67507
Move Gemini tests frm ckan core to ckanext-harvest ( #1030 )
2011-04-04 14:34:41 +01:00
Adrià Mercader
65c81a3014
Add more information in save extent exceptions
2011-04-04 14:31:54 +01:00
Adrià Mercader
d3f06b7b4f
[refactoring] Changes in model
2011-03-30 16:55:42 +01:00
Adrià Mercader
0396838e36
[refactoring] First version of the new model
2011-03-30 14:42:59 +01:00
Adrià Mercader
d35f86f559
Stop harvesting job if the package extent could not be saved. Still shows an ugly SA exception
2011-03-29 17:23:49 +01:00
Adrià Mercader
95623b0f7a
Set format as WMS if the harvested document refers to a service
2011-03-29 16:24:14 +01:00
james gardner
e855d2ad9a
Moving the extension points code to package as a .deb file
2011-03-28 15:52:43 +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
David Read
d6e35bc5cb
[controllers,tests]: Added requirement to be sysadmin for all controller operations. Provided test for this and some useful test infrastrure.
2011-03-25 17:01:26 +00:00
Adrià Mercader
61e23196bf
Better handling of unauthorized access
2011-03-23 17:02:02 +00:00
Adrià Mercader
a50cae77cf
Fix some design issues in IE. To make it look perfect, the OL LayerSwitcher control has to be modified
2011-03-23 13:38:01 +00:00
Adrià Mercader
0ebe3c7a07
Update README and license notices
2011-03-23 10:20:40 +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
16641741ff
Update README with srid config option
2011-03-18 17:46:47 +00:00
Adrià Mercader
57631a8931
Use the projection from harvested documents. Add a configure option to define the database projection
2011-03-18 17:42:43 +00:00
Adrià Mercader
35537bbbcb
Update help in CLI
2011-03-18 15:48:08 +00:00
Adrià Mercader
4036858ac9
Add a CLI command to create or update the geometries for package extents
2011-03-18 15:44:40 +00:00
Adrià Mercader
38150cca47
Update README with the new API call
2011-03-18 13:53:25 +00:00
Adrià Mercader
b83443af4a
Create geometry when harvesting documents with geographic extent
2011-03-18 13:40:49 +00:00
Adrià Mercader
51102c9330
Add spatial search based on PostGIS for packages with geographic extent
2011-03-18 12:05:16 +00:00
Adrià Mercader
7a325d4be3
Update README
2011-03-16 11:06:25 +00:00
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