pyams-security 2.4.3__tar.gz → 2.4.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. {pyams_security-2.4.3 → pyams_security-2.4.4}/PKG-INFO +5 -1
  2. {pyams_security-2.4.3 → pyams_security-2.4.4}/docs/HISTORY.rst +4 -0
  3. {pyams_security-2.4.3 → pyams_security-2.4.4}/setup.py +1 -1
  4. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/interfaces/profile.py +2 -0
  5. pyams_security-2.4.4/src/pyams_security/locales/fr/LC_MESSAGES/pyams_security.mo +0 -0
  6. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/locales/fr/LC_MESSAGES/pyams_security.po +188 -187
  7. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/locales/pyams_security.pot +158 -157
  8. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/plugin/templates/register-body.pt +1 -1
  9. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/plugin/userfolder.py +5 -3
  10. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security.egg-info/PKG-INFO +5 -1
  11. pyams_security-2.4.3/src/pyams_security/locales/fr/LC_MESSAGES/pyams_security.mo +0 -0
  12. {pyams_security-2.4.3 → pyams_security-2.4.4}/LICENSE +0 -0
  13. {pyams_security-2.4.3 → pyams_security-2.4.4}/MANIFEST.in +0 -0
  14. {pyams_security-2.4.3 → pyams_security-2.4.4}/docs/README.rst +0 -0
  15. {pyams_security-2.4.3 → pyams_security-2.4.4}/setup.cfg +0 -0
  16. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/__init__.py +0 -0
  17. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/api/__init__.py +0 -0
  18. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/credential.py +0 -0
  19. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/doctests/README.rst +0 -0
  20. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/doctests/credentials.rst +0 -0
  21. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/doctests/manager.rst +0 -0
  22. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/doctests/notifications.rst +0 -0
  23. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/doctests/passwords.rst +0 -0
  24. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/doctests/plugins.rst +0 -0
  25. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/doctests/policy.rst +0 -0
  26. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/doctests/principals.rst +0 -0
  27. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/doctests/profiles.rst +0 -0
  28. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/doctests/rest.rst +0 -0
  29. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/doctests/roles.rst +0 -0
  30. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/doctests/security.rst +0 -0
  31. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/doctests/users.rst +0 -0
  32. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/generations/__init__.py +0 -0
  33. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/generations/evolve1.py +0 -0
  34. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/include.py +0 -0
  35. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/index.py +0 -0
  36. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/interfaces/__init__.py +0 -0
  37. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/interfaces/base.py +0 -0
  38. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/interfaces/names.py +0 -0
  39. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/interfaces/notification.py +0 -0
  40. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/interfaces/plugin.py +0 -0
  41. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/interfaces/rest.py +0 -0
  42. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/interfaces/site.py +0 -0
  43. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/notification.py +0 -0
  44. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/password.py +0 -0
  45. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/permission.py +0 -0
  46. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/plugin/__init__.py +0 -0
  47. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/plugin/admin.py +0 -0
  48. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/plugin/group.py +0 -0
  49. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/plugin/templates/password-reset.pt +0 -0
  50. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/plugin/templates/register-info.pt +0 -0
  51. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/plugin/templates/register-message.pt +0 -0
  52. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/policy.py +0 -0
  53. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/principal.py +0 -0
  54. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/profile.py +0 -0
  55. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/property.py +0 -0
  56. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/rest.py +0 -0
  57. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/role.py +0 -0
  58. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/schema.py +0 -0
  59. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/security.py +0 -0
  60. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/site.py +0 -0
  61. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/tests/__init__.py +0 -0
  62. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/tests/test_utilsdocs.py +0 -0
  63. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/tests/test_utilsdocstrings.py +0 -0
  64. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/utility.py +0 -0
  65. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security/vocabulary.py +0 -0
  66. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security.egg-info/SOURCES.txt +0 -0
  67. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security.egg-info/dependency_links.txt +0 -0
  68. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security.egg-info/entry_points.txt +0 -0
  69. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security.egg-info/namespace_packages.txt +0 -0
  70. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security.egg-info/not-zip-safe +0 -0
  71. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security.egg-info/requires.txt +0 -0
  72. {pyams_security-2.4.3 → pyams_security-2.4.4}/src/pyams_security.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyams_security
3
- Version: 2.4.3
3
+ Version: 2.4.4
4
4
  Summary: PyAMS security management package
5
5
  Home-page: https://pyams.readthedocs.io
6
6
  Author: Thierry Florac
@@ -54,6 +54,10 @@ store roles assigned to principals.
54
54
  Changelog
55
55
  =========
56
56
 
57
+ 2.4.4
58
+ -----
59
+ - updated user profile confirmation delay management
60
+
57
61
  2.4.3
58
62
  -----
59
63
  - rollback on setuptools package upgrade
@@ -1,6 +1,10 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 2.4.4
5
+ -----
6
+ - updated user profile confirmation delay management
7
+
4
8
  2.4.3
5
9
  -----
6
10
  - rollback on setuptools package upgrade
@@ -23,7 +23,7 @@ DOCS = os.path.join(os.path.dirname(__file__),
23
23
  README = os.path.join(DOCS, 'README.rst')
24
24
  HISTORY = os.path.join(DOCS, 'HISTORY.rst')
25
25
 
26
- version = '2.4.3'
26
+ version = '2.4.4'
27
27
  long_description = open(README).read() + '\n\n' + open(HISTORY).read()
28
28
 
29
29
  tests_require = [
@@ -43,7 +43,9 @@ class IUserRegistrationViews(Interface):
43
43
  register_view = Attribute("Register view URL")
44
44
  register_ok_view = Attribute("Register OK view URL")
45
45
  register_confirm_view = Attribute("Registration confirmation view URL")
46
+ register_confirm_delay = Attribute("Registration confirmation delay")
46
47
  register_final_view = Attribute("Registration final view")
48
+
47
49
  password_reset_view = Attribute("Password reset view")
48
50
  password_reset_final_view = Attribute("Password reset final view")
49
51
  password_change_view = Attribute("Password change view")
@@ -5,7 +5,7 @@
5
5
  msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: PyAMS_security 1.0\n"
8
- "POT-Creation-Date: 2024-07-02 09:14+0200\n"
8
+ "POT-Creation-Date: 2024-09-11 12:26+0200\n"
9
9
  "PO-Revision-Date: 2019-12-21 22:19+0100\n"
10
10
  "Last-Translator: Thierry Florac <tflorac@ulthar.net>\n"
11
11
  "Language-Team: French\n"
@@ -16,11 +16,6 @@ msgstr ""
16
16
  "Generated-By: Lingua 3.8\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
18
 
19
- #. pylint: disable=invalid-name
20
- #: src/pyams_security/principal.py:60
21
- msgid "< unknown principal >"
22
- msgstr "< utilisateur inconnu >"
23
-
24
19
  #: src/pyams_security/include.py:72
25
20
  msgid "View public contents"
26
21
  msgstr "Voir les contenus publics"
@@ -61,6 +56,128 @@ msgstr "Administrateur (rôle)"
61
56
  msgid "System viewer (role)"
62
57
  msgstr "Invité (rôle)"
63
58
 
59
+ #. pylint: disable=invalid-name
60
+ #: src/pyams_security/principal.py:60
61
+ msgid "< unknown principal >"
62
+ msgstr "< utilisateur inconnu >"
63
+
64
+ #: src/pyams_security/interfaces/notification.py:34
65
+ msgid "Enable notifications?"
66
+ msgstr "Activer les notifications ?"
67
+
68
+ #: src/pyams_security/interfaces/notification.py:35
69
+ msgid "If 'no', mail notifications will be disabled"
70
+ msgstr "Si 'non', les messages de notification ne seront pas activés"
71
+
72
+ #: src/pyams_security/interfaces/notification.py:39
73
+ msgid "Mailer utility"
74
+ msgstr "Serveur de messagerie"
75
+
76
+ #: src/pyams_security/interfaces/notification.py:40
77
+ msgid "Mail delivery utility used to send notifications"
78
+ msgstr "Serveur de messagerie utilisé pour l'envoi des notifications"
79
+
80
+ #: src/pyams_security/interfaces/notification.py:48
81
+ msgid "Notifications can't be enabled without mailer utility"
82
+ msgstr ""
83
+ "Les notifications ne peuvent pas être activés sans sélection d'un serveur de "
84
+ "messagerie"
85
+
86
+ #: src/pyams_security/interfaces/notification.py:53
87
+ msgid "Service name"
88
+ msgstr "Nom du service"
89
+
90
+ #: src/pyams_security/interfaces/notification.py:54
91
+ msgid "Name of service as defined in registration mail subject"
92
+ msgstr "Ce nom sera inscrit dans le sujet des messages de notification"
93
+
94
+ #: src/pyams_security/interfaces/notification.py:58
95
+ msgid "Service owner"
96
+ msgstr "Propriétaire du service"
97
+
98
+ #: src/pyams_security/interfaces/notification.py:59
99
+ msgid ""
100
+ "Name of the entity providing this service, which will be visible in "
101
+ "notifications messages"
102
+ msgstr ""
103
+ "Nom du service ou de l'entité fournissant ce service, qui sera indiqué dans "
104
+ "les messages de notification"
105
+
106
+ #: src/pyams_security/interfaces/notification.py:63
107
+ msgid "Sender name"
108
+ msgstr "Nom d'expéditeur"
109
+
110
+ #: src/pyams_security/interfaces/notification.py:64
111
+ msgid "Visible name of registration mail sender"
112
+ msgstr "Nom de l'expéditeur indiqué dans les messages de notification"
113
+
114
+ #: src/pyams_security/interfaces/notification.py:67
115
+ msgid "Sender email"
116
+ msgstr "Adresse de l'expéditeur"
117
+
118
+ #: src/pyams_security/interfaces/notification.py:68
119
+ msgid "Email address of registration mail sender"
120
+ msgstr "Nom de l'adresse d'expédition des messages de notification"
121
+
122
+ #: src/pyams_security/interfaces/notification.py:71
123
+ msgid "Subject prefix"
124
+ msgstr "Préfixe des sujets"
125
+
126
+ #: src/pyams_security/interfaces/notification.py:72
127
+ msgid ""
128
+ "This prefix will be inserted into subject prefix of each notification message"
129
+ msgstr "Ce préfixe sera inséré en tête du sujet des messages de notification"
130
+
131
+ #: src/pyams_security/interfaces/notification.py:77
132
+ msgid "Confirmation template"
133
+ msgstr "Message de confirmation"
134
+
135
+ #: src/pyams_security/interfaces/notification.py:78
136
+ #, python-format
137
+ msgid ""
138
+ "This template will be used instead of default template to send notification "
139
+ "when a user is registered by a system administrator; you can use some user "
140
+ "properties into the message body, like: {login}, {email}, {firstname}, "
141
+ "{lastname}, {title} or {company_name}; message activation link and footer "
142
+ "are added automatically"
143
+ msgstr ""
144
+ "S'il est renseigné, ce modèle sera utilisé en lieu et place du modèle par "
145
+ "défaut pour l'envoi des notifications lorsqu'un utilisateur est inscrit par "
146
+ "un administrateur ; vous pouvez utiliser certaines propriétés de "
147
+ "l'utilisateur dans le corps du message, en les entourant avec des "
148
+ "accolades : code utilisateur ({login}), adresse de messagerie ({email}), "
149
+ "prénom ({firstname}), nom ({name}), titre ({title}) et société "
150
+ "({company_name}) ; le contenu du lien de confirmation ainsi que le pied du "
151
+ "message seront ajoutés automatiquement"
152
+
153
+ #: src/pyams_security/interfaces/notification.py:86
154
+ msgid "Registration template"
155
+ msgstr "Message d'enregistrement"
156
+
157
+ #: src/pyams_security/interfaces/notification.py:87
158
+ #, python-format
159
+ msgid ""
160
+ "This template will be used instead of default template to send notificaiton "
161
+ "when a user is auto-registered; you can use some user properties into the "
162
+ "message body, like: {login}, {email}, {firstname}, {lastname}, {title} or "
163
+ "{company_name}; message activation link and footer are added automatically"
164
+ msgstr ""
165
+ "S'il est renseigné, ce modèle sera utilisé en lieu et place du modèle par "
166
+ "défaut pour l'envoi des notifications lorsqu'un utilisateur s'est auto-"
167
+ "inscrit ; vous pouvez utiliser certaines propriétés de l'utilisateur dans le "
168
+ "corps du message, en les entourant avec des accolades : code utilisateur "
169
+ "({login}), adresse de messagerie ({email}), prénom ({firstname}), nom "
170
+ "({name}), titre ({title}) et société ({company_name}) ; le contenu du lien "
171
+ "de confirmation ainsi que le pied du message seront ajoutés automatiquement"
172
+
173
+ #: src/pyams_security/interfaces/notification.py:94
174
+ msgid "Email signature"
175
+ msgstr "Signature"
176
+
177
+ #: src/pyams_security/interfaces/notification.py:95
178
+ msgid "Text displayed in email footer"
179
+ msgstr "Ce texte sera affiché dans le pied des messages de notification"
180
+
64
181
  #: src/pyams_security/interfaces/names.py:35
65
182
  msgid "User login"
66
183
  msgstr "Code utilisateur"
@@ -331,6 +448,29 @@ msgstr "Origines autorisées"
331
448
  msgid "List of allowed origins URLs using CORS requests"
332
449
  msgstr "Liste des URLs d'origine autorisées pour les requêtes CORS"
333
450
 
451
+ #: src/pyams_security/interfaces/site.py:31
452
+ msgid "Site managers"
453
+ msgstr "Administrateurs"
454
+
455
+ #: src/pyams_security/interfaces/site.py:32
456
+ msgid ""
457
+ "These principals are allowed to manage the whole application environment"
458
+ msgstr ""
459
+ "Les détenteurs de ce rôle sont habilités à gérer tous les paramètres de "
460
+ "l'application"
461
+
462
+ #: src/pyams_security/interfaces/site.py:37
463
+ msgid "Site viewers"
464
+ msgstr "Invités"
465
+
466
+ #: src/pyams_security/interfaces/site.py:38
467
+ msgid ""
468
+ "These principals are allowed to view some application settings, without "
469
+ "update"
470
+ msgstr ""
471
+ "Les détenteurs de ce rôle peuvent accéder à certains écrans de l'interface "
472
+ "d'administration, mais sans droit de mise à jour"
473
+
334
474
  #: src/pyams_security/interfaces/profile.py:34
335
475
  msgid "Profile's avatar"
336
476
  msgstr "Image du profil"
@@ -445,199 +585,73 @@ msgstr "Héritage des rôles ?"
445
585
  msgid "Get roles granted on parent levels"
446
586
  msgstr "Hériter des rôles affectés aux niveaux parents"
447
587
 
448
- #: src/pyams_security/interfaces/site.py:31
449
- msgid "Site managers"
450
- msgstr "Administrateurs"
451
-
452
- #: src/pyams_security/interfaces/site.py:32
453
- msgid ""
454
- "These principals are allowed to manage the whole application environment"
455
- msgstr ""
456
- "Les détenteurs de ce rôle sont habilités à gérer tous les paramètres de "
457
- "l'application"
458
-
459
- #: src/pyams_security/interfaces/site.py:37
460
- msgid "Site viewers"
461
- msgstr "Invités"
462
-
463
- #: src/pyams_security/interfaces/site.py:38
464
- msgid ""
465
- "These principals are allowed to view some application settings, without "
466
- "update"
467
- msgstr ""
468
- "Les détenteurs de ce rôle peuvent accéder à certains écrans de l'interface "
469
- "d'administration, mais sans droit de mise à jour"
470
-
471
- #: src/pyams_security/interfaces/notification.py:34
472
- msgid "Enable notifications?"
473
- msgstr "Activer les notifications ?"
474
-
475
- #: src/pyams_security/interfaces/notification.py:35
476
- msgid "If 'no', mail notifications will be disabled"
477
- msgstr "Si 'non', les messages de notification ne seront pas activés"
478
-
479
- #: src/pyams_security/interfaces/notification.py:39
480
- msgid "Mailer utility"
481
- msgstr "Serveur de messagerie"
482
-
483
- #: src/pyams_security/interfaces/notification.py:40
484
- msgid "Mail delivery utility used to send notifications"
485
- msgstr "Serveur de messagerie utilisé pour l'envoi des notifications"
486
-
487
- #: src/pyams_security/interfaces/notification.py:48
488
- msgid "Notifications can't be enabled without mailer utility"
489
- msgstr ""
490
- "Les notifications ne peuvent pas être activés sans sélection d'un serveur de "
491
- "messagerie"
492
-
493
- #: src/pyams_security/interfaces/notification.py:53
494
- msgid "Service name"
495
- msgstr "Nom du service"
496
-
497
- #: src/pyams_security/interfaces/notification.py:54
498
- msgid "Name of service as defined in registration mail subject"
499
- msgstr "Ce nom sera inscrit dans le sujet des messages de notification"
500
-
501
- #: src/pyams_security/interfaces/notification.py:58
502
- msgid "Service owner"
503
- msgstr "Propriétaire du service"
504
-
505
- #: src/pyams_security/interfaces/notification.py:59
506
- msgid ""
507
- "Name of the entity providing this service, which will be visible in "
508
- "notifications messages"
509
- msgstr ""
510
- "Nom du service ou de l'entité fournissant ce service, qui sera indiqué dans "
511
- "les messages de notification"
512
-
513
- #: src/pyams_security/interfaces/notification.py:63
514
- msgid "Sender name"
515
- msgstr "Nom d'expéditeur"
516
-
517
- #: src/pyams_security/interfaces/notification.py:64
518
- msgid "Visible name of registration mail sender"
519
- msgstr "Nom de l'expéditeur indiqué dans les messages de notification"
520
-
521
- #: src/pyams_security/interfaces/notification.py:67
522
- msgid "Sender email"
523
- msgstr "Adresse de l'expéditeur"
524
-
525
- #: src/pyams_security/interfaces/notification.py:68
526
- msgid "Email address of registration mail sender"
527
- msgstr "Nom de l'adresse d'expédition des messages de notification"
528
-
529
- #: src/pyams_security/interfaces/notification.py:71
530
- msgid "Subject prefix"
531
- msgstr "Préfixe des sujets"
532
-
533
- #: src/pyams_security/interfaces/notification.py:72
534
- msgid ""
535
- "This prefix will be inserted into subject prefix of each notification message"
536
- msgstr "Ce préfixe sera inséré en tête du sujet des messages de notification"
537
-
538
- #: src/pyams_security/interfaces/notification.py:77
539
- msgid "Confirmation template"
540
- msgstr "Message de confirmation"
541
-
542
- #: src/pyams_security/interfaces/notification.py:78
543
- #, python-format
544
- msgid ""
545
- "This template will be used instead of default template to send notification "
546
- "when a user is registered by a system administrator; you can use some user "
547
- "properties into the message body, like: {login}, {email}, {firstname}, "
548
- "{lastname}, {title} or {company_name}; message activation link and footer "
549
- "are added automatically"
550
- msgstr ""
551
- "S'il est renseigné, ce modèle sera utilisé en lieu et place du modèle par "
552
- "défaut pour l'envoi des notifications lorsqu'un utilisateur est inscrit par "
553
- "un administrateur ; vous pouvez utiliser certaines propriétés de "
554
- "l'utilisateur dans le corps du message, en les entourant avec des "
555
- "accolades : code utilisateur ({login}), adresse de messagerie ({email}), "
556
- "prénom ({firstname}), nom ({name}), titre ({title}) et société "
557
- "({company_name}) ; le contenu du lien de confirmation ainsi que le pied du "
558
- "message seront ajoutés automatiquement"
559
-
560
- #: src/pyams_security/interfaces/notification.py:86
561
- msgid "Registration template"
562
- msgstr "Message d'enregistrement"
563
-
564
- #: src/pyams_security/interfaces/notification.py:87
565
- #, python-format
566
- msgid ""
567
- "This template will be used instead of default template to send notificaiton "
568
- "when a user is auto-registered; you can use some user properties into the "
569
- "message body, like: {login}, {email}, {firstname}, {lastname}, {title} or "
570
- "{company_name}; message activation link and footer are added automatically"
571
- msgstr ""
572
- "S'il est renseigné, ce modèle sera utilisé en lieu et place du modèle par "
573
- "défaut pour l'envoi des notifications lorsqu'un utilisateur s'est auto-"
574
- "inscrit ; vous pouvez utiliser certaines propriétés de l'utilisateur dans le "
575
- "corps du message, en les entourant avec des accolades : code utilisateur "
576
- "({login}), adresse de messagerie ({email}), prénom ({firstname}), nom "
577
- "({name}), titre ({title}) et société ({company_name}) ; le contenu du lien "
578
- "de confirmation ainsi que le pied du message seront ajoutés automatiquement"
579
-
580
- #: src/pyams_security/interfaces/notification.py:94
581
- msgid "Email signature"
582
- msgstr "Signature"
583
-
584
- #: src/pyams_security/interfaces/notification.py:95
585
- msgid "Text displayed in email footer"
586
- msgstr "Ce texte sera affiché dans le pied des messages de notification"
587
-
588
- #: src/pyams_security/plugin/admin.py:129
589
- msgid "Internal request authentication"
590
- msgstr "Authentification des services internes"
591
-
592
- #: src/pyams_security/plugin/userfolder.py:216
588
+ #: src/pyams_security/plugin/userfolder.py:215
593
589
  #, python-format
594
590
  msgid "{prefix}{subject}"
595
591
  msgstr "{prefix}{subject}"
596
592
 
597
- #: src/pyams_security/plugin/userfolder.py:265
593
+ #: src/pyams_security/plugin/userfolder.py:264
598
594
  #: src/pyams_security/plugin/userfolder.py:269
599
595
  msgid "Please confirm registration"
600
596
  msgstr "Veuillez confirmer votre inscription"
601
597
 
602
- #: src/pyams_security/plugin/userfolder.py:280
598
+ #: src/pyams_security/plugin/userfolder.py:281
603
599
  msgid "Password reset"
604
600
  msgstr "Réinitialisation du mot de passe"
605
601
 
606
- #: src/pyams_security/plugin/userfolder.py:371
607
- #: src/pyams_security/plugin/userfolder.py:376
602
+ #: src/pyams_security/plugin/userfolder.py:372
603
+ #: src/pyams_security/plugin/userfolder.py:377
608
604
  msgid "Can't activate profile with given params!"
609
605
  msgstr ""
610
606
  "Impossible de confirmer votre inscription avec les paramètres fournis !"
611
607
 
612
- #: src/pyams_security/plugin/userfolder.py:394
608
+ #: src/pyams_security/plugin/userfolder.py:395
613
609
  msgid "Invalid reset request!"
614
610
  msgstr "Demande de réinitialisation invalide !"
615
611
 
616
- #: src/pyams_security/plugin/userfolder.py:396
612
+ #: src/pyams_security/plugin/userfolder.py:397
617
613
  msgid "Can't reset password with given params!"
618
614
  msgstr ""
619
615
  "Impossible de réinitialiser votre mot de passe avec les paramètres fournis !"
620
616
 
621
- #: src/pyams_security/plugin/userfolder.py:399
617
+ #: src/pyams_security/plugin/userfolder.py:400
622
618
  msgid "Your password reset hash is no longer valid!"
623
619
  msgstr "Votre lien de réinitialisation du mot de passe n'est plus valide !"
624
620
 
625
- #: src/pyams_security/plugin/templates/password-reset.pt:7
626
- msgid "${header} Password reset"
627
- msgstr "${header} Réinitialisation de mot de passe"
621
+ #: src/pyams_security/plugin/admin.py:129
622
+ msgid "Internal request authentication"
623
+ msgstr "Authentification des services internes"
628
624
 
625
+ #: src/pyams_security/plugin/templates/register-info.pt:2
629
626
  #: src/pyams_security/plugin/templates/password-reset.pt:11
630
627
  #: src/pyams_security/plugin/templates/register-message.pt:2
631
- #: src/pyams_security/plugin/templates/register-info.pt:2
632
628
  msgid "Hello,"
633
629
  msgstr "Bonjour,"
634
630
 
631
+ #: src/pyams_security/plugin/templates/register-info.pt:3
635
632
  #: src/pyams_security/plugin/templates/password-reset.pt:12
636
633
  #: src/pyams_security/plugin/templates/register-message.pt:3
637
- #: src/pyams_security/plugin/templates/register-info.pt:3
638
634
  msgid "${service_name} is a service provided by ${service_owner}."
639
635
  msgstr "${service_name} est un service fourni par ${service_owner}"
640
636
 
637
+ #: src/pyams_security/plugin/templates/register-info.pt:5
638
+ msgid ""
639
+ "A new account has been created for your email address, that you may confirm "
640
+ "before being able to use the service."
641
+ msgstr ""
642
+ "Un nouveau compte utilisateur vient d'être créé pour votre adresse de "
643
+ "messagerie, que vous devez confirmer avant de pouvoir utiliser ce service."
644
+
645
+ #: src/pyams_security/plugin/templates/register-info.pt:7
646
+ #: src/pyams_security/plugin/templates/register-body.pt:12
647
+ msgid "The login that was given to your account is: ${login}."
648
+ msgstr ""
649
+ "L'identifiant de connexion qui a été fourni pour votre compte est : ${login}."
650
+
651
+ #: src/pyams_security/plugin/templates/password-reset.pt:7
652
+ msgid "${header} Password reset"
653
+ msgstr "${header} Réinitialisation de mot de passe"
654
+
641
655
  #: src/pyams_security/plugin/templates/password-reset.pt:14
642
656
  msgid "A password reset has been requested for your account: ${login}."
643
657
  msgstr ""
@@ -667,16 +681,18 @@ msgstr ""
667
681
  msgid "Thank you for using our services."
668
682
  msgstr "Merci d'utiliser nos services."
669
683
 
684
+ #: src/pyams_security/plugin/templates/register-message.pt:5
685
+ msgid ""
686
+ "You have registered a new account that you may confirm before being able to "
687
+ "use the service."
688
+ msgstr ""
689
+ "Vous avez enregistré un nouveau compte que vous devez confirmer avant de "
690
+ "pouvoir utiliser ce service."
691
+
670
692
  #: src/pyams_security/plugin/templates/register-body.pt:7
671
693
  msgid "${header} Registration notice"
672
694
  msgstr "${header} Inscription effectuée"
673
695
 
674
- #: src/pyams_security/plugin/templates/register-body.pt:12
675
- #: src/pyams_security/plugin/templates/register-info.pt:7
676
- msgid "The login that was given to your account is: ${login}."
677
- msgstr ""
678
- "L'identifiant de connexion qui a été fourni pour votre compte est : ${login}."
679
-
680
696
  #: src/pyams_security/plugin/templates/register-body.pt:13
681
697
  msgid ""
682
698
  "To confirm your registration, please click on the following link, re-enter "
@@ -688,27 +704,12 @@ msgstr ""
688
704
  #: src/pyams_security/plugin/templates/register-body.pt:18
689
705
  msgid ""
690
706
  "If you don't want to confirm this registration, please just ignore this "
691
- "message and your registration information will be deleted within 30 days."
707
+ "message and your registration information will be deleted within ${delay} "
708
+ "days."
692
709
  msgstr ""
693
710
  "Si vous ne souhaitez pas confirmer cette inscription, ou si celle-ci a été "
694
711
  "faite sans votre consentement, il vous suffit d'ignorer ce message et votre "
695
- "inscription sera supprimée automatiquement dans un délai de 30 jours"
696
-
697
- #: src/pyams_security/plugin/templates/register-message.pt:5
698
- msgid ""
699
- "You have registered a new account that you may confirm before being able to "
700
- "use the service."
701
- msgstr ""
702
- "Vous avez enregistré un nouveau compte que vous devez confirmer avant de "
703
- "pouvoir utiliser ce service."
704
-
705
- #: src/pyams_security/plugin/templates/register-info.pt:5
706
- msgid ""
707
- "A new account has been created for your email address, that you may confirm "
708
- "before being able to use the service."
709
- msgstr ""
710
- "Un nouveau compte utilisateur vient d'être créé pour votre adresse de "
711
- "messagerie, que vous devez confirmer avant de pouvoir utiliser ce service."
712
+ "inscription sera supprimée automatiquement dans un délai de ${delay} jours."
712
713
 
713
714
  #~ msgid "Enable free registration?"
714
715
  #~ msgstr "Autoriser l'inscription publique ?"
@@ -6,7 +6,7 @@
6
6
  msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: PACKAGE 1.0\n"
9
- "POT-Creation-Date: 2024-07-02 09:14+0200\n"
9
+ "POT-Creation-Date: 2024-09-11 12:26+0200\n"
10
10
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11
11
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
12
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -16,11 +16,6 @@ msgstr ""
16
16
  "Content-Transfer-Encoding: 8bit\n"
17
17
  "Generated-By: Lingua 4.15.0\n"
18
18
 
19
- #. pylint: disable=invalid-name
20
- #: ./src/pyams_security/principal.py:60
21
- msgid "< unknown principal >"
22
- msgstr ""
23
-
24
19
  #: ./src/pyams_security/include.py:72
25
20
  msgid "View public contents"
26
21
  msgstr ""
@@ -61,6 +56,109 @@ msgstr ""
61
56
  msgid "System viewer (role)"
62
57
  msgstr ""
63
58
 
59
+ #. pylint: disable=invalid-name
60
+ #: ./src/pyams_security/principal.py:60
61
+ msgid "< unknown principal >"
62
+ msgstr ""
63
+
64
+ #: ./src/pyams_security/interfaces/notification.py:34
65
+ msgid "Enable notifications?"
66
+ msgstr ""
67
+
68
+ #: ./src/pyams_security/interfaces/notification.py:35
69
+ msgid "If 'no', mail notifications will be disabled"
70
+ msgstr ""
71
+
72
+ #: ./src/pyams_security/interfaces/notification.py:39
73
+ msgid "Mailer utility"
74
+ msgstr ""
75
+
76
+ #: ./src/pyams_security/interfaces/notification.py:40
77
+ msgid "Mail delivery utility used to send notifications"
78
+ msgstr ""
79
+
80
+ #: ./src/pyams_security/interfaces/notification.py:48
81
+ msgid "Notifications can't be enabled without mailer utility"
82
+ msgstr ""
83
+
84
+ #: ./src/pyams_security/interfaces/notification.py:53
85
+ msgid "Service name"
86
+ msgstr ""
87
+
88
+ #: ./src/pyams_security/interfaces/notification.py:54
89
+ msgid "Name of service as defined in registration mail subject"
90
+ msgstr ""
91
+
92
+ #: ./src/pyams_security/interfaces/notification.py:58
93
+ msgid "Service owner"
94
+ msgstr ""
95
+
96
+ #: ./src/pyams_security/interfaces/notification.py:59
97
+ msgid ""
98
+ "Name of the entity providing this service, which will be visible in "
99
+ "notifications messages"
100
+ msgstr ""
101
+
102
+ #: ./src/pyams_security/interfaces/notification.py:63
103
+ msgid "Sender name"
104
+ msgstr ""
105
+
106
+ #: ./src/pyams_security/interfaces/notification.py:64
107
+ msgid "Visible name of registration mail sender"
108
+ msgstr ""
109
+
110
+ #: ./src/pyams_security/interfaces/notification.py:67
111
+ msgid "Sender email"
112
+ msgstr ""
113
+
114
+ #: ./src/pyams_security/interfaces/notification.py:68
115
+ msgid "Email address of registration mail sender"
116
+ msgstr ""
117
+
118
+ #: ./src/pyams_security/interfaces/notification.py:71
119
+ msgid "Subject prefix"
120
+ msgstr ""
121
+
122
+ #: ./src/pyams_security/interfaces/notification.py:72
123
+ msgid ""
124
+ "This prefix will be inserted into subject prefix of each notification message"
125
+ msgstr ""
126
+
127
+ #: ./src/pyams_security/interfaces/notification.py:77
128
+ msgid "Confirmation template"
129
+ msgstr ""
130
+
131
+ #: ./src/pyams_security/interfaces/notification.py:78
132
+ #, python-format
133
+ msgid ""
134
+ "This template will be used instead of default template to send notification "
135
+ "when a user is registered by a system administrator; you can use some user "
136
+ "properties into the message body, like: {login}, {email}, {firstname}, "
137
+ "{lastname}, {title} or {company_name}; message activation link and footer are"
138
+ " added automatically"
139
+ msgstr ""
140
+
141
+ #: ./src/pyams_security/interfaces/notification.py:86
142
+ msgid "Registration template"
143
+ msgstr ""
144
+
145
+ #: ./src/pyams_security/interfaces/notification.py:87
146
+ #, python-format
147
+ msgid ""
148
+ "This template will be used instead of default template to send notificaiton "
149
+ "when a user is auto-registered; you can use some user properties into the "
150
+ "message body, like: {login}, {email}, {firstname}, {lastname}, {title} or "
151
+ "{company_name}; message activation link and footer are added automatically"
152
+ msgstr ""
153
+
154
+ #: ./src/pyams_security/interfaces/notification.py:94
155
+ msgid "Email signature"
156
+ msgstr ""
157
+
158
+ #: ./src/pyams_security/interfaces/notification.py:95
159
+ msgid "Text displayed in email footer"
160
+ msgstr ""
161
+
64
162
  #: ./src/pyams_security/interfaces/names.py:35
65
163
  msgid "User login"
66
164
  msgstr ""
@@ -299,6 +397,25 @@ msgstr ""
299
397
  msgid "List of allowed origins URLs using CORS requests"
300
398
  msgstr ""
301
399
 
400
+ #: ./src/pyams_security/interfaces/site.py:31
401
+ msgid "Site managers"
402
+ msgstr ""
403
+
404
+ #: ./src/pyams_security/interfaces/site.py:32
405
+ msgid ""
406
+ "These principals are allowed to manage the whole application environment"
407
+ msgstr ""
408
+
409
+ #: ./src/pyams_security/interfaces/site.py:37
410
+ msgid "Site viewers"
411
+ msgstr ""
412
+
413
+ #: ./src/pyams_security/interfaces/site.py:38
414
+ msgid ""
415
+ "These principals are allowed to view some application settings, without "
416
+ "update"
417
+ msgstr ""
418
+
302
419
  #: ./src/pyams_security/interfaces/profile.py:34
303
420
  msgid "Profile's avatar"
304
421
  msgstr ""
@@ -398,174 +515,68 @@ msgstr ""
398
515
  msgid "Get roles granted on parent levels"
399
516
  msgstr ""
400
517
 
401
- #: ./src/pyams_security/interfaces/site.py:31
402
- msgid "Site managers"
403
- msgstr ""
404
-
405
- #: ./src/pyams_security/interfaces/site.py:32
406
- msgid ""
407
- "These principals are allowed to manage the whole application environment"
408
- msgstr ""
409
-
410
- #: ./src/pyams_security/interfaces/site.py:37
411
- msgid "Site viewers"
412
- msgstr ""
413
-
414
- #: ./src/pyams_security/interfaces/site.py:38
415
- msgid ""
416
- "These principals are allowed to view some application settings, without "
417
- "update"
418
- msgstr ""
419
-
420
- #: ./src/pyams_security/interfaces/notification.py:34
421
- msgid "Enable notifications?"
422
- msgstr ""
423
-
424
- #: ./src/pyams_security/interfaces/notification.py:35
425
- msgid "If 'no', mail notifications will be disabled"
426
- msgstr ""
427
-
428
- #: ./src/pyams_security/interfaces/notification.py:39
429
- msgid "Mailer utility"
430
- msgstr ""
431
-
432
- #: ./src/pyams_security/interfaces/notification.py:40
433
- msgid "Mail delivery utility used to send notifications"
434
- msgstr ""
435
-
436
- #: ./src/pyams_security/interfaces/notification.py:48
437
- msgid "Notifications can't be enabled without mailer utility"
438
- msgstr ""
439
-
440
- #: ./src/pyams_security/interfaces/notification.py:53
441
- msgid "Service name"
442
- msgstr ""
443
-
444
- #: ./src/pyams_security/interfaces/notification.py:54
445
- msgid "Name of service as defined in registration mail subject"
446
- msgstr ""
447
-
448
- #: ./src/pyams_security/interfaces/notification.py:58
449
- msgid "Service owner"
450
- msgstr ""
451
-
452
- #: ./src/pyams_security/interfaces/notification.py:59
453
- msgid ""
454
- "Name of the entity providing this service, which will be visible in "
455
- "notifications messages"
456
- msgstr ""
457
-
458
- #: ./src/pyams_security/interfaces/notification.py:63
459
- msgid "Sender name"
460
- msgstr ""
461
-
462
- #: ./src/pyams_security/interfaces/notification.py:64
463
- msgid "Visible name of registration mail sender"
464
- msgstr ""
465
-
466
- #: ./src/pyams_security/interfaces/notification.py:67
467
- msgid "Sender email"
468
- msgstr ""
469
-
470
- #: ./src/pyams_security/interfaces/notification.py:68
471
- msgid "Email address of registration mail sender"
472
- msgstr ""
473
-
474
- #: ./src/pyams_security/interfaces/notification.py:71
475
- msgid "Subject prefix"
476
- msgstr ""
477
-
478
- #: ./src/pyams_security/interfaces/notification.py:72
479
- msgid ""
480
- "This prefix will be inserted into subject prefix of each notification message"
481
- msgstr ""
482
-
483
- #: ./src/pyams_security/interfaces/notification.py:77
484
- msgid "Confirmation template"
485
- msgstr ""
486
-
487
- #: ./src/pyams_security/interfaces/notification.py:78
488
- #, python-format
489
- msgid ""
490
- "This template will be used instead of default template to send notification "
491
- "when a user is registered by a system administrator; you can use some user "
492
- "properties into the message body, like: {login}, {email}, {firstname}, "
493
- "{lastname}, {title} or {company_name}; message activation link and footer are"
494
- " added automatically"
495
- msgstr ""
496
-
497
- #: ./src/pyams_security/interfaces/notification.py:86
498
- msgid "Registration template"
499
- msgstr ""
500
-
501
- #: ./src/pyams_security/interfaces/notification.py:87
502
- #, python-format
503
- msgid ""
504
- "This template will be used instead of default template to send notificaiton "
505
- "when a user is auto-registered; you can use some user properties into the "
506
- "message body, like: {login}, {email}, {firstname}, {lastname}, {title} or "
507
- "{company_name}; message activation link and footer are added automatically"
508
- msgstr ""
509
-
510
- #: ./src/pyams_security/interfaces/notification.py:94
511
- msgid "Email signature"
512
- msgstr ""
513
-
514
- #: ./src/pyams_security/interfaces/notification.py:95
515
- msgid "Text displayed in email footer"
516
- msgstr ""
517
-
518
- #: ./src/pyams_security/plugin/admin.py:129
519
- msgid "Internal request authentication"
520
- msgstr ""
521
-
522
- #: ./src/pyams_security/plugin/userfolder.py:216
518
+ #: ./src/pyams_security/plugin/userfolder.py:215
523
519
  #, python-format
524
520
  msgid "{prefix}{subject}"
525
521
  msgstr ""
526
522
 
527
- #: ./src/pyams_security/plugin/userfolder.py:265
523
+ #: ./src/pyams_security/plugin/userfolder.py:264
528
524
  #: ./src/pyams_security/plugin/userfolder.py:269
529
525
  msgid "Please confirm registration"
530
526
  msgstr ""
531
527
 
532
- #: ./src/pyams_security/plugin/userfolder.py:280
528
+ #: ./src/pyams_security/plugin/userfolder.py:281
533
529
  msgid "Password reset"
534
530
  msgstr ""
535
531
 
536
- #: ./src/pyams_security/plugin/userfolder.py:371
537
- #: ./src/pyams_security/plugin/userfolder.py:376
532
+ #: ./src/pyams_security/plugin/userfolder.py:372
533
+ #: ./src/pyams_security/plugin/userfolder.py:377
538
534
  msgid "Can't activate profile with given params!"
539
535
  msgstr ""
540
536
 
541
- #: ./src/pyams_security/plugin/userfolder.py:394
537
+ #: ./src/pyams_security/plugin/userfolder.py:395
542
538
  msgid "Invalid reset request!"
543
539
  msgstr ""
544
540
 
545
- #: ./src/pyams_security/plugin/userfolder.py:396
541
+ #: ./src/pyams_security/plugin/userfolder.py:397
546
542
  msgid "Can't reset password with given params!"
547
543
  msgstr ""
548
544
 
549
- #: ./src/pyams_security/plugin/userfolder.py:399
545
+ #: ./src/pyams_security/plugin/userfolder.py:400
550
546
  msgid "Your password reset hash is no longer valid!"
551
547
  msgstr ""
552
548
 
553
- #: ./src/pyams_security/plugin/templates/password-reset.pt:7
554
- msgid "${header} Password reset"
549
+ #: ./src/pyams_security/plugin/admin.py:129
550
+ msgid "Internal request authentication"
555
551
  msgstr ""
556
552
 
553
+ #: ./src/pyams_security/plugin/templates/register-info.pt:2
557
554
  #: ./src/pyams_security/plugin/templates/password-reset.pt:11
558
555
  #: ./src/pyams_security/plugin/templates/register-message.pt:2
559
- #: ./src/pyams_security/plugin/templates/register-info.pt:2
560
556
  msgid "Hello,"
561
557
  msgstr ""
562
558
 
559
+ #: ./src/pyams_security/plugin/templates/register-info.pt:3
563
560
  #: ./src/pyams_security/plugin/templates/password-reset.pt:12
564
561
  #: ./src/pyams_security/plugin/templates/register-message.pt:3
565
- #: ./src/pyams_security/plugin/templates/register-info.pt:3
566
562
  msgid "${service_name} is a service provided by ${service_owner}."
567
563
  msgstr ""
568
564
 
565
+ #: ./src/pyams_security/plugin/templates/register-info.pt:5
566
+ msgid ""
567
+ "A new account has been created for your email address, that you may confirm "
568
+ "before being able to use the service."
569
+ msgstr ""
570
+
571
+ #: ./src/pyams_security/plugin/templates/register-info.pt:7
572
+ #: ./src/pyams_security/plugin/templates/register-body.pt:12
573
+ msgid "The login that was given to your account is: ${login}."
574
+ msgstr ""
575
+
576
+ #: ./src/pyams_security/plugin/templates/password-reset.pt:7
577
+ msgid "${header} Password reset"
578
+ msgstr ""
579
+
569
580
  #: ./src/pyams_security/plugin/templates/password-reset.pt:14
570
581
  msgid "A password reset has been requested for your account: ${login}."
571
582
  msgstr ""
@@ -587,13 +598,14 @@ msgstr ""
587
598
  msgid "Thank you for using our services."
588
599
  msgstr ""
589
600
 
590
- #: ./src/pyams_security/plugin/templates/register-body.pt:7
591
- msgid "${header} Registration notice"
601
+ #: ./src/pyams_security/plugin/templates/register-message.pt:5
602
+ msgid ""
603
+ "You have registered a new account that you may confirm before being able to "
604
+ "use the service."
592
605
  msgstr ""
593
606
 
594
- #: ./src/pyams_security/plugin/templates/register-body.pt:12
595
- #: ./src/pyams_security/plugin/templates/register-info.pt:7
596
- msgid "The login that was given to your account is: ${login}."
607
+ #: ./src/pyams_security/plugin/templates/register-body.pt:7
608
+ msgid "${header} Registration notice"
597
609
  msgstr ""
598
610
 
599
611
  #: ./src/pyams_security/plugin/templates/register-body.pt:13
@@ -605,17 +617,6 @@ msgstr ""
605
617
  #: ./src/pyams_security/plugin/templates/register-body.pt:18
606
618
  msgid ""
607
619
  "If you don't want to confirm this registration, please just ignore this "
608
- "message and your registration information will be deleted within 30 days."
609
- msgstr ""
610
-
611
- #: ./src/pyams_security/plugin/templates/register-message.pt:5
612
- msgid ""
613
- "You have registered a new account that you may confirm before being able to "
614
- "use the service."
615
- msgstr ""
616
-
617
- #: ./src/pyams_security/plugin/templates/register-info.pt:5
618
- msgid ""
619
- "A new account has been created for your email address, that you may confirm "
620
- "before being able to use the service."
620
+ "message and your registration information will be deleted within ${delay} "
621
+ "days."
621
622
  msgstr ""
@@ -16,7 +16,7 @@
16
16
  href="${href}">${href}</a>
17
17
  </p>
18
18
  <p i18n:translate="">If you don't want to confirm this registration, please just ignore this message and your registration information
19
- will be deleted within 30 days.</p>
19
+ will be deleted within <tal:var content="confirm_delay" i18n:name="delay" /> days.</p>
20
20
  <p i18n:translate="">Thank you for using our services.</p>
21
21
  <div>${structure:tales:html(settings.signature)}</div>
22
22
  </body>
@@ -263,11 +263,13 @@ def notify_user_activation(user, request=None):
263
263
  views = registry.getMultiAdapter((request.root, request), IUserRegistrationViews)
264
264
  send_message(_("Please confirm registration"), 'templates/register-body.pt', user, request,
265
265
  message=message_text,
266
- confirm_url=views.register_confirm_view)
266
+ confirm_url=views.register_confirm_view,
267
+ confirm_delay=views.register_confirm_delay)
267
268
  else:
268
269
  send_message(_("Please confirm registration"), 'templates/register-body.pt', user, request,
269
270
  message=message_text,
270
- confirm_url=None)
271
+ confirm_url=None,
272
+ confirm_delay=30)
271
273
 
272
274
 
273
275
  def notify_password_reset(user, request=None):
@@ -359,7 +361,7 @@ class LocalUser(Persistent, Contained):
359
361
  def check_activation(self, hash, login, password): # pylint: disable=redefined-builtin
360
362
  """Check is given hash is matching stored one, and activate user"""
361
363
  if self.self_registered:
362
- # If principal was registered by it's own, we check activation hash
364
+ # If principal was registered by its own, we check activation hash
363
365
  # with given login and password
364
366
  manager = get_utility(IPasswordManager, name=self.password_manager)
365
367
  password = manager.encodePassword(password, salt=self._password_salt)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyams-security
3
- Version: 2.4.3
3
+ Version: 2.4.4
4
4
  Summary: PyAMS security management package
5
5
  Home-page: https://pyams.readthedocs.io
6
6
  Author: Thierry Florac
@@ -54,6 +54,10 @@ store roles assigned to principals.
54
54
  Changelog
55
55
  =========
56
56
 
57
+ 2.4.4
58
+ -----
59
+ - updated user profile confirmation delay management
60
+
57
61
  2.4.3
58
62
  -----
59
63
  - rollback on setuptools package upgrade
File without changes
File without changes