Package: pyams-portal
ContentsWhat is PyAMS?What is PyAMS portal?Changelog2.2.32.2.22.2.12.2.02.1.12.1.02.0.01.9.21.9.11.9.01.8.11.8.01.7.11.7.01.6.21.6.11.6.01.5.21.5.11.5.01.4.41.4.31.4.21.4.11.4.01.3.31.3.21.3.11.3.01.2.31.2.21.2.11.2.01.1.01.0.41.0.31.0.21.0.11.0.0What is PyAMS?PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications
and content management with the Pyramid framework.PyAMSis actually mainly used to manage web sites through content management applications (CMS,
see PyAMS_content package), but many features are generic and can be used inside any kind of web
application.All PyAMS documentation is available onReadTheDocs; source code
is available onGitlaband pushed toGithub. Doctests are available in thedoctestssource folder.What is PyAMS portal?PyAMS_portal is a PyAMS extension package which can be used to handle presentation templates.A template is made of rows, slots and portlets, following Bootstrap’s grid logic, and
can be shared between several contexts to handle content presentation. A context can then be
configured to use distinct templates for page header, body and footer; when reusing a shared
template, the template configuration of rows and slots is frozen, but each portlet can use a
different configuration from those of the template from which we inherit.PyAMS_portal package only provides a very small set of portlets. More portlets are provided by
content management packages like PyAMS_content, while other extension packages can be used to
provide custom portlets renderers.Changelog2.2.3corrected doctest2.2.2updated portlets cache key to include page name (which may be required when
a page template is duplicated to be used in another page name)2.2.1moved renderers names constants from PyAMS_content package2.2.0added support for portlets renderers thumbnailsmoved PyAMS_utils finder helpers to new module2.1.1added default portlet settings hint adapter2.1.0updated modal forms titlesmall updates in template layout row and slot management2.0.0migrated to Pyramid 2.01.9.2updated slots and portlets add menus factories to hide these menus on headers
and footers layouts when not using a custom template1.9.1updated doctests1.9.0added slot CSS class to portlets containerupdated portlet previewerupdated portlet edit form statusbypass workflow state check on page preview1.8.1use new sortable table base class1.8.0added marker interfaces to handle header and footer templates1.7.1corrected history syntax error1.7.0added attribute to portlet settings to define Bootstrap devices on which portlet
is visible1.6.2added default portlet settings label adapterremoved useless portlets renderers settings adaptersupdated portlet settings preview templates1.6.1updated doctests1.6.0added support for distinct header, body and footer templates in a portlet contextadded support for Python 3.11added renderer to spacer portlet1.5.2updated doctests1.5.1include required Fanstatic resources when portlet content is loaded from cacheadd request protocol to portlets cache key1.5.0added default portlet previeweradded no-value message to renderer selection widgetremoved static resources from layout templatesmall refactoring in raw code portlet renderersaddedfieldandcontextarguments to properties renderers in portlet previewuse f-strings instead of format functions (requires Python >= 3.7)updated translationsadded support for Python 3.101.4.4remove empty portlets from portal layoutuse new ZMI base columns classes in cards and carousel portlets management views1.4.3added link to image preview in image portlet1.4.2restored missing callback in template layout1.4.1updated MyAMS module registrationupdated renderer selection widget classnameuse new context base add action1.4.0added prefix and suffix HTML codes to slot configuration1.3.3added option to display menu to access templates container from ZMI home page1.3.2added check for missing portlet renderer in previewupdated translation string name in layout management script1.3.1updated content provider rendering API, adding new “template_name” argument to
“render” methods1.3.0added template container CSS class (with custom TALES extension and updated layout)added support for designer role to portal templates containeradded template properties edit formupdated doctests1.2.3small template layout CSS updatesadded templates label adapterupdated add and edit forms title1.2.2package version mismatch1.2.1updated portlets inner settings forms labeluse IObjectLabel adapter in local template share form1.2.0added Bootstrap float classes to slotsupdated Javascript layout handler1.1.0added feature to create a shared template from a local oneremoved permission on default portletsupdated forms titleupdated translations1.0.4clear portlets cache after configuration or renderer settings update1.0.3updated layout offset classes for XS devices1.0.2corrected syntax error in image portlet settingupdated ZMI modules exclusion rule when including package1.0.1Javascript code cleanup1.0.0initial release