Overview
========
This package provides a queryparser, querybuilder and extra helper tools,
to parse stored queries to actual results, used in new style collections.
It includes a registry reader which reads operators, values and criteria
from the Plone registry.
Compatibility with Plone versions
---------------------------------
For each Plone release, its versions.cfg file at
http://dist.plone.org/release/ pins a version of plone.app.querystring
that works well with that Plone version. It is wise not to pick
another version.
But for clarity, these are the correct relationships between the two
versions:
- On Plone 4.2 use 1.0.x.
- On Plone 4.3 use 1.2.x.
- On Plone 5.0 use 1.3.x.
Too new versions can cause problems. For example, the 1.1.x and 1.2.x
series are intended for usage with Plone 4.3. They depend on
plone.batching, which ships with Plone 4.3 but may cause problems_
with Plone 4.2.
.. _problems: https://dev.plone.org/ticket/12875
Changelog
=========
.. You should *NOT* be adding new change log entries to this file.
You should create a file in the news directory instead.
For helpful instructions, please see:
https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst
.. towncrier release notes start
2.1.2 (2024-06-13)
------------------
Internal:
- Update configuration files.
[plone devs] (6e36bcc4)
Tests
- Remove unused ``portal_properties`` code from tests.
[maurits] (#125)
2.1.1 (2023-12-14)
------------------
Bug fixes:
- Handle parenthesis inside quotes
[erral] (#139)
2.1.0 (2023-09-21)
------------------
New features:
- Add a way to specific a context for getting vocabularies in the QuerystringRegistryReader. @davisagli (#137)
2.0.6 (2023-08-17)
------------------
Bug fixes:
- Fix the currentUser operation when the current user's username is different from their user id. @davisagli (#135)
2.0.5 (2023-06-16)
------------------
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)
2.0.4 (2023-05-22)
------------------
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)
2.0.3 (2023-04-26)
------------------
Bug fixes:
- Fix cyclic dependency, do not depend on `plone.app.layout`.
[@jensens] (rm-cyclic-dep)
2.0.2 (2023-03-21)
------------------
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)
2.0.1 (2022-12-21)
------------------
Bug fixes:
- Minor cleanup on tests.
[gforcada] (#1)
2.0.0 (2022-07-21)
------------------
Bug fixes:
- Use function from Products.CMFPlone to handle cleaning of search terms. Fixes #111
[erral] (#111)
1.6.0 (2022-05-26)
------------------
New features:
- Add negation-query operators string.isNot and selection.none.
New ``plone.app.querystring.operation.string.isNot`` and ``plone.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)
1.5.0 (2022-02-04)
------------------
New features:
- Add lazy attribute to vocabularies to prevent fetching any results
[reebalazs] (#104)
1.4.15 (2021-09-15)
-------------------
Bug fixes:
- Remove cyclic dependency with plone.app.vocabularies
[sneridagh] (#101)
1.4.14 (2020-07-17)
-------------------
Bug fixes:
- Fixing issue #97: Multiple path support for Translation Groups, using PATH_INDICES as suggested by jensens (#97)
1.4.13 (2020-04-20)
-------------------
Bug fixes:
- Minor packaging updates. (#1)
1.4.12 (2019-10-09)
-------------------
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)
1.4.11 (2018-12-10)
-------------------
Bug fixes:
- Do not show default profile as installable (already installed with core)
[jensens]
1.4.10 (2018-10-31)
-------------------
Bug fixes:
- Fix query_index_modifiers and tests with py3
[pbauer, gforcada]
1.4.9 (2018-09-28)
------------------
Bug fixes:
- Fix a case, where objects id starts with roots id
[eikichi18]
1.4.8 (2018-02-05)
------------------
Bug fixes:
- Ignore unknown ``sort_on`` indexes when parsing a query.
Otherwise you get a ``CatalogError``. [maurits]
- Add Python 2 / 3 compatibility
[pbauer]
1.4.7 (2017-11-25)
------------------
Bug fixes:
- Fix tests with CMF 2.3. [davisagli]
- Fix querybuilder if SearchableText is a dict {'query': '...'}
[tomgross]
1.4.6 (2017-09-08)
------------------
Bug fixes:
- Filter query string from bad term and operator.
[nngu6036]
1.4.5 (2017-06-20)
------------------
Bug fixes:
- remove unittest2 dependency
[kakshay21]
1.4.4 (2017-05-23)
------------------
Bug fixes:
- Do not fail on empty empty or not existing querystrings while upgrading.
[agitator]
1.4.3 (2017-02-12)
------------------
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]
1.4.2 (2017-01-17)
------------------
Bug fixes:
- Fix a case, where index modifiers with queries containing ``largerThanRelativeDate`` or ``lessThanRelativeDate`` date operators failed with an ``TypeError``.
[thet]
- Import DateTimeError from DateTime.interfaces, class attribute
DateTime.DateTimeError was removed in DateTime 3.0
[vincentfretin]
1.4.1 (2016-11-18)
------------------
Bug fixes:
- Add coding header on python files.
[gforcada]
1.4 (2016-08-18)
----------------
New features:
- Refactor addition of criteria to stick inside ``INavigationRoot`` in querybuilder.
Added a simple ``IQueryModifier`` 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 the ``INavigationRoot`` stickiness was moved to such a query modifier.
[jensens]
Bug fixes:
- Use zope.interface decorator.
[gforcada]
1.3.15 (2016-05-25)
-------------------
Fixes:
- Add missing _referenceIs query parser
[vangheem]
1.3.14 (2016-02-19)
-------------------
Fixes:
- Set path to navigation root by default to have the same results
in Collection preview and view.
[Gagaro]
1.3.13 (2016-02-14)
-------------------
New:
- Be able to parse more date string types
[vangheem]
1.3.12 (2015-11-26)
-------------------
Fixes:
- Again upgrade collections with ``selection.is`` to
``selection.any``, because the standard events and news collections
may have been wrongly created in a new site.
Issue https://github.com/plone/Products.CMFPlone/issues/1040
[maurits]
- In tests, use ``selection.any`` in querystrings.
Issue https://github.com/plone/Products.CMFPlone/issues/1040
[maurits]
- Added upgrade step to replace ``selection.is`` with
``selection.any`` operations in querystrings also for objects using
the Collection behavior.
[thet]
1.3.11 (2015-10-30)
-------------------
Fixes:
- Rerelease as something went wrong during upload of the package.
[maurits]
1.3.10 (2015-10-30)
-------------------
Fixes:
- Added missing ',' for subject upgrade.
[ezvirtual]
1.3.9 (2015-10-30)
------------------
Fixes:
- Fixed flake8 warnings.
[maurits]
- Updated compatibility information in README.
[maurits]
- Fixed resultview icons.
https://github.com/plone/Products.CMFPlone/issues/1151
[fgrcon]
- Added upgrade step to fix Subject index for existing collections.
[ezvirtual]
1.3.8 (2015-09-21)
------------------
- Fixed problems introduced by merge.
[jensens]
- Add "before/after N days" functionality
[petschki]
- Fixed Sortable Indexes to not return ZCTextIndex type indexes.
[winstonf88]
1.3.7 (2015-09-11)
------------------
- Fix vocabularies sorting
[ebrehault]
1.3.6 (2015-08-24)
------------------
- Fix migration from Plone 4 to Plone 5.
[pbauer]
1.3.5 (2015-08-22)
------------------
- 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]
1.3.4 (2015-08-21)
------------------
- 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]
1.3.3 (2015-07-18)
------------------
- Fix getObjPositionInParent be sortable by default
[datakurre]
- Add operators selection.any and selection.all to Subject.
[MrTango]
1.3.2 (2015-05-04)
------------------
- Implement ``is``, ``lessThan`` and ``largerThan`` operators for integer fields (fixes `#32`_).
[rodfersou]
1.3.1 (2015-03-12)
------------------
- No need to install plone.app.querystring as z2 products in tests.
[timo]
- Fix path-queries using UID.
[pbauer]
1.3 (2015-01-22)
----------------
- Path criteria can be defined either absolute to ``IPloneSiteRoot``, absolute
to ``INavigationRoot`` or relative to current context.
[rnixx]
- Relative path parent breaks on ``IPloneSiteRoot`` rather than
``INavigationRoot``.
[rnixx]
1.2.3 (2014-10-20)
------------------
- Fixed build DateIndex query.
[kroman0]
1.2.2 (2014-08-05)
------------------
- Fix wrong query field vocabulary declaration of the show_inactive field from
``AllRoles`` to ``Roles``.
[thet]
- Add a ``custom_query`` parameter to the ``QueryBuilder._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]
1.2.1 (2014-05-14)
------------------
- 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]
1.2.0 (2014-04-05)
------------------
- 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]
1.1.1 (2014-01-27)
------------------
- fixed broken handling of limit and batch size.
[bosim]
- pep8 fixes
[bosim]
1.1.0 (2013-11-14)
------------------
- be able to include a depth value onto path query string
[vangheem]
- Use plone.batching.
[khink]
1.0.8 (2013-03-14)
------------------
- Fix UnicodeDecodeError on utf8-encoded Subject strings.
[tisto]
1.0.7 (2013-01-01)
------------------
- 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]
1.0.6 (2012-10-03)
------------------
- _relativePath handler can now walk through the site structure (not only upwards)
_path handler respects absolute paths without leading nav_root path
[petschki]
1.0.5 (2012-06-29)
------------------
- 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]
1.0.4 (2012-05-07)
------------------
- Fixed i18n of "Before today" operator and
"x items matching your search terms.".
[vincentfretin]
1.0.3 (2012-04-15)
------------------
* 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]
1.0.2 (2012-02-10)
------------------
* 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]
1.0.1 (2011-10-17)
------------------
* Ensure inactive content is only shown to users with the appropriate
permission.
1.0 (2011-07-19)
----------------
* Initial release
.. _`#32`: https://github.com/plone/plone.app.querystring/issues/32
Raw data
{
"_id": null,
"home_page": "https://github.com/plone/plone.app.querystring",
"name": "plone.app.querystring",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "collection queries",
"author": "Plone Foundation",
"author_email": "plone-developers@lists.sourceforge.net",
"download_url": "https://files.pythonhosted.org/packages/1a/1e/d87e25b9c1d2ce48649222070aafec896ae0db3c936e9bd7b6d89df0b34d/plone_app_querystring-2.1.2.tar.gz",
"platform": null,
"description": "Overview\n========\n\nThis package provides a queryparser, querybuilder and extra helper tools,\nto parse stored queries to actual results, used in new style collections.\nIt includes a registry reader which reads operators, values and criteria\nfrom the Plone registry.\n\n\nCompatibility with Plone versions\n---------------------------------\n\nFor each Plone release, its versions.cfg file at\nhttp://dist.plone.org/release/ pins a version of plone.app.querystring\nthat works well with that Plone version. It is wise not to pick\nanother version.\n\nBut for clarity, these are the correct relationships between the two\nversions:\n\n- On Plone 4.2 use 1.0.x.\n\n- On Plone 4.3 use 1.2.x.\n\n- On Plone 5.0 use 1.3.x.\n\nToo new versions can cause problems. For example, the 1.1.x and 1.2.x\nseries are intended for usage with Plone 4.3. They depend on\nplone.batching, which ships with Plone 4.3 but may cause problems_\nwith Plone 4.2.\n\n.. _problems: https://dev.plone.org/ticket/12875\n\nChangelog\n=========\n\n.. You should *NOT* be adding new change log entries to this file.\n You should create a file in the news directory instead.\n For helpful instructions, please see:\n https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst\n\n.. towncrier release notes start\n\n2.1.2 (2024-06-13)\n------------------\n\nInternal:\n\n\n- Update configuration files.\n [plone devs] (6e36bcc4)\n\n\nTests\n\n\n- Remove unused ``portal_properties`` code from tests.\n [maurits] (#125)\n\n\n2.1.1 (2023-12-14)\n------------------\n\nBug fixes:\n\n\n- Handle parenthesis inside quotes\n [erral] (#139)\n\n\n2.1.0 (2023-09-21)\n------------------\n\nNew features:\n\n\n- Add a way to specific a context for getting vocabularies in the QuerystringRegistryReader. @davisagli (#137)\n\n\n2.0.6 (2023-08-17)\n------------------\n\nBug fixes:\n\n\n- Fix the currentUser operation when the current user's username is different from their user id. @davisagli (#135)\n\n\n2.0.5 (2023-06-16)\n------------------\n\nBug fixes:\n\n\n- Fix integer operations to accept integers. @davisagli\n Fix integer operations to avoid adding None to the query when the input is not valid. @davisagli (#131)\n- Merge range queries on the same index instead of overwriting. @davisagli (#132)\n\n\nInternal:\n\n\n- Update configuration files.\n [plone devs] (dd37b9f9)\n\n\n2.0.4 (2023-05-22)\n------------------\n\nBug fixes:\n\n\n- Fix a circular transitive dependency to `plone.app.querystring`.\n New direct dependency explicit on `plone.app.vocabularies`.\n Move `plone.app.querystring.catalog.CatalogVocabularyFactory` to `.vocabularies`, move the ZCML to register the factory, move the the test.\n Move `plone.app.querystring.utils.parse_query` with new name `parseAndModifyFormquery` to `.queryparser`.\n [@jensens] (fix-circular-dep-pavocabularies)\n\n\n2.0.3 (2023-04-26)\n------------------\n\nBug fixes:\n\n\n- Fix cyclic dependency, do not depend on `plone.app.layout`.\n [@jensens] (rm-cyclic-dep)\n\n\n2.0.2 (2023-03-21)\n------------------\n\nBug fixes:\n\n\n- 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.\n [jensens] (#119)\n\n\nInternal:\n\n\n- Update configuration files.\n [plone devs] (a533099d)\n\n\n2.0.1 (2022-12-21)\n------------------\n\nBug fixes:\n\n\n- Minor cleanup on tests.\n [gforcada] (#1)\n\n\n2.0.0 (2022-07-21)\n------------------\n\nBug fixes:\n\n\n- Use function from Products.CMFPlone to handle cleaning of search terms. Fixes #111\n [erral] (#111)\n\n\n1.6.0 (2022-05-26)\n------------------\n\nNew features:\n\n\n- Add negation-query operators string.isNot and selection.none.\n New ``plone.app.querystring.operation.string.isNot`` and ``plone.app.querystring.operation.selection.none`` including upgrade steps.\n [thet] (#110)\n\n\nBug fixes:\n\n\n- Fix how to merge custom_query with parsedquery without overriding values. [cekk] (#103)\n\n\n1.5.0 (2022-02-04)\n------------------\n\nNew features:\n\n\n- Add lazy attribute to vocabularies to prevent fetching any results\n [reebalazs] (#104)\n\n\n1.4.15 (2021-09-15)\n-------------------\n\nBug fixes:\n\n\n- Remove cyclic dependency with plone.app.vocabularies\n [sneridagh] (#101)\n\n\n1.4.14 (2020-07-17)\n-------------------\n\nBug fixes:\n\n\n- Fixing issue #97: Multiple path support for Translation Groups, using PATH_INDICES as suggested by jensens (#97)\n\n\n1.4.13 (2020-04-20)\n-------------------\n\nBug fixes:\n\n\n- Minor packaging updates. (#1)\n\n\n1.4.12 (2019-10-09)\n-------------------\n\nBug fixes:\n\n\n- Integer criterions: try to convert all input to integers.\n Most notably this did not happen for unicode on Python 2.\n So a ``u\"42\"`` was passed as value to the catalog query, and this matched either all or nothing.\n [maurits] (#93)\n\n\n1.4.11 (2018-12-10)\n-------------------\n\nBug fixes:\n\n- Do not show default profile as installable (already installed with core)\n [jensens]\n\n\n1.4.10 (2018-10-31)\n-------------------\n\nBug fixes:\n\n- Fix query_index_modifiers and tests with py3\n [pbauer, gforcada]\n\n\n1.4.9 (2018-09-28)\n------------------\n\nBug fixes:\n\n- Fix a case, where objects id starts with roots id\n [eikichi18]\n\n\n1.4.8 (2018-02-05)\n------------------\n\nBug fixes:\n\n- Ignore unknown ``sort_on`` indexes when parsing a query.\n Otherwise you get a ``CatalogError``. [maurits]\n\n- Add Python 2 / 3 compatibility\n [pbauer]\n\n\n1.4.7 (2017-11-25)\n------------------\n\nBug fixes:\n\n- Fix tests with CMF 2.3. [davisagli]\n\n- Fix querybuilder if SearchableText is a dict {'query': '...'}\n [tomgross]\n\n\n1.4.6 (2017-09-08)\n------------------\n\nBug fixes:\n\n- Filter query string from bad term and operator.\n [nngu6036]\n\n\n1.4.5 (2017-06-20)\n------------------\n\nBug fixes:\n\n- remove unittest2 dependency\n [kakshay21]\n\n\n1.4.4 (2017-05-23)\n------------------\n\nBug fixes:\n\n- Do not fail on empty empty or not existing querystrings while upgrading.\n [agitator]\n\n\n1.4.3 (2017-02-12)\n------------------\n\nBug fixes:\n\n- Fix ``QueryBuilder`` with empty queries to return a Batch when requested.\n [thet]\n\n- Disable \"Subject\" (\"Tags\") as sortable index.\n Keyword Indexes are not sortable.\n [jensens]\n\n\n1.4.2 (2017-01-17)\n------------------\n\nBug fixes:\n\n- Fix a case, where index modifiers with queries containing ``largerThanRelativeDate`` or ``lessThanRelativeDate`` date operators failed with an ``TypeError``.\n [thet]\n\n- Import DateTimeError from DateTime.interfaces, class attribute\n DateTime.DateTimeError was removed in DateTime 3.0\n [vincentfretin]\n\n\n1.4.1 (2016-11-18)\n------------------\n\nBug fixes:\n\n- Add coding header on python files.\n [gforcada]\n\n\n1.4 (2016-08-18)\n----------------\n\nNew features:\n\n- Refactor addition of criteria to stick inside ``INavigationRoot`` in querybuilder.\n Added a simple ``IQueryModifier`` interfaces expecting a query and returning a query.\n Iterates over all sorted utilities providing such an interfaces and calls it right before the query is parsed.\n Code to add the ``INavigationRoot`` stickiness was moved to such a query modifier.\n [jensens]\n\nBug fixes:\n\n- Use zope.interface decorator.\n [gforcada]\n\n\n1.3.15 (2016-05-25)\n-------------------\n\nFixes:\n\n- Add missing _referenceIs query parser\n [vangheem]\n\n\n1.3.14 (2016-02-19)\n-------------------\n\nFixes:\n\n- Set path to navigation root by default to have the same results\n in Collection preview and view.\n [Gagaro]\n\n\n1.3.13 (2016-02-14)\n-------------------\n\nNew:\n\n- Be able to parse more date string types\n [vangheem]\n\n\n1.3.12 (2015-11-26)\n-------------------\n\nFixes:\n\n- Again upgrade collections with ``selection.is`` to\n ``selection.any``, because the standard events and news collections\n may have been wrongly created in a new site.\n Issue https://github.com/plone/Products.CMFPlone/issues/1040\n [maurits]\n\n- In tests, use ``selection.any`` in querystrings.\n Issue https://github.com/plone/Products.CMFPlone/issues/1040\n [maurits]\n\n- Added upgrade step to replace ``selection.is`` with\n ``selection.any`` operations in querystrings also for objects using\n the Collection behavior.\n [thet]\n\n1.3.11 (2015-10-30)\n-------------------\n\nFixes:\n\n- Rerelease as something went wrong during upload of the package.\n [maurits]\n\n\n1.3.10 (2015-10-30)\n-------------------\n\nFixes:\n\n- Added missing ',' for subject upgrade.\n [ezvirtual]\n\n\n1.3.9 (2015-10-30)\n------------------\n\nFixes:\n\n- Fixed flake8 warnings.\n [maurits]\n\n- Updated compatibility information in README.\n [maurits]\n\n- Fixed resultview icons.\n https://github.com/plone/Products.CMFPlone/issues/1151\n [fgrcon]\n\n- Added upgrade step to fix Subject index for existing collections.\n [ezvirtual]\n\n\n1.3.8 (2015-09-21)\n------------------\n\n- Fixed problems introduced by merge.\n [jensens]\n\n- Add \"before/after N days\" functionality\n [petschki]\n\n- Fixed Sortable Indexes to not return ZCTextIndex type indexes.\n [winstonf88]\n\n\n1.3.7 (2015-09-11)\n------------------\n\n- Fix vocabularies sorting\n [ebrehault]\n\n\n1.3.6 (2015-08-24)\n------------------\n\n- Fix migration from Plone 4 to Plone 5.\n [pbauer]\n\n\n1.3.5 (2015-08-22)\n------------------\n\n- Creator criteria: pur currentUser on top.\n [mvanrees]\n\n- Migrate Creator string.is to selection.any.\n [mvanrees]\n\n- add user vocabulary to plone.app.querystring.field.Creator.\n [vangheem]\n\n- do not need \"is\" when there is an \"any\" operator.\n [vangheem]\n\n\n1.3.4 (2015-08-21)\n------------------\n\n- Hide upgrade-profiles when creating a new site.\n [pbauer]\n\n- Replace selection.is with selection.any for portal_types and review_state\n operations, and add selection.any for Creator operation.\n [frapell]\n\n- Actually convert the value to a datetime for the DateIndex query modifier.\n [frapell]\n\n- Do not fail if the 'Between' operation is called with an empty value, and\n instead return a list with 2 empty values.\n [frapell]\n\n- Fixed possible problem with ``custom_query`` parameter where\n theoretically a second invocation could inadvertently be using the\n value from the first invocation.\n [maurits]\n\n\n1.3.3 (2015-07-18)\n------------------\n\n- Fix getObjPositionInParent be sortable by default\n [datakurre]\n\n- Add operators selection.any and selection.all to Subject.\n [MrTango]\n\n\n1.3.2 (2015-05-04)\n------------------\n\n- Implement ``is``, ``lessThan`` and ``largerThan`` operators for integer fields (fixes `#32`_).\n [rodfersou]\n\n\n1.3.1 (2015-03-12)\n------------------\n\n- No need to install plone.app.querystring as z2 products in tests.\n [timo]\n\n- Fix path-queries using UID.\n [pbauer]\n\n\n1.3 (2015-01-22)\n----------------\n\n- Path criteria can be defined either absolute to ``IPloneSiteRoot``, absolute\n to ``INavigationRoot`` or relative to current context.\n [rnixx]\n\n- Relative path parent breaks on ``IPloneSiteRoot`` rather than\n ``INavigationRoot``.\n [rnixx]\n\n\n1.2.3 (2014-10-20)\n------------------\n\n- Fixed build DateIndex query.\n [kroman0]\n\n\n1.2.2 (2014-08-05)\n------------------\n\n- Fix wrong query field vocabulary declaration of the show_inactive field from\n ``AllRoles`` to ``Roles``.\n [thet]\n\n- Add a ``custom_query`` parameter to the ``QueryBuilder._makequery`` method,\n which allows for run time customization of the stored query, e.g. by request\n parameters.\n [thet]\n\n- Added support for depth in relativePath operator.\n [djay]\n\n\n1.2.1 (2014-05-14)\n------------------\n\n- Fixed upgrade_1_to_2 upgrade step in case the registry doesn't contain the\n named value\n [ichim-david]\n\n- Added show inactive operation which uses the roles vocabulary in order\n to assign permission to show or hide the inactive objects of the given query\n [ichim-david]\n\n- Migrate tests to plone.app.testing.\n [sdelcourt]\n\n- Fix querybuilder code if results object does not provide an\n actual_result_count attribute. This regression has been introduced in\n release 1.1.1 (fixed broken handling of limit and batch size).\n [timo]\n\n\n1.2.0 (2014-04-05)\n------------------\n\n- bugfix for #22: Names not matching for operations getObjPositionInParent\n plus test\n [jensens]\n\n- Implement multipath queries:\n - Parsing a path returns always a list.\n - Special handling for paths in parseFormquery.\n [maethu]\n\n- Fixes https://dev.plone.org/ticket/13251\n [mathias.leimgruber]\n\n- querybuilder results can now be manipulated using\n ``IParsedQueryIndexModifier`` named utilities.\n [keul]\n\n\n1.1.1 (2014-01-27)\n------------------\n\n- fixed broken handling of limit and batch size.\n [bosim]\n\n- pep8 fixes\n [bosim]\n\n\n1.1.0 (2013-11-14)\n------------------\n\n- be able to include a depth value onto path query string\n [vangheem]\n\n- Use plone.batching.\n [khink]\n\n1.0.8 (2013-03-14)\n------------------\n\n- Fix UnicodeDecodeError on utf8-encoded Subject strings.\n [tisto]\n\n\n1.0.7 (2013-01-01)\n------------------\n\n- getVocabularyValues now checks if the vocabulary utility is missing,\n if it is the utility is just ignored. This makes the module tollarant to\n missing vocabulary utilities.\n [bosim]\n\n\n1.0.6 (2012-10-03)\n------------------\n\n- _relativePath handler can now walk through the site structure (not only upwards)\n _path handler respects absolute paths without leading nav_root path\n [petschki]\n\n\n1.0.5 (2012-06-29)\n------------------\n\n- Date ranges now use the _betweenDates handler, which is much more forgiving\n of empty field values, defaulting to an all-encompassing date range if neither\n value is provided, an \"everything after\" range if only the start date is\n provided, and a min/max range if both are provided.\n\n Fixes http://dev.plone.org/ticket/12965\n [esteele]\n\n\n1.0.4 (2012-05-07)\n------------------\n\n- Fixed i18n of \"Before today\" operator and\n \"x items matching your search terms.\".\n [vincentfretin]\n\n\n1.0.3 (2012-04-15)\n------------------\n\n* Add an optional 'brains' parameter to the query builder to obtain\n results not wrapped as an IContentListing.\n [davisagli]\n\n* Declare all dependencies in setup.py to resolve a dependency problem in\n test setups, where the Plone stack isn't fully loaded.\n [thet]\n\n* Add a \"today\" date operator\n [esteele]\n\n* Internationalize strings in the registry.\n [davisagli]\n\n* Change relative date searching to be \"N days\" string based rather than\n datetime based.\n [esteele]\n\n* Handle empty values on relative date fields.\n [esteele]\n\n1.0.2 (2012-02-10)\n------------------\n\n* Change the Creator field to use the correct query operation for filtering\n on the current logged in user.\n This fixes https://dev.plone.org/ticket/12052\n [jcerjak]\n\n* Limit number of items that show up in the preview of the edit view to 25.\n If we do not limit these results all items in the query will be rendered in\n the preview which leads to problems when the collection contains > 10k\n results.\n [timo]\n\n\n1.0.1 (2011-10-17)\n------------------\n\n* Ensure inactive content is only shown to users with the appropriate\n permission.\n\n\n1.0 (2011-07-19)\n----------------\n\n* Initial release\n\n.. _`#32`: https://github.com/plone/plone.app.querystring/issues/32\n",
"bugtrack_url": null,
"license": "GPL version 2",
"summary": "A queryparser, querybuilder and extra helper tools, to parse stored queries to actual results, used in new style Plone collections",
"version": "2.1.2",
"project_urls": {
"Homepage": "https://github.com/plone/plone.app.querystring"
},
"split_keywords": [
"collection",
"queries"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0e17ed1609ef5f7663bf7479c188ce3659e64c3a4dc656af564a9016a9b9e5e7",
"md5": "6a7ddc79489be58cae5e9128022a5044",
"sha256": "1c4f855a393fc6c4355273424102b3b6a192749d614bf9484bf1baf146a0bf54"
},
"downloads": -1,
"filename": "plone.app.querystring-2.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6a7ddc79489be58cae5e9128022a5044",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 51036,
"upload_time": "2024-06-13T18:57:19",
"upload_time_iso_8601": "2024-06-13T18:57:19.501703Z",
"url": "https://files.pythonhosted.org/packages/0e/17/ed1609ef5f7663bf7479c188ce3659e64c3a4dc656af564a9016a9b9e5e7/plone.app.querystring-2.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1a1ed87e25b9c1d2ce48649222070aafec896ae0db3c936e9bd7b6d89df0b34d",
"md5": "21d12960baf80cff3477d410b33c93a7",
"sha256": "2b68f5b2e19fd3b1aa07e07df6b2dd8a2384d21aba7ad2c4bef88c453b177cae"
},
"downloads": -1,
"filename": "plone_app_querystring-2.1.2.tar.gz",
"has_sig": false,
"md5_digest": "21d12960baf80cff3477d410b33c93a7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 49478,
"upload_time": "2024-06-13T18:57:22",
"upload_time_iso_8601": "2024-06-13T18:57:22.504036Z",
"url": "https://files.pythonhosted.org/packages/1a/1e/d87e25b9c1d2ce48649222070aafec896ae0db3c936e9bd7b6d89df0b34d/plone_app_querystring-2.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-13 18:57:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "plone",
"github_project": "plone.app.querystring",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "plone.app.querystring"
}