Commit f7c4a1d5 authored by Ivan Tyagov's avatar Ivan Tyagov

Allow user to login to remote server.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23614 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8d88390c
...@@ -86,6 +86,14 @@ return context.view()\n ...@@ -86,6 +86,14 @@ return context.view()\n
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>field_my_user_preferred_language=None</string> </value> <value> <string>field_my_user_preferred_language=None</string> </value>
</item> </item>
<item>
<key> <string>_proxy_roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
<value> <value>
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
</p>\n </p>\n
<a i18n:translate=""\n <a i18n:translate=""\n
i18n:domain="ui"\n i18n:domain="ui"\n
tal:attributes="href python: \'%s/logout_wizard\' %here.getPortalObject().absolute_url()"> \n tal:attributes="href python: \'%s/login_form\' %here.getPortalObject().absolute_url()"> \n
Start using your new ERP5 system\n Start using your new ERP5 system\n
</a>\n </a>\n
\n \n
......
...@@ -106,10 +106,6 @@ ...@@ -106,10 +106,6 @@
<string>my_new_account_header</string> <string>my_new_account_header</string>
<string>submit_init</string> <string>submit_init</string>
<string>my_login_header</string> <string>my_login_header</string>
<string>my_ac_name</string>
<string>my_ac_password</string>
<string>submit_login</string>
<string>my_next_action_header</string>
<string>my_user_preferred_language</string> <string>my_user_preferred_language</string>
</list> </list>
</value> </value>
...@@ -117,7 +113,12 @@ ...@@ -117,7 +113,12 @@
<item> <item>
<key> <string>right</string> </key> <key> <string>right</string> </key>
<value> <value>
<list/> <list>
<string>my_ac_name</string>
<string>my_ac_password</string>
<string>submit_login</string>
<string>my_next_action_header</string>
</list>
</value> </value>
</item> </item>
</dictionary> </dictionary>
......
...@@ -121,7 +121,9 @@ ...@@ -121,7 +121,9 @@
</item> </item>
<item> <item>
<key> <string>default</string> </key> <key> <string>default</string> </key>
<value> <string></string> </value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
...@@ -212,11 +214,11 @@ ...@@ -212,11 +214,11 @@
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
<value> <int>1</int> </value> <value> <int>0</int> </value>
</item> </item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
<value> <int>0</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>external_validator</string> </key> <key> <string>external_validator</string> </key>
...@@ -260,4 +262,20 @@ ...@@ -260,4 +262,20 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: context.getExpressConfigurationPreference(\'preferred_express_user_id\')</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -216,7 +216,7 @@ ...@@ -216,7 +216,7 @@
</item> </item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
<value> <int>0</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>external_validator</string> </key> <key> <string>external_validator</string> </key>
......
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="LabelField" module="Products.Formulator.StandardFields"/>
<string>Products.Formulator.StandardFields</string> <tuple/>
<string>LabelField</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -130,7 +127,7 @@ Please click <a href="next">here</a> to access ERP5 EXpress Configuration servic ...@@ -130,7 +127,7 @@ Please click <a href="next">here</a> to access ERP5 EXpress Configuration servic
</item> </item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
<value> <int>1</int> </value> <value> <int>0</int> </value>
</item> </item>
<item> <item>
<key> <string>extra</string> </key> <key> <string>extra</string> </key>
......
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
</item> </item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
<value> <int>0</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>extra</string> </key> <key> <string>extra</string> </key>
......
...@@ -110,7 +110,8 @@ js_string = """\n ...@@ -110,7 +110,8 @@ js_string = """\n
xhr_object.open( "GET",\n xhr_object.open( "GET",\n
"portal_wizard/getInstallationStatusReportFromClient?active_process_id=%s",\n "portal_wizard/getInstallationStatusReportFromClient?active_process_id=%s",\n
true);\n true);\n
xhr_object.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); \n //xhr_object.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");\n
xhr_object.setRequestHeader("Content-Type", "text/html"); \n
xhr_object.setRequestHeader("Cache-Control", "no-cache" ) \n xhr_object.setRequestHeader("Cache-Control", "no-cache" ) \n
xhr_object.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT" ) \n xhr_object.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT" ) \n
xhr_object.send(null);\n xhr_object.send(null);\n
......
...@@ -13,13 +13,17 @@ ...@@ -13,13 +13,17 @@
<key> <string>_View_Permission</string> </key> <key> <string>_View_Permission</string> </key>
<value> <value>
<tuple> <tuple>
<string>Anonymous</string>
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Associate</string> <string>Associate</string>
<string>Auditor</string> <string>Auditor</string>
<string>Authenticated</string>
<string>Author</string> <string>Author</string>
<string>Manager</string> <string>Manager</string>
<string>Member</string>
<string>Owner</string> <string>Owner</string>
<string>Reviewer</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -43,6 +47,23 @@ ...@@ -43,6 +47,23 @@
<key> <string>_current_bc_index</string> </key> <key> <string>_current_bc_index</string> </key>
<value> <int>13</int> </value> <value> <int>13</int> </value>
</item> </item>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>user_preferred_language</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item> <item>
<key> <string>_mt_index</string> </key> <key> <string>_mt_index</string> </key>
<value> <value>
...@@ -99,6 +120,10 @@ ...@@ -99,6 +120,10 @@
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>user_preferred_language</string> </key>
<value> <string>en</string> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
78 81
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment