amercader
866fd69730
Do not remove XML declaration and add utf-8 charset to headers
2012-11-20 15:43:39 +00:00
amercader
54ff0526bb
Return original document if present when requesting an object
2012-11-13 12:06:36 +00:00
amercader
d598c0707b
Ignore frequency field on the frontend for the time being
2012-11-01 14:12:01 +00:00
tobes
a17e8208de
Very small text fix
2012-08-16 09:30:04 +01:00
tobes
7e940b497d
Text message minor fix
2012-08-16 09:27:36 +01:00
tobes
b6a32fd23b
Add descriptions for sources
2012-08-16 09:16:34 +01:00
tobes
5b7a9c0855
Flash messages to notices plus translatable
2012-08-16 08:49:35 +01:00
amercader
19ea538097
[#2852,#2853] Reword errors
2012-08-15 18:28:08 +01:00
amercader
7609a93422
Minor css tweaks on the forms
2012-08-15 18:26:36 +01:00
tobes
c6c4f6d098
Remove about text placeholder
2012-08-15 10:40:52 +01:00
tobes
3b8075b670
Only specify autoform items once
2012-08-14 18:01:29 +01:00
tobes
e1c74bdbe6
Fixes for autoform extra_text
2012-08-14 17:56:49 +01:00
tobes
8f6bab104e
Dirty form changes pending cleanup
2012-08-14 17:33:32 +01:00
David Raznick
4b4e5dba62
fix broken show form
2012-08-14 00:44:00 +02:00
amercader
a8aebac965
Fix the harvest object show call
2012-08-09 13:38:17 +01:00
David Read
1a4e43a2a9
Status message added - change config to set the text.
2012-07-19 15:17:50 +01:00
amercader
bf6df2dcd6
Fix merge
2012-03-07 15:04:50 +00:00
amercader
9fcaefe8ff
[ui] Fix source datasets paging
2012-03-07 15:03:33 +00:00
amercader
d9cfc52643
[ui,auth] Aggregate sources by publisher on the sources list
2012-03-07 11:49:12 +00:00
amercader
97b390f3c1
[auth,logic,ui] Handle publishers on the UI
...
Add fields for publishers in the form when using the publihser auth
profile. Some changes related to the source schema.
2012-03-06 16:01:43 +00:00
amercader
a35eb75440
[logic,auth] Add auth logic layer
...
The first version of the auth layer is based on the current policy, i.e.
you need to be sysadmin to perform any action.
TODO: the CLI is still not working.
2012-03-01 12:02:16 +00:00
amercader
c798013752
[logic] Refactor the rest of the logic functions (create,update,delete)
2012-02-29 15:20:35 +00:00
amercader
651474e9f1
[logic] Refactor logic layer to follow CKAN core conventions
...
To make maintenance easier and better support the upcoming auth checks,
the logic layer has been refactored to mimic the structure of the one on
CKAN core: separate actions and dictize functions and logic functions
receive a context.
Only get functions are included in this commit.
2012-02-29 10:59:02 +00:00
amercader
2990353533
[ui,logic] Expose source state (active/inactive) in the source form
2012-02-14 14:24:32 +00:00
Adrià Mercader
63afd199a9
Add link to source documents from object errors
2011-09-08 10:27:36 +01:00
Adrià Mercader
2ac9885150
Page packages in the harvest source details page
2011-06-14 10:27:48 +01:00
Adrià Mercader
6e75d362e3
Add a simple way for harvesters to store configuration options. If form_config_interface is Text on the info dictionary, the configuration field will be enabled in the form. Harvesters can also provide a validate_config method.
2011-06-07 12:07:53 +01:00
Adrià Mercader
565eaf3d0a
Add a new info method to the harvester interface so implementations can provide details. Use this to build the WUI form
2011-05-13 18:39:36 +01:00
Adrià Mercader
fecee82b1a
Minor enhancements in the WUI
2011-05-13 17:02:18 +01:00
Adrià Mercader
bbe459527f
[forms] Major refactoring of the harvest forms. Forms no longer use the DGU form
...
API, and are handled similarly to the new ones on CKAN core (logic, schema,
validators...). The UI is also more consistent with the CKAN one.
2011-05-13 14:17:58 +01:00
Adrià Mercader
e0a1e5752d
Fix redirects in view controller
2011-05-05 16:47:34 +01:00
Adrià Mercader
b5aea2d863
Allow sources with existing URLs if the existing ones are inactive
2011-04-18 17:19:04 +01:00
Adrià Mercader
a11480aa8f
[refactoring] Use ckan.harvest for options in the ini file
2011-04-13 12:46:52 +01:00
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
9465d59d3a
[refactoring] Remove old harvesting controller. This functionality now lives on ckanext-inspire
2011-04-08 15:54:33 +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
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
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
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
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
4036858ac9
Add a CLI command to create or update the geometries for package extents
2011-03-18 15:44:40 +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
ee186376bd
Display an error if the API call fails
2011-03-15 16:19:13 +00:00