[ckan-changes] commit/ckanext-datano: 4 new changesets

Bitbucket commits-noreply at bitbucket.org
Fri Jun 17 10:22:44 UTC 2011


4 new changesets in ckanext-datano:

http://bitbucket.org/okfn/ckanext-datano/changeset/849c41f7e4e4/
changeset:   849c41f7e4e4
user:        r... at Rustam-PC.computas.int
date:        2011-04-13 23:59:13
summary:     Updated file
affected #:  1 file (2 bytes)

--- a/ckanext/datano/__init__.py	Thu Mar 24 18:15:33 2011 +0100
+++ b/ckanext/datano/__init__.py	Wed Apr 13 23:59:13 2011 +0200
@@ -8,7 +8,6 @@
 
 log = getLogger(__name__)
 
-
 class DataNOPlugin(SingletonPlugin):
     implements(IConfigurer, inherit=True)
 
@@ -27,4 +26,4 @@
         config['ckan.site_title'] = "data.norge.no datakatalog"
         config['ckan.site_logo'] = "http://drupal1.computas.no/ckan/img/fad_logo_ckan.png"
         config['ckan.favicon'] = "http://drupal1.computas.no/ckan/img/favicon.ico"
-        config['package_form'] = "datano_package_form"  # XXX change
+        config['package_form'] = "datano_package_form"  # XXX change
\ No newline at end of file


http://bitbucket.org/okfn/ckanext-datano/changeset/f320cedf8cd8/
changeset:   f320cedf8cd8
user:        r... at Rustam-PC.computas.int
date:        2011-04-14 00:01:20
summary:     Update
affected #:  1 file (3 bytes)

--- a/ckanext/datano/__init__.py	Wed Apr 13 23:59:13 2011 +0200
+++ b/ckanext/datano/__init__.py	Thu Apr 14 00:01:20 2011 +0200
@@ -26,4 +26,5 @@
         config['ckan.site_title'] = "data.norge.no datakatalog"
         config['ckan.site_logo'] = "http://drupal1.computas.no/ckan/img/fad_logo_ckan.png"
         config['ckan.favicon'] = "http://drupal1.computas.no/ckan/img/favicon.ico"
-        config['package_form'] = "datano_package_form"  # XXX change
\ No newline at end of file
+        config['package_form'] = "datano_package_form"  # XXX change
+		
\ No newline at end of file


http://bitbucket.org/okfn/ckanext-datano/changeset/639d9ae7909c/
changeset:   639d9ae7909c
user:        r... at Rustam-PC.computas.int
date:        2011-06-17 11:05:55
summary:     Added new field (external_rss) and mate notes field required.
affected #:  1 file (229 bytes)

--- a/ckanext/datano/package_datano.py	Fri Jun 10 16:28:41 2011 +0100
+++ b/ckanext/datano/package_datano.py	Fri Jun 17 11:05:55 2011 +0200
@@ -102,15 +102,19 @@
     builder.add_field(common.TextExtraField('taxonomy_url'))
     builder.add_field(common.TextExtraField('title_en'))
     builder.add_field(common.TextExtraField('notes_en'))
+    builder.add_field(common.TextExtraField('external_rss'))
 
 
     # Labels and instructions
     builder.set_field_text('national_statistic', _('National Statistic'))
+    builder.set_field_text('external_rss', _('External RSS'))
 
     # Options/settings
     builder.set_field_option('tags', 'with_renderer', SuggestTagRenderer)
     builder.set_field_option('notes_en', 'textarea', {'size':'60x15'})
     builder.set_field_option('title', 'validate', required)
+    builder.set_field_option('notes', 'validate', required)
+
     
     if restrict:
         for field_name in ('name', 'department', 'national_statistic'):
@@ -126,7 +130,7 @@
                         'author', 'author_email',
                         'maintainer', 'maintainer_email',
                         'license_id',
-                        'url']),
+                        'url', 'external_rss']),
         (_('Resources'), ['resources']),
         (_('More details'), []),
         ])
@@ -140,6 +144,7 @@
      _('Geographic coverage'), _('Temporal granularity'),
      _('Temporal coverage'), _('Categories'), _('National Statistic'),
      _('Precision'), _('Taxonomy URL'), _('Department'), _('Agency'), 
+     _('External RSS'),
      ]
 
 def get_datano_fieldset(is_admin=False, user_editable_groups=None, **kwargs):


http://bitbucket.org/okfn/ckanext-datano/changeset/53f11a7d3db4/
changeset:   53f11a7d3db4
user:        r... at Rustam-PC.computas.int
date:        2011-06-17 12:15:23
summary:     Merge
affected #:  1 file (2 bytes)

--- a/ckanext/datano/__init__.py	Fri Jun 17 11:05:55 2011 +0200
+++ b/ckanext/datano/__init__.py	Fri Jun 17 12:15:23 2011 +0200
@@ -0,0 +1,1 @@
+		
\ No newline at end of file

Repository URL: https://bitbucket.org/okfn/ckanext-datano/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.




More information about the ckan-changes mailing list