Skip to main content

An add-on for Plone

Project description

https://github.com/collective/iosanita.policy/actions/workflows/plone-package.yml/badge.svg Coveralls https://codecov.io/gh/collective/iosanita.policy/branch/master/graph/badge.svg Latest Version Egg Status https://img.shields.io/pypi/pyversions/iosanita.policy.svg?style=plastic:alt:Supported-PythonVersions License

IO-Sanita policy

Policy per il backend dei portali Io-Sanita.

Questo pacchetto si occupa di installare tutte le dipendenze necessarie per il progetto.

Rotte API

@search-tassonomie

Endpoint che serve a ricercare i contenuti marcati da una determinata tassonomia.

Parametri:

  • type (obbligatorio): il nome dell’indice in catalogo della tassonomia

  • value: un eventuale valore per filtrare l’indice

  • portal_type: un filtro su uno specifico portal_type

  • sort_on: permette di ordinare i risultati in base ad un determinato indice

  • sort_order: permette di scegliere l’ordinamento da usare

Le tassonomie (type) utilizzabili sono limitate:

  • parliamo_di

  • a_chi_si_rivolge_tassonomia

Esempio di chiamata:

> http://localhost:8080/Plone/++api++/@search-tassonomie?type=a_chi_si_rivolge_tassonomia

Risposta:

{
    "@id": "http://localhost:8080/Plone/++api++/@search-tassonomie?type=a_chi_si_rivolge_tassonomia",
    "facets": {
        "portal_types": [
            {
                "title": "Struttura",
                "token": "Struttura"
            }
        ]
    },
    "items": [
        {
        "@id": "http://localhost:8080/Plone/struttura",
        "@type": "Struttura",
        "description": "",
        "enhanced_links_enabled": null,
        "getObjSize": "0 KB",
        "image_field": "",
        "image_scales": null,
        "mime_type": "text/plain",
        "review_state": "private",
        "title": "struttura",
        "type_title": "Struttura"
        }
    ],
    "items_total": 1
}

Installazione

Per installare iosanita.policy bisogna per prima cosa aggiungerlo al buildout:

[buildout]

...

eggs =
    iosanita.policy

e poi lanciare il buildout con bin/buildout.

Successivamente va installato dal pannello di controllo di Plone.

Contribuisci

Licenza

Questo progetto è rilasciato con licenza GPLv2.

Autori

Questo progetto è stato sviluppato da RedTurtle Technology.

RedTurtle Technology Site

Contributors

Changelog

1.0.6 (2026-04-14)

  • Do not return Plone Site and TempFolder in search filters. [cekk]

1.0.5 (2025-06-25)

  • Change contatti_testata data structure. [cekk]

1.0.4 (2025-05-29)

  • Remove dependency with auslfe.farmacie. [cekk]

1.0.3 (2025-04-02)

  • Add upgrade-step for new accordion block. [cekk]

  • Temp disabled tests because there is a private dependency: auslfe.farmacie. [cekk]

1.0.2 (2024-11-22)

  • Fix release. [cekk]

1.0.1 (2024-11-22)

  • Aggiunto nuovo endpoint: @bandi-search-filters. [cekk]

1.0.0 (2024-11-19)

  • aggiunto redturtle.rssservice [mamico]

  • aggiunto collective.volto.formsupport [cekk]

  • aggiunto collective.volto.secondarymenu [mamico]

  • aggiunto redturtle.voltoplugin.editablefooter [mamico]

  • rejectanonymous (usato ad esempio per /admin nel buildout, vedi anche desing.plone.policy) [mamico]

  • Initial release. []

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iosanita_policy-1.0.6.tar.gz (31.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iosanita_policy-1.0.6-py3-none-any.whl (45.7 kB view details)

Uploaded Python 3

File details

Details for the file iosanita_policy-1.0.6.tar.gz.

File metadata

  • Download URL: iosanita_policy-1.0.6.tar.gz
  • Upload date:
  • Size: 31.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for iosanita_policy-1.0.6.tar.gz
Algorithm Hash digest
SHA256 0ec094a7b17a7980e5bcc4d9762bf68cd41fc4a3fe9e5efc8f6ffdbb2d799e59
MD5 16dcd49de60142dfb885078609ec83ba
BLAKE2b-256 027f1e2b999a3ca86a83ab0d73cd3e1f3d0b90e76a8b5f446839f6a3591b5f47

See more details on using hashes here.

File details

Details for the file iosanita_policy-1.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for iosanita_policy-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 24d9bfd1843f565916c5ff42258c7064494122a344acf3dd1b896c91cf62b0d5
MD5 d76193e69c15a1c4da5e82866c361dfc
BLAKE2b-256 153717fd03c87442c689c4de2b1d1639c112b254d9e85de6c0c27668dac82813

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page