Revert "Revert "rp_meyzieu: always remove stupid js alert about browser history""

Revert my revert (C) Serghei

This reverts commit 6c0eb386ac.
This commit is contained in:
Jérôme Schneider 2014-06-04 14:20:05 +02:00
parent 6c0eb386ac
commit 0735a91e34
1 changed files with 35 additions and 28 deletions

View File

@ -69,16 +69,20 @@ mapping = [
}]
},
{
'path': (r'/ffaxsslMeyzieu/$', r'/ffaxsslMeyzieu/workflow_url'),
'path': (r'/ffaxsslMeyzieu/$', r'/ffaxsslMeyzieu/workflow_url$'),
'method': 'GET',
'on_response': [{
'content-types': ['text/html'],
'filter': portail_famille_ecitiz.rewrite_logout_form
},
{
'content-types': ['text/html'],
'filter': portail_famille_ecitiz.add_sso_login_box
},
'content-types': ['text/html'],
'filter': portail_famille_ecitiz.add_sso_login_box
},
{
'content-types': ['text/html'],
'filter': portail_famille_ecitiz.clean_js
}
],
},
{
@ -91,34 +95,37 @@ mapping = [
]
},
{
'path': r'/ffaxsslMeyzieu/mandaye_associate$',
'method': 'GET',
'target': '/ffaxsslMeyzieu/workflow_url?ECITIZ_ACTIVITY_PATH=Citoyen&ECITIZ_HOME_URL=citoyen.jsp&ECITIZ_PROCESS_ID=guichet&ECITIZ_DECONNECTION_URL=services_list.jsp&ECITIZ_ORG=MEY00',
'on_response': [{
'filter': portail_famille_ecitiz.associate,
'values': {
'action': urls['associate_url'],
'template': 'portail_famille/associate.html',
'path': r'/ffaxsslMeyzieu/mandaye_associate$',
'method': 'GET',
'target': '/ffaxsslMeyzieu/workflow_url?ECITIZ_ACTIVITY_PATH=Citoyen&ECITIZ_HOME_URL=citoyen.jsp&ECITIZ_PROCESS_ID=guichet&ECITIZ_DECONNECTION_URL=services_list.jsp&ECITIZ_ORG=MEY00',
'on_response': [{
'filter': portail_famille_ecitiz.associate,
'values': {
'action': urls['associate_url'],
'template': 'portail_famille/associate.html',
},
},
{
'content-types': ['text/html'],
'filter': portail_famille_ecitiz.clean_js
}
]
},
{'filter': portail_famille_ecitiz.clean_js}
]
},
{
'path': r'/ffaxsslMeyzieu/mandaye_associate$',
'method': 'POST',
'response': [
{
'auth': 'associate_submit',
'condition': "response.code==302"
},
]
},
'path': r'/ffaxsslMeyzieu/mandaye_associate$',
'method': 'POST',
'response': [
{
'auth': 'associate_submit',
'condition': "response.code==302"
},
]
},
{
'path': r'%s$' % END_POINTS_PATH['single_sign_on_post'],
'method': 'POST',
'response': [{'auth': 'single_sign_on_post'}]
},
'path': r'%s$' % END_POINTS_PATH['single_sign_on_post'],
'method': 'POST',
'response': [{'auth': 'single_sign_on_post'}]
},
{
'path': r'%s$' % END_POINTS_PATH['single_logout'],
'method': 'GET',