imio.smartweb.common 1.2.22__py3-none-any.whl → 1.2.24__py3-none-any.whl
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.
- imio/smartweb/common/browser/collective_taxonomy_controlpanel.py +33 -55
- imio/smartweb/common/browser/configure.zcml +12 -2
- imio/smartweb/common/browser/edit_taxonomy_data.pt +190 -0
- imio/smartweb/common/tests/test_taxonomy.py +0 -67
- imio/smartweb/common/viewlets/privacy.pt +6 -4
- {imio.smartweb.common-1.2.22.dist-info → imio.smartweb.common-1.2.24.dist-info}/METADATA +28 -2
- {imio.smartweb.common-1.2.22.dist-info → imio.smartweb.common-1.2.24.dist-info}/RECORD +13 -12
- {imio.smartweb.common-1.2.22.dist-info → imio.smartweb.common-1.2.24.dist-info}/WHEEL +1 -1
- /imio.smartweb.common-1.2.22-py3.12-nspkg.pth → /imio.smartweb.common-1.2.24-py3.12-nspkg.pth +0 -0
- {imio.smartweb.common-1.2.22.dist-info → imio.smartweb.common-1.2.24.dist-info}/LICENSE.GPL +0 -0
- {imio.smartweb.common-1.2.22.dist-info → imio.smartweb.common-1.2.24.dist-info}/LICENSE.rst +0 -0
- {imio.smartweb.common-1.2.22.dist-info → imio.smartweb.common-1.2.24.dist-info}/namespace_packages.txt +0 -0
- {imio.smartweb.common-1.2.22.dist-info → imio.smartweb.common-1.2.24.dist-info}/top_level.txt +0 -0
|
@@ -1,67 +1,45 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
|
|
3
3
|
from collective.taxonomy.interfaces import ITaxonomy
|
|
4
|
-
from collective.taxonomy.jsonimpl import
|
|
4
|
+
from collective.taxonomy.jsonimpl import EditTaxonomyData as baseEditTaxonomyData
|
|
5
5
|
from imio.smartweb.locales import SmartwebMessageFactory as _
|
|
6
6
|
from plone import api
|
|
7
7
|
from zope.component import queryUtility
|
|
8
|
-
from zope.
|
|
8
|
+
from zope.component import queryUtility
|
|
9
|
+
from plone import api
|
|
10
|
+
from Products.Five import BrowserView
|
|
11
|
+
|
|
9
12
|
|
|
10
13
|
import json
|
|
11
14
|
|
|
12
15
|
|
|
13
|
-
class
|
|
14
|
-
"""
|
|
16
|
+
class EditTaxonomyData(baseEditTaxonomyData, BrowserView):
|
|
17
|
+
"""Edit taxonomy data."""
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class DeleteTaxonomyData(BrowserView):
|
|
15
21
|
|
|
16
|
-
def
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
catalog = api.portal.get_tool("portal_catalog")
|
|
39
|
-
brains = catalog.searchResults(
|
|
40
|
-
object_provides=taxonomy.getGeneratedName()
|
|
22
|
+
def check_delete_taxonomy(self):
|
|
23
|
+
body = self.request.get("BODY", b"{}") # Récupération du corps de la requête
|
|
24
|
+
data = json.loads(body) # Décodage du JSON
|
|
25
|
+
term_id = data.get("termId") # Extraction de l'ID
|
|
26
|
+
result = {term_id} if term_id else set()
|
|
27
|
+
taxonomy = queryUtility(ITaxonomy, name="collective.taxonomy.contact_category")
|
|
28
|
+
catalog = api.portal.get_tool("portal_catalog")
|
|
29
|
+
brains = catalog.searchResults(object_provides=taxonomy.getGeneratedName())
|
|
30
|
+
# On parcours tous les brains pour lesquels la taxonomie est utilisée
|
|
31
|
+
for brain in brains:
|
|
32
|
+
index_key = f"taxonomy_{taxonomy.getShortName()}"
|
|
33
|
+
if hasattr(brain, index_key):
|
|
34
|
+
set2 = set(getattr(brain, index_key))
|
|
35
|
+
if result & set2:
|
|
36
|
+
obj = brain.getObject()
|
|
37
|
+
url = obj.absolute_url()
|
|
38
|
+
title = obj.Title()
|
|
39
|
+
return json.dumps(
|
|
40
|
+
{
|
|
41
|
+
"status": "error",
|
|
42
|
+
"message": f'<h2>Impossible de supprimer ce terme.</h2><p>Ce terme est au moins utilisé ici : <a href="{url}" target="_blank" title="{title}">{url}</a></p>',
|
|
43
|
+
}
|
|
41
44
|
)
|
|
42
|
-
|
|
43
|
-
index_key = f"taxonomy_{taxonomy.getShortName()}"
|
|
44
|
-
if hasattr(brain, index_key) and id in getattr(
|
|
45
|
-
brain, index_key
|
|
46
|
-
):
|
|
47
|
-
obj = brain.getObject()
|
|
48
|
-
here = obj.absolute_url()
|
|
49
|
-
term_title = taxonomy.translate(
|
|
50
|
-
id, context=obj, target_language=language
|
|
51
|
-
)
|
|
52
|
-
return json.dumps(
|
|
53
|
-
{
|
|
54
|
-
"status": "error",
|
|
55
|
-
"message": translate(
|
|
56
|
-
_(
|
|
57
|
-
'Term "${term_title}" can\'t be removed because it is used (at least) here : ${here}',
|
|
58
|
-
mapping={
|
|
59
|
-
"term_title": term_title,
|
|
60
|
-
"here": here,
|
|
61
|
-
},
|
|
62
|
-
),
|
|
63
|
-
context=request,
|
|
64
|
-
),
|
|
65
|
-
}
|
|
66
|
-
)
|
|
67
|
-
return super(ImportJson, self).__call__()
|
|
45
|
+
return json.dumps({"status": "success", "message": "Suppression autorisée"})
|
|
@@ -91,9 +91,19 @@
|
|
|
91
91
|
/>
|
|
92
92
|
|
|
93
93
|
<browser:page
|
|
94
|
-
name="taxonomy-
|
|
94
|
+
name="taxonomy-edit-data"
|
|
95
95
|
for="Products.CMFCore.interfaces.ISiteRoot"
|
|
96
|
-
class=".collective_taxonomy_controlpanel.
|
|
96
|
+
class=".collective_taxonomy_controlpanel.EditTaxonomyData"
|
|
97
|
+
template="edit_taxonomy_data.pt"
|
|
98
|
+
permission="collective.taxonomy.ManageTaxonomies"
|
|
99
|
+
layer="imio.smartweb.common.interfaces.IImioSmartwebCommonLayer"
|
|
100
|
+
/>
|
|
101
|
+
|
|
102
|
+
<browser:page
|
|
103
|
+
name="check_delete_taxonomy"
|
|
104
|
+
attribute="check_delete_taxonomy"
|
|
105
|
+
for="*"
|
|
106
|
+
class=".collective_taxonomy_controlpanel.DeleteTaxonomyData"
|
|
97
107
|
permission="collective.taxonomy.ManageTaxonomies"
|
|
98
108
|
layer="imio.smartweb.common.interfaces.IImioSmartwebCommonLayer"
|
|
99
109
|
/>
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
<html xmlns="http://www.w3.org/1999/xhtml"
|
|
2
|
+
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
|
|
3
|
+
xmlns:metal="http://xml.zope.org/namespaces/metal"
|
|
4
|
+
xmlns:tal="http://xml.zope.org/namespaces/tal"
|
|
5
|
+
metal:use-macro="context/main_template/macros/master"
|
|
6
|
+
>
|
|
7
|
+
|
|
8
|
+
<head>
|
|
9
|
+
<metal:block fill-slot="style_slot">
|
|
10
|
+
<link rel="stylesheet"
|
|
11
|
+
type="text/css"
|
|
12
|
+
tal:attributes="
|
|
13
|
+
href string:$portal_url/++resource++taxonomy/icons/css/taxonomy.css;
|
|
14
|
+
"
|
|
15
|
+
/>
|
|
16
|
+
<link rel="stylesheet"
|
|
17
|
+
type="text/css"
|
|
18
|
+
tal:attributes="
|
|
19
|
+
href string:$portal_url/++resource++taxonomy/js/css/react-treeview.css;
|
|
20
|
+
"
|
|
21
|
+
/>
|
|
22
|
+
<link rel="stylesheet"
|
|
23
|
+
type="text/css"
|
|
24
|
+
tal:attributes="
|
|
25
|
+
href string:$portal_url/++resource++taxonomy/css/collective.taxonomy.css;
|
|
26
|
+
"
|
|
27
|
+
/>
|
|
28
|
+
</metal:block>
|
|
29
|
+
</head>
|
|
30
|
+
|
|
31
|
+
<body>
|
|
32
|
+
<metal:block fill-slot="main">
|
|
33
|
+
<style>
|
|
34
|
+
/* Modale en arrière-plan */
|
|
35
|
+
.modal {
|
|
36
|
+
display: none; /* Caché par défaut */
|
|
37
|
+
position: fixed;
|
|
38
|
+
z-index: 1000;
|
|
39
|
+
left: 0;
|
|
40
|
+
top: 0;
|
|
41
|
+
width: 100%;
|
|
42
|
+
height: 100%;
|
|
43
|
+
background-color: rgba(0,0,0,0.5); /* Fond semi-transparent */
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* Contenu de la modale */
|
|
47
|
+
.modal-content {
|
|
48
|
+
background-color: white;
|
|
49
|
+
margin: 15% auto;
|
|
50
|
+
padding: 20px;
|
|
51
|
+
border-radius: 8px;
|
|
52
|
+
width: 50%;
|
|
53
|
+
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* Bouton de fermeture */
|
|
57
|
+
.close {
|
|
58
|
+
color: #aaa;
|
|
59
|
+
float: right;
|
|
60
|
+
font-size: 28px;
|
|
61
|
+
font-weight: bold;
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.close:hover {
|
|
66
|
+
color: black;
|
|
67
|
+
}
|
|
68
|
+
</style>
|
|
69
|
+
<div id="content-core">
|
|
70
|
+
<script type="text/javascript">
|
|
71
|
+
<!--
|
|
72
|
+
document.addEventListener("DOMContentLoaded", function() {
|
|
73
|
+
var rootDiv = document.getElementById("root");
|
|
74
|
+
var portalUrl = rootDiv ? rootDiv.dataset.portalUrl : window.location.origin + "/Plone"; // Fallback
|
|
75
|
+
|
|
76
|
+
// Sélection des éléments de la modale
|
|
77
|
+
const modal = document.getElementById("error-modal");
|
|
78
|
+
const modalMessage = document.getElementById("error-message");
|
|
79
|
+
const closeModalBtn = document.querySelector(".close");
|
|
80
|
+
|
|
81
|
+
// Fonction pour afficher la modale avec un message d'erreur
|
|
82
|
+
function showModal(message) {
|
|
83
|
+
modalMessage.innerHTML = message;
|
|
84
|
+
modal.style.display = "block";
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// Fonction pour fermer la modale
|
|
88
|
+
function closeModal() {
|
|
89
|
+
modal.style.display = "none";
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// Écouteur d'événement pour fermer la modale avec "X"
|
|
93
|
+
closeModalBtn.addEventListener("click", closeModal);
|
|
94
|
+
|
|
95
|
+
// Fermer la modale si on clique en dehors du contenu
|
|
96
|
+
window.addEventListener("click", function(event) {
|
|
97
|
+
if (event.target === modal) {
|
|
98
|
+
closeModal();
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
document.querySelectorAll(".taxonomy-icon-minus").forEach(button => {
|
|
103
|
+
button.addEventListener("click", function(event) {
|
|
104
|
+
event.preventDefault(); // Empêche le comportement par défaut
|
|
105
|
+
event.stopPropagation(); // Empêche l'événement de se propager
|
|
106
|
+
var nodeElement = this.closest(".info");
|
|
107
|
+
if (nodeElement == null) {
|
|
108
|
+
showModal("Impossible de supprimer cet élément car il contient d'autres termes .");
|
|
109
|
+
return;from zope.schema.interfaces import IVocabularyFactory
|
|
110
|
+
|
|
111
|
+
}
|
|
112
|
+
var identifierInput = nodeElement.querySelector(".identifier-input");
|
|
113
|
+
var termTitle = nodeElement.querySelector("input").value; // Récupération du titre du terme
|
|
114
|
+
if (!identifierInput) {
|
|
115
|
+
console.error("Impossible de trouver l'identifiant du nœud.");
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
var termId = identifierInput.value; // Récupération de l'ID du terme
|
|
120
|
+
|
|
121
|
+
// Confirmation avant suppression
|
|
122
|
+
if (!confirm(`Voulez-vous vraiment supprimer le terme "${termTitle}" ?`)) {
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
var deleteUrl = `${portalUrl}/@@check_delete_taxonomy`;
|
|
126
|
+
|
|
127
|
+
// Annulation de la suppression de l'élément de l'UI ici
|
|
128
|
+
var buttonDelete = this; // Le bouton "supprimer"
|
|
129
|
+
buttonDelete.disabled = true; // Désactive temporairement le bouton "supprimer"
|
|
130
|
+
|
|
131
|
+
// Envoie une requête AJAX pour vérifier si la suppression est possible
|
|
132
|
+
fetch(deleteUrl, {
|
|
133
|
+
method: 'POST',
|
|
134
|
+
headers: {
|
|
135
|
+
'Content-Type': 'application/json'
|
|
136
|
+
},
|
|
137
|
+
body: JSON.stringify({ termId: termId })
|
|
138
|
+
})
|
|
139
|
+
.then(response => response.json())
|
|
140
|
+
.then(data => {
|
|
141
|
+
handleDeleteResponse(data, event, buttonDelete, nodeElement);
|
|
142
|
+
})
|
|
143
|
+
.catch(error => {
|
|
144
|
+
console.error('Erreur lors de la suppression:', error);
|
|
145
|
+
alert('Une erreur est survenue.');
|
|
146
|
+
buttonDelete.disabled = false; // Réactive le bouton "supprimer" si erreur AJAX
|
|
147
|
+
});
|
|
148
|
+
});
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
function handleDeleteResponse(data, event, buttonDelete, nodeElement) {
|
|
152
|
+
if (data.status === 'error') {
|
|
153
|
+
showModal(data.message);
|
|
154
|
+
buttonDelete.disabled = false;
|
|
155
|
+
event.stopPropagation();
|
|
156
|
+
} else {
|
|
157
|
+
alert("Terme supprimé avec succès !");
|
|
158
|
+
nodeElement.remove();
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
-->
|
|
163
|
+
</script>
|
|
164
|
+
|
|
165
|
+
<div id="root"
|
|
166
|
+
tal:attributes="
|
|
167
|
+
data-taxonomy view/get_data;
|
|
168
|
+
data-languages view/get_languages_mapping;
|
|
169
|
+
data-portal-url context/absolute_url
|
|
170
|
+
"
|
|
171
|
+
>
|
|
172
|
+
</div>
|
|
173
|
+
|
|
174
|
+
</div>
|
|
175
|
+
|
|
176
|
+
<script type="text/javascript"
|
|
177
|
+
tal:attributes="
|
|
178
|
+
src view/get_resource_url;
|
|
179
|
+
"
|
|
180
|
+
></script>
|
|
181
|
+
<div id="error-modal" class="modal">
|
|
182
|
+
<div class="modal-content">
|
|
183
|
+
<span class="close">×</span>
|
|
184
|
+
<p id="error-message"></p>
|
|
185
|
+
</div>
|
|
186
|
+
</div>
|
|
187
|
+
</metal:block>
|
|
188
|
+
|
|
189
|
+
</body>
|
|
190
|
+
</html>
|
|
@@ -71,70 +71,3 @@ class TestTaxonomy(unittest.TestCase):
|
|
|
71
71
|
result,
|
|
72
72
|
'{"status": "info", "message": "Your taxonomy has been saved with success."}',
|
|
73
73
|
)
|
|
74
|
-
|
|
75
|
-
def test_removing_used_taxonomy_term(self):
|
|
76
|
-
self.page.taxonomy_test = ["1", "2"]
|
|
77
|
-
body_data = {
|
|
78
|
-
"languages": ["fr", "en", "nl", "ru", "da", "de"],
|
|
79
|
-
"tree": {
|
|
80
|
-
"key": "0",
|
|
81
|
-
"title": "Test vocabulary",
|
|
82
|
-
"subnodes": [
|
|
83
|
-
{
|
|
84
|
-
"key": "1",
|
|
85
|
-
"translations": {
|
|
86
|
-
"da": "Informationsvidenskab",
|
|
87
|
-
"de": "Informatik",
|
|
88
|
-
"en": "Information Science",
|
|
89
|
-
"ru": "Информатику",
|
|
90
|
-
},
|
|
91
|
-
"subnodes": [
|
|
92
|
-
{
|
|
93
|
-
"key": "3",
|
|
94
|
-
"translations": {"da": "Kronologi", "en": "Chronology"},
|
|
95
|
-
"subnodes": [],
|
|
96
|
-
}
|
|
97
|
-
],
|
|
98
|
-
}
|
|
99
|
-
],
|
|
100
|
-
"default_language": "da",
|
|
101
|
-
},
|
|
102
|
-
"taxonomy": "collective.taxonomy.test",
|
|
103
|
-
}
|
|
104
|
-
json_str = json.dumps(body_data)
|
|
105
|
-
bytes_data = json_str.encode("utf-8")
|
|
106
|
-
self.request.set("BODY", bytes_data)
|
|
107
|
-
self.request.method = "POST"
|
|
108
|
-
result = self.portal.restrictedTraverse("@@taxonomy-import")()
|
|
109
|
-
self.assertEqual(
|
|
110
|
-
result,
|
|
111
|
-
'{"status": "error", "message": "Term \\"Information Science \\u00bb Book Collecting\\" can\'t be removed because it is used (at least) here : http://nohost/plone/test-page"}',
|
|
112
|
-
)
|
|
113
|
-
|
|
114
|
-
def test_removing_used_parent_taxonomy_term(self):
|
|
115
|
-
self.page.taxonomy_test = ["2"]
|
|
116
|
-
self.page.reindexObject()
|
|
117
|
-
catalog = api.portal.get_tool("portal_catalog")
|
|
118
|
-
brain = api.content.find(UID=self.page.UID())[0]
|
|
119
|
-
indexes = catalog.getIndexDataForRID(brain.getRID())
|
|
120
|
-
index = indexes.get("taxonomy_test")
|
|
121
|
-
self.assertListEqual(sorted(index), ["1", "2"])
|
|
122
|
-
body_data = {
|
|
123
|
-
"languages": ["fr", "en", "nl", "ru", "da", "de"],
|
|
124
|
-
"tree": {
|
|
125
|
-
"key": "0",
|
|
126
|
-
"title": "Test vocabulary",
|
|
127
|
-
"subnodes": [],
|
|
128
|
-
"default_language": "da",
|
|
129
|
-
},
|
|
130
|
-
"taxonomy": "collective.taxonomy.test",
|
|
131
|
-
}
|
|
132
|
-
json_str = json.dumps(body_data)
|
|
133
|
-
bytes_data = json_str.encode("utf-8")
|
|
134
|
-
self.request.set("BODY", bytes_data)
|
|
135
|
-
self.request.method = "POST"
|
|
136
|
-
result = self.portal.restrictedTraverse("@@taxonomy-import")()
|
|
137
|
-
self.assertEqual(
|
|
138
|
-
result,
|
|
139
|
-
'{"status": "error", "message": "Term \\"Information Science\\" can\'t be removed because it is used (at least) here : http://nohost/plone/test-page"}',
|
|
140
|
-
)
|
|
@@ -12,13 +12,15 @@
|
|
|
12
12
|
data-json-url string:${navigation_root_url}/@@consent-json">
|
|
13
13
|
<input name="came_from" type="hidden" value="" tal:attributes="value view/rebuild_url">
|
|
14
14
|
<div class="gdpr-actions">
|
|
15
|
-
<input type="submit" name="consent" value="Accept all" i18n:attributes="value"/>
|
|
16
|
-
<a href=""
|
|
15
|
+
<input type="submit" name="consent" aria-label="Accept all cookies" value="Accept all" i18n:attributes="aria-label;value"/>
|
|
16
|
+
<a href=""
|
|
17
17
|
class="pat-plone-modal"
|
|
18
|
+
aria-label="Read more and manage cookies settings"
|
|
18
19
|
data-pat-plone-modal='{"prependContent": ""}'
|
|
19
|
-
tal:attributes="href string:${navigation_root_url}/@@consent"
|
|
20
|
+
tal:attributes="href string:${navigation_root_url}/@@consent"
|
|
21
|
+
i18n:attributes="aria-label"
|
|
20
22
|
i18n:translate="">Read more and manage settings</a>
|
|
21
|
-
<input type="submit" name="refuse" value="Refuse all" i18n:attributes="value"/>
|
|
23
|
+
<input type="submit" name="refuse" aria-label="Refuse all cookies" value="Refuse all" i18n:attributes="aria-label;value"/>
|
|
22
24
|
</div>
|
|
23
25
|
</form>
|
|
24
26
|
</div>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: imio.smartweb.common
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.24
|
|
4
4
|
Summary: Common utilities, vocabularies, taxonomies for imio.smartweb & co products
|
|
5
5
|
Home-page: https://github.com/imio/imio.smartweb.common
|
|
6
6
|
Author: iMio
|
|
@@ -51,6 +51,18 @@ Requires-Dist: plone.app.robotframework[debug]; extra == "test"
|
|
|
51
51
|
Requires-Dist: plone.restapi[test]; extra == "test"
|
|
52
52
|
Requires-Dist: freezegun; extra == "test"
|
|
53
53
|
Requires-Dist: mock; extra == "test"
|
|
54
|
+
Dynamic: author
|
|
55
|
+
Dynamic: author-email
|
|
56
|
+
Dynamic: classifier
|
|
57
|
+
Dynamic: description
|
|
58
|
+
Dynamic: home-page
|
|
59
|
+
Dynamic: keywords
|
|
60
|
+
Dynamic: license
|
|
61
|
+
Dynamic: project-url
|
|
62
|
+
Dynamic: provides-extra
|
|
63
|
+
Dynamic: requires-dist
|
|
64
|
+
Dynamic: requires-python
|
|
65
|
+
Dynamic: summary
|
|
54
66
|
|
|
55
67
|
.. This README is meant for consumption by humans and pypi. Pypi can render rst files so please do not use Sphinx features.
|
|
56
68
|
If you want to learn more about writing documentation, please check out: http://docs.plone.org/about/documentation_styleguide.html
|
|
@@ -162,6 +174,20 @@ Changelog
|
|
|
162
174
|
=========
|
|
163
175
|
|
|
164
176
|
|
|
177
|
+
1.2.24 (2025-03-10)
|
|
178
|
+
-------------------
|
|
179
|
+
|
|
180
|
+
- WEB-4232 : Refactoring of the code that prevents the deletion of a taxonomy term if it is used in at least one object
|
|
181
|
+
[boulch]
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
1.2.23 (2025-02-24)
|
|
185
|
+
-------------------
|
|
186
|
+
|
|
187
|
+
- WEB-3718 : Accessibility : Add aria-label for consent buttons
|
|
188
|
+
[boulch]
|
|
189
|
+
|
|
190
|
+
|
|
165
191
|
1.2.22 (2025-02-14)
|
|
166
192
|
-------------------
|
|
167
193
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
imio.smartweb.common-1.2.
|
|
1
|
+
imio.smartweb.common-1.2.24-py3.12-nspkg.pth,sha256=XZ3YhlzwpUCC8tXtelHRqxVxo3NWomIiMsUfUshrbeE,1011
|
|
2
2
|
imio/smartweb/common/__init__.py,sha256=Na9XBfEQUMrm2c5jbqQgwWeg40ih0aXVG1vT8NeAjMQ,2709
|
|
3
3
|
imio/smartweb/common/adapters.py,sha256=rLlObjqZm3hs2hgUT-LmJytwhT-E1rTvbpIi0mmKQqY,610
|
|
4
4
|
imio/smartweb/common/adapters.zcml,sha256=ndYNj0J_BFfVpX_7JhY2asSwLzXG-WmjLdfwL9hX_No,254
|
|
@@ -27,11 +27,12 @@ imio/smartweb/common/behaviors/configure.zcml,sha256=RfGH8DIybHpxxe2HUsjH2QKSiWY
|
|
|
27
27
|
imio/smartweb/common/behaviors/iam.py,sha256=17ON7M6FHXOM_8NOHT_QnJJuAIs4diWCrguHP6Lh5oA,825
|
|
28
28
|
imio/smartweb/common/behaviors/topics.py,sha256=K9XkhTBxxp_nBBeQ-ovUpmOc6raXIiYqmzJtlKVdhbI,863
|
|
29
29
|
imio/smartweb/common/browser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
|
-
imio/smartweb/common/browser/collective_taxonomy_controlpanel.py,sha256=
|
|
31
|
-
imio/smartweb/common/browser/configure.zcml,sha256=
|
|
30
|
+
imio/smartweb/common/browser/collective_taxonomy_controlpanel.py,sha256=PVeXOr0cDYpg7g695wtrhsuSc6MSO0d_JGvcQUaDWRM,1908
|
|
31
|
+
imio/smartweb/common/browser/configure.zcml,sha256=agEY6fPCePV2UnzvVMUF-Wft0nU6HaHnMwv_lCk4_dQ,3534
|
|
32
32
|
imio/smartweb/common/browser/cropping.py,sha256=7xkTvs_0qUo9tC2tAIj77ZQn2RClKOgAwE0L6WhGGxg,2720
|
|
33
33
|
imio/smartweb/common/browser/description.pt,sha256=ZXKpsMQDJGC0dxVUg5v1W6LsG1_OWuYuWevZuF-Zn2Y,151
|
|
34
34
|
imio/smartweb/common/browser/description.py,sha256=BRpHkVzwyeM-SUzkEbtHn2fm8pQREtcHIW7feoQlBPQ,517
|
|
35
|
+
imio/smartweb/common/browser/edit_taxonomy_data.pt,sha256=1JmxkyXIlanpyAUGdb7NCI-mM9EqW7jX-5PM2nyvr_Q,6990
|
|
35
36
|
imio/smartweb/common/browser/forms.py,sha256=UK72J9cEadVU4DqQ3OHqv2Jo_Qff9iFSoRv2gsWpZps,4168
|
|
36
37
|
imio/smartweb/common/browser/scaling.py,sha256=aBmuMyzy2s_5PCfkyvxJiARHowpck1BOva8RKEJSVso,297
|
|
37
38
|
imio/smartweb/common/browser/vocabulary.py,sha256=XXFuV1nYvu7s8j7tufrg33AmpaNgTIHl13VzEK0ro34,905
|
|
@@ -92,7 +93,7 @@ imio/smartweb/common/tests/test_rest.py,sha256=cXbiQjXXHCaXBMCCVk_PjnjG6Z4A_EfVU
|
|
|
92
93
|
imio/smartweb/common/tests/test_robot.py,sha256=0Qdn5A8lXoVxQ9zE9IIhekSqfJJF003KiYqLVuDrros,955
|
|
93
94
|
imio/smartweb/common/tests/test_setup.py,sha256=TxoQZrESFOgGRBN9uO8FzEOx57G550YICBd-NzaGHvY,2102
|
|
94
95
|
imio/smartweb/common/tests/test_subscribers.py,sha256=AiJ5LTqGP2JKGJFYNeCCAMJL53DWO41iYQ9VYiA7DIA,1699
|
|
95
|
-
imio/smartweb/common/tests/test_taxonomy.py,sha256=
|
|
96
|
+
imio/smartweb/common/tests/test_taxonomy.py,sha256=z4WawTa_hIsW7kVqQSlGBDWSnkeHAa2CPYFkfjZ0oRg,2600
|
|
96
97
|
imio/smartweb/common/tests/test_text.py,sha256=Ll6TYnYxEBtpYe3T0yTOVT9wXWJaWGWW23eUV2jK92A,1570
|
|
97
98
|
imio/smartweb/common/tests/test_utils.py,sha256=S4QrNVvkHv3Oxp45fWQ65dmGsk7POgUn_d3kB8DPdBk,9314
|
|
98
99
|
imio/smartweb/common/tests/test_viewlets.py,sha256=NVEZWEmYo4K_-81Q6w-JTx2nT_3NBcJCl3946MAUnhU,1738
|
|
@@ -130,16 +131,16 @@ imio/smartweb/common/viewlets/analytics.pt,sha256=J6e8fWmusLWMKXg3cJbNYV0LPS9ONz
|
|
|
130
131
|
imio/smartweb/common/viewlets/colophon.pt,sha256=qaEUV2N5aZpAEcztLzK_R2eINBod1AByWxi11B1HYa0,1278
|
|
131
132
|
imio/smartweb/common/viewlets/colophon.py,sha256=Rt3ZPj2F0kcVG-vhl8JIyAHlVVJ8pktUn_zwYYD96Cs,586
|
|
132
133
|
imio/smartweb/common/viewlets/configure.zcml,sha256=uDHHrOeEGhrYYkvhasor_tXpHfdq1IT766h4T7H5kdQ,1758
|
|
133
|
-
imio/smartweb/common/viewlets/privacy.pt,sha256=
|
|
134
|
+
imio/smartweb/common/viewlets/privacy.pt,sha256=8UvH_blB5xyr6wD6GQj7856trVnNYg60GvR2Ry0tcjY,1436
|
|
134
135
|
imio/smartweb/common/viewlets/privacy.py,sha256=H752etTTIFCM0wTwjESQFl0PStJfCoSRfcePSUQOp8E,449
|
|
135
136
|
imio/smartweb/common/viewlets/skip_to_content.pt,sha256=FFfTxvRl8V52FzFE6In6B34ApgShNntvMp6F1qwfL0g,376
|
|
136
137
|
imio/smartweb/common/viewlets/skip_to_content.py,sha256=wm22NUf8Qh5uzz8p4vkLCdFNiDv9zUGAueRyXAIXQDo,496
|
|
137
138
|
imio/smartweb/common/widgets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
138
139
|
imio/smartweb/common/widgets/select.py,sha256=vfVdbecH7qDfJvWV6TfkpqocD6AA5G4yIq7XqSOuVNw,1142
|
|
139
|
-
imio.smartweb.common-1.2.
|
|
140
|
-
imio.smartweb.common-1.2.
|
|
141
|
-
imio.smartweb.common-1.2.
|
|
142
|
-
imio.smartweb.common-1.2.
|
|
143
|
-
imio.smartweb.common-1.2.
|
|
144
|
-
imio.smartweb.common-1.2.
|
|
145
|
-
imio.smartweb.common-1.2.
|
|
140
|
+
imio.smartweb.common-1.2.24.dist-info/LICENSE.GPL,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
|
141
|
+
imio.smartweb.common-1.2.24.dist-info/LICENSE.rst,sha256=5dd78Fdt0e-oM2ICBrMpjHnT8vEP-jhBDF7akXni6B4,655
|
|
142
|
+
imio.smartweb.common-1.2.24.dist-info/METADATA,sha256=QdbralXRlKnjgQLafud9nf99_4SgVRnLk0sTfbrKI58,16500
|
|
143
|
+
imio.smartweb.common-1.2.24.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
144
|
+
imio.smartweb.common-1.2.24.dist-info/namespace_packages.txt,sha256=Pg8AH8t9viMMW1hJbNZvTy_n2jXG2igIYUpon5RA4Js,19
|
|
145
|
+
imio.smartweb.common-1.2.24.dist-info/top_level.txt,sha256=ZktC0EGzThvMTAin9_q_41rzvvfMT2FYbP8pbhSLMSA,5
|
|
146
|
+
imio.smartweb.common-1.2.24.dist-info/RECORD,,
|
/imio.smartweb.common-1.2.22-py3.12-nspkg.pth → /imio.smartweb.common-1.2.24-py3.12-nspkg.pth
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{imio.smartweb.common-1.2.22.dist-info → imio.smartweb.common-1.2.24.dist-info}/top_level.txt
RENAMED
|
File without changes
|