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.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.5.tar.gz (31.5 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.5-py3-none-any.whl (45.8 kB view details)

Uploaded Python 3

File details

Details for the file iosanita.policy-1.0.5.tar.gz.

File metadata

  • Download URL: iosanita.policy-1.0.5.tar.gz
  • Upload date:
  • Size: 31.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for iosanita.policy-1.0.5.tar.gz
Algorithm Hash digest
SHA256 eafe76e97df0d064b64083febc80bedb057d287ef6c0b6a4a093049cd2f7980b
MD5 459303d688a59688bc177691e28c8b75
BLAKE2b-256 39510dceee1d6dbf2ac5cd8aebaabd0c5f1e0d52ce5f4f40cc3b8b4ffc174271

See more details on using hashes here.

File details

Details for the file iosanita.policy-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for iosanita.policy-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6238ae6158973b88082e33ee9bcc27dc3ccbbe9412fb32668a25d839f8bdcb0e
MD5 9dbf61e52f725731cdaf9339a1f93ef3
BLAKE2b-256 e2efc7d0a57d83535d05efef634222f73a92cbf5e5000f4532c49becf2467433

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