ztfy博客处理包
ztfy.blog的Python项目详细描述
内容
What is ztfy.blog ?
blog是一组模块,可以方便地管理基于zope3的简单网站 应用服务器。
它的主要目标是简单易用和管理。
- 因此它远不是一个“功能齐全”的环境,但当前可用的功能包括:
- 一个简单的管理界面
- 网站,由部分和内部博客组织
- 主题,由自定义元素(文本或HTML段落、资源和链接)组成
- 默认的前台皮肤。
所有这些元素都可以通过注册一组简单的接口和适配器来扩展,以创建 完整的网站符合您自己的需要。
几个包中提供了一些扩展列表,如ztfy.gallery,它提供了 自定义皮肤中图像库的基本管理,或ztfy.hplskin,它提供另一个皮肤。
How to use ztfy.blog ?
ztfy.blog的用法通过ztfy/blog/doctests/readme.txt中的doctests进行描述
Changelog
0.6.2
- replace references to IBaseContent/BaseContent with new II18nBaseContent/I18nBaseContent from “ztfy.i18n” package
0.6.1
- move internal references links generic features to ZTFY.skin package
0.6.0
extract generic interfaces, components and adapters in ZTFY.base and ZTFY.skin packages to remove unneeded dependencies with ZTFY.blog from other packages.
WARNING: some parts of your code may become incompatible with this release!!!
0.5.5
- added missing property in default skin’s site presentation class
0.5.4
- added checks in database upgrade code
0.5.3
- use correct widgets prefix in resources add forms
0.5.2
- remove security proxy on back-office interface adapter
0.5.1
- move several skin-related interfaces and classes to ZTFY.skin
- use fancybox plug-in data API from ZTFY.skin
- reorganized resources to facilitate custom skins not reusing ZTFY.blog CSS
- imports cleanup
0.5.0
- use ZTFY.skin data API
- make package resources compatible with Fanstatic “bottom” option
0.4.12
- removed “$.browser” check which is deprecated in JQuery 1.7
- use last roles edit form from ztfy.security
0.4.11
- added custom ZODBBrowser state loader for ordered container
0.4.10
- changed style of container batch links
0.4.9
- use generic marker interface and ++back++ namespace to identify contents with custom back-office properties
0.4.8
- updated locales
- removed useless title on category add form
0.4.7
- added site’s back-office custom logo
- removed useless title on dialog add forms
- use “getContentName()” function from ZTFY.utils package when creating new resources or links
0.4.6
- small CSS updates in default skin to match new ZTFY skin
- added legend on site’s tree view
0.4.5
- changed “++static++” namespace traverser layer
0.4.4
- changed package source layout
0.4.3
- implement ztfy.security ILocalRoleManager interface
0.4.2
- remove default JPEG format when creating or using thumbnails
0.4.1
- changed batch size to 10000 items in site tree view
0.4.0
- large refactoring due to integration of generic features (forms, javascript…) into ztfy.skin package
- added a global ‘operators’ groups, which has the “ztfy.ViewManagementScreens” permission; any principal receiving an administrator or contributor role will automatically be included in this group.
- define default BaseEditForm buttons
- changed permissions on login viewlet
- minor CSS updates
0.3.13
- small back-office CSS update
0.3.12
- added new back-office presentation properties to add custom CSS, banner and favorites icon
- changed dialogs overlay mask color and opacity
- changed default dialogs container width
0.3.11
- added BaseDisplayForm and BaseDialogDisplayForm classes
- added alternate title on illustrations and updated templates to improve XHTML standard compliance
- added HTTP-equiv meta header class and interface
- removed zope.proxy package dependency
0.3.10
- improved back-office batching
- remove closed dialog’s overlays from HTML source code
0.3.9
- updated back-office styles
- use jQuery’s multi-select plug-in for internal reference’s widget (with the help of a new XML-RPC search view)
- remove form’s error status automatically only if it’s not an error status
- added “CALLBACK” output mode in javascript forms to be able to call a custom callback
- added “getOuput()” method in add and edit forms to get a custom AJAX output in derived forms
- added progress bar in forms managing file uploads ; this code is based on Apache2 upload progress module but forms still function correctly if module is not enabled
- small javascript updates
0.3.8
- use absolute URL on workflow forms redirections
- added display of Google +1 button in presentation settings and templates
- added display of Facebook ‘Like’ button in presentation settings and templates
0.3.7
- add “managers” group on automatic database upgrade
0.3.6
- added “devmode” ZCML condition on manager grants
0.3.5
- corrected automatic database upgrade code (again, sorry…!)
0.3.4
- corrected automatic database upgrade code
0.3.3
- added RSS feeds
- added roles management dialogs
- added interfaces and adapters to handle HTML metas
- added extension in displays URLs
- changed necessary permission from ztfy.ManageContent to ztfy.ViewManagementScreens to get access to many management dialogs
- correct dependencies in default skin resources
- updated database automatic upgrade code
- add check for II18n adapter in banner viewlet
- added CSS class for Disqus threads list elements
- and a few other little enhancements…
0.3.2
- changed TopicResourcesView to correctly display only selected resources
- check for I18n adapter result in TitleColumn.renderCell
0.3.1
- migrated resources management from zc.resourcelibrary to fanstatic
0.3
- switch to ZTK-1.1.2
- fixed JavaScript typo
- new ISiteManagerTreeViewContent interface to handle presentation of site’s tree view contents
- changed breadcrumbs handling to correctly get IBreadcrumbInfo multi-adapter
- changed TitleColumn.renderCell to correctly check title’s URL
- changed permission required to display “management” link
- added better checking of II18n adapter in several contexts
- added ‘ztfy.ViewManagementScreens’ permission
- added “container_interface” attribute on OrderedContainerBaseView for use in “updateOrder” method
- added JavaScript resource for function common to front-office and back-office
- removed many “zope.app” packages dependencies
- removed ztfy.blog.crontab module, which was moved to ztfy.scheduler package to remove a cyclic dependency
- switch “getPrincipal()” function from “ztfy.utils” to “ztfy.security” package
0.2.9
- changed pagination behavior
- added pagination on category index page
- added Google site verification code
0.2.8
- changed behavior of categories ‘getVisibleTopics()’ method to also get topics matching sub-categories of the given category
0.2.7
- corrected timezone in sitemap lastmod attribute
- modified $.ZBlog.form.edit function to add a custom callback
- corrected handling of topics ‘commentable’ property which was ignored
0.2.6
- added IContainerSitemapInfo interface and adapters to handle sitemaps correctly…
0.2.5
- added sitemaps XML views (see “sitemaps.org” for details)
0.2.4
- added workaround to display new sites properties without OID
- moved Google Analytics integration page in default layout
- update database upgrade code used when creating a site manager
0.2.3
- integration of Google Analytics and AdSense services
0.2.2
- modified topic comments template to correctly handle presentation settings
0.2.1
- small templates modifications for better XHTML compliance
- added ‘++presentation++’ namespace traverser
- changed ‘title’ index default options
0.2
- added interfaces, base classes and adapters to handle presentation correctly inside custom skins
- added ‘skin:’ and ‘site:’ TALES path adapter
- added warning message when displaying a category without any topic
- changed topics ordering in topics containers views
- changed fields list of ‘title’ text index
- added missing “content_type” property on sections and topics
- added ‘content_type’ index
- few code cleanup (unused imports…)
- some bugs corrected
0.1.2
- resources cleanup and minimization
- light changes in paragraphs templates
0.1.1
- Added MANIFEST.in file to handle source package without missing files
0.1
- Initial release