c2cgeoportal-admin 2.9rc45__py3-none-any.whl → 2.9.0.346__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.
- c2cgeoportal_admin/__init__.py +1 -1
- c2cgeoportal_admin/lib/lingva_extractor.py +1 -1
- c2cgeoportal_admin/lib/ogcserver_synchronizer.py +1 -1
- c2cgeoportal_admin/routes.py +1 -1
- c2cgeoportal_admin/schemas/dimensions.py +1 -1
- c2cgeoportal_admin/schemas/functionalities.py +2 -2
- c2cgeoportal_admin/schemas/interfaces.py +1 -1
- c2cgeoportal_admin/schemas/metadata.py +1 -1
- c2cgeoportal_admin/schemas/restriction_areas.py +1 -1
- c2cgeoportal_admin/schemas/roles.py +1 -1
- c2cgeoportal_admin/schemas/treegroup.py +1 -1
- c2cgeoportal_admin/schemas/treeitem.py +1 -1
- c2cgeoportal_admin/subscribers.py +1 -1
- c2cgeoportal_admin/views/dimension_layers.py +1 -1
- c2cgeoportal_admin/views/functionalities.py +1 -1
- c2cgeoportal_admin/views/home.py +1 -1
- c2cgeoportal_admin/views/interfaces.py +1 -1
- c2cgeoportal_admin/views/layer_groups.py +1 -1
- c2cgeoportal_admin/views/layers.py +1 -1
- c2cgeoportal_admin/views/layers_cog.py +1 -1
- c2cgeoportal_admin/views/layers_vectortiles.py +1 -1
- c2cgeoportal_admin/views/layers_wms.py +1 -1
- c2cgeoportal_admin/views/layers_wmts.py +1 -1
- c2cgeoportal_admin/views/layertree.py +1 -1
- c2cgeoportal_admin/views/logged_views.py +1 -1
- c2cgeoportal_admin/views/logs.py +1 -1
- c2cgeoportal_admin/views/oauth2_clients.py +1 -1
- c2cgeoportal_admin/views/ogc_servers.py +1 -1
- c2cgeoportal_admin/views/restriction_areas.py +1 -1
- c2cgeoportal_admin/views/roles.py +1 -1
- c2cgeoportal_admin/views/themes.py +1 -1
- c2cgeoportal_admin/views/themes_ordering.py +1 -1
- c2cgeoportal_admin/views/treeitems.py +1 -1
- c2cgeoportal_admin/views/users.py +1 -1
- c2cgeoportal_admin/widgets.py +1 -1
- {c2cgeoportal_admin-2.9rc45.dist-info → c2cgeoportal_admin-2.9.0.346.dist-info}/METADATA +2 -1
- {c2cgeoportal_admin-2.9rc45.dist-info → c2cgeoportal_admin-2.9.0.346.dist-info}/RECORD +42 -42
- tests/test_lingva_extractor_config.py +1 -1
- tests/test_user.py +2 -2
- {c2cgeoportal_admin-2.9rc45.dist-info → c2cgeoportal_admin-2.9.0.346.dist-info}/WHEEL +0 -0
- {c2cgeoportal_admin-2.9rc45.dist-info → c2cgeoportal_admin-2.9.0.346.dist-info}/entry_points.txt +0 -0
- {c2cgeoportal_admin-2.9rc45.dist-info → c2cgeoportal_admin-2.9.0.346.dist-info}/top_level.txt +0 -0
c2cgeoportal_admin/__init__.py
CHANGED
c2cgeoportal_admin/routes.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2018-
|
|
1
|
+
# Copyright (c) 2018-2025, Camptocamp SA
|
|
2
2
|
# All rights reserved.
|
|
3
3
|
|
|
4
4
|
# Redistribution and use in source and binary forms, with or without
|
|
@@ -78,7 +78,7 @@ def functionalities_widget(model: type[Any]) -> colander.deferred:
|
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
def functionalities_schema_node(
|
|
81
|
-
prop: InstrumentedAttribute[Any], model: type[Any]
|
|
81
|
+
prop: InstrumentedAttribute[Any], model: type[Any] # pylint: disable=unsubscriptable-object
|
|
82
82
|
) -> colander.SequenceSchema:
|
|
83
83
|
"""Get the schema of the functionalities."""
|
|
84
84
|
|
c2cgeoportal_admin/views/home.py
CHANGED
c2cgeoportal_admin/views/logs.py
CHANGED
c2cgeoportal_admin/widgets.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: c2cgeoportal-admin
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.9.0.346
|
|
4
4
|
Summary: c2cgeoportal admin
|
|
5
5
|
Home-page: https://github.com/camptocamp/c2cgeoportal/
|
|
6
6
|
Author: Camptocamp
|
|
@@ -29,6 +29,7 @@ Requires-Dist: pyramid
|
|
|
29
29
|
Requires-Dist: pyramid-debugtoolbar
|
|
30
30
|
Requires-Dist: pyramid-jinja2
|
|
31
31
|
Requires-Dist: pyramid-tm
|
|
32
|
+
Requires-Dist: setuptools >=78.1.1
|
|
32
33
|
Requires-Dist: sqlalchemy
|
|
33
34
|
Requires-Dist: translationstring
|
|
34
35
|
Requires-Dist: zope.event
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
c2cgeoportal_admin/__init__.py,sha256=
|
|
1
|
+
c2cgeoportal_admin/__init__.py,sha256=ftJbmo6lwvVs3NODpAHfV_-aHB0Q2V3dRQZRrnkqvp4,5767
|
|
2
2
|
c2cgeoportal_admin/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
c2cgeoportal_admin/routes.py,sha256=
|
|
4
|
-
c2cgeoportal_admin/subscribers.py,sha256=
|
|
5
|
-
c2cgeoportal_admin/widgets.py,sha256=
|
|
3
|
+
c2cgeoportal_admin/routes.py,sha256=2MlpG2qt6wzyWTl2L3YF2ZZgPHn8Uua0eOw1JKsEaBY,5302
|
|
4
|
+
c2cgeoportal_admin/subscribers.py,sha256=LXu7E-4Tr2_CWuJ7qzUCZZsoN_Blaw8VgSFKAJZGYCk,2430
|
|
5
|
+
c2cgeoportal_admin/widgets.py,sha256=ZaI2bMjqMUpsEe800nFnJS0lA877iYM7J4chUxsUj5w,6092
|
|
6
6
|
c2cgeoportal_admin/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
-
c2cgeoportal_admin/lib/lingva_extractor.py,sha256=
|
|
8
|
-
c2cgeoportal_admin/lib/ogcserver_synchronizer.py,sha256=
|
|
7
|
+
c2cgeoportal_admin/lib/lingva_extractor.py,sha256=pUNp22_GD6PnCtKw9F4Op9G5tT1GgiIPUgaW0eKE7u8,3355
|
|
8
|
+
c2cgeoportal_admin/lib/ogcserver_synchronizer.py,sha256=IPRWfkbpFA7fgL7dN6E4CuC3H32ADimhbePvOfghq3Q,15536
|
|
9
9
|
c2cgeoportal_admin/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
-
c2cgeoportal_admin/schemas/dimensions.py,sha256
|
|
11
|
-
c2cgeoportal_admin/schemas/functionalities.py,sha256=
|
|
12
|
-
c2cgeoportal_admin/schemas/interfaces.py,sha256=
|
|
13
|
-
c2cgeoportal_admin/schemas/metadata.py,sha256=
|
|
14
|
-
c2cgeoportal_admin/schemas/restriction_areas.py,sha256=
|
|
15
|
-
c2cgeoportal_admin/schemas/roles.py,sha256=
|
|
16
|
-
c2cgeoportal_admin/schemas/treegroup.py,sha256=
|
|
17
|
-
c2cgeoportal_admin/schemas/treeitem.py,sha256=
|
|
10
|
+
c2cgeoportal_admin/schemas/dimensions.py,sha256=-g7HXU_VpkwVTsPANzsXLyIZvVZyDOD6OCNTRnbeKyA,2368
|
|
11
|
+
c2cgeoportal_admin/schemas/functionalities.py,sha256=Xctb4uQHL1WktNhVa08idrMkaBC9xTEBPl7YlEIBddg,3894
|
|
12
|
+
c2cgeoportal_admin/schemas/interfaces.py,sha256=k0jR_eweEdYm5IN_50AA7JD6y-on6UR2YFvX6SkR7ec,2662
|
|
13
|
+
c2cgeoportal_admin/schemas/metadata.py,sha256=5UwQCgNxTig5eULyEaL4wt42qlCTSMfJKR4zG5haLgQ,8897
|
|
14
|
+
c2cgeoportal_admin/schemas/restriction_areas.py,sha256=ohLJ3_GfQO5hOVZlBsDEQacU__tDFI3ULJRARMH8gE8,2682
|
|
15
|
+
c2cgeoportal_admin/schemas/roles.py,sha256=2kPGDRz9esy3GPl1Fr6_nsmH6ycyhGDHcbdERy3zCZw,2591
|
|
16
|
+
c2cgeoportal_admin/schemas/treegroup.py,sha256=EzoWcAWlUgxKstzgqntFBw6zZRyhheU6kWAkckwzIiM,7150
|
|
17
|
+
c2cgeoportal_admin/schemas/treeitem.py,sha256=1qGTEh7aOdf0jgQPyQYAO-iIfYf5Oq57QlXOzSdfXMc,2146
|
|
18
18
|
c2cgeoportal_admin/static/layertree.css,sha256=tk54KGW0yRRmdrY35gOCZG3qTsqWtGNEwvBYPQKhaVs,3177
|
|
19
19
|
c2cgeoportal_admin/static/navbar.css,sha256=QIaAQsb4n17OfwdKEQdmNDVPCP23Yu-oGW4xsSaHyW0,2307
|
|
20
20
|
c2cgeoportal_admin/static/theme.css,sha256=3knC4gpPnEwLF0-jEJze15C1hm1K87aCpxGyqdjrLxw,2068
|
|
@@ -42,27 +42,27 @@ c2cgeoportal_admin/templates/widgets/role_fields.pt,sha256=gVd9eRYaqw8fGmZauqEUS
|
|
|
42
42
|
c2cgeoportal_admin/templates/widgets/theme_fields.pt,sha256=68G1Ya8-Dc6pCeP-taQ0ofCIpnY_v0rouazkFhfQflU,3083
|
|
43
43
|
c2cgeoportal_admin/templates/widgets/user_fields.pt,sha256=twmajhUYL1xa47Eu-iATKifNPA5lu3SGpqdKajH6gL8,1753
|
|
44
44
|
c2cgeoportal_admin/views/__init__.py,sha256=jtI6CdoXJwizznjwb8ClYySgq4kbwhTIJYutSw89PAw,683
|
|
45
|
-
c2cgeoportal_admin/views/dimension_layers.py,sha256=
|
|
46
|
-
c2cgeoportal_admin/views/functionalities.py,sha256=
|
|
47
|
-
c2cgeoportal_admin/views/home.py,sha256=
|
|
48
|
-
c2cgeoportal_admin/views/interfaces.py,sha256=
|
|
49
|
-
c2cgeoportal_admin/views/layer_groups.py,sha256=
|
|
50
|
-
c2cgeoportal_admin/views/layers.py,sha256=
|
|
51
|
-
c2cgeoportal_admin/views/layers_cog.py,sha256=
|
|
52
|
-
c2cgeoportal_admin/views/layers_vectortiles.py,sha256=
|
|
53
|
-
c2cgeoportal_admin/views/layers_wms.py,sha256=
|
|
54
|
-
c2cgeoportal_admin/views/layers_wmts.py,sha256=
|
|
55
|
-
c2cgeoportal_admin/views/layertree.py,sha256=
|
|
56
|
-
c2cgeoportal_admin/views/logged_views.py,sha256=
|
|
57
|
-
c2cgeoportal_admin/views/logs.py,sha256=
|
|
58
|
-
c2cgeoportal_admin/views/oauth2_clients.py,sha256=
|
|
59
|
-
c2cgeoportal_admin/views/ogc_servers.py,sha256=
|
|
60
|
-
c2cgeoportal_admin/views/restriction_areas.py,sha256=
|
|
61
|
-
c2cgeoportal_admin/views/roles.py,sha256=
|
|
62
|
-
c2cgeoportal_admin/views/themes.py,sha256=
|
|
63
|
-
c2cgeoportal_admin/views/themes_ordering.py,sha256=
|
|
64
|
-
c2cgeoportal_admin/views/treeitems.py,sha256=
|
|
65
|
-
c2cgeoportal_admin/views/users.py,sha256=
|
|
45
|
+
c2cgeoportal_admin/views/dimension_layers.py,sha256=rulWJg1TzwlX_69oBCBVndj9KyeN_a6KJYPodhzV-Tk,2778
|
|
46
|
+
c2cgeoportal_admin/views/functionalities.py,sha256=373RiqjnXgiNV2n0K57s3FcVJexsYAzCTa5ctMU5bjU,4379
|
|
47
|
+
c2cgeoportal_admin/views/home.py,sha256=1JlQLeQ2onQh5ykQ5qtbq0J4Cj3R-xToIXp0unpyHck,1943
|
|
48
|
+
c2cgeoportal_admin/views/interfaces.py,sha256=uABOcsCc5Yfa2P-sFDt_ZfzSoE-1IPCIzkhz95-qR-U,3844
|
|
49
|
+
c2cgeoportal_admin/views/layer_groups.py,sha256=ysjDqHs9TGPuYQIB6rguQRD0P3qM4sgNmAnbrUfvDVk,4489
|
|
50
|
+
c2cgeoportal_admin/views/layers.py,sha256=FS5QHI5b0oKmQ5xjQGf-Sj471DBzqdX29GTKH8yhcJc,3248
|
|
51
|
+
c2cgeoportal_admin/views/layers_cog.py,sha256=y9Blx-04SrpcAgLvV2S9Z6wMJ8inj1rWmKTvHkgNwLw,5627
|
|
52
|
+
c2cgeoportal_admin/views/layers_vectortiles.py,sha256=j7zVCOLLSzaU_MgCH94tTvciYv4rSa4HwjRMys3qySw,5617
|
|
53
|
+
c2cgeoportal_admin/views/layers_wms.py,sha256=TnMgJ8mI7dmSjVj3zFBVBg7I6M-QX7PKT4rkThzzMl8,8335
|
|
54
|
+
c2cgeoportal_admin/views/layers_wmts.py,sha256=z6NY17qCKv7SjY4dw6SNUORlin4bmlGzkehc4IDex9Q,8080
|
|
55
|
+
c2cgeoportal_admin/views/layertree.py,sha256=_9EqZ31pN9lzk1HFy3SuKJRMgW7jIuw16f-AqbbjLL8,8629
|
|
56
|
+
c2cgeoportal_admin/views/logged_views.py,sha256=YIKQmXS333CkAU7aWHsRzxQ0naMv9g9BHNaz0Eb4t_c,3335
|
|
57
|
+
c2cgeoportal_admin/views/logs.py,sha256=aaEHgkr2u00vFFPmdK7iT8G8iMqJXg_HjTgaNp_a24s,3776
|
|
58
|
+
c2cgeoportal_admin/views/oauth2_clients.py,sha256=fdqG6_Dlm_ZjITFmZoZYrtSktKYpyoDsB_alng2KKxE,3840
|
|
59
|
+
c2cgeoportal_admin/views/ogc_servers.py,sha256=hjQalj-dTi89Jx-hWLQW506eIeLC0AFOO5RrTlkaP6Q,9716
|
|
60
|
+
c2cgeoportal_admin/views/restriction_areas.py,sha256=TZDnPyyyClsSis0LKhYyCzY8EWrG4X4nL7JL1BTauuw,6122
|
|
61
|
+
c2cgeoportal_admin/views/roles.py,sha256=Mv_X4u67TGW4Sx_iJZrTrAIsAJ5MHhSJYcQ2ulu9NQ4,6387
|
|
62
|
+
c2cgeoportal_admin/views/themes.py,sha256=6DL0bTeWycn9RN9DL9-0o5e8UFGrDco8zTdwOcNZ3HQ,6267
|
|
63
|
+
c2cgeoportal_admin/views/themes_ordering.py,sha256=JbCat8TR6Y86sDchSiGcoQ8D0Ef46783RGz4tmHU_tw,5689
|
|
64
|
+
c2cgeoportal_admin/views/treeitems.py,sha256=EJNlMYUfVAEFJQgPO1wuog2aIt_BeoTv8gdhNwhRMbs,4038
|
|
65
|
+
c2cgeoportal_admin/views/users.py,sha256=dRDtr4rymqx4yCA8L0lQ0CWfChFTahpqUk06hql5kBI,6147
|
|
66
66
|
tests/__init__.py,sha256=weLUoRCG6zIlhW7Rfr7QEA0Ju-gYLfBekRcTCb5lTZ4,9785
|
|
67
67
|
tests/conftest.py,sha256=vowo5nwQ3DLSfost3ndihoYJFuhuhpoK__-B_ffsSLY,2646
|
|
68
68
|
tests/test_edit_url.py,sha256=Mo_Vo5xvdpPasfjvhQUif5F3nKVpJ6GQJ_x_Hj5VNY8,4494
|
|
@@ -77,7 +77,7 @@ tests/test_layers_wmts.py,sha256=7zye_pZ_e0RyJdoT8oeHKPoYJMKWfTg0K8lEgMIu77Q,121
|
|
|
77
77
|
tests/test_layertree.py,sha256=Dxe10OwuilQ-AEgVIDU4Ns9U6PQ4kPWTxwItdBE7nSg,11335
|
|
78
78
|
tests/test_learn.py,sha256=gQwe-Bim0eihZH0rbBWDn6_rIBxvQD_lyu9MlOljupM,2307
|
|
79
79
|
tests/test_left_menu.py,sha256=xnlv5sD0k3wpCChKCnbpYRN0TA895pg8k6wVvjf99-4,919
|
|
80
|
-
tests/test_lingva_extractor_config.py,sha256=
|
|
80
|
+
tests/test_lingva_extractor_config.py,sha256=NwUI7xwrBpPv9ccy3fnb7CcHDVAYsahbSLgUOxV5Qbk,2495
|
|
81
81
|
tests/test_logs.py,sha256=pxzHyOElW-x2-M3yoMEsHIZ3nrm5EptDAAAGfziEfv4,3132
|
|
82
82
|
tests/test_main.py,sha256=_gUdMrMMAEzvGIf1QwkoHQkd0eBACz05ycTidCHP5Ao,365
|
|
83
83
|
tests/test_metadatas.py,sha256=bVNxvZRKNRMmjQGr7Al1d4H85EjEaoesRpxytyld4Fw,12088
|
|
@@ -88,10 +88,10 @@ tests/test_role.py,sha256=2mbi0RwTESnIZIuUTxMi275ONOcPNKWN-ni7b00SO90,12804
|
|
|
88
88
|
tests/test_themes.py,sha256=uhzHe2TbuNoLnL4VdYATPnOqtnZWWPKsvUTq6GUxwiU,16207
|
|
89
89
|
tests/test_themes_ordering.py,sha256=T4Esr0C3EN5UdeEyYLa4ePvEn-bx3RNPkGBK3lDFoBo,2243
|
|
90
90
|
tests/test_treegroup.py,sha256=Plv119G4TWlurWLE7Z1mWGeHHPScK_fWKcDmDzMUlIU,576
|
|
91
|
-
tests/test_user.py,sha256=
|
|
91
|
+
tests/test_user.py,sha256=IDf7MHruL1XjT-PS-NNAD7FNTl4QbjZtevRk2yJdE-Q,13141
|
|
92
92
|
tests/themes_ordering.py,sha256=UdydcRIzWC6RRnTMfl2JM_250DHuAhGC7rijHqfy7lk,1342
|
|
93
|
-
c2cgeoportal_admin-2.
|
|
94
|
-
c2cgeoportal_admin-2.
|
|
95
|
-
c2cgeoportal_admin-2.
|
|
96
|
-
c2cgeoportal_admin-2.
|
|
97
|
-
c2cgeoportal_admin-2.
|
|
93
|
+
c2cgeoportal_admin-2.9.0.346.dist-info/METADATA,sha256=HcWqMZ8CLdXLYmDVCDjIl4ZDBeAd7iGEEPeh8_e3SHE,1419
|
|
94
|
+
c2cgeoportal_admin-2.9.0.346.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
95
|
+
c2cgeoportal_admin-2.9.0.346.dist-info/entry_points.txt,sha256=iRK5w2E-PVbqHx48OuxznFEXTpoOdJyx6kjpaca0Fxc,164
|
|
96
|
+
c2cgeoportal_admin-2.9.0.346.dist-info/top_level.txt,sha256=DgcTJgTvpJUB8HqwYB14PdLBPAOAFk0B8oqnSTFoAU4,25
|
|
97
|
+
c2cgeoportal_admin-2.9.0.346.dist-info/RECORD,,
|
tests/test_user.py
CHANGED
|
@@ -214,7 +214,7 @@ class TestUser(AbstractViewsTests):
|
|
|
214
214
|
@patch("c2cgeoportal_admin.views.users.pwgenerator.generate")
|
|
215
215
|
def test_duplicate(self, pw_gen_mock, smtp_mock, users_test_data, test_app, dbsession):
|
|
216
216
|
sender_mock = MagicMock()
|
|
217
|
-
smtp_mock.return_value = sender_mock
|
|
217
|
+
smtp_mock.return_value.__enter__.return_value = sender_mock
|
|
218
218
|
pw_gen_mock.return_value = "basile"
|
|
219
219
|
from c2cgeoportal_commons.models.static import User
|
|
220
220
|
|
|
@@ -259,7 +259,7 @@ class TestUser(AbstractViewsTests):
|
|
|
259
259
|
from c2cgeoportal_commons.models.static import Log, User
|
|
260
260
|
|
|
261
261
|
sender_mock = MagicMock()
|
|
262
|
-
smtp_mock.return_value = sender_mock
|
|
262
|
+
smtp_mock.return_value.__enter__.return_value = sender_mock
|
|
263
263
|
pw_gen_mock.return_value = "basile"
|
|
264
264
|
|
|
265
265
|
roles = users_test_data["roles"]
|
|
File without changes
|
{c2cgeoportal_admin-2.9rc45.dist-info → c2cgeoportal_admin-2.9.0.346.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{c2cgeoportal_admin-2.9rc45.dist-info → c2cgeoportal_admin-2.9.0.346.dist-info}/top_level.txt
RENAMED
|
File without changes
|