From 724180656b74b270c5e39fc7e47a593722ca3041 Mon Sep 17 00:00:00 2001 From: Sidney Richards Date: Thu, 12 Dec 2024 15:32:21 +0100 Subject: [PATCH 1/2] Update translations --- .../locale/en/LC_MESSAGES/django.mo | Bin 4395 -> 4395 bytes .../locale/en/LC_MESSAGES/django.po | 48 ++++++++------- .../locale/nl/LC_MESSAGES/django.mo | Bin 4528 -> 4706 bytes .../locale/nl/LC_MESSAGES/django.po | 56 ++++++++++-------- 4 files changed, 56 insertions(+), 48 deletions(-) diff --git a/notifications_api_common/locale/en/LC_MESSAGES/django.mo b/notifications_api_common/locale/en/LC_MESSAGES/django.mo index b77f8aeb975a8774d3e5a58e7fdd6c992a37d4ca..f89ea4787075797d63b1ce69dcf3866432664360 100644 GIT binary patch delta 16 XcmZ3jv|4Gy8BS(nJ;TlCIb+xXG~flJ delta 16 XcmZ3jv|4Gy8BS&+J%i2XIb+xXG|~m3 diff --git a/notifications_api_common/locale/en/LC_MESSAGES/django.po b/notifications_api_common/locale/en/LC_MESSAGES/django.po index c2809a1..513231a 100644 --- a/notifications_api_common/locale/en/LC_MESSAGES/django.po +++ b/notifications_api_common/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 0.3.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-14 13:45+0100\n" +"POT-Creation-Date: 2024-12-12 15:28+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,7 +18,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: admin.py:27 +#: admin.py:26 #, python-brace-format msgid "" "Something went wrong while registering subscription for {callback}: " @@ -27,7 +27,7 @@ msgstr "" "Something went wrong while registering subscription for {callback}: " "{exception}" -#: admin.py:33 +#: admin.py:32 msgid "Register the webhooks" msgstr "Register the webhooks" @@ -115,11 +115,11 @@ msgstr "" msgid "Notifications API integration" msgstr "Notifications API integration" -#: models.py:19 +#: models.py:20 msgid "notifications api service" msgstr "notifications api service" -#: models.py:26 +#: models.py:27 msgid "" "The maximum number of automatic retries. After this amount of retries, " "guaranteed delivery stops trying to deliver the message." @@ -127,7 +127,7 @@ msgstr "" "The maximum number of automatic retries. After this amount of retries, " "guaranteed delivery stops trying to deliver the message." -#: models.py:33 +#: models.py:34 msgid "" "If specified, a factor applied to the exponential backoff. This allows you " "to tune how quickly automatic retries are performed." @@ -135,68 +135,72 @@ msgstr "" "If specified, a factor applied to the exponential backoff. This allows you " "to tune how quickly automatic retries are performed." -#: models.py:39 +#: models.py:40 msgid "An upper limit in seconds to the exponential backoff time." msgstr "An upper limit in seconds to the exponential backoff time." -#: models.py:46 +#: models.py:47 msgid "Notificatiescomponentconfiguratie" msgstr "Notifications component configuration" -#: models.py:52 +#: models.py:53 msgid "no service configured" msgstr "no service configured" -#: models.py:54 +#: models.py:55 #, python-brace-format msgid "Notifications API configuration ({api_root})" msgstr "Notifications API configuration ({api_root})" -#: models.py:77 +#: models.py:84 +msgid "A human-friendly identifier to refer to this subscription." +msgstr "" + +#: models.py:87 msgid "callback url" msgstr "callback url" -#: models.py:77 +#: models.py:87 msgid "Where to send the notifications (webhook url)" msgstr "Where to send the notifications (webhook url)" -#: models.py:80 +#: models.py:90 msgid "client ID" msgstr "client ID" -#: models.py:82 +#: models.py:92 msgid "Client ID to construct the auth token" msgstr "Client ID to construct the auth token" -#: models.py:85 +#: models.py:95 msgid "client secret" msgstr "client secret" -#: models.py:87 +#: models.py:97 msgid "Secret to construct the auth token" msgstr "Secret to construct the auth token" -#: models.py:91 +#: models.py:101 msgid "channels" msgstr "channels" -#: models.py:92 +#: models.py:102 msgid "Comma-separated list of channels to subscribe to" msgstr "Comma-separated list of channels to subscribe to" -#: models.py:96 +#: models.py:106 msgid "NC subscription" msgstr "Notifications API subscription" -#: models.py:99 +#: models.py:109 msgid "Subscription as it is known in the NC" msgstr "Subscription as it is known in the Notifications API" -#: models.py:103 +#: models.py:113 msgid "Webhook subscription" msgstr "Webhook subscription" -#: models.py:104 +#: models.py:114 msgid "Webhook subscriptions" msgstr "Webhook subscriptions" diff --git a/notifications_api_common/locale/nl/LC_MESSAGES/django.mo b/notifications_api_common/locale/nl/LC_MESSAGES/django.mo index 0bc27ec496f94487aeeed0b0128b51dbab9fcee9..df985a06ad03ea13577b82c570bfc9cb27e486bb 100644 GIT binary patch delta 1085 zcmZ9~L2OJx9LMp0yWOo;i?*mz4BgriU8R}`A?bmGY)XnqkjQR#wteirw|VI1Q!x@5C;cDDiH^9auDDD+ue)F&U|KGcIM6e-aPF494~+BY^n%l zE47!JZ4lXq_Zw*_HzOi@@m9_E*w1)*lgJQ`;4tQJ5^v*iY>bK|@g&Ca3MTL#mT>_C z?H-G<7!O|ICj5Zg@ei)YM6<{$Jcyg|G#d#l-+2QMbvQxui)5-Z8s!{nl#AGjsgCLbXK_E{0NI;7LO!QF zsf}NtCiD(9p^wNO6vz*fAzrt4tOG4XGGc{dEyMsC3v2Hd$Yn-fg z11INL-vplVZLZo0rks)~O=n6IzEcbw&rQx3BWGff;pEQww=MC8!!w@en}T&q)-@TM x^=v+C&3Wq$^PoVejwb`~B|w{rq@+Kl_=DbbYti|Ji6+ zDoM@y%lBt zH#r>s(h*_urzD zXy7gUhU$M0^@&H7|3^+@}}Luo$IO^qe}?1l8FvrAePO z7I~^^b8B$c=xuiW*`e>Rs8ZAgit+3+r46Tv>HDf_gQ{s#T9Mii)kmeN5$X!1eW1<7 p=JytK5l\n" "Language-Team: LANGUAGE \n" @@ -18,7 +18,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: admin.py:27 +#: admin.py:26 #, python-brace-format msgid "" "Something went wrong while registering subscription for {callback}: " @@ -27,7 +27,7 @@ msgstr "" "Er ging iets fout bij het registreren van een abonnement voor {callback}:" "{exception}" -#: admin.py:33 +#: admin.py:32 msgid "Register the webhooks" msgstr "Webhooks registreren" @@ -115,88 +115,92 @@ msgstr "" msgid "Notifications API integration" msgstr "Integratie Notificaties-API" -#: models.py:19 +#: models.py:20 msgid "notifications api service" msgstr "service voor notificaties-api" -#: models.py:26 +#: models.py:27 msgid "" "The maximum number of automatic retries. After this amount of retries, " "guaranteed delivery stops trying to deliver the message." msgstr "" -"De bovengrens voor het aantal automatische pogingen tot opnieuw verzenden. Na deze " -"hoeveelheid pogingen stoppen de automatische afleverpogingen." +"De bovengrens voor het aantal automatische pogingen tot opnieuw verzenden. " +"Na deze hoeveelheid pogingen stoppen de automatische afleverpogingen." -#: models.py:33 +#: models.py:34 msgid "" "If specified, a factor applied to the exponential backoff. This allows you " "to tune how quickly automatic retries are performed." msgstr "" -"Indien opgegeven wordt deze factor toegepast op de exponentiële vertraging. Dit laat " -"toe om de frequentie van afleverpogingen in te stellen." +"Indien opgegeven wordt deze factor toegepast op de exponentiële vertraging. " +"Dit laat toe om de frequentie van afleverpogingen in te stellen." -#: models.py:39 +#: models.py:40 msgid "An upper limit in seconds to the exponential backoff time." msgstr "Een bovenlimiet in seconden voor de maximale exponentiële vertraging." -#: models.py:46 +#: models.py:47 msgid "Notificatiescomponentconfiguratie" msgstr "Notificatiescomponentconfiguratie" -#: models.py:52 +#: models.py:53 msgid "no service configured" msgstr "geen service ingesteld" -#: models.py:54 +#: models.py:55 #, python-brace-format msgid "Notifications API configuration ({api_root})" msgstr "Notificaties-API-configuratie ({api_root})" -#: models.py:77 +#: models.py:84 +msgid "A human-friendly identifier to refer to this subscription." +msgstr "Een voor mensen bedoelde kenmerkende naam om naar dit abonnement te verwijzen." + +#: models.py:87 msgid "callback url" msgstr "callback-url" -#: models.py:77 +#: models.py:87 msgid "Where to send the notifications (webhook url)" msgstr "Waar de notificaties gepubliceerd moeten worden (webhook-url)" -#: models.py:80 +#: models.py:90 msgid "client ID" msgstr "client-ID" -#: models.py:82 +#: models.py:92 msgid "Client ID to construct the auth token" msgstr "Client-ID om het autorisatietoken mee te genereren" -#: models.py:85 +#: models.py:95 msgid "client secret" msgstr "client-secret" -#: models.py:87 +#: models.py:97 msgid "Secret to construct the auth token" msgstr "Secret om het autorisatietoken mee te genereren" -#: models.py:91 +#: models.py:101 msgid "channels" msgstr "kanalen" -#: models.py:92 +#: models.py:102 msgid "Comma-separated list of channels to subscribe to" msgstr "Kommagescheiden lijst van kanalen om op te abonneren" -#: models.py:96 +#: models.py:106 msgid "NC subscription" msgstr "Notificaties-API-abonnement" -#: models.py:99 +#: models.py:109 msgid "Subscription as it is known in the NC" msgstr "Abonnement zoals die bekend is in de Notificaties-API" -#: models.py:103 +#: models.py:113 msgid "Webhook subscription" msgstr "Webhook-abonnement" -#: models.py:104 +#: models.py:114 msgid "Webhook subscriptions" msgstr "Webhook-abonnementen" From 6a824ac9dbf8a018685a03f262f7631fa8f752bb Mon Sep 17 00:00:00 2001 From: Sidney Richards Date: Thu, 12 Dec 2024 15:32:37 +0100 Subject: [PATCH 2/2] Release v0.4.0 --- .bumpversion.cfg | 2 +- CHANGELOG.rst | 8 ++++++++ README.rst | 2 +- docs/conf.py | 2 +- setup.cfg | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 4b6cc79..25b31cc 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,7 +1,7 @@ [bumpversion] commit = False tag = False -current_version = 0.3.1 +current_version = 0.4.0 [bumpversion:file:setup.cfg] diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9805ab1..88145d5 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ Changelog ========= +0.4.0 (2024-12-12) +------------------ + +* Added an `identifier` field to the ``Subscription`` model +* Introduced support for ``django-setup-configuration`` and added two + ``ConfigurationStep`` implementations: ``NotificationConfigurationStep`` and + ``NotificationSubscriptionConfigurationStep`` + 0.3.1 (2024-10-27) ------------------ diff --git a/README.rst b/README.rst index 4cfbbb8..b479fb5 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ notifications-api-common ======================== -:Version: 0.3.1 +:Version: 0.4.0 :Source: https://github.com/maykinmedia/notifications-api-common :Keywords: notifications, REST, API, Common Ground, ZGW :PythonVersion: 3.10 diff --git a/docs/conf.py b/docs/conf.py index 68a8585..4099bce 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -26,7 +26,7 @@ author = "Maykin Media" # The full version, including alpha/beta/rc tags -release = "0.3.1" +release = "0.4.0" # -- General configuration --------------------------------------------------- diff --git a/setup.cfg b/setup.cfg index 8293a4e..6fd15ee 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,7 +2,7 @@ # see http://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files [metadata] name = notifications-api-common -version = 0.3.1 +version = 0.4.0 description = Re-usable integration layer for the Common Ground Notifications API specification. long_description = file: README.rst url = https://github.com/maykinmedia/notifications-api-common