diff --git a/bt5/tiolive_base/ActionTemplateItem/portal_types/portal_actions/download_access_log_file.xml b/bt5/tiolive_base/ActionTemplateItem/portal_types/portal_actions/download_access_log_file.xml deleted file mode 100644 index d0fb91d99e1176fe7396c2da717de07619b0312a..0000000000000000000000000000000000000000 --- a/bt5/tiolive_base/ActionTemplateItem/portal_types/portal_actions/download_access_log_file.xml +++ /dev/null @@ -1,77 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>action</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>category</string> </key> - <value> <string>global</string> </value> - </item> - <item> - <key> <string>condition</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>icon</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>download_access_log_file</string> </value> - </item> - <item> - <key> <string>permissions</string> </key> - <value> - <tuple> - <string>Manage portal</string> - </tuple> - </value> - </item> - <item> - <key> <string>priority</string> </key> - <value> <float>22.0</float> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Download Access Log File</string> </value> - </item> - <item> - <key> <string>visible</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>string:${portal_url}/ERP5Site_downloadAccessLog</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/tiolive_base/ActionTemplateItem/portal_types/portal_actions/download_datafs_file.xml b/bt5/tiolive_base/ActionTemplateItem/portal_types/portal_actions/download_datafs_file.xml deleted file mode 100644 index fb37f6c284a16a3e263aa422a4c58910988739fa..0000000000000000000000000000000000000000 --- a/bt5/tiolive_base/ActionTemplateItem/portal_types/portal_actions/download_datafs_file.xml +++ /dev/null @@ -1,77 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>action</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>category</string> </key> - <value> <string>global</string> </value> - </item> - <item> - <key> <string>condition</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>icon</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>download_datafs_file</string> </value> - </item> - <item> - <key> <string>permissions</string> </key> - <value> - <tuple> - <string>Manage portal</string> - </tuple> - </value> - </item> - <item> - <key> <string>priority</string> </key> - <value> <float>21.0</float> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Download DataFs File</string> </value> - </item> - <item> - <key> <string>visible</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>string:${portal_url}/ERP5Site_downloadDataFs</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/tiolive_base/ActionTemplateItem/portal_types/portal_actions/download_event_log_file.xml b/bt5/tiolive_base/ActionTemplateItem/portal_types/portal_actions/download_event_log_file.xml deleted file mode 100644 index 8391d07d7c060f3583f6ad4fe8575d3fa8901869..0000000000000000000000000000000000000000 --- a/bt5/tiolive_base/ActionTemplateItem/portal_types/portal_actions/download_event_log_file.xml +++ /dev/null @@ -1,77 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>action</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>category</string> </key> - <value> <string>global</string> </value> - </item> - <item> - <key> <string>condition</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>icon</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>download_event_log_file</string> </value> - </item> - <item> - <key> <string>permissions</string> </key> - <value> - <tuple> - <string>Manage portal</string> - </tuple> - </value> - </item> - <item> - <key> <string>priority</string> </key> - <value> <float>23.0</float> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Download Event Log File</string> </value> - </item> - <item> - <key> <string>visible</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>string:${portal_url}/ERP5Site_downloadEventLog</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_downloadAccessLog.xml b/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_downloadAccessLog.xml deleted file mode 100644 index f1d758325b939475b619a01623e284ad9213f53e..0000000000000000000000000000000000000000 --- a/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_downloadAccessLog.xml +++ /dev/null @@ -1,132 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>Script_magic</string> </key> - <value> <int>3</int> </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_container</string> </key> - <value> <string>container</string> </value> - </item> - <item> - <key> <string>name_context</string> </key> - <value> <string>context</string> </value> - </item> - <item> - <key> <string>name_m_self</string> </key> - <value> <string>script</string> </value> - </item> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_body</string> </key> - <value> <string>portal = context.getPortalObject()\n -portal_introspections = getattr(portal, \'portal_introspections\', None)\n -\n -if portal_introspections is not None:\n - return portal_introspections.getAccessLog(compressed=1, REQUEST=context.REQUEST)\n -\n -return None\n -</string> </value> - </item> - <item> - <key> <string>_code</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>errors</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>func_code</string> </key> - <value> - <object> - <klass> - <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>co_argcount</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>co_varnames</string> </key> - <value> - <tuple> - <string>_getattr_</string> - <string>context</string> - <string>portal</string> - <string>getattr</string> - <string>None</string> - <string>portal_introspections</string> - </tuple> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>func_defaults</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>ERP5Site_downloadAccessLog</string> </value> - </item> - <item> - <key> <string>warnings</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_downloadDataFs.xml b/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_downloadDataFs.xml deleted file mode 100644 index 9a212b34907c7fb10c4231099eaaeecd63f60dd6..0000000000000000000000000000000000000000 --- a/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_downloadDataFs.xml +++ /dev/null @@ -1,132 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>Script_magic</string> </key> - <value> <int>3</int> </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_container</string> </key> - <value> <string>container</string> </value> - </item> - <item> - <key> <string>name_context</string> </key> - <value> <string>context</string> </value> - </item> - <item> - <key> <string>name_m_self</string> </key> - <value> <string>script</string> </value> - </item> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_body</string> </key> - <value> <string>portal = context.getPortalObject()\n -portal_introspections = getattr(portal, \'portal_introspections\', None)\n -\n -if portal_introspections is not None:\n - return portal_introspections.getDataFs(compressed=1, REQUEST=context.REQUEST)\n -\n -return None\n -</string> </value> - </item> - <item> - <key> <string>_code</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>errors</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>func_code</string> </key> - <value> - <object> - <klass> - <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>co_argcount</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>co_varnames</string> </key> - <value> - <tuple> - <string>_getattr_</string> - <string>context</string> - <string>portal</string> - <string>getattr</string> - <string>None</string> - <string>portal_introspections</string> - </tuple> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>func_defaults</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>ERP5Site_downloadDataFs</string> </value> - </item> - <item> - <key> <string>warnings</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_downloadEventLog.xml b/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_downloadEventLog.xml deleted file mode 100644 index 80a26cf06afeb9070b2e501c1ebf667770a3a46c..0000000000000000000000000000000000000000 --- a/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_downloadEventLog.xml +++ /dev/null @@ -1,132 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>Script_magic</string> </key> - <value> <int>3</int> </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_container</string> </key> - <value> <string>container</string> </value> - </item> - <item> - <key> <string>name_context</string> </key> - <value> <string>context</string> </value> - </item> - <item> - <key> <string>name_m_self</string> </key> - <value> <string>script</string> </value> - </item> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_body</string> </key> - <value> <string>portal = context.getPortalObject()\n -portal_introspections = getattr(portal, \'portal_introspections\', None)\n -\n -if portal_introspections is not None:\n - return portal_introspections.getEventLog(compressed=1, REQUEST=context.REQUEST)\n -\n -return None\n -</string> </value> - </item> - <item> - <key> <string>_code</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>errors</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>func_code</string> </key> - <value> - <object> - <klass> - <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>co_argcount</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>co_varnames</string> </key> - <value> - <tuple> - <string>_getattr_</string> - <string>context</string> - <string>portal</string> - <string>getattr</string> - <string>None</string> - <string>portal_introspections</string> - </tuple> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>func_defaults</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>ERP5Site_downloadEventLog</string> </value> - </item> - <item> - <key> <string>warnings</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/tiolive_base/bt/change_log b/bt5/tiolive_base/bt/change_log index 2e2540b19e8a204505d4d00f638810819f0d9a59..817c3aa6353b4e18f4ce3f4ef94faa6a0b40b8b7 100644 --- a/bt5/tiolive_base/bt/change_log +++ b/bt5/tiolive_base/bt/change_log @@ -1,3 +1,6 @@ +2009-04-06 ivan +* Revert Rafael's changes (r26190) + 2009-03-27 rafael * Added new actions to provide download of logs and Data.fs for Manager Users Only. diff --git a/bt5/tiolive_base/bt/revision b/bt5/tiolive_base/bt/revision index 8e2afd342773582f9484b796cdc0b84736e8194e..25bf17fc5aaabd17402e77a2b16f95fbea7310d2 100644 --- a/bt5/tiolive_base/bt/revision +++ b/bt5/tiolive_base/bt/revision @@ -1 +1 @@ -17 \ No newline at end of file +18 \ No newline at end of file diff --git a/bt5/tiolive_base/bt/template_action_path_list b/bt5/tiolive_base/bt/template_action_path_list index 542b4effb060db855b6f5c7a83830ddb6a2f2011..841cc2ecdb4563057fb6680803fd2200a039b567 100644 --- a/bt5/tiolive_base/bt/template_action_path_list +++ b/bt5/tiolive_base/bt/template_action_path_list @@ -1,6 +1,3 @@ -portal_actions | download_access_log_file -portal_actions | download_datafs_file -portal_actions | download_event_log_file portal_actions | tiolive_documentation portal_actions | tiolive_instance portal_actions | tiolive_profile \ No newline at end of file