collective.tiles.carousel 1.0.4__py3-none-any.whl → 1.1.0__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.
- collective/tiles/carousel/tests/robot/test_example.robot +9 -11
- collective/tiles/carousel/tile.py +12 -2
- {collective.tiles.carousel-1.0.4.dist-info → collective.tiles.carousel-1.1.0.dist-info}/METADATA +14 -7
- {collective.tiles.carousel-1.0.4.dist-info → collective.tiles.carousel-1.1.0.dist-info}/RECORD +11 -11
- {collective.tiles.carousel-1.0.4.dist-info → collective.tiles.carousel-1.1.0.dist-info}/WHEEL +1 -1
- /collective.tiles.carousel-1.0.4-py3.11-nspkg.pth → /collective.tiles.carousel-1.1.0-py3.12-nspkg.pth +0 -0
- {collective.tiles.carousel-1.0.4.dist-info → collective.tiles.carousel-1.1.0.dist-info}/LICENSE.GPL +0 -0
- {collective.tiles.carousel-1.0.4.dist-info → collective.tiles.carousel-1.1.0.dist-info}/LICENSE.rst +0 -0
- {collective.tiles.carousel-1.0.4.dist-info → collective.tiles.carousel-1.1.0.dist-info}/entry_points.txt +0 -0
- {collective.tiles.carousel-1.0.4.dist-info → collective.tiles.carousel-1.1.0.dist-info}/namespace_packages.txt +0 -0
- {collective.tiles.carousel-1.0.4.dist-info → collective.tiles.carousel-1.1.0.dist-info}/top_level.txt +0 -0
@@ -23,13 +23,12 @@
|
|
23
23
|
|
24
24
|
*** Settings *****************************************************************
|
25
25
|
|
26
|
-
Resource plone/app/robotframework/
|
27
|
-
Resource plone/app/robotframework/keywords.robot
|
26
|
+
Resource plone/app/robotframework/browser.robot
|
28
27
|
|
29
28
|
Library Remote ${PLONE_URL}/RobotRemote
|
30
29
|
|
31
|
-
Test Setup
|
32
|
-
Test Teardown
|
30
|
+
Test Setup Run keywords Plone Test Setup
|
31
|
+
Test Teardown Run keywords Plone Test Teardown
|
33
32
|
|
34
33
|
|
35
34
|
*** Test Cases ***************************************************************
|
@@ -47,20 +46,19 @@ Scenario: As a member I want to be able to log into the website
|
|
47
46
|
|
48
47
|
a login form
|
49
48
|
Go To ${PLONE_URL}/login_form
|
50
|
-
|
51
|
-
|
49
|
+
Get Text //body contains Login Name
|
50
|
+
Get Text //body contains Password
|
52
51
|
|
53
52
|
|
54
53
|
# --- WHEN -------------------------------------------------------------------
|
55
54
|
|
56
55
|
I enter valid credentials
|
57
|
-
|
58
|
-
|
59
|
-
Click
|
56
|
+
Type Text //input[@name="__ac_name"] admin
|
57
|
+
Type Text //input[@name="__ac_password"] secret
|
58
|
+
Click //button[contains(text(), "Log in")]
|
60
59
|
|
61
60
|
|
62
61
|
# --- THEN -------------------------------------------------------------------
|
63
62
|
|
64
63
|
I am logged in
|
65
|
-
|
66
|
-
Page should contain You are now logged in
|
64
|
+
Get Text //body contains You are now logged in
|
@@ -8,7 +8,6 @@ from plone.app.contenttypes.browser.link_redirect_view import NON_RESOLVABLE_URL
|
|
8
8
|
from plone.app.contenttypes.interfaces import ICollection
|
9
9
|
from plone.app.contenttypes.utils import replace_link_variables_by_paths
|
10
10
|
from plone.app.z3cform.widgets.querystring import QueryStringFieldWidget
|
11
|
-
from plone.app.z3cform.widgets.relateditems import RelatedItemsFieldWidget
|
12
11
|
from plone.autoform import directives as form
|
13
12
|
from plone.dexterity.interfaces import IDexterityContainer
|
14
13
|
from plone.memoize import view
|
@@ -30,6 +29,16 @@ from zope.schema.vocabulary import SimpleTerm
|
|
30
29
|
from zope.schema.vocabulary import SimpleVocabulary
|
31
30
|
|
32
31
|
|
32
|
+
try:
|
33
|
+
from plone.app.z3cform.widgets.contentbrowser import (
|
34
|
+
ContentBrowserFieldWidget as CarouselItemsWidget,
|
35
|
+
)
|
36
|
+
except ImportError:
|
37
|
+
from plone.app.z3cform.widgets.relateditems import (
|
38
|
+
RelatedItemsFieldWidget as CarouselItemsWidget,
|
39
|
+
)
|
40
|
+
|
41
|
+
|
33
42
|
@provider(IContextSourceBinder)
|
34
43
|
def image_scales(context):
|
35
44
|
"""Return custom source for image scales.
|
@@ -74,11 +83,12 @@ class ISliderTile(Schema):
|
|
74
83
|
|
75
84
|
form.widget(
|
76
85
|
"carousel_items",
|
77
|
-
|
86
|
+
CarouselItemsWidget,
|
78
87
|
vocabulary="plone.app.vocabularies.Catalog",
|
79
88
|
pattern_options={
|
80
89
|
"orderable": True,
|
81
90
|
"recentlyUsed": True,
|
91
|
+
"upload": True,
|
82
92
|
},
|
83
93
|
)
|
84
94
|
|
{collective.tiles.carousel-1.0.4.dist-info → collective.tiles.carousel-1.1.0.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: collective.tiles.carousel
|
3
|
-
Version: 1.0
|
3
|
+
Version: 1.1.0
|
4
4
|
Summary: Slider for plone.app.mosaic based on Bootstrap 5
|
5
5
|
Home-page: https://github.com/collective/collective.tiles.carousel
|
6
6
|
Author: Peter Holzer
|
@@ -41,12 +41,12 @@ Requires-Dist: plone.tiles
|
|
41
41
|
Requires-Dist: plone.api
|
42
42
|
Requires-Dist: z3c.relationfield
|
43
43
|
Provides-Extra: test
|
44
|
-
Requires-Dist: plone.app.dexterity
|
45
|
-
Requires-Dist: plone.app.testing
|
46
|
-
Requires-Dist: plone.browserlayer
|
47
|
-
Requires-Dist: plone.testing
|
48
|
-
Requires-Dist: plone.app.robotframework[debug]
|
49
|
-
Requires-Dist: robotsuite
|
44
|
+
Requires-Dist: plone.app.dexterity; extra == "test"
|
45
|
+
Requires-Dist: plone.app.testing; extra == "test"
|
46
|
+
Requires-Dist: plone.browserlayer; extra == "test"
|
47
|
+
Requires-Dist: plone.testing; extra == "test"
|
48
|
+
Requires-Dist: plone.app.robotframework[debug]; extra == "test"
|
49
|
+
Requires-Dist: robotsuite; extra == "test"
|
50
50
|
|
51
51
|
.. This README is meant for consumption by humans and pypi. Pypi can render rst files so please do not use Sphinx features.
|
52
52
|
If you want to learn more about writing documentation, please check out: http://docs.plone.org/about/documentation_styleguide.html
|
@@ -108,6 +108,13 @@ Changelog
|
|
108
108
|
=========
|
109
109
|
|
110
110
|
|
111
|
+
1.1.0 (2024-12-12)
|
112
|
+
------------------
|
113
|
+
|
114
|
+
- Use new `ContentBrowserWidget` for Plone 6.1.
|
115
|
+
[petschki]
|
116
|
+
|
117
|
+
|
111
118
|
1.0.4 (2024-05-02)
|
112
119
|
------------------
|
113
120
|
|
{collective.tiles.carousel-1.0.4.dist-info → collective.tiles.carousel-1.1.0.dist-info}/RECORD
RENAMED
@@ -1,11 +1,11 @@
|
|
1
|
-
collective.tiles.carousel-1.0
|
1
|
+
collective.tiles.carousel-1.1.0-py3.12-nspkg.pth,sha256=2oWpeYM6MlxuTCe3-blu86w9h991-Etrc9-2Yn3D6ME,1059
|
2
2
|
collective/tiles/carousel/__init__.py,sha256=51V59Yi1aRW6PCzRAoJqUlWno0YQO1wAgi8d37mwTmA,119
|
3
3
|
collective/tiles/carousel/configure.zcml,sha256=1-9Nc4-Lej7b7HJb9Puc8Jw_rDRVyS6agix2SR98wrs,1783
|
4
4
|
collective/tiles/carousel/interfaces.py,sha256=erGd_4DSscSVyQCdzdWNABmPxuUBV1vwKvz6_m5BCc4,249
|
5
5
|
collective/tiles/carousel/setuphandlers.py,sha256=0y1cT8R_eYSdIv-aZUY-pazUGia27EFzCCHC-SiGMrI,586
|
6
6
|
collective/tiles/carousel/testing.py,sha256=WxBe18FLBdf-9nQmw_0rL_Gf1Eu0aLnUDD0RUxJ2VE0,1685
|
7
7
|
collective/tiles/carousel/tile.pt,sha256=ePFsqwYEMYpng21_l8Hp8Ok9-f_KfUKICaq-oJ3n3yc,4737
|
8
|
-
collective/tiles/carousel/tile.py,sha256=
|
8
|
+
collective/tiles/carousel/tile.py,sha256=xAFdH8VOybd7rnhVxJAeAaivpZkwNQmLPgr7QrcZj9Y,12448
|
9
9
|
collective/tiles/carousel/utils.py,sha256=M0fOW-m5fhe63I4PtO8jCqnbooZ9ZXctj5in_Ru8j-o,550
|
10
10
|
collective/tiles/carousel/locales/README.rst,sha256=fS2h1MYp7b5Im-GcnIsZLHhK1N4F-_VuHBf_DorI2_A,611
|
11
11
|
collective/tiles/carousel/locales/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -28,12 +28,12 @@ collective/tiles/carousel/slides/static/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeu
|
|
28
28
|
collective/tiles/carousel/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
29
29
|
collective/tiles/carousel/tests/test_robot.py,sha256=VPu3DguHGk-5srPM-N9BZj4dALjotYup8RWZ-QRdbpQ,947
|
30
30
|
collective/tiles/carousel/tests/test_setup.py,sha256=4FnSh4YBgEbcKTEw-feXs61FYm137R198GQUz4bXFBE,2221
|
31
|
-
collective/tiles/carousel/tests/robot/test_example.robot,sha256=
|
32
|
-
collective.tiles.carousel-1.0.
|
33
|
-
collective.tiles.carousel-1.0.
|
34
|
-
collective.tiles.carousel-1.0.
|
35
|
-
collective.tiles.carousel-1.0.
|
36
|
-
collective.tiles.carousel-1.0.
|
37
|
-
collective.tiles.carousel-1.0.
|
38
|
-
collective.tiles.carousel-1.0.
|
39
|
-
collective.tiles.carousel-1.0.
|
31
|
+
collective/tiles/carousel/tests/robot/test_example.robot,sha256=5m94vuXTR8NH6qj1s52WlTCj-3Iwgy579yRFX0JG-UE,2053
|
32
|
+
collective.tiles.carousel-1.1.0.dist-info/LICENSE.GPL,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
33
|
+
collective.tiles.carousel-1.1.0.dist-info/LICENSE.rst,sha256=iDVL_6C7byshRvxykg-JJfnJl1UQCvKDV_H-1dp_8GU,668
|
34
|
+
collective.tiles.carousel-1.1.0.dist-info/METADATA,sha256=WGYnVoEVoNcrCu5inRUvGJtlPRfEN3tydFWJWkf-Zc4,4124
|
35
|
+
collective.tiles.carousel-1.1.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
36
|
+
collective.tiles.carousel-1.1.0.dist-info/entry_points.txt,sha256=ru0hdDg0GqdaMNDkHf3l7rtXvCkgCOmh7S-EiRWIpUk,130
|
37
|
+
collective.tiles.carousel-1.1.0.dist-info/namespace_packages.txt,sha256=AiVC9ju6UYs_UE8dvyfAvQmRsFgWG25eyAfTG-nLAjM,28
|
38
|
+
collective.tiles.carousel-1.1.0.dist-info/top_level.txt,sha256=FyC0xnd95fkjCaKazR3nfIgNqhWMpB0mYBlzALyXKTg,11
|
39
|
+
collective.tiles.carousel-1.1.0.dist-info/RECORD,,
|
File without changes
|
{collective.tiles.carousel-1.0.4.dist-info → collective.tiles.carousel-1.1.0.dist-info}/LICENSE.GPL
RENAMED
File without changes
|
{collective.tiles.carousel-1.0.4.dist-info → collective.tiles.carousel-1.1.0.dist-info}/LICENSE.rst
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|