--- a/docs/HISTORY.txt Sat Mar 10 02:05:08 2018 +0100
+++ b/docs/HISTORY.txt Sun Mar 11 11:23:40 2018 +0100
@@ -1,6 +1,12 @@
History
=======
+0.1.7
+-----
+ - moved internal references interfaces from pyams_content package
+ - updated database upgrade code and removed INewLocalSite event subscriber
+ - handle null values in multi-references widget
+
0.1.6
-----
- add 'set' to list of supported states types when looking for reference
--- a/src/pyams_sequence.egg-info/PKG-INFO Sat Mar 10 02:05:08 2018 +0100
+++ b/src/pyams_sequence.egg-info/PKG-INFO Sun Mar 11 11:23:40 2018 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pyams-sequence
-Version: 0.1.6
+Version: 0.1.7
Summary: PyAMS sequence interfaces and classes
Home-page: http://hg.ztfy.org/pyams/pyams_sequence
Author: Thierry Florac
@@ -12,6 +12,12 @@
History
=======
+ 0.1.7
+ -----
+ - moved internal references interfaces from pyams_content package
+ - updated database upgrade code and removed INewLocalSite event subscriber
+ - handle null values in multi-references widget
+
0.1.6
-----
- add 'set' to list of supported states types when looking for reference
Binary file src/pyams_sequence/locales/fr/LC_MESSAGES/pyams_sequence.mo has changed
--- a/src/pyams_sequence/locales/fr/LC_MESSAGES/pyams_sequence.po Sat Mar 10 02:05:08 2018 +0100
+++ b/src/pyams_sequence/locales/fr/LC_MESSAGES/pyams_sequence.po Sun Mar 11 11:23:40 2018 +0100
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2015-06-16 15:29+0200\n"
+"POT-Creation-Date: 2018-02-08 15:08+0100\n"
"PO-Revision-Date: 2015-06-16 15:29+0200\n"
"Last-Translator: Thierry Florac <tflorac@ulthar.net>\n"
"Language-Team: French\n"
@@ -16,68 +16,95 @@
"Generated-By: Lingua 3.8\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
-#: src/pyams_sequence/utility.py:87 src/pyams_sequence/zmi/__init__.py:61
+#: src/pyams_sequence/utility.py:124 src/pyams_sequence/zmi/__init__.py:62
msgid "Can't set last OID to value lower than current one!"
-msgstr "Impossible de définir le dernier OID à une valeur inférieure à sa valeur actuelle"
+msgstr ""
+"Impossible de définir le dernier OID à une valeur inférieure à sa valeur "
+"actuelle"
+
+#: src/pyams_sequence/interfaces/__init__.py:32
+#: src/pyams_sequence/interfaces/__init__.py:93
+msgid "Hexadecimal prefix"
+msgstr "Préfixe hexadécimal"
+
+#: src/pyams_sequence/interfaces/__init__.py:33
+msgid "Prefix used to generate hexadecimal ID"
+msgstr "Préfixe utilisé pour générer l'identifiant hexadécimal"
+
+#: src/pyams_sequence/interfaces/__init__.py:37
+msgid "Hexadecimal ID length"
+msgstr "Longueur de l'ID"
+
+#: src/pyams_sequence/interfaces/__init__.py:38
+msgid "Full length of hexadecimal ID, not including prefix"
+msgstr "Longueur de l'identifiant hexadécimal, préfixe non compris"
+
+#: src/pyams_sequence/interfaces/__init__.py:43
+msgid "Last OID"
+msgstr "Dernier OID"
+
+#: src/pyams_sequence/interfaces/__init__.py:44
+msgid "Last used sequence"
+msgstr "Dernier numéro de séquence utilisé"
+
+#: src/pyams_sequence/interfaces/__init__.py:70
+msgid "Sequential ID"
+msgstr "ID séquentiel"
+
+#: src/pyams_sequence/interfaces/__init__.py:73
+msgid "Unique ID"
+msgstr "ID unique"
+
+#: src/pyams_sequence/interfaces/__init__.py:89
+msgid "Sequence name"
+msgstr "Nom de la séquence"
-#: src/pyams_sequence/widget/__init__.py:77
+#: src/pyams_sequence/interfaces/__init__.py:90
+msgid "Name of registered sequence utility used to get unique IDs"
+msgstr ""
+"Nom de la séquence enregistrée utilisée pour génerer les identifiants uniques"
+
+#: src/pyams_sequence/interfaces/__init__.py:94
+msgid ""
+"Prefix used to generate hexadecimal ID, placed after utility prefix. "
+"Generally defined at class level..."
+msgstr ""
+"Préfixe utilisé pour générer les identifiants hexadécimaux, en plus du "
+"préfixe de la séquence. Généralement défini au niveau de la classe."
+
+#: src/pyams_sequence/interfaces/__init__.py:102
+msgid "Internal reference"
+msgstr "Référence interne"
+
+#: src/pyams_sequence/interfaces/__init__.py:103
+msgid ""
+"Internal link target reference. You can search a reference using '+' "
+"followed by internal number, of by entering text matching content title."
+msgstr ""
+"Référence interne vers un contenu. Vous pouvez la rechercher par des mots de "
+"son titre, ou par son numéro interne (précédé d'un '+') ; le titre d'origine "
+"peut être modifié en utilisant le titre de substitution."
+
+#: src/pyams_sequence/interfaces/__init__.py:112
+msgid "Internal references"
+msgstr "Références internes"
+
+#: src/pyams_sequence/interfaces/__init__.py:113
+msgid "List of internal references"
+msgstr ""
+"Références internes vers des contenus. Vous pouvez les rechercher par des "
+"mots de leur titre, ou par leur numéro interne (précédé d'un '+')."
+
+#: src/pyams_sequence/zmi/__init__.py:45
+msgid "Display sequence properties"
+msgstr "Afficher les propriétés de la séquence"
+
+#: src/pyams_sequence/widget/__init__.py:80
#, python-format
msgid "missing reference: {0}"
msgstr "référence manquante : {0}"
-#: src/pyams_sequence/widget/templates/reference-input.pt:3
+#: src/pyams_sequence/widget/templates/references-list-input.pt:4
+#: src/pyams_sequence/widget/templates/reference-input.pt:4
msgid "Clear selected value"
msgstr "Effacer la sélection"
-
-#: src/pyams_sequence/zmi/__init__.py:44
-msgid "Display sequence properties"
-msgstr "Afficher les propriétés de la séquence"
-
-#: src/pyams_sequence/interfaces/__init__.py:31
-#: src/pyams_sequence/interfaces/__init__.py:77
-msgid "Hexadecimal prefix"
-msgstr "Préfixe hexadécimal"
-
-#: src/pyams_sequence/interfaces/__init__.py:32
-msgid "Prefix used to generate hexadecimal ID"
-msgstr "Préfixe utilisé pour générer l'identifiant hexadécimal"
-
-#: src/pyams_sequence/interfaces/__init__.py:36
-msgid "Hexadecimal ID length"
-msgstr "Longueur de l'ID"
-
-#: src/pyams_sequence/interfaces/__init__.py:37
-msgid "Full length of hexadecimal ID, not including prefix"
-msgstr "Longueur de l'identifiant hexadécimal, préfixe non compris"
-
-#: src/pyams_sequence/interfaces/__init__.py:42
-msgid "Last OID"
-msgstr "Dernier OID"
-
-#: src/pyams_sequence/interfaces/__init__.py:43
-msgid "Last used sequence"
-msgstr "Dernier numéro de séquence utilisé"
-
-#: src/pyams_sequence/interfaces/__init__.py:60
-msgid "Sequential ID"
-msgstr "ID séquentiel"
-
-#: src/pyams_sequence/interfaces/__init__.py:63
-msgid "Unique ID"
-msgstr "ID unique"
-
-#: src/pyams_sequence/interfaces/__init__.py:73
-msgid "Sequence name"
-msgstr "Nom de la séquence"
-
-#: src/pyams_sequence/interfaces/__init__.py:74
-msgid "Name of registered sequence utility used to get unique IDs"
-msgstr "Nom de la séquence enregistrée utilisée pour génerer les identifiants uniques"
-
-#: src/pyams_sequence/interfaces/__init__.py:78
-msgid ""
-"Prefix used to generate hexadecimal ID, placed after utility prefix. "
-"Generally defined at class level..."
-msgstr ""
-"Préfixe utilisé pour générer les identifiants hexadécimaux, en plus du préfixe de la séquence. "
-"Généralement défini au niveau de la classe."
--- a/src/pyams_sequence/locales/pyams_sequence.pot Sat Mar 10 02:05:08 2018 +0100
+++ b/src/pyams_sequence/locales/pyams_sequence.pot Sun Mar 11 11:23:40 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>, 2015.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2018.
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2015-06-16 15:29+0200\n"
+"POT-Creation-Date: 2018-02-08 15:08+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"
@@ -14,68 +14,87 @@
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Lingua 3.8\n"
+"Generated-By: Lingua 3.10.dev0\n"
-#: ./src/pyams_sequence/utility.py:87 ./src/pyams_sequence/zmi/__init__.py:61
+#: ./src/pyams_sequence/utility.py:124 ./src/pyams_sequence/zmi/__init__.py:62
msgid "Can't set last OID to value lower than current one!"
msgstr ""
-#: ./src/pyams_sequence/widget/__init__.py:77
+#: ./src/pyams_sequence/interfaces/__init__.py:32
+#: ./src/pyams_sequence/interfaces/__init__.py:93
+msgid "Hexadecimal prefix"
+msgstr ""
+
+#: ./src/pyams_sequence/interfaces/__init__.py:33
+msgid "Prefix used to generate hexadecimal ID"
+msgstr ""
+
+#: ./src/pyams_sequence/interfaces/__init__.py:37
+msgid "Hexadecimal ID length"
+msgstr ""
+
+#: ./src/pyams_sequence/interfaces/__init__.py:38
+msgid "Full length of hexadecimal ID, not including prefix"
+msgstr ""
+
+#: ./src/pyams_sequence/interfaces/__init__.py:43
+msgid "Last OID"
+msgstr ""
+
+#: ./src/pyams_sequence/interfaces/__init__.py:44
+msgid "Last used sequence"
+msgstr ""
+
+#: ./src/pyams_sequence/interfaces/__init__.py:70
+msgid "Sequential ID"
+msgstr ""
+
+#: ./src/pyams_sequence/interfaces/__init__.py:73
+msgid "Unique ID"
+msgstr ""
+
+#: ./src/pyams_sequence/interfaces/__init__.py:89
+msgid "Sequence name"
+msgstr ""
+
+#: ./src/pyams_sequence/interfaces/__init__.py:90
+msgid "Name of registered sequence utility used to get unique IDs"
+msgstr ""
+
+#: ./src/pyams_sequence/interfaces/__init__.py:94
+msgid ""
+"Prefix used to generate hexadecimal ID, placed after utility prefix. "
+"Generally defined at class level..."
+msgstr ""
+
+#: ./src/pyams_sequence/interfaces/__init__.py:102
+msgid "Internal reference"
+msgstr ""
+
+#: ./src/pyams_sequence/interfaces/__init__.py:103
+msgid ""
+"Internal link target reference. You can search a reference using '+' followed"
+" by internal number, of by entering text matching content title."
+msgstr ""
+
+#: ./src/pyams_sequence/interfaces/__init__.py:112
+msgid "Internal references"
+msgstr ""
+
+#: ./src/pyams_sequence/interfaces/__init__.py:113
+msgid "List of internal references"
+msgstr ""
+
+#: ./src/pyams_sequence/zmi/__init__.py:45
+msgid "Display sequence properties"
+msgstr ""
+
+#: ./src/pyams_sequence/widget/__init__.py:80
#, python-format
msgid "missing reference: {0}"
msgstr ""
-#: ./src/pyams_sequence/widget/templates/reference-input.pt:3
+#: ./src/pyams_sequence/widget/templates/references-list-input.pt:4
+#: ./src/pyams_sequence/widget/templates/reference-input.pt:4
msgid "Clear selected value"
msgstr ""
-
-#: ./src/pyams_sequence/zmi/__init__.py:44
-msgid "Display sequence properties"
-msgstr ""
-
-#: ./src/pyams_sequence/interfaces/__init__.py:31
-#: ./src/pyams_sequence/interfaces/__init__.py:77
-msgid "Hexadecimal prefix"
-msgstr ""
-
-#: ./src/pyams_sequence/interfaces/__init__.py:32
-msgid "Prefix used to generate hexadecimal ID"
-msgstr ""
-
-#: ./src/pyams_sequence/interfaces/__init__.py:36
-msgid "Hexadecimal ID length"
-msgstr ""
-
-#: ./src/pyams_sequence/interfaces/__init__.py:37
-msgid "Full length of hexadecimal ID, not including prefix"
-msgstr ""
-
-#: ./src/pyams_sequence/interfaces/__init__.py:42
-msgid "Last OID"
-msgstr ""
-
-#: ./src/pyams_sequence/interfaces/__init__.py:43
-msgid "Last used sequence"
-msgstr ""
-
-#: ./src/pyams_sequence/interfaces/__init__.py:60
-msgid "Sequential ID"
-msgstr ""
-
-#: ./src/pyams_sequence/interfaces/__init__.py:63
-msgid "Unique ID"
-msgstr ""
-
-#: ./src/pyams_sequence/interfaces/__init__.py:73
-msgid "Sequence name"
-msgstr ""
-
-#: ./src/pyams_sequence/interfaces/__init__.py:74
-msgid "Name of registered sequence utility used to get unique IDs"
-msgstr ""
-
-#: ./src/pyams_sequence/interfaces/__init__.py:78
-msgid ""
-"Prefix used to generate hexadecimal ID, placed after utility prefix. "
-"Generally defined at class level..."
-msgstr ""