Breaking changes:
- add item here
New features:
- Allow for easier overriding of some BaseVocabularyView settings [Gagaro]
Bug fixes:
- Adapt tests to the new indexing operations queueing. Part of PLIP 1343: plone/Products.CMFPlone#1343 [gforcada]
Bug fixes:
- Check for containerish behavior in
@@allow_upload
. Fixes a case, where@allow_upload
reportedTrue
for content of typeFile
. [thet]
Bug fixes:
- Add a missing comma between two strings in a list, python merges them into a single string if not. [keul, ekulos, gforcada]
Bug fixes:
- Stop using
canSelectDefaultPage
Python script from CMFPlone. [davisagli]
New features:
- Move
get_top_site_from_url
out from here intoProducts.CMFPlone.utils
. Deprecate old import. [thet]
Bug fixes:
- Fix
folder_contents
view incorrectly returning anapplication/json
response instead of atext/html
response. [thet] - Fix issue with
get_top_site_from_url
, where in some circumstances a ValueError was thrown. If that happens, just returngetSite
. You will only notice, if you have subsites, access them non-VirtualHost-rooted and an error is thrown. Then folder contents won't be able to navigate up to the root Plone site. [thet]
Bug fixes:
- Apply security hotfix 20160830 for folder factories redirection. [maurits]
- Fix UnicodeDecodeError on full review list view [datakurre]
New features:
- Folder contents rename dialog: In the rename dialog, show image thumbnails in
thumb
scale instead oficon
. Plones standardicon
scale is way to small to be useful for images. [thet]
Bug fixes:
- Folder contents properties dialog: Fix form request variables for
effectiveDate
andexpirationDate
dates. [thet] - Fix a json "circular reference detected" error which happened when the json dumper got unparsable data types. [pcdummy]
New features:
- Add
@@allow_upload
view, which returns a JSON string to indicate if File or Image uploads are allowed in the current container. When the view is called with apath
request parameter, then content at this path is used instead the content where the view is called. [thet] - Factor out the available columns ignored list which can be used to narrow down the available columns list to a user friendly set. [thet]
Bug fixes:
- Explicitly set
application/json
content type for JSON responses and declare anutf-8
charset. [thet] - Properly deprecated
_permissions
in favor ofPERMISSIONS
. Since 3.1, the_permissions
variable wasNone
instead of a backwards compatibility alias forPERMISSIONS
due to a wrong deprecation. [maurits] - Fix recursive workflow actions. The
isDefaultPage
check acquired the wrong parent context. Also bypass the recurse flag for default page workflow state change. [petschki]
Bug fixes:
- Bind view
plonejsi18n
to INavigationRoot in order to enable non-portal-root published sites to deliver the translations for javascript. [jensens]
Bug fixes:
- Lookup of Content Type for passing in Content Type Factory improved, so that all Images (especially Tiff) are stored as Images not Files. [loechel]
New:
- Show attributes from
_unsafe_metadata
if user has "Modify Portal Content" permissions. [thet] - Add
Creator
,Description
,end
,start
andlocation
to the available columns and context attributes for folder_contents. [thet]
Fixes:
- Folder contents: When pasting, handle "Disallowed subobject type" ValueError and present a helpful error message. Fixes: plone/mockup#657 [thet]
- Folder contents: Acquire the top most visible portal object to operate on. Fixes some issues in INavigationRoot or ISite based subsites and virtual hosting environments pointing to subsites. Fixes include: show correct breadcrumb paths, paste to correct location. Fixes: #86 [thet]
- Added most notably portal_type, review_state and Subject but also exclude_from_nav, is_folderish, last_comment_date, meta_type and total_comments to
BaseVocabularyView
translate_ignored
list. Some of them are necessary for frontend logic and others cannot be translated. Fixes plone#77 [thet] - Remove
portal_type
from available columns and useType
instead, which is meant to be read by humans.portal_type
is now available on the attributes object. [thet] - Vocabulary permissions are considered View permission by default, if not stated different in PERMISSIONS global. Renamed _permissions to PERMISSIONS, Deprecated BBB name in place. Also minor code-style changes [jensens, thet]
- Fix test isolation problem and remove an unnecessary test dependency on
plone.app.widgets
. [thet] - Restore acquisition context in orderings, which had been dropped by accident in 3.0.15 [pysailor]
Fixes:
- Fixed tests for adding creators to content. [vangheem]
Fixes:
- Add fallback to global vocabulary permission check when permission checker can't be found. [alecm]
Fixes:
- Added translation functionality to folder content panel. plone/Products.CMFPlone#1398 [terapyon]
Fixes:
- Fixed error message unicode error in rename action. [Gagaro]
- Fixed errors when cutting and copying objects in folder contents. [vangheem]
Fixes:
- Fixed renaming when only changing title. [Gagaro]
New:
- Ensure the base context allows ordering during rearranging. [Gagaro]
Fixes:
- Fix case where non-dexterity object did not properties [vangheem]
- Fixed rearranging for archetypes. [Gagaro]
- Fixed error message displaying during rearranging. [Gagaro]
Fixes:
- Fixed upload of txt files in folder_contents (#33, #58). [ale-rt]
- Cleanup and rework: contenttype-icons and showing thumbnails for images/leadimages in listings. plone/Products.CMFPlone#1226 [fgrcon]
- Fixed @@getSource view to work with a text query (as done by the ajax autocomplete widget) in addition to a querystring widget query. [davisagli]
New:
- Refactored
FolderContentsView
to allow easy overwriting of options. [Gagaro]
Fixes:
- Fixed vocabulary item path to remove
INavigationRoot
path. [petschki] - Fixed the actions to allow unicode in titles. [Gagaro]
- Require cmf.ModifyPortalContent for content_status_history [vangheem]
- Pull typesUseViewActionInListings settings from registry. [esteele]
- Fix tests: API usage to get default page in order to prevent side effects in other tests. [jensens]
- Display results of delete_confirmation_info in delete_confirmation and fc-delete to warn about linkintegrity-breaches. [bloodbare, vangheem, pbauer]
- Respect view-action (e.g. for files and image) in rename, copy and cut. Fixes plone/Products.CMFPlone#829 [pbauer]
- Added basic test for folder contents "rearrange" and "item order" features. Minor restructuring of actions in own files to have a consistent structure (bbb imports in place). Minor changes in touched area regarding pep8, code-analysis, et al. [jensens]
- Do not setDefaultPage in rename handler, there is already an subscriber that do so in Products.CMFDynamicViewFTI. [jensens]
- Do not clear clipboard when pasting content [vangheem]
- Fix i18n of '"title" has already been deleted'.
- When clicking cancel on the delete_confirmation got to the view_url. [ale-rt]
- Fix deletion of objects with unicode charaters in the title. [cillianderoiste]
- Remove IFolderContentsViewletManager and IContentsPage as it's not used in Plone 5 anymore. [vangheem]
- Change "Workflow" to "State" in folder contents [vangheem]
- provide "no" button to delete on folder contents [vangheem]
- add portal_type to context info for folder contents pattern as it needs that data [hgarus]
- Give a decent error when ordering is not supported on a folder. [vangheem]
- Update folder contents integration to be able to work in a way where button actions can be provided by add-on products [vangheem]
- Make the
@@fileUpload
to not be guarded by the AddPortalContent permission, and instead do that check in code, so we can return better error message [frapell] - Let
@@getVocabulary
return the vocabulary's value instead of the token for the id in the result set. The token is binary encoded and leads to encoding errors when selecting a value with non-ASCII data from vocabulary list in a select2 based widget. Fixes: plone/Products.CMFPlone#650 [thet]
- remove context class from cancel button on select_default_page fixes plone/Products.CMFPlone#577 [vangheem]
- Fixes issue #584 in plone/Products.CMFPlone. [fulv]
- use 'as' syntax for exception [frentin]
- Removed CMFDefault dependency [tomgross]
- Ensure that content is not deleted by acquisition when the delete action is used from a context that has already been deleted. Provide tests to catch regressions (see plone/Products.CMFPlone#383) [cewing]
- add plone.protect as a dependency [vangheem]
- provide _authenticator token on old style createObject factory views [vangheem]
- Solving plone/Products.CMFPlone#440 [aleix]
- Translate folder contents add menu [vangheem]
- use same columns title in results and in displayed colums configuration [vincent]
- pep8, flake8, utf8-headers et al cleanup. [jensens]
- refactored
p.a.c.namechooser.NormalizingNameChooser._getCheckId
to not use lambdas. [jensens]
- Fix a few minor issues on folder_constraintypes_form. [fulv]
- Add
id
to available columns of thefolder_contents
view. [thet] - fix json responses to be able to handle datetime objects and Missing.Value [vangheem]
- Keep default_page when renaming objects. [pbauer]
- Use INameChooser for new id when renaming objects using folder_rename or object_rename. Fix plone/plone.app.dexterity#73 [pbauer]
- Allow folderish types as default_page as long as users cannot add content to them. [pbauer]
- fix removing tags with non-ascii characters in folder_contents [petschki]
- PLIP 13260: add browser views for
select_default_page
andselect_default_view
. [saily] - PLIP 13260: convert
delete_confirmation
,folder_rename
andobject_rename
into z3c.forms. [saily] - PLIP 13260: Migration cut, copy and paste into browser views and add tests for that. [saily]
- Pass
REQUEST
intomanage_delObjects
method to supportplone.app.linkintegrity
checks. [saily] - Ported tests to plone.app.testing [tomgross]
- PEP8 [tomgross]
- Bump Plone 5 branch to 3.0 [esteele]
- PLIP 13260 add browser views for
select_default_page
and select_default_view
. [saily]
- PLIP 13260 add browser views for
- PLIP #13705: Remove <base> tag. [frapell]
- Fix constrainttypes form. [davisagli]
- Move content_status_history from CMFPlone to a browser view in this package. [bloodbare]
- Protect the folder constraintypes form with the 'Modify constrain types' permission. [davisagli]
- Fix tests for Plone 5 where the PLONE_FIXTURE layer does not provide content types any longer. [timo]
- Allow modifying the pagesize by adding a request-string e.g. "?pagesize=100". [pbauer]
- Use PLONE_APP_CONTENTTYPES_FIXTURE as testing base layer because ATContentTypes have been removed from PLONE_FIXTURE and some tests require content types. [timo]
- New folder contents implementation based on mockup [vangheem]
- Fix translations of selectable restriction-options. [pbauer]
- PEP8 cleanup. [timo]
- Added missing i18n markup to table.pt. [jianaijun]
- Load folder_contents.js from the portal root instead of the context. [maurits]
- In the folder_contents view, assume a folderish context and set the base tag with a trailing slash. Fixes https://dev.plone.org/ticket/13487 [danjacka]
- show a warning message on the folder contents view when the default page is also a folder, that in order to add items to the default page's folder, they'll need to visit it's folder_contents view. also addresses https://dev.plone.org/ticket/9057 [vangheem]
- on the folder_contents view, show the add menu for the context object always. This fixes the issue when the default view of a folder is also a folder and you can not add items to it. fixes https://dev.plone.org/ticket/9057 [vangheem]
- Remove KSS dependency from AJAX table views. [cah190]
- In table.pt use sequence_length to get batch size. [cah190]
- Adjust table.pt TAL to work after the TAL engine became a bit stricter about only allowing path expressions within string expressions. [davisagli]
- Remove hard dependency on ATContentTypes. [davisagli]
- Clarify which item is the default view for the folder in the folder contents view. [rossp]
- Use plone.batching for all batches (PLIP #12235) [tom_gross]
- In table.pt allow properly sorting on modification date, by adding a class like sortabledata-2012-04-03-10-37-27. [maurits]
- Namechooser: Attempt to return an id with timestamp before returning a value error after 100 id check attempts. [eleddy]
- Namechooser: Pass the parent object to the Plone check_id script so it can detect duplicates.
- Namechooser: Use the Zope ObjectManager _checkId method to check new ids when possible, to avoid errors when adding invalid ids not caught by the old check. This fixes http://code.google.com/p/dexterity/issues/detail?id=244 [davisagli]
- Replace links to .../@@folder_contents by links to .../folder_contents so that 'Content' tab remains selected after a folder action. This fixes http://dev.plone.org/plone/ticket/10122. [thomasdesvenain]
- Add brain in dict returned by
folderitems
method of theFolderContentsTable
for items not part of the currently visible batch as well. [mj]
- Add brain in dict returned by
folderitems
method ofFolderContentsTable
class to ease customisation. [gotcha] - Add MANIFEST.in. [WouterVH]
- Fixed state title in folder contents. [thomasdesvenain]
- Fix display of title in folder contents table. [elro]
- Reduce the required table item keys to
id
orgetId
. [elro] - Make all columns other than title optional in table view. [elro]
- It is the portal_type that is listed in typesUseViewActionInListings. [elro]
- Preserve filename extension when picking a unique name. [elro]
- Depend on
Products.CMFPlone
instead ofPlone
. [elro]
- Avoid using a mutable default argument in the FolderContentsTable code. In a LinguaPlone environment after viewing the folder contents of a collection, the language of that collection got stuck as a content filter and wasn't reset anymore. Viewing the folder contents of any item in a different language showed an empty table until the Zope instance was restarted. [tom_gross, hannosch]
- Use the folder as the factory expression context when a front-page is used as the display for the folder. Tests in plone.app.contentmenu. [rossp]
- Update license to GPL version 2 only. [hannosch]
- Fetch the folder contents view icon more directly. [davisagli]
- Speed up folder contents view by only creating the necessary data for items in the batch to be displayed. [witsch]
- Disable KSS updates for "select all" and "show all items/batched" in "folder contents" view as they are broken for folders with lots of content. [witsch]
- Slight reconfiguration of the order of the folder_contents table; dragging is now in the first column, and visually much improved. [limi]
- Fixing possibly our #1 integrator issue, where do you find the template that corresponds to the folder_contents URL? Grep gives you nothing, since this was renamed to foldercontents.pt in the 3.x series. Renamed it back to folder_contents.pt, and adjusted the ZCML accordingly. [limi]
- Removed unused template foldercontents_table.pt. We have been using table.pt for ~2 years, it's time to kill it off. [limi]
- Only display batching controls if we have more than the batch size number of elements. Fixes http://dev.plone.org/plone/ticket/10281 [esteele]
- Adapt tests to new policy introduced in http://dev.plone.org/plone/changeset/34375 References http://dev.plone.org/plone/ticket/10236 [tomster]
- Use non-skins versions of isExpired and pretty_title_or_id to speed up the folder_contents view a bit. [witsch]
- Updated templates to follow the recent markup conventions. References http://dev.plone.org/plone/ticket/9981 [spliter]
- Mixed in Acquisition.Implicit back into the CMFAdding class. CMF skins depend on it inside templates. This closes http://dev.plone.org/plone/ticket/9865. [hannosch]
- Added test for adding view and Acquisition interaction. This references http://dev.plone.org/plone/ticket/9865. [hannosch]
- Move logic for deciding source of folder contents listing to a new function so the FolderContentsTable view is useful as a base for subclasses. [MatthewWilkes]
- Removed no longer required _getCharset handling from the name chooser. Plone only supports utf-8 as a database encoding. [hannosch]
- Use the getIconExprObject method of the FTI instead of the deprecated getIcon method. [hannosch]
- Fixed package dependencies and prefer Acquisition-less BrowserView. [hannosch]
- Introduce a new marker interface IContentsPage noting that the current request is showing the folder contents page. [hannnosch]
- Fixed a unicodedecodeerror in foldercontents.py. Closes #9853 [wigwam]
- Templates were updated to a new way of disabling the columns via a REQUEST variable. [spliter]
- Avoid zope.app dependencies. [hannosch]
- folder_contents view used the same msgid for two different messages. Fixed that. This closes http://dev.plone.org/plone/ticket/9634 [vincentfretin]
- Removed deprecated use of is_folderish script. [davisagli]
- Added support for the new add_view_expr property available on FTIs. This can be used to construct a URL for add views. [optilude]
- Removed PortalContent.__init__ call including an id argument from Item, as there's no base class which accepts this argument. [hannosch]
- Added package dependencies. [hannosch]
- Fixed serious regression introduced in c31433. You cannot pass encoded strings into Message mappings. [hannosch]
- Make the folder contents listing fall back to using the portal_type id when the title is not available (e.g. if the portal_type is missing). [davisagli]
- Fixed erroneous tfooter tag in table.pt (used in folder contents). It should be tfoot, not tfooter. [limi]
- Fixed not translatable message in table.pt: "Select ${title}" appears when the mouse is over a checkbox in folder_contents. [vincentfretin]
- Fixed folder_add_settings_long default message, it used "context" instead of "here". [vincentfretin]
- Correct detection if an item in the review list is folderish. Partially fixes http://dev.plone.org/plone/ticket/8926 [csenger]
- Add authenticator token to full_review_list form. Partially fixes http://dev.plone.org/plone/ticket/8926 [csenger]
- Translate the name of the content types in full_review_list, add tests. This fixes http://dev.plone.org/plone/ticket/9164 [csenger]
- Changed the folder contents tables to deal properly with the Acquisition context of self.context. In Five's browser views, you need to do aq_inner(self.context). This closes http://dev.plone.org/plone/ticket/7686.
- Made the tests less fragile in regard to browser errors. [hannosch]
- Translate the name of the content types in folder_contents. Fixes http://dev.plone.org/plone/ticket/8459 [csenger]
- Made the tests less fragile in regard to browser errors. [hannosch]
- Fixed folder contents tests, which tried to remove a no longer existing portlet assignment. [hannosch]
- Small cleanup and removed hard-dependency on KSS. [hannosch]
- Added missing i18n markup to batching.pt. This closes http://dev.plone.org/plone/ticket/8501 [dunlapm]
- Fixed content type name for items in folder_contents when you hover any. Closes http://dev.plone.org/plone/ticket/8223 [spliter]
- Fixed title and description for non AT content in folder_contents where widget method was acquired from parent AT content. [elro]
- Use the widget itself to render the title and description and include the usual viewlet managers around the title. [wichert]
- Fixed i18n markup in table.pt. [naro]
- Added authenticator token for CSRF protection. [witsch]
- Fix invalid leading space in all 'Up to Site Setup' links. [wichert]
- Improved the batch disabling action so that it only shows up when there is a batch. [jvloothuis]
- Made the reviewlist more powerful by making the folder contents selection features available for it as well. [jvloothuis]
- Changed the replacement command to actually replace the div, not just its inner content. This fixes a problem with browsers like Internet Explorer which did not apply the drag and drop script after updating. [jvloothuis]
- Fixed i18n markup in table.pt. [hannosch]
- Made it possible to show all the items in the folder contents at once (no batching). This can be used to drag items across batch boundaries and makes it easier to move an item from the end of the folder to the beginning. [jvloothuis]
- Update the folder_factories view to add the FTI id to the output of of addable_types. This makes it possible for callers to manipulate its results. [wichert]
- Fixed the 'id' attribute of CMFAdding class. By default, it is an empty string, which confuses absolute_url() and causes the <base /> tag to be set incorrectly. This in turn confuses KSS, and probably other things. [optilude]
- Fixed missing i18n markup on the folder contents view. [hannosch]