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.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.4.tar.gz (31.2 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.4-py3-none-any.whl (45.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: iosanita.policy-1.0.4.tar.gz
  • Upload date:
  • Size: 31.2 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.4.tar.gz
Algorithm Hash digest
SHA256 9b81d39c2ec87b6c0367f845e6bfec9d025498daab6db9e168015293cc20a231
MD5 518728ed83163c7599f9ae79978e7d87
BLAKE2b-256 17937aef4a200d43c945e85ac4928d5bdf6cd0402765ddaad86870db6220789b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for iosanita.policy-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 95d16923890f38db7f3b985fc039b391d4a6f5f6cb6bdcfa442dcea4035e24a8
MD5 875df9224a16515d5f9a1ed680f2b618
BLAKE2b-256 aa66784678cf3eeca24e49cf9e11cd052199fde420388874c33abc80cf718216

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