Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
5132aeba
Commit
5132aeba
authored
Jul 10, 2010
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No longer use HelpSys pages from ``Products.OFSP`` in core Zope 2.
parent
4d4491be
Changes
26
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
62 additions
and
131 deletions
+62
-131
doc/CHANGES.rst
doc/CHANGES.rst
+2
-0
src/App/ApplicationManager.py
src/App/ApplicationManager.py
+12
-22
src/App/DavLockManager.py
src/App/DavLockManager.py
+1
-2
src/App/Product.py
src/App/Product.py
+2
-2
src/App/Undo.py
src/App/Undo.py
+1
-2
src/OFS/Cache.py
src/OFS/Cache.py
+0
-2
src/OFS/DTMLMethod.py
src/OFS/DTMLMethod.py
+5
-9
src/OFS/FindSupport.py
src/OFS/FindSupport.py
+2
-5
src/OFS/Folder.py
src/OFS/Folder.py
+5
-8
src/OFS/History.py
src/OFS/History.py
+3
-4
src/OFS/Image.py
src/OFS/Image.py
+4
-8
src/OFS/ObjectManager.py
src/OFS/ObjectManager.py
+1
-2
src/OFS/OrderSupport.py
src/OFS/OrderSupport.py
+3
-5
src/OFS/PropertyManager.py
src/OFS/PropertyManager.py
+1
-2
src/OFS/SimpleItem.py
src/OFS/SimpleItem.py
+1
-3
src/OFS/dtml/addOrderedFolder.dtml
src/OFS/dtml/addOrderedFolder.dtml
+2
-4
src/OFS/dtml/documentAdd.dtml
src/OFS/dtml/documentAdd.dtml
+2
-4
src/OFS/dtml/folderAdd.dtml
src/OFS/dtml/folderAdd.dtml
+1
-3
src/OFS/dtml/imageAdd.dtml
src/OFS/dtml/imageAdd.dtml
+1
-3
src/OFS/dtml/importExport.dtml
src/OFS/dtml/importExport.dtml
+1
-4
src/OFS/dtml/methodAdd.dtml
src/OFS/dtml/methodAdd.dtml
+1
-3
src/OFS/dtml/renameForm.dtml
src/OFS/dtml/renameForm.dtml
+1
-3
src/Products/PageTemplates/help/tales-python.stx
src/Products/PageTemplates/help/tales-python.stx
+0
-5
src/Products/StandardCacheManagers/help/Accel.stx
src/Products/StandardCacheManagers/help/Accel.stx
+0
-3
src/Products/StandardCacheManagers/help/RAM.stx
src/Products/StandardCacheManagers/help/RAM.stx
+0
-3
src/Products/ZCatalog/ZCatalog.py
src/Products/ZCatalog/ZCatalog.py
+10
-20
No files found.
doc/CHANGES.rst
View file @
5132aeba
...
...
@@ -22,6 +22,8 @@ Bugs Fixed
Restructuring
+++++++++++++
- No longer use HelpSys pages from ``Products.OFSP`` in core Zope 2.
- Register OFS as a package and give it an initialize function. Moved
registration of OFS classes there from Products.OFSP.
...
...
src/App/ApplicationManager.py
View file @
5132aeba
...
...
@@ -61,18 +61,12 @@ class DatabaseManager(Item, Implicit):
meta_type
=
'Database Management'
icon
=
'p_/DatabaseManagement_icon'
manage_options
=
(
(
{
'label'
:
'Database'
,
'action'
:
'manage_main'
,
'help'
:(
'OFSP'
,
'Database-Management_Database.stx'
)},
{
'label'
:
'Activity'
,
'action'
:
'manage_activity'
,
'help'
:(
'OFSP'
,
'Database-Management_Activity.stx'
)},
{
'label'
:
'Cache Parameters'
,
'action'
:
'manage_cacheParameters'
,
'help'
:(
'OFSP'
,
'Database-Management_Cache-Parameters.stx'
)},
{
'label'
:
'Flush Cache'
,
'action'
:
'manage_cacheGC'
,
'help'
:(
'OFSP'
,
'Database-Management_Flush-Cache.stx'
)},
)
)
manage_options
=
((
{
'label'
:
'Database'
,
'action'
:
'manage_main'
},
{
'label'
:
'Activity'
,
'action'
:
'manage_activity'
},
{
'label'
:
'Cache Parameters'
,
'action'
:
'manage_cacheParameters'
},
{
'label'
:
'Flush Cache'
,
'action'
:
'manage_cacheGC'
},
))
# These need to be here rather to make tabs work correctly. This
# needs to be revisited.
...
...
@@ -160,13 +154,10 @@ class DebugManager(Item, Implicit):
meta_type
=
name
icon
=
'p_/DebugManager_icon'
manage_options
=
(
(
{
'label'
:
'Debugging Info'
,
'action'
:
'manage_main'
,
'help'
:(
'OFSP'
,
'Debug-Information_Debug.stx'
)},
{
'label'
:
'Profiling'
,
'action'
:
'manage_profile'
,
'help'
:(
'OFSP'
,
'Debug-Information_Profile.stx'
)},
)
)
manage_options
=
((
{
'label'
:
'Debugging Info'
,
'action'
:
'manage_main'
},
{
'label'
:
'Profiling'
,
'action'
:
'manage_profile'
},
))
manage_debug
=
DTMLFile
(
'dtml/debug'
,
globals
())
...
...
@@ -293,9 +284,8 @@ class ApplicationManager(Folder,CacheManager):
)
manage_options
=
(
({
'label'
:
'Contents'
,
'action'
:
'manage_main'
,
'help'
:(
'OFSP'
,
'Control-Panel_Contents.stx'
)},
)
+
UndoSupport
.
manage_options
({
'label'
:
'Contents'
,
'action'
:
'manage_main'
},
)
+
UndoSupport
.
manage_options
)
id
=
'Control_Panel'
...
...
src/App/DavLockManager.py
View file @
5132aeba
...
...
@@ -39,8 +39,7 @@ class DavLockManager(Item, Implicit):
manage_davlocks
.
_setName
(
'manage_davlocks'
)
manage_options
=
(
{
'label'
:
'Write Locks'
,
'action'
:
'manage_main'
,
'help'
:
(
'OFSP'
,
'DavLocks-ManageLocks.stx'
),
},
{
'label'
:
'Write Locks'
,
'action'
:
'manage_main'
}
)
def
findLockedObjects
(
self
,
frompath
=
''
):
...
...
src/App/Product.py
View file @
5132aeba
...
...
@@ -276,8 +276,8 @@ def initializeProduct(productp, name, home, app):
break
if
not
found
:
product
.
manage_options
=
product
.
manage_options
+
(
{
'label'
:
'Refresh'
,
'action'
:
'manage_refresh'
,
'help'
:
(
'OFSP'
,
'Product_Refresh.stx'
)},
)
{
'label'
:
'Refresh'
,
'action'
:
'manage_refresh'
}
,
)
return
product
...
...
src/App/Undo.py
View file @
5132aeba
...
...
@@ -37,8 +37,7 @@ class UndoSupport(ExtensionClass.Base):
security
=
ClassSecurityInfo
()
manage_options
=
(
{
'label'
:
'Undo'
,
'action'
:
'manage_UndoForm'
,
'help'
:
(
'OFSP'
,
'Undo.stx'
)},
{
'label'
:
'Undo'
,
'action'
:
'manage_UndoForm'
},
)
security
.
declareProtected
(
undo_changes
,
'manage_UndoForm'
)
...
...
src/OFS/Cache.py
View file @
5132aeba
...
...
@@ -86,7 +86,6 @@ class Cacheable:
'label'
:
'Cache'
,
'action'
:
'ZCacheable_manage'
,
'filter'
:
filterCacheTab
,
'help'
:(
'OFSP'
,
'Cacheable-properties.stx'
),
},)
security
=
ClassSecurityInfo
()
...
...
@@ -422,7 +421,6 @@ class CacheManager:
manage_options
=
(
{
'label'
:
'Associate'
,
'action'
:
'ZCacheManager_associate'
,
'help'
:(
'OFSP'
,
'CacheManager-associate.stx'
),
},
)
...
...
src/OFS/DTMLMethod.py
View file @
5132aeba
...
...
@@ -70,15 +70,11 @@ class DTMLMethod(RestrictedDTML,
func_code
.
co_varnames
=
'self'
,
'REQUEST'
,
'RESPONSE'
func_code
.
co_argcount
=
3
manage_options
=
(
(
{
'label'
:
'Edit'
,
'action'
:
'manage_main'
,
'help'
:
(
'OFSP'
,
'DTML-DocumentOrMethod_Edit.stx'
)},
{
'label'
:
'View'
,
'action'
:
''
,
'help'
:
(
'OFSP'
,
'DTML-DocumentOrMethod_View.stx'
)},
{
'label'
:
'Proxy'
,
'action'
:
'manage_proxyForm'
,
'help'
:
(
'OFSP'
,
'DTML-DocumentOrMethod_Proxy.stx'
)},
)
manage_options
=
((
{
'label'
:
'Edit'
,
'action'
:
'manage_main'
},
{
'label'
:
'View'
,
'action'
:
''
},
{
'label'
:
'Proxy'
,
'action'
:
'manage_proxyForm'
},
)
+
Historical
.
manage_options
+
RoleManager
.
manage_options
+
Item_w__name__
.
manage_options
...
...
src/OFS/FindSupport.py
View file @
5132aeba
...
...
@@ -52,17 +52,14 @@ class FindSupport(Base):
security
.
declareProtected
(
view_management_screens
,
'manage_findAdv'
)
manage_findAdv
=
DTMLFile
(
'dtml/findAdv'
,
globals
(),
management_view
=
'Find'
,
help_topic
=
'Find_Advanced.stx'
,
help_product
=
'OFSP'
)
management_view
=
'Find'
)
security
.
declareProtected
(
view_management_screens
,
'manage_findResult'
)
manage_findResult
=
DTMLFile
(
'dtml/findResult'
,
globals
(),
management_view
=
'Find'
)
manage_options
=
(
{
'label'
:
'Find'
,
'action'
:
'manage_findForm'
,
'help'
:(
'OFSP'
,
'Find.stx'
)},
{
'label'
:
'Find'
,
'action'
:
'manage_findForm'
},
)
security
.
declareProtected
(
view_management_screens
,
'ZopeFind'
)
...
...
src/OFS/Folder.py
View file @
5132aeba
...
...
@@ -92,14 +92,11 @@ class Folder(
_properties
=
({
'id'
:
'title'
,
'type'
:
'string'
,
'mode'
:
'wd'
},)
manage_options
=
(
ObjectManager
.
manage_options
+
(
{
'label'
:
'View'
,
'action'
:
''
,
'help'
:(
'OFSP'
,
'Folder_View.stx'
)},
)
+
PropertyManager
.
manage_options
+
RoleManager
.
manage_options
+
Item
.
manage_options
+
ObjectManager
.
manage_options
+
({
'label'
:
'View'
,
'action'
:
''
},
)
+
PropertyManager
.
manage_options
+
RoleManager
.
manage_options
+
Item
.
manage_options
+
FindSupport
.
manage_options
)
...
...
src/OFS/History.py
View file @
5132aeba
...
...
@@ -97,10 +97,9 @@ class Historical(Base):
HistoricalRevisions
=
Historian
()
manage_options
=
({
'label'
:
'History'
,
'action'
:
'manage_change_history_page'
,
'help'
:(
'OFSP'
,
'History.stx'
)
},
)
manage_options
=
(
{
'label'
:
'History'
,
'action'
:
'manage_change_history_page'
},
)
security
.
declareProtected
(
view_history
,
'manage_change_history_page'
)
manage_change_history_page
=
DTMLFile
(
...
...
src/OFS/Image.py
View file @
5132aeba
...
...
@@ -120,10 +120,8 @@ class File(Persistent, Implicit, PropertyManager,
manage_options
=
(
(
{
'label'
:
'Edit'
,
'action'
:
'manage_main'
,
'help'
:(
'OFSP'
,
'File_Edit.stx'
)},
{
'label'
:
'View'
,
'action'
:
''
,
'help'
:(
'OFSP'
,
'File_View.stx'
)},
{
'label'
:
'Edit'
,
'action'
:
'manage_main'
},
{
'label'
:
'View'
,
'action'
:
''
},
)
+
PropertyManager
.
manage_options
+
RoleManager
.
manage_options
...
...
@@ -788,10 +786,8 @@ class Image(File):
)
manage_options
=
(
({
'label'
:
'Edit'
,
'action'
:
'manage_main'
,
'help'
:(
'OFSP'
,
'Image_Edit.stx'
)},
{
'label'
:
'View'
,
'action'
:
'view_image_or_file'
,
'help'
:(
'OFSP'
,
'Image_View.stx'
)},)
({
'label'
:
'Edit'
,
'action'
:
'manage_main'
},
{
'label'
:
'View'
,
'action'
:
'view_image_or_file'
},
)
+
PropertyManager
.
manage_options
+
RoleManager
.
manage_options
+
Item_w__name__
.
manage_options
...
...
src/OFS/ObjectManager.py
View file @
5132aeba
...
...
@@ -172,8 +172,7 @@ class ObjectManager(CopyContainer,
manage_index_main
=
DTMLFile
(
'dtml/index_main'
,
globals
())
manage_options
=
(
{
'label'
:
'Contents'
,
'action'
:
'manage_main'
,
'help'
:(
'OFSP'
,
'ObjectManager_Contents.stx'
)},
{
'label'
:
'Contents'
,
'action'
:
'manage_main'
},
)
isAnObjectManager
=
1
...
...
src/OFS/OrderSupport.py
View file @
5132aeba
...
...
@@ -47,11 +47,9 @@ class OrderSupport(object):
_default_sort_key
=
'position'
_default_sort_reverse
=
0
manage_options
=
(
{
'label'
:
'Contents'
,
'action'
:
'manage_main'
,
'help'
:(
'OFSP'
,
'OrderSupport_Contents.stx'
)
}
,
)
manage_options
=
(
{
'label'
:
'Contents'
,
'action'
:
'manage_main'
},
)
#
# ZMI Methods
...
...
src/OFS/PropertyManager.py
View file @
5132aeba
...
...
@@ -107,8 +107,7 @@ class PropertyManager(Base, ElementWithAttributes):
(
'Anonymous'
,
'Manager'
))
manage_options
=
(
{
'label'
:
'Properties'
,
'action'
:
'manage_propertiesForm'
,
'help'
:(
'OFSP'
,
'Properties.stx'
)},
{
'label'
:
'Properties'
,
'action'
:
'manage_propertiesForm'
},
)
security
.
declareProtected
(
manage_properties
,
'manage_propertiesForm'
)
...
...
src/OFS/SimpleItem.py
View file @
5132aeba
...
...
@@ -460,9 +460,7 @@ class SimpleItem(Item,
security
.
setPermissionDefault
(
View
,
(
'Manager'
,))
manage_options
=
Item
.
manage_options
+
(
{
'label'
:
'Security'
,
'action'
:
'manage_access'
,
'help'
:(
'OFSP'
,
'Security.stx'
)},
{
'label'
:
'Security'
,
'action'
:
'manage_access'
},
)
InitializeClass
(
SimpleItem
)
src/OFS/dtml/addOrderedFolder.dtml
View file @
5132aeba
<dtml-var manage_page_header>
<dtml-var "manage_form_title(this(), _,
form_title='Add Folder (Ordered)',
help_product='OFSP',
help_topic='Folder_Add.stx'
)">
form_title='Add Folder (Ordered)'
)">
<p class="form-help">
An ordered Folder contains other objects. Use Folders to organize your
web objects in to logical groups. The <em>create public interface</em>
...
...
src/OFS/dtml/documentAdd.dtml
View file @
5132aeba
<dtml-var manage_page_header>
<dtml-var "manage_form_title(this(), _,
form_title='Add DTML Document',
help_product='OFSP',
help_topic='DTML-DocumentOrMethod_Add.stx'
)">
form_title='Add DTML Document'
)">
<p class="form-help">
A DTML Document is used to hold text content. It can contain
...
...
src/OFS/dtml/folderAdd.dtml
View file @
5132aeba
...
...
@@ -2,9 +2,7 @@
<dtml-var "manage_form_title(this(), _,
form_title='Add Folder',
help_product='OFSP',
help_topic='Folder_Add.stx'
)">
)">
<p class="form-help">
A Folder contains other objects. Use Folders to organize your
web objects in to logical groups. The <em>create public interface</em>
...
...
src/OFS/dtml/imageAdd.dtml
View file @
5132aeba
...
...
@@ -2,9 +2,7 @@
<dtml-var "manage_form_title(this(), _,
form_title='Add %s' % Kind,
help_product='OFSP',
help_topic='File_Add.stx'
)">
)">
<p class="form-help">
Select a file to upload from your local computer by clicking the
...
...
src/OFS/dtml/importExport.dtml
View file @
5132aeba
<dtml-var manage_page_header>
<dtml-var "manage_tabs(this(), _,
help_product='OFSP',
help_topic='ObjectManager_Import-Export.stx'
)">
<dtml-var "manage_tabs(this(), _, )">
<p class="form-help">
You can export Zope objects to a file in order to transfer
...
...
src/OFS/dtml/methodAdd.dtml
View file @
5132aeba
...
...
@@ -2,9 +2,7 @@
<dtml-var "manage_form_title(this(), _,
form_title='Add DTML Method',
help_product='OFSP',
help_topic='DTML-DocumentOrMethod_Add.stx'
)">
)">
<p class="form-help">
A DTML Method is used to hold scripting tags and text content.
...
...
src/OFS/dtml/renameForm.dtml
View file @
5132aeba
...
...
@@ -2,9 +2,7 @@
<dtml-var "manage_form_title(this(), _,
form_title='Rename Items',
help_product='OFSP',
help_topic='ObjectManager_Rename.stx'
)">
)">
<dtml-if expr="REQUEST.has_key('ids')">
<form action="<dtml-var "REQUEST.URL1" html_quote>" method="post">
...
...
src/Products/PageTemplates/help/tales-python.stx
View file @
5132aeba
...
...
@@ -44,11 +44,6 @@ TALES Python expressions
keep them from generating very large numbers and sequences. This
limitation helps protect against denial of service attacks.
In addition, these utility functions are available: 'DateTime',
'test', and 'same_type'. See "DTML
functions":../../OFSP/Help/dtml-funcs.stx for more
information on these functions.
Finally, these functions are available in Python expressions,
but not in Python-based scripts:
...
...
src/Products/StandardCacheManagers/help/Accel.stx
View file @
5132aeba
Accelerated HTTP Cache Managers
For background information, see the
<a href="../../OFSP/Help/Caching.stx">description of cache management</a>.
The HTTP protocol provides for headers that can indicate to
downstream proxy caches, browser caches, and dedicated caches that
certain documents and images are cacheable. Most images, for example,
...
...
src/Products/StandardCacheManagers/help/RAM.stx
View file @
5132aeba
RAM Cache Managers
For background information, see the
<a href="../../OFSP/Help/Caching.stx">description of cache management</a>.
The RAM cache manager allows you to cache the result of calling
expensive objects, such as Python Scripts and External Methods,
in memory. It provides access statistics and simple configuration
...
...
src/Products/ZCatalog/ZCatalog.py
View file @
5132aeba
...
...
@@ -96,35 +96,25 @@ class ZCatalog(Folder, Persistent, Implicit):
manage_options
=
(
{
'label'
:
'Contents'
,
# TAB: Contents
'action'
:
'manage_main'
,
'help'
:
(
'OFSP'
,
'ObjectManager_Contents.stx'
)},
'action'
:
'manage_main'
},
{
'label'
:
'Catalog'
,
# TAB: Cataloged Objects
'action'
:
'manage_catalogView'
,
'help'
:(
'ZCatalog'
,
'ZCatalog_Cataloged-Objects.stx'
)},
'action'
:
'manage_catalogView'
},
{
'label'
:
'Properties'
,
# TAB: Properties
'action'
:
'manage_propertiesForm'
,
'help'
:
(
'OFSP'
,
'Properties.stx'
)},
'action'
:
'manage_propertiesForm'
},
{
'label'
:
'Indexes'
,
# TAB: Indexes
'action'
:
'manage_catalogIndexes'
,
'help'
:
(
'ZCatalog'
,
'ZCatalog_Indexes.stx'
)},
'action'
:
'manage_catalogIndexes'
},
{
'label'
:
'Metadata'
,
# TAB: Metadata
'action'
:
'manage_catalogSchema'
,
'help'
:(
'ZCatalog'
,
'ZCatalog_MetaData-Table.stx'
)},
'action'
:
'manage_catalogSchema'
},
{
'label'
:
'Find Objects'
,
# TAB: Find Objects
'action'
:
'manage_catalogFind'
,
'help'
:(
'ZCatalog'
,
'ZCatalog_Find-Items-to-ZCatalog.stx'
)},
'action'
:
'manage_catalogFind'
},
{
'label'
:
'Advanced'
,
# TAB: Advanced
'action'
:
'manage_catalogAdvanced'
,
'help'
:(
'ZCatalog'
,
'ZCatalog_Advanced.stx'
)},
'action'
:
'manage_catalogAdvanced'
},
{
'label'
:
'Undo'
,
# TAB: Undo
'action'
:
'manage_UndoForm'
,
'help'
:
(
'OFSP'
,
'Undo.stx'
)},
'action'
:
'manage_UndoForm'
},
{
'label'
:
'Security'
,
# TAB: Security
'action'
:
'manage_access'
,
'help'
:
(
'OFSP'
,
'Security.stx'
)},
'action'
:
'manage_access'
},
{
'label'
:
'Ownership'
,
# TAB: Ownership
'action'
:
'manage_owner'
,
'help'
:
(
'OFSP'
,
'Ownership.stx'
),}
'action'
:
'manage_owner'
}
)
security
.
declareProtected
(
manage_zcatalog_entries
,
'manage_main'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment