{"id":25176251,"url":"https://github.com/redturtle/collective.feedback","last_synced_at":"2026-02-22T04:36:08.156Z","repository":{"id":94633367,"uuid":"596644700","full_name":"RedTurtle/collective.feedback","owner":"RedTurtle","description":"Feedback mechanism integration for volto.","archived":false,"fork":false,"pushed_at":"2025-04-07T09:22:08.000Z","size":195,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-05-06T23:20:37.546Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RedTurtle.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE.GPL","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-02-02T16:25:40.000Z","updated_at":"2025-02-28T16:41:34.000Z","dependencies_parsed_at":"2025-02-26T17:33:46.685Z","dependency_job_id":"68d7b9e7-d7bb-4508-9ba5-ad480443c745","html_url":"https://github.com/RedTurtle/collective.feedback","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/RedTurtle/collective.feedback","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedTurtle%2Fcollective.feedback","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedTurtle%2Fcollective.feedback/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedTurtle%2Fcollective.feedback/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedTurtle%2Fcollective.feedback/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RedTurtle","download_url":"https://codeload.github.com/RedTurtle/collective.feedback/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedTurtle%2Fcollective.feedback/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29704832,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T03:17:42.375Z","status":"ssl_error","status_checked_at":"2026-02-22T03:17:31.622Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-09T13:16:44.988Z","updated_at":"2026-02-22T04:36:08.141Z","avatar_url":"https://github.com/RedTurtle.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. This README is meant for consumption by humans and pypi. Pypi can render rst files so please do not use Sphinx features.\n   If you want to learn more about writing documentation, please check out: http://docs.plone.org/about/documentation_styleguide.html\n   This text does not appear on pypi or github. It is a comment.\n\n.. image:: https://img.shields.io/pypi/v/collective.feedback.svg\n    :target: https://pypi.python.org/pypi/collective.feedback/\n    :alt: Latest Version\n.. image:: https://img.shields.io/pypi/status/collective.feedback.svg\n    :target: https://pypi.python.org/pypi/collective.feedback\n    :alt: Egg Status\n.. image:: https://img.shields.io/pypi/pyversions/collective.feedback.svg?style=plastic\n    :target: https://pypi.python.org/pypi/collective.feedback\n    :alt: Supported - Python Versions\n.. image:: https://img.shields.io/pypi/l/collective.feedback.svg\n    :target: https://pypi.python.org/pypi/collective.feedback/\n    :alt: License\n\n\n===================\ncollective.feedback\n===================\n\nFeedback mechanism integration for volto.\nRequires volto-feedback \u003e= 0.6.0\n\nUsers can add vote and a comment to every page on the site.\n\nBot protection\n==============\n\nThis product use `collective.honeypot \u003chttps://pypi.org/project/collective.honeypot/\u003e`_ to prevent bot submissions.\n\nYou just need to set two environment variables:\n\n- *EXTRA_PROTECTED_ACTIONS feedback-add*\n- *HONEYPOT_FIELD xxx*\n\nxxx should be a field name that bot should compile.\n\nIf you get hacked, you could simply change that variable.\n\nPermissions\n===========\n\nThere are two new specific permission:\n\n- collective.feedback.ManageFeedbacks (collective.feedback: Manage Feedbacks) Allows to reset data (by default Manager and Site Administrator).\n- collective.feedback.AccessFeedbacks (collective.feedback: Access Feedbacks) Allows users to list feedbacks on contents where they have that permission (by default Editor, Manager and Site Administrator)\n- collective.feedback.ShowDeletedFeedbacks (collective.feedback: Show Deleted Feedbacks) Allows manager to see feedbacks of deleted objects\n\nFeedbacks catalog\n=================\n\nReviews are stored inside an internal catalog (based on `souper.plone \u003chttps://pypi.org/project/souper.plone/\u003e`_).\n\nYou can access/edit data through restapi routes (see below) or through a Plone utility::\n\n    from zope.component import getUtility\n    from collective.feedback.interfaces import ICollectiveFeedbackStore\n\n    tool = getUtility(ICollectiveFeedbackStore)\n\nAdd a vote\n----------\n\n- Method ``add``\n- Parameters: ``data`` (dictionary with parameters)\n- Response: unique-id of new record\n- Context: only the navigation root\n\n``data`` should be a dictionary with the following parameters:\n\n- uid [required]: the uid of the Plone content\n- vote [required]: the vote\n- answer: a custom string, like a comment\n- title: the title of the Plone content\n- comment: an optional comment\n- content: path of the object or name of the view\n\nOthers parameters will be ignored.\n\nSearch reviews\n--------------\n\n- Method ``search``\n- Parameters: ``query`` (dictionary with parameters), ``sort_index`` (default=date), ``reverse`` (default=False)\n- Response: a list of results\n\n``query`` is a dictionary of indexes where perform the search.\n\nRight now data is not indexed so search filters does not work. You only need to call search method to get all data.\n\n\nList update\n-----------\n\nPATCH\n~~~~~\n\nThis endpoint allows update feedbacks by list.\nBy now you can only change \"read\" property\n\n\nExample::\n\n    curl http://localhost:8080/Plone/@feedback-list \\\n        -X PATCH \\\n        -H 'Accept: application/json' \\\n        -H 'Content-Type: application/json' \\\n        -d '{\n            \"101010101\": {\"read\": true},\n        }'\n\n\nInstallation\n------------\n\nInstall collective.feedback by adding it to your buildout::\n\n    [buildout]\n\n    ...\n\n    eggs =\n        collective.feedback\n\n\nand then running ``bin/buildout``\n\nContribute\n------------\n\n- Issue Tracker: https://github.com/RedTurtle/collective.feedback/issues\n- Source Code: https://github.com/RedTurtle/collective.feedback\n\nCompatibility\n=============\n\nThis product has been tested on Plone 6\n\nAuthors\n=======\n\nThis product was developed by RedTurtle Technology team.\n\n.. image:: http://www.redturtle.net/redturtle_banner.png\n   :alt: RedTurtle Technology Site\n   :target: http://www.redturtle.net/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredturtle%2Fcollective.feedback","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredturtle%2Fcollective.feedback","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredturtle%2Fcollective.feedback/lists"}