rer.linkmap 1.0.1__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.
Files changed (52) hide show
  1. rer/linkmap/__init__.py +13 -0
  2. rer/linkmap/browser/__init__.py +0 -0
  3. rer/linkmap/browser/configure.zcml +21 -0
  4. rer/linkmap/browser/views.py +109 -0
  5. rer/linkmap/configure.zcml +28 -0
  6. rer/linkmap/content/__init__.py +0 -0
  7. rer/linkmap/controlpanels/__init__.py +0 -0
  8. rer/linkmap/controlpanels/configure.zcml +14 -0
  9. rer/linkmap/controlpanels/settings.py +189 -0
  10. rer/linkmap/dependencies.zcml +7 -0
  11. rer/linkmap/indexers/__init__.py +0 -0
  12. rer/linkmap/indexers/configure.zcml +7 -0
  13. rer/linkmap/interfaces.py +7 -0
  14. rer/linkmap/linkmap.py +143 -0
  15. rer/linkmap/locales/__init__.py +0 -0
  16. rer/linkmap/locales/__main__.py +69 -0
  17. rer/linkmap/locales/en/LC_MESSAGES/redturtle.linkmap.po +45 -0
  18. rer/linkmap/locales/it/LC_MESSAGES/redturtle.linkmap.po +468 -0
  19. rer/linkmap/locales/redturtle.linkmap.pot +471 -0
  20. rer/linkmap/permissions.zcml +5 -0
  21. rer/linkmap/profiles/default/browserlayer.xml +6 -0
  22. rer/linkmap/profiles/default/catalog.xml +13 -0
  23. rer/linkmap/profiles/default/controlpanel.xml +20 -0
  24. rer/linkmap/profiles/default/diff_tool.xml +6 -0
  25. rer/linkmap/profiles/default/metadata.xml +7 -0
  26. rer/linkmap/profiles/default/registry/main.xml +8 -0
  27. rer/linkmap/profiles/default/repositorytool.xml +6 -0
  28. rer/linkmap/profiles/default/rolemap.xml +6 -0
  29. rer/linkmap/profiles/default/types/.gitkeep +0 -0
  30. rer/linkmap/profiles/default/types.xml +10 -0
  31. rer/linkmap/profiles/uninstall/browserlayer.xml +6 -0
  32. rer/linkmap/profiles.zcml +32 -0
  33. rer/linkmap/restapi/__init__.py +0 -0
  34. rer/linkmap/restapi/configure.zcml +8 -0
  35. rer/linkmap/restapi/services/__init__.py +0 -0
  36. rer/linkmap/restapi/services/configure.zcml +13 -0
  37. rer/linkmap/restapi/services/controlpanel.py +19 -0
  38. rer/linkmap/serializers/__init__.py +0 -0
  39. rer/linkmap/serializers/configure.zcml +10 -0
  40. rer/linkmap/serializers/summary.py +10 -0
  41. rer/linkmap/setuphandlers/__init__.py +17 -0
  42. rer/linkmap/testing.py +49 -0
  43. rer/linkmap/upgrades/__init__.py +0 -0
  44. rer/linkmap/upgrades/configure.zcml +21 -0
  45. rer/linkmap/vocabularies/__init__.py +0 -0
  46. rer/linkmap/vocabularies/configure.zcml +5 -0
  47. rer_linkmap-1.0.1.dist-info/METADATA +61 -0
  48. rer_linkmap-1.0.1.dist-info/RECORD +52 -0
  49. rer_linkmap-1.0.1.dist-info/WHEEL +4 -0
  50. rer_linkmap-1.0.1.dist-info/entry_points.txt +2 -0
  51. rer_linkmap-1.0.1.dist-info/licenses/LICENSE.GPL +339 -0
  52. rer_linkmap-1.0.1.dist-info/licenses/LICENSE.md +15 -0
@@ -0,0 +1,471 @@
1
+ #--- PLEASE EDIT THE LINES BELOW CORRECTLY ---
2
+ #SOME DESCRIPTIVE TITLE.
3
+ #FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4
+ msgid ""
5
+ msgstr ""
6
+ "Project-Id-Version: PACKAGE VERSION\n"
7
+ "POT-Creation-Date: 2026-06-18 00:00+0000\n"
8
+ "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
9
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
10
+ "Language-Team: LANGUAGE <LL@li.org>\n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=utf-8\n"
13
+ "Content-Transfer-Encoding: 8bit\n"
14
+ "Plural-Forms: nplurals=1; plural=0\n"
15
+ "Language-Code: en\n"
16
+ "Language-Name: English\n"
17
+ "Preferred-Encodings: utf-8 latin1\n"
18
+ "Domain: rer.linkmap\n"
19
+
20
+ msgid "linkmap_controlpanel_title"
21
+ msgstr ""
22
+
23
+ msgid "expose_json_title"
24
+ msgstr ""
25
+
26
+ msgid "expose_json_description"
27
+ msgstr ""
28
+
29
+ msgid "expose_xml_title"
30
+ msgstr ""
31
+
32
+ msgid "expose_xml_description"
33
+ msgstr ""
34
+
35
+ msgid "data_ultima_modifica_title"
36
+ msgstr ""
37
+
38
+ msgid "data_ultima_modifica_description"
39
+ msgstr ""
40
+
41
+ msgid "amministrazione_trasparente_title"
42
+ msgstr ""
43
+
44
+ msgid "amministrazione_trasparente_description"
45
+ msgstr ""
46
+
47
+ msgid "disposizioni_generali_title"
48
+ msgstr ""
49
+
50
+ msgid "disposizioni_generali_description"
51
+ msgstr ""
52
+
53
+ msgid "consulenti_collaboratori_title"
54
+ msgstr ""
55
+
56
+ msgid "consulenti_collaboratori_description"
57
+ msgstr ""
58
+
59
+ msgid "bandi_di_concorso_title"
60
+ msgstr ""
61
+
62
+ msgid "bandi_di_concorso_description"
63
+ msgstr ""
64
+
65
+ msgid "enti_controllati_title"
66
+ msgstr ""
67
+
68
+ msgid "enti_controllati_description"
69
+ msgstr ""
70
+
71
+ msgid "sovvenzioni_title"
72
+ msgstr ""
73
+
74
+ msgid "sovvenzioni_description"
75
+ msgstr ""
76
+
77
+ msgid "beni_immobili_title"
78
+ msgstr ""
79
+
80
+ msgid "beni_immobili_description"
81
+ msgstr ""
82
+
83
+ msgid "opere_pubbliche_title"
84
+ msgstr ""
85
+
86
+ msgid "opere_pubbliche_description"
87
+ msgstr ""
88
+
89
+ msgid "organizzazione_title"
90
+ msgstr ""
91
+
92
+ msgid "organizzazione_description"
93
+ msgstr ""
94
+
95
+ msgid "personale_title"
96
+ msgstr ""
97
+
98
+ msgid "personale_description"
99
+ msgstr ""
100
+
101
+ msgid "performance_title"
102
+ msgstr ""
103
+
104
+ msgid "performance_description"
105
+ msgstr ""
106
+
107
+ msgid "attivita_e_procedimenti_title"
108
+ msgstr ""
109
+
110
+ msgid "attivita_e_procedimenti_description"
111
+ msgstr ""
112
+
113
+ msgid "bandi_gara_e_contratti_title"
114
+ msgstr ""
115
+
116
+ msgid "bandi_gara_e_contratti_description"
117
+ msgstr ""
118
+
119
+ msgid "bilanci_title"
120
+ msgstr ""
121
+
122
+ msgid "bilanci_description"
123
+ msgstr ""
124
+
125
+ msgid "controlli_e_rilievi_title"
126
+ msgstr ""
127
+
128
+ msgid "controlli_e_rilievi_description"
129
+ msgstr ""
130
+
131
+ msgid "pagamenti_title"
132
+ msgstr ""
133
+
134
+ msgid "pagamenti_description"
135
+ msgstr ""
136
+
137
+ msgid "altri_contenuti_title"
138
+ msgstr ""
139
+
140
+ msgid "altri_contenuti_description"
141
+ msgstr ""
142
+
143
+ msgid "provvedimenti_title"
144
+ msgstr ""
145
+
146
+ msgid "provvedimenti_description"
147
+ msgstr ""
148
+
149
+ msgid "servizi_erogati_title"
150
+ msgstr ""
151
+
152
+ msgid "servizi_erogati_description"
153
+ msgstr ""
154
+
155
+ msgid "informazioni_ambientali_title"
156
+ msgstr ""
157
+
158
+ msgid "informazioni_ambientali_description"
159
+ msgstr ""
160
+
161
+ msgid "interventi_straordinari_title"
162
+ msgstr ""
163
+
164
+ msgid "interventi_straordinari_description"
165
+ msgstr ""
166
+
167
+ msgid "pianificazione_governo_territorio_title"
168
+ msgstr ""
169
+
170
+ msgid "pianificazione_governo_territorio_description"
171
+ msgstr ""
172
+
173
+ msgid "strutture_sanitarie_accreditate_title"
174
+ msgstr ""
175
+
176
+ msgid "strutture_sanitarie_accreditate_description"
177
+ msgstr ""
178
+
179
+ msgid "atti_generali_title"
180
+ msgstr ""
181
+
182
+ msgid "atti_generali_description"
183
+ msgstr ""
184
+
185
+ msgid "rischi_corruttivi_e_trasparenza_title"
186
+ msgstr ""
187
+
188
+ msgid "rischi_corruttivi_e_trasparenza_description"
189
+ msgstr ""
190
+
191
+ msgid "piano_integrato_attivita_organizzazione_title"
192
+ msgstr ""
193
+
194
+ msgid "piano_integrato_attivita_organizzazione_description"
195
+ msgstr ""
196
+
197
+ msgid "piano_triennale_prevenzione_corruzione_e_trasparenza_title"
198
+ msgstr ""
199
+
200
+ msgid "piano_triennale_prevenzione_corruzione_e_trasparenza_description"
201
+ msgstr ""
202
+
203
+ msgid "titolari_incarichi_collaborazione_consulenza_title"
204
+ msgstr ""
205
+
206
+ msgid "titolari_incarichi_collaborazione_consulenza_description"
207
+ msgstr ""
208
+
209
+ msgid "enti_diritto_privato_controllati_title"
210
+ msgstr ""
211
+
212
+ msgid "enti_diritto_privato_controllati_description"
213
+ msgstr ""
214
+
215
+ msgid "rappresentazione_grafica_title"
216
+ msgstr ""
217
+
218
+ msgid "rappresentazione_grafica_description"
219
+ msgstr ""
220
+
221
+ msgid "societa_partecipate_title"
222
+ msgstr ""
223
+
224
+ msgid "societa_partecipate_description"
225
+ msgstr ""
226
+
227
+ msgid "criteri_e_modalita_title"
228
+ msgstr ""
229
+
230
+ msgid "criteri_e_modalita_description"
231
+ msgstr ""
232
+
233
+ msgid "atti_di_concessione_title"
234
+ msgstr ""
235
+
236
+ msgid "atti_di_concessione_description"
237
+ msgstr ""
238
+
239
+ msgid "patrimonio_immobiliare_title"
240
+ msgstr ""
241
+
242
+ msgid "patrimonio_immobiliare_description"
243
+ msgstr ""
244
+
245
+ msgid "canoni_locazione_o_affitto_title"
246
+ msgstr ""
247
+
248
+ msgid "canoni_locazione_o_affitto_description"
249
+ msgstr ""
250
+
251
+ msgid "tempi_costi_opere_pubbliche_title"
252
+ msgstr ""
253
+
254
+ msgid "tempi_costi_opere_pubbliche_description"
255
+ msgstr ""
256
+
257
+ msgid "atti_programmazione_opere_pubbliche_title"
258
+ msgstr ""
259
+
260
+ msgid "atti_programmazione_opere_pubbliche_description"
261
+ msgstr ""
262
+
263
+ msgid "organi_di_indirizzo_politico_amministativo_title"
264
+ msgstr ""
265
+
266
+ msgid "organi_di_indirizzo_politico_amministativo_description"
267
+ msgstr ""
268
+
269
+ msgid "telefono_e_posta_elettronica_title"
270
+ msgstr ""
271
+
272
+ msgid "telefono_e_posta_elettronica_description"
273
+ msgstr ""
274
+
275
+ msgid "sanzioni_mancata_comunicazione_dati_title"
276
+ msgstr ""
277
+
278
+ msgid "sanzioni_mancata_comunicazione_dati_description"
279
+ msgstr ""
280
+
281
+ msgid "articolazione_uffici_title"
282
+ msgstr ""
283
+
284
+ msgid "articolazione_uffici_description"
285
+ msgstr ""
286
+
287
+ msgid "incarichi_amministrativi_di_vertice_title"
288
+ msgstr ""
289
+
290
+ msgid "incarichi_amministrativi_di_vertice_description"
291
+ msgstr ""
292
+
293
+ msgid "dirigenti_cessati_title"
294
+ msgstr ""
295
+
296
+ msgid "dirigenti_cessati_description"
297
+ msgstr ""
298
+
299
+ msgid "incarichi_conferiti_e_autorizzati_ai_dipendenti_title"
300
+ msgstr ""
301
+
302
+ msgid "incarichi_conferiti_e_autorizzati_ai_dipendenti_description"
303
+ msgstr ""
304
+
305
+ msgid "contrattazione_integrativa_title"
306
+ msgstr ""
307
+
308
+ msgid "contrattazione_integrativa_description"
309
+ msgstr ""
310
+
311
+ msgid "titolari_incarichi_dirigenziali_non_generali_title"
312
+ msgstr ""
313
+
314
+ msgid "titolari_incarichi_dirigenziali_non_generali_description"
315
+ msgstr ""
316
+
317
+ msgid "dotazione_organica_title"
318
+ msgstr ""
319
+
320
+ msgid "dotazione_organica_description"
321
+ msgstr ""
322
+
323
+ msgid "tassi_di_assenza_title"
324
+ msgstr ""
325
+
326
+ msgid "tassi_di_assenza_description"
327
+ msgstr ""
328
+
329
+ msgid "contrattazione_collettiva_title"
330
+ msgstr ""
331
+
332
+ msgid "contrattazione_collettiva_description"
333
+ msgstr ""
334
+
335
+ msgid "ammontare_complessivo_dei_premi_title"
336
+ msgstr ""
337
+
338
+ msgid "ammontare_complessivo_dei_premi_description"
339
+ msgstr ""
340
+
341
+ msgid "dati_relativi_ai_premi_title"
342
+ msgstr ""
343
+
344
+ msgid "dati_relativi_ai_premi_description"
345
+ msgstr ""
346
+
347
+ msgid "tipologie_di_procedimento_title"
348
+ msgstr ""
349
+
350
+ msgid "tipologie_di_procedimento_description"
351
+ msgstr ""
352
+
353
+ msgid "bilancio_preventivo_e_consuntivo_title"
354
+ msgstr ""
355
+
356
+ msgid "bilancio_preventivo_e_consuntivo_description"
357
+ msgstr ""
358
+
359
+ msgid "budget_title"
360
+ msgstr ""
361
+
362
+ msgid "budget_description"
363
+ msgstr ""
364
+
365
+ msgid "nuclei_di_valutazione_title"
366
+ msgstr ""
367
+
368
+ msgid "nuclei_di_valutazione_description"
369
+ msgstr ""
370
+
371
+ msgid "corte_dei_conti_title"
372
+ msgstr ""
373
+
374
+ msgid "corte_dei_conti_description"
375
+ msgstr ""
376
+
377
+ msgid "organi_revisione_amministrativa_e_contabile_title"
378
+ msgstr ""
379
+
380
+ msgid "organi_revisione_amministrativa_e_contabile_description"
381
+ msgstr ""
382
+
383
+ msgid "dati_sui_pagamenti_title"
384
+ msgstr ""
385
+
386
+ msgid "dati_sui_pagamenti_description"
387
+ msgstr ""
388
+
389
+ msgid "tempestivita_dei_pagamenti_title"
390
+ msgstr ""
391
+
392
+ msgid "tempestivita_dei_pagamenti_description"
393
+ msgstr ""
394
+
395
+ msgid "IBAN_e_pagamenti_informatici_title"
396
+ msgstr ""
397
+
398
+ msgid "IBAN_e_pagamenti_informatici_description"
399
+ msgstr ""
400
+
401
+ msgid "prevenzione_della_corruzione_title"
402
+ msgstr ""
403
+
404
+ msgid "prevenzione_della_corruzione_description"
405
+ msgstr ""
406
+
407
+ msgid "accessibilita_e_catalogo_dati_title"
408
+ msgstr ""
409
+
410
+ msgid "accessibilita_e_catalogo_dati_description"
411
+ msgstr ""
412
+
413
+ msgid "accesso_civico_title"
414
+ msgstr ""
415
+
416
+ msgid "accesso_civico_description"
417
+ msgstr ""
418
+
419
+ msgid "dati_ulteriori_title"
420
+ msgstr ""
421
+
422
+ msgid "dati_ulteriori_description"
423
+ msgstr ""
424
+
425
+ msgid "provvedimenti_organo_indirizzo_politico_title"
426
+ msgstr ""
427
+
428
+ msgid "provvedimenti_organo_indirizzo_politico_description"
429
+ msgstr ""
430
+
431
+ msgid "provvedimenti_dirigenti_amministrativi_title"
432
+ msgstr ""
433
+
434
+ msgid "provvedimenti_dirigenti_amministrativi_description"
435
+ msgstr ""
436
+
437
+ msgid "servizi_e_standard_di_qualita_title"
438
+ msgstr ""
439
+
440
+ msgid "servizi_e_standard_di_qualita_description"
441
+ msgstr ""
442
+
443
+ msgid "costi_contabilizzati_title"
444
+ msgstr ""
445
+
446
+ msgid "costi_contabilizzati_description"
447
+ msgstr ""
448
+
449
+ msgid "servizi_in_rete_title"
450
+ msgstr ""
451
+
452
+ msgid "servizi_in_rete_description"
453
+ msgstr ""
454
+
455
+ msgid "class_action_title"
456
+ msgstr ""
457
+
458
+ msgid "class_action_description"
459
+ msgstr ""
460
+
461
+ msgid "liste_di_attesa_title"
462
+ msgstr ""
463
+
464
+ msgid "liste_di_attesa_description"
465
+ msgstr ""
466
+
467
+ msgid "invalid_date"
468
+ msgstr ""
469
+
470
+ msgid "invalid_url_field"
471
+ msgstr ""
@@ -0,0 +1,5 @@
1
+ <configure xmlns="http://namespaces.zope.org/zope">
2
+
3
+ <!-- -*- extra stuff goes here -*- -->
4
+
5
+ </configure>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <layers>
3
+ <layer interface="rer.linkmap.interfaces.IBrowserLayer"
4
+ name="rer.linkmap"
5
+ />
6
+ </layers>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <object name="portal_catalog">
3
+ <!-- Index
4
+ <index meta_type="FieldIndex"
5
+ name="industry"
6
+ >
7
+ <indexed_attr value="industry" />
8
+ </index>
9
+ -->
10
+ <!-- Metadata
11
+ <column value="industry" />
12
+ -->
13
+ </object>
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <object xmlns:i18n="http://xml.zope.org/namespaces/i18n"
3
+ name="portal_controlpanel"
4
+ i18n:domain="rer.linkmap"
5
+ >
6
+
7
+ <configlet action_id="RerLinkMapSettings"
8
+ appId="rer.linkmap"
9
+ category="Products"
10
+ condition_expr=""
11
+ icon_expr=""
12
+ title="Configurazione at_map"
13
+ url_expr="string:${portal_url}/@@linkmap-settings"
14
+ visible="True"
15
+ i18n:attributes="title"
16
+ >
17
+ <permission>Manage portal</permission>
18
+ </configlet>
19
+
20
+ </object>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <object>
3
+ <difftypes>
4
+
5
+ </difftypes>
6
+ </object>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <metadata>
3
+ <version>1000</version>
4
+ <dependencies>
5
+ <dependency>profile-plone.volto:default</dependency>
6
+ </dependencies>
7
+ </metadata>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <registry xmlns:i18n="http://xml.zope.org/namespaces/i18n"
3
+ i18n:domain="rer.linkmap"
4
+ >
5
+
6
+ <records interface="rer.linkmap.controlpanels.settings.ILinkMapSettings" />
7
+
8
+ </registry>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <repositorytool>
3
+ <policymap>
4
+
5
+ </policymap>
6
+ </repositorytool>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <rolemap>
3
+ <permissions>
4
+ <!-- -*- extra stuff goes here -*- -->
5
+ </permissions>
6
+ </rolemap>
File without changes
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <object meta_type="Plone Types Tool"
3
+ name="portal_types"
4
+ >
5
+ <!--
6
+ <object meta_type="Dexterity FTI"
7
+ name="MyType"
8
+ />
9
+ -->
10
+ </object>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <layers>
3
+ <layer name="rer.linkmap"
4
+ remove="true"
5
+ />
6
+ </layers>
@@ -0,0 +1,32 @@
1
+ <configure
2
+ xmlns="http://namespaces.zope.org/zope"
3
+ xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
4
+ i18n_domain="rer.linkmap"
5
+ >
6
+
7
+ <genericsetup:registerProfile
8
+ name="default"
9
+ title="rer.linkmap"
10
+ description="Package to configure a new rer.linkmap site"
11
+ provides="Products.GenericSetup.interfaces.EXTENSION"
12
+ directory="profiles/default"
13
+ />
14
+
15
+ <genericsetup:registerProfile
16
+ name="uninstall"
17
+ title="rer.linkmap: Uninstall"
18
+ description="Uninstall rer.linkmap setup."
19
+ provides="Products.GenericSetup.interfaces.EXTENSION"
20
+ directory="profiles/uninstall"
21
+ />
22
+
23
+ <!-- Hide Uninstall Profile-->
24
+ <utility
25
+ factory=".setuphandlers.HiddenProfiles"
26
+ name="rer.linkmap"
27
+ />
28
+
29
+
30
+ <include package=".upgrades" />
31
+
32
+ </configure>
File without changes
@@ -0,0 +1,8 @@
1
+ <configure
2
+ xmlns="http://namespaces.zope.org/zope"
3
+ xmlns:zcml="http://namespaces.zope.org/zcml"
4
+ >
5
+
6
+ <include package=".services" />
7
+
8
+ </configure>
File without changes
@@ -0,0 +1,13 @@
1
+ <configure
2
+ xmlns="http://namespaces.zope.org/zope"
3
+ xmlns:plone="http://namespaces.plone.org/plone"
4
+ xmlns:zcml="http://namespaces.zope.org/zcml"
5
+ >
6
+
7
+ <adapter
8
+ factory=".controlpanel.LinkMapSettings"
9
+ provides="rer.linkmap.restapi.services.controlpanel.ILinkMapSettingsControlpanel"
10
+ name="linkmap-settings"
11
+ />
12
+
13
+ </configure>
@@ -0,0 +1,19 @@
1
+ from plone.restapi.controlpanels import RegistryConfigletPanel
2
+ from plone.restapi.controlpanels.interfaces import IControlpanel
3
+ from rer.linkmap.controlpanels.settings import ILinkMapSettings
4
+ from zope.component import adapter
5
+ from zope.interface import implementer
6
+ from zope.interface import Interface
7
+
8
+
9
+ class ILinkMapSettingsControlpanel(IControlpanel):
10
+ """Marker interface for LinkMap settings control panel"""
11
+
12
+
13
+ @adapter(Interface, Interface)
14
+ @implementer(ILinkMapSettingsControlpanel)
15
+ class LinkMapSettings(RegistryConfigletPanel):
16
+ schema = ILinkMapSettings
17
+ configlet_id = "RerLinkMapSettings"
18
+ configlet_category_id = "Products"
19
+ schema_prefix = None
File without changes
@@ -0,0 +1,10 @@
1
+ <configure xmlns="http://namespaces.zope.org/zope">
2
+
3
+ <!-- Serializers -->
4
+
5
+ <utility
6
+ factory=".summary.JSONSummarySerializerMetadata"
7
+ name="rer.linkmap.summary_serializer_metadata"
8
+ />
9
+
10
+ </configure>
@@ -0,0 +1,10 @@
1
+ from plone.restapi.interfaces import IJSONSummarySerializerMetadata
2
+ from zope.interface import implementer
3
+
4
+
5
+ @implementer(IJSONSummarySerializerMetadata)
6
+ class JSONSummarySerializerMetadata:
7
+ """Additional metadata to be exposed on listings."""
8
+
9
+ def default_metadata_fields(self):
10
+ return {"image_field", "image_scales", "effective", "Subject"}