Internal:
- Update configuration files. [plone devs] (6e36bcc4)
Tests
- Remove unused
portal_properties
code from tests. [maurits] (#125)
Bug fixes:
- Handle parenthesis inside quotes [erral] (#139)
New features:
- Add a way to specific a context for getting vocabularies in the QuerystringRegistryReader. @davisagli (#137)
Bug fixes:
- Fix the currentUser operation when the current user's username is different from their user id. @davisagli (#135)
Bug fixes:
- Fix integer operations to accept integers. @davisagli Fix integer operations to avoid adding None to the query when the input is not valid. @davisagli (#131)
- Merge range queries on the same index instead of overwriting. @davisagli (#132)
Internal:
- Update configuration files. [plone devs] (dd37b9f9)
Bug fixes:
- Fix a circular transitive dependency to plone.app.querystring. New direct dependency explicit on plone.app.vocabularies. Move plone.app.querystring.catalog.CatalogVocabularyFactory to .vocabularies, move the ZCML to register the factory, move the the test. Move plone.app.querystring.utils.parse_query with new name parseAndModifyFormquery to .queryparser. [@jensens] (fix-circular-dep-pavocabularies)
Bug fixes:
- Fix cyclic dependency, do not depend on plone.app.layout. [@jensens] (rm-cyclic-dep)
Bug fixes:
- Housecleaning: pyupgrade, isort, black, remove six, move imports from CMFPlone to plone.base, copy munge_search_terms from CMFPlone to here to avoid dependency on CMFPlone. [jensens] (#119)
Internal:
- Update configuration files. [plone devs] (a533099d)
Bug fixes:
- Minor cleanup on tests. [gforcada] (#1)
Bug fixes:
- Use function from Products.CMFPlone to handle cleaning of search terms. Fixes #111 [erral] (#111)
New features:
- Add negation-query operators string.isNot and selection.none.
New
plone.app.querystring.operation.string.isNot
andplone.app.querystring.operation.selection.none
including upgrade steps. [thet] (#110)
Bug fixes:
- Fix how to merge custom_query with parsedquery without overriding values. [cekk] (#103)
New features:
- Add lazy attribute to vocabularies to prevent fetching any results [reebalazs] (#104)
Bug fixes:
- Remove cyclic dependency with plone.app.vocabularies [sneridagh] (#101)
Bug fixes:
- Fixing issue #97: Multiple path support for Translation Groups, using PATH_INDICES as suggested by jensens (#97)
Bug fixes:
- Minor packaging updates. (#1)
Bug fixes:
- Integer criterions: try to convert all input to integers.
Most notably this did not happen for unicode on Python 2.
So a
u"42"
was passed as value to the catalog query, and this matched either all or nothing. [maurits] (#93)
Bug fixes:
- Do not show default profile as installable (already installed with core) [jensens]
Bug fixes:
- Fix query_index_modifiers and tests with py3 [pbauer, gforcada]
Bug fixes:
- Fix a case, where objects id starts with roots id [eikichi18]
Bug fixes:
- Ignore unknown
sort_on
indexes when parsing a query. Otherwise you get aCatalogError
. [maurits] - Add Python 2 / 3 compatibility [pbauer]
Bug fixes:
- Fix tests with CMF 2.3. [davisagli]
- Fix querybuilder if SearchableText is a dict {'query': '...'} [tomgross]
Bug fixes:
- Filter query string from bad term and operator. [nngu6036]
Bug fixes:
- remove unittest2 dependency [kakshay21]
Bug fixes:
- Do not fail on empty empty or not existing querystrings while upgrading. [agitator]
Bug fixes:
- Fix
QueryBuilder
with empty queries to return a Batch when requested. [thet] - Disable "Subject" ("Tags") as sortable index. Keyword Indexes are not sortable. [jensens]
Bug fixes:
- Fix a case, where index modifiers with queries containing
largerThanRelativeDate
orlessThanRelativeDate
date operators failed with anTypeError
. [thet] - Import DateTimeError from DateTime.interfaces, class attribute DateTime.DateTimeError was removed in DateTime 3.0 [vincentfretin]
Bug fixes:
- Add coding header on python files. [gforcada]
New features:
- Refactor addition of criteria to stick inside
INavigationRoot
in querybuilder. Added a simpleIQueryModifier
interfaces expecting a query and returning a query. Iterates over all sorted utilities providing such an interfaces and calls it right before the query is parsed. Code to add theINavigationRoot
stickiness was moved to such a query modifier. [jensens]
Bug fixes:
- Use zope.interface decorator. [gforcada]
Fixes:
- Add missing _referenceIs query parser [vangheem]
Fixes:
- Set path to navigation root by default to have the same results in Collection preview and view. [Gagaro]
New:
- Be able to parse more date string types [vangheem]
Fixes:
- Again upgrade collections with
selection.is
toselection.any
, because the standard events and news collections may have been wrongly created in a new site. Issue plone/Products.CMFPlone#1040 [maurits] - In tests, use
selection.any
in querystrings. Issue plone/Products.CMFPlone#1040 [maurits] - Added upgrade step to replace
selection.is
withselection.any
operations in querystrings also for objects using the Collection behavior. [thet]
Fixes:
- Rerelease as something went wrong during upload of the package. [maurits]
Fixes:
- Added missing ',' for subject upgrade. [ezvirtual]
Fixes:
- Fixed flake8 warnings. [maurits]
- Updated compatibility information in README. [maurits]
- Fixed resultview icons. plone/Products.CMFPlone#1151 [fgrcon]
- Added upgrade step to fix Subject index for existing collections. [ezvirtual]
- Fixed problems introduced by merge. [jensens]
- Add "before/after N days" functionality [petschki]
- Fixed Sortable Indexes to not return ZCTextIndex type indexes. [winstonf88]
- Fix vocabularies sorting [ebrehault]
- Fix migration from Plone 4 to Plone 5. [pbauer]
- Creator criteria: pur currentUser on top. [mvanrees]
- Migrate Creator string.is to selection.any. [mvanrees]
- add user vocabulary to plone.app.querystring.field.Creator. [vangheem]
- do not need "is" when there is an "any" operator. [vangheem]
- Hide upgrade-profiles when creating a new site. [pbauer]
- Replace selection.is with selection.any for portal_types and review_state operations, and add selection.any for Creator operation. [frapell]
- Actually convert the value to a datetime for the DateIndex query modifier. [frapell]
- Do not fail if the 'Between' operation is called with an empty value, and instead return a list with 2 empty values. [frapell]
- Fixed possible problem with
custom_query
parameter where theoretically a second invocation could inadvertently be using the value from the first invocation. [maurits]
- Fix getObjPositionInParent be sortable by default [datakurre]
- Add operators selection.any and selection.all to Subject. [MrTango]
- Implement
is
,lessThan
andlargerThan
operators for integer fields (fixes #32). [rodfersou]
- No need to install plone.app.querystring as z2 products in tests. [timo]
- Fix path-queries using UID. [pbauer]
- Path criteria can be defined either absolute to
IPloneSiteRoot
, absolute toINavigationRoot
or relative to current context. [rnixx] - Relative path parent breaks on
IPloneSiteRoot
rather thanINavigationRoot
. [rnixx]
- Fixed build DateIndex query. [kroman0]
- Fix wrong query field vocabulary declaration of the show_inactive field from
AllRoles
toRoles
. [thet] - Add a
custom_query
parameter to theQueryBuilder._makequery
method, which allows for run time customization of the stored query, e.g. by request parameters. [thet] - Added support for depth in relativePath operator. [djay]
- Fixed upgrade_1_to_2 upgrade step in case the registry doesn't contain the named value [ichim-david]
- Added show inactive operation which uses the roles vocabulary in order to assign permission to show or hide the inactive objects of the given query [ichim-david]
- Migrate tests to plone.app.testing. [sdelcourt]
- Fix querybuilder code if results object does not provide an actual_result_count attribute. This regression has been introduced in release 1.1.1 (fixed broken handling of limit and batch size). [timo]
- bugfix for #22: Names not matching for operations getObjPositionInParent plus test [jensens]
- Implement multipath queries: - Parsing a path returns always a list. - Special handling for paths in parseFormquery. [maethu]
- Fixes https://dev.plone.org/ticket/13251 [mathias.leimgruber]
- querybuilder results can now be manipulated using
IParsedQueryIndexModifier
named utilities. [keul]
- fixed broken handling of limit and batch size. [bosim]
- pep8 fixes [bosim]
- be able to include a depth value onto path query string [vangheem]
- Use plone.batching. [khink]
- Fix UnicodeDecodeError on utf8-encoded Subject strings. [tisto]
- getVocabularyValues now checks if the vocabulary utility is missing, if it is the utility is just ignored. This makes the module tollarant to missing vocabulary utilities. [bosim]
- _relativePath handler can now walk through the site structure (not only upwards) _path handler respects absolute paths without leading nav_root path [petschki]
Date ranges now use the _betweenDates handler, which is much more forgiving of empty field values, defaulting to an all-encompassing date range if neither value is provided, an "everything after" range if only the start date is provided, and a min/max range if both are provided.
Fixes http://dev.plone.org/ticket/12965 [esteele]
- Fixed i18n of "Before today" operator and "x items matching your search terms.". [vincentfretin]
- Add an optional 'brains' parameter to the query builder to obtain results not wrapped as an IContentListing. [davisagli]
- Declare all dependencies in setup.py to resolve a dependency problem in test setups, where the Plone stack isn't fully loaded. [thet]
- Add a "today" date operator [esteele]
- Internationalize strings in the registry. [davisagli]
- Change relative date searching to be "N days" string based rather than datetime based. [esteele]
- Handle empty values on relative date fields. [esteele]
- Change the Creator field to use the correct query operation for filtering on the current logged in user. This fixes https://dev.plone.org/ticket/12052 [jcerjak]
- Limit number of items that show up in the preview of the edit view to 25. If we do not limit these results all items in the query will be rendered in the preview which leads to problems when the collection contains > 10k results. [timo]
- Ensure inactive content is only shown to users with the appropriate permission.
- Initial release