-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #132 from eea/develop
Develop
- Loading branch information
Showing
10 changed files
with
129 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<object name="portal_memberdata" meta_type="PlonePAS MemberData Tool"> | ||
<property name="email"></property> | ||
<property name="portal_skin"></property> | ||
<property name="listed">True</property> | ||
<property name="login_time">2000/01/01 00:00:00</property> | ||
<property name="last_login_time">2000/01/01 00:00:00</property> | ||
<property name="fullname"></property> | ||
<property name="error_log_update" type="float">0.0</property> | ||
<property name="language" type="string"></property> | ||
<property name="ext_editor" type="boolean">False</property> | ||
<property name="wysiwyg_editor" type="string"></property> | ||
<property name="visible_ids" type="boolean">False</property> | ||
<property name="initial_login_time" | ||
type="date">2000/01/01 00:00:00</property> | ||
<property name="country" type="string"></property> | ||
<property name="affiliation" type="string"></property> | ||
<property name="thematic_activity" type="string"></property> | ||
<property name="sector_of_activity" type="string"></property> | ||
<property name="initial_login_time" type="date">2000/01/01 00:00:00</property> | ||
</object> | ||
<property name="affiliation" type="string"></property> | ||
<property name="thematic_activity" type="string"></property> | ||
<property name="sector_of_activity" type="string"></property> | ||
<property name="timezone" type="string"></property> | ||
<property name="privacy_policy" type="boolean">False</property> | ||
</object> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<configure | ||
xmlns="http://namespaces.zope.org/zope" | ||
xmlns:gs="http://namespaces.zope.org/genericsetup" | ||
> | ||
|
||
<gs:registerProfile | ||
name="1013" | ||
title="Adding Privacy Policy field" | ||
description="Configuration for version 1013" | ||
provides="Products.GenericSetup.interfaces.EXTENSION" | ||
for="Products.CMFPlone.interfaces.IMigratingPloneSiteRoot" | ||
directory="1013" | ||
/> | ||
|
||
|
||
<gs:upgradeSteps | ||
profile="clms.addon:default" | ||
source="1012" | ||
destination="1013" | ||
> | ||
|
||
<gs:upgradeStep | ||
title="Production Update subscribers" | ||
description="Configuration for version 1013" | ||
handler=".v1013.upgrade" | ||
/> | ||
|
||
<gs:upgradeDepends | ||
title="Production Update subscribers (GS profile)" | ||
description="Configuration for version 1013" | ||
import_profile="clms.addon.upgrades:1013" | ||
/> | ||
|
||
</gs:upgradeSteps> | ||
|
||
</configure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<object name="portal_memberdata" meta_type="PlonePAS MemberData Tool"> | ||
<property name="email"></property> | ||
<property name="portal_skin"></property> | ||
<property name="listed">True</property> | ||
<property name="login_time">2000/01/01 00:00:00</property> | ||
<property name="last_login_time">2000/01/01 00:00:00</property> | ||
<property name="fullname"></property> | ||
<property name="error_log_update" type="float">0.0</property> | ||
<property name="language" type="string"></property> | ||
<property name="ext_editor" type="boolean">False</property> | ||
<property name="wysiwyg_editor" type="string"></property> | ||
<property name="visible_ids" type="boolean">False</property> | ||
<property name="initial_login_time" | ||
type="date">2000/01/01 00:00:00</property> | ||
<property name="country" type="string"></property> | ||
<property name="affiliation" type="string"></property> | ||
<property name="thematic_activity" type="string"></property> | ||
<property name="sector_of_activity" type="string"></property> | ||
<property name="timezone" type="string"></property> | ||
<property name="privacy_policy" type="boolean">False</property> | ||
</object> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<model xmlns:i18n="http://xml.zope.org/namespaces/i18n" xmlns:marshal="http://namespaces.plone.org/supermodel/marshal" xmlns:form="http://namespaces.plone.org/supermodel/form" xmlns:security="http://namespaces.plone.org/supermodel/security" xmlns:indexer="http://namespaces.plone.org/supermodel/indexer" xmlns:lingua="http://namespaces.plone.org/supermodel/lingua" xmlns:users="http://namespaces.plone.org/supermodel/users" xmlns="http://namespaces.plone.org/supermodel/schema"> | ||
<schema name="member-fields"> | ||
<field name="country" type="zope.schema.Choice" users:forms="In User Profile"> | ||
<description/> | ||
<title>Country</title> | ||
<vocabulary>collective.taxonomy.user_profile_country</vocabulary> | ||
</field> | ||
<field name="affiliation" type="zope.schema.Choice" users:forms="In User Profile"> | ||
<description/> | ||
<title>Affiliation</title> | ||
<vocabulary>collective.taxonomy.user_profile_affiliation</vocabulary> | ||
</field> | ||
<field name="thematic_activity" type="zope.schema.Choice" users:forms="In User Profile"> | ||
<description/> | ||
<title>Thematic Activity</title> | ||
<vocabulary>collective.taxonomy.user_profile_thematic_activity</vocabulary> | ||
</field> | ||
<field name="sector_of_activity" type="zope.schema.Choice" users:forms="In User Profile"> | ||
<description/> | ||
<title>Sector of Activity</title> | ||
<vocabulary>collective.taxonomy.user_profile_sector_of_activity</vocabulary> | ||
</field> | ||
<field name="privacy_policy" type="zope.schema.Bool" users:forms="In User Profile"> | ||
<description/> | ||
<title>Privacy Policy</title> | ||
</field> | ||
</schema> | ||
</model> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
""" upgrade step implementation """ | ||
# -*- coding: utf-8 -*- | ||
from logging import getLogger | ||
|
||
logger = getLogger(__name__) | ||
|
||
|
||
def upgrade(setup_tool=None): | ||
"""upgrade function""" | ||
logger.info("Running upgrade (Python): v1013") | ||
logger.info("done") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
11.9 | ||
12.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters