--- a/docs/HISTORY.txt Thu Mar 08 09:11:10 2018 +0100
+++ b/docs/HISTORY.txt Sun Mar 11 11:23:32 2018 +0100
@@ -1,6 +1,10 @@
History
=======
+0.1.6
+-----
+ - check TCP handler before sending notifications
+
0.1.5
-----
- updated login notification message
--- a/src/pyams_notify.egg-info/PKG-INFO Thu Mar 08 09:11:10 2018 +0100
+++ b/src/pyams_notify.egg-info/PKG-INFO Sun Mar 11 11:23:32 2018 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pyams-notify
-Version: 0.1.5
+Version: 0.1.6
Summary: PyAMS notifications management package
Home-page: http://hg.ztfy.org/pyams/pyams_notify
Author: Thierry Florac
@@ -22,6 +22,10 @@
History
=======
+ 0.1.6
+ -----
+ - check TCP handler before sending notifications
+
0.1.5
-----
- updated login notification message
Binary file src/pyams_notify/locales/fr/LC_MESSAGES/pyams_notify.mo has changed
--- a/src/pyams_notify/locales/fr/LC_MESSAGES/pyams_notify.po Thu Mar 08 09:11:10 2018 +0100
+++ b/src/pyams_notify/locales/fr/LC_MESSAGES/pyams_notify.po Sun Mar 11 11:23:32 2018 +0100
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2016-06-01 15:50+0200\n"
+"POT-Creation-Date: 2018-02-15 13:18+0100\n"
"PO-Revision-Date: 2016-06-01 15:51+0200\n"
"Last-Translator: Thierry Florac <tflorac@ulthar.net>\n"
"Language-Team: French\n"
@@ -16,63 +16,62 @@
"Generated-By: Lingua 3.10.dev0\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
-#: src/pyams_notify/handlers/login.py:49
-#, python-format
-msgid "User {0} logged in..."
-msgstr "L'utilisateur {0} s'est connecté"
+#: src/pyams_notify/handlers/login.py:46
+msgid "logged in..."
+msgstr "s'est connecté"
-#: src/pyams_notify/viewlet/__init__.py:36
+#: src/pyams_notify/viewlet/__init__.py:38
msgid "Notifications"
msgstr "Notifications"
-#: src/pyams_notify/viewlet/templates/notifications.pt:3
+#: src/pyams_notify/viewlet/templates/notifications.pt:5
msgid "No notification to display."
msgstr "Aucune notification à afficher."
-#: src/pyams_notify/interfaces/__init__.py:33
+#: src/pyams_notify/interfaces/__init__.py:35
msgid "Notification action"
msgstr "Action de la notification"
-#: src/pyams_notify/interfaces/__init__.py:35
+#: src/pyams_notify/interfaces/__init__.py:37
msgid "Notification category"
msgstr "Catgéorie"
-#: src/pyams_notify/interfaces/__init__.py:37
+#: src/pyams_notify/interfaces/__init__.py:39
msgid "Notification title"
msgstr "Titre"
-#: src/pyams_notify/interfaces/__init__.py:39
+#: src/pyams_notify/interfaces/__init__.py:41
msgid "Notification message"
msgstr "Message"
-#: src/pyams_notify/interfaces/__init__.py:41
+#: src/pyams_notify/interfaces/__init__.py:43
msgid "Notification source"
msgstr "Source"
-#: src/pyams_notify/interfaces/__init__.py:42
+#: src/pyams_notify/interfaces/__init__.py:44
msgid "Attributes of the principal which emitted the notification"
msgstr "Propriétés de l'utilisateur à la source de la notification"
-#: src/pyams_notify/interfaces/__init__.py:46
+#: src/pyams_notify/interfaces/__init__.py:48
msgid "Notification target"
msgstr "Cible"
-#: src/pyams_notify/interfaces/__init__.py:47
+#: src/pyams_notify/interfaces/__init__.py:49
msgid "Notification targets (principals, roles...)"
msgstr "Cibles de la notification (utilisateurs, roles...)"
-#: src/pyams_notify/interfaces/__init__.py:50
+#: src/pyams_notify/interfaces/__init__.py:52
msgid "Notification URL"
msgstr "URL"
-#: src/pyams_notify/interfaces/__init__.py:51
+#: src/pyams_notify/interfaces/__init__.py:53
msgid "URL targetted by this notification"
msgstr "URL visée par cette notification"
-#: src/pyams_notify/interfaces/__init__.py:54
+#: src/pyams_notify/interfaces/__init__.py:56
msgid "Notification timestamp"
msgstr "Horodatage"
-#: src/pyams_notify/interfaces/__init__.py:56
+#: src/pyams_notify/interfaces/__init__.py:58
msgid "User data"
msgstr "Données utilisateur"
--- a/src/pyams_notify/locales/pyams_notify.pot Thu Mar 08 09:11:10 2018 +0100
+++ b/src/pyams_notify/locales/pyams_notify.pot Sun Mar 11 11:23:32 2018 +0100
@@ -1,12 +1,12 @@
-#
+#
# SOME DESCRIPTIVE TITLE
# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2016.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2018.
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2016-06-01 15:50+0200\n"
+"POT-Creation-Date: 2018-02-15 13:18+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -16,63 +16,62 @@
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Lingua 3.10.dev0\n"
-#: ./src/pyams_notify/handlers/login.py:49
-#, python-format
-msgid "User {0} logged in..."
+#: ./src/pyams_notify/handlers/login.py:46
+msgid "logged in..."
msgstr ""
-#: ./src/pyams_notify/viewlet/__init__.py:36
+#: ./src/pyams_notify/viewlet/__init__.py:38
msgid "Notifications"
msgstr ""
-#: ./src/pyams_notify/viewlet/templates/notifications.pt:3
+#: ./src/pyams_notify/viewlet/templates/notifications.pt:5
msgid "No notification to display."
msgstr ""
-#: ./src/pyams_notify/interfaces/__init__.py:33
+#: ./src/pyams_notify/interfaces/__init__.py:35
msgid "Notification action"
msgstr ""
-#: ./src/pyams_notify/interfaces/__init__.py:35
+#: ./src/pyams_notify/interfaces/__init__.py:37
msgid "Notification category"
msgstr ""
-#: ./src/pyams_notify/interfaces/__init__.py:37
+#: ./src/pyams_notify/interfaces/__init__.py:39
msgid "Notification title"
msgstr ""
-#: ./src/pyams_notify/interfaces/__init__.py:39
-msgid "Notification message"
-msgstr ""
-
#: ./src/pyams_notify/interfaces/__init__.py:41
+msgid "Notification message"
+msgstr ""
+
+#: ./src/pyams_notify/interfaces/__init__.py:43
msgid "Notification source"
msgstr ""
-#: ./src/pyams_notify/interfaces/__init__.py:42
+#: ./src/pyams_notify/interfaces/__init__.py:44
msgid "Attributes of the principal which emitted the notification"
msgstr ""
-#: ./src/pyams_notify/interfaces/__init__.py:46
+#: ./src/pyams_notify/interfaces/__init__.py:48
msgid "Notification target"
msgstr ""
-#: ./src/pyams_notify/interfaces/__init__.py:47
+#: ./src/pyams_notify/interfaces/__init__.py:49
msgid "Notification targets (principals, roles...)"
msgstr ""
-#: ./src/pyams_notify/interfaces/__init__.py:50
+#: ./src/pyams_notify/interfaces/__init__.py:52
msgid "Notification URL"
msgstr ""
-#: ./src/pyams_notify/interfaces/__init__.py:51
+#: ./src/pyams_notify/interfaces/__init__.py:53
msgid "URL targetted by this notification"
msgstr ""
-#: ./src/pyams_notify/interfaces/__init__.py:54
+#: ./src/pyams_notify/interfaces/__init__.py:56
msgid "Notification timestamp"
msgstr ""
-#: ./src/pyams_notify/interfaces/__init__.py:56
+#: ./src/pyams_notify/interfaces/__init__.py:58
msgid "User data"
msgstr ""