plone.portlet.collection 4.0.0.dev0__tar.gz → 4.0.1__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 (45) hide show
  1. {plone.portlet.collection-4.0.0.dev0 → plone.portlet.collection-4.0.1}/CHANGES.rst +83 -1
  2. plone.portlet.collection-4.0.1/PKG-INFO +527 -0
  3. plone.portlet.collection-4.0.1/plone/__init__.py +1 -0
  4. plone.portlet.collection-4.0.1/plone/portlet/__init__.py +1 -0
  5. {plone.portlet.collection-4.0.0.dev0 → plone.portlet.collection-4.0.1}/plone/portlet/collection/__init__.py +6 -1
  6. plone.portlet.collection-4.0.1/plone/portlet/collection/collection.pt +108 -0
  7. {plone.portlet.collection-4.0.0.dev0 → plone.portlet.collection-4.0.1}/plone/portlet/collection/collection.py +104 -105
  8. plone.portlet.collection-4.0.1/plone/portlet/collection/configure.zcml +35 -0
  9. {plone.portlet.collection-4.0.0.dev0 → plone.portlet.collection-4.0.1}/plone/portlet/collection/profiles/default/metadata.xml +1 -1
  10. plone.portlet.collection-4.0.1/plone/portlet/collection/profiles/default/portlets.xml +14 -0
  11. plone.portlet.collection-4.0.1/plone/portlet/collection/testing.py +37 -0
  12. {plone.portlet.collection-4.0.0.dev0 → plone.portlet.collection-4.0.1}/plone/portlet/collection/tests/functional.txt +1 -0
  13. plone.portlet.collection-4.0.1/plone/portlet/collection/tests/test_functional_doctest.py +38 -0
  14. plone.portlet.collection-4.0.1/plone/portlet/collection/tests/test_portlet_collection.py +434 -0
  15. plone.portlet.collection-4.0.1/plone.portlet.collection.egg-info/PKG-INFO +527 -0
  16. {plone.portlet.collection-4.0.0.dev0 → plone.portlet.collection-4.0.1}/plone.portlet.collection.egg-info/SOURCES.txt +1 -0
  17. plone.portlet.collection-4.0.1/plone.portlet.collection.egg-info/requires.txt +21 -0
  18. plone.portlet.collection-4.0.1/pyproject.toml +63 -0
  19. plone.portlet.collection-4.0.1/requirements-6.0.x.txt +1 -0
  20. plone.portlet.collection-4.0.1/setup.cfg +24 -0
  21. plone.portlet.collection-4.0.1/setup.py +62 -0
  22. plone.portlet.collection-4.0.0.dev0/PKG-INFO +0 -443
  23. plone.portlet.collection-4.0.0.dev0/plone/__init__.py +0 -6
  24. plone.portlet.collection-4.0.0.dev0/plone/portlet/__init__.py +0 -6
  25. plone.portlet.collection-4.0.0.dev0/plone/portlet/collection/collection.pt +0 -71
  26. plone.portlet.collection-4.0.0.dev0/plone/portlet/collection/configure.zcml +0 -34
  27. plone.portlet.collection-4.0.0.dev0/plone/portlet/collection/profiles/default/portlets.xml +0 -16
  28. plone.portlet.collection-4.0.0.dev0/plone/portlet/collection/testing.py +0 -50
  29. plone.portlet.collection-4.0.0.dev0/plone/portlet/collection/tests/test_functional_doctest.py +0 -37
  30. plone.portlet.collection-4.0.0.dev0/plone/portlet/collection/tests/test_portlet_collection.py +0 -430
  31. plone.portlet.collection-4.0.0.dev0/plone.portlet.collection.egg-info/PKG-INFO +0 -443
  32. plone.portlet.collection-4.0.0.dev0/plone.portlet.collection.egg-info/requires.txt +0 -9
  33. plone.portlet.collection-4.0.0.dev0/pyproject.toml +0 -20
  34. plone.portlet.collection-4.0.0.dev0/setup.cfg +0 -7
  35. plone.portlet.collection-4.0.0.dev0/setup.py +0 -46
  36. {plone.portlet.collection-4.0.0.dev0 → plone.portlet.collection-4.0.1}/CONTRIBUTING.rst +0 -0
  37. {plone.portlet.collection-4.0.0.dev0 → plone.portlet.collection-4.0.1}/MANIFEST.in +0 -0
  38. {plone.portlet.collection-4.0.0.dev0 → plone.portlet.collection-4.0.1}/README.rst +0 -0
  39. {plone.portlet.collection-4.0.0.dev0 → plone.portlet.collection-4.0.1}/docs/LICENSE.GPL +0 -0
  40. {plone.portlet.collection-4.0.0.dev0 → plone.portlet.collection-4.0.1}/docs/LICENSE.txt +0 -0
  41. {plone.portlet.collection-4.0.0.dev0 → plone.portlet.collection-4.0.1}/plone/portlet/collection/tests/__init__.py +0 -0
  42. {plone.portlet.collection-4.0.0.dev0 → plone.portlet.collection-4.0.1}/plone.portlet.collection.egg-info/dependency_links.txt +0 -0
  43. {plone.portlet.collection-4.0.0.dev0 → plone.portlet.collection-4.0.1}/plone.portlet.collection.egg-info/namespace_packages.txt +0 -0
  44. {plone.portlet.collection-4.0.0.dev0 → plone.portlet.collection-4.0.1}/plone.portlet.collection.egg-info/not-zip-safe +0 -0
  45. {plone.portlet.collection-4.0.0.dev0 → plone.portlet.collection-4.0.1}/plone.portlet.collection.egg-info/top_level.txt +0 -0
@@ -8,6 +8,88 @@ Changelog
8
8
 
9
9
  .. towncrier release notes start
10
10
 
11
+ 4.0.1 (2023-03-21)
12
+ ------------------
13
+
14
+ Internal:
15
+
16
+
17
+ - Update configuration files.
18
+ [plone devs] (a533099d)
19
+
20
+
21
+ 4.0.0 (2022-11-30)
22
+ ------------------
23
+
24
+ Bug fixes:
25
+
26
+
27
+ - Final release.
28
+ [gforcada] (#600)
29
+
30
+
31
+ 4.0.0a4 (2022-05-24)
32
+ --------------------
33
+
34
+ Bug fixes:
35
+
36
+
37
+ - Update ``ICollectionPortlet`` schema.
38
+ Set option ``required`` to ``False`` of boolean fields.
39
+ [1letter] (#32)
40
+
41
+
42
+ 4.0.0a3 (2022-04-08)
43
+ --------------------
44
+
45
+ Breaking changes:
46
+
47
+
48
+ - Update for Plone 6 with Bootstrap markup
49
+ [petschki, agitator] (#28)
50
+
51
+
52
+ Bug fixes:
53
+
54
+
55
+ - Use @@iconresolver to display icons
56
+ [pbauer] (#31)
57
+
58
+
59
+ 4.0.0a2 (2021-04-19)
60
+ --------------------
61
+
62
+ Breaking changes:
63
+
64
+
65
+ - Update for Plone 6 with Bootstrap markup
66
+ [petschki, agitator] (#28)
67
+
68
+
69
+ Bug fixes:
70
+
71
+
72
+ - Show start date in portlet if available.
73
+ [agitator] (#25)
74
+
75
+
76
+ 4.0.0a1 (2021-04-19)
77
+ --------------------
78
+
79
+ Breaking changes:
80
+
81
+
82
+ - Update for Plone 6 with Bootstrap markup
83
+ [petschki, agitator] (#28)
84
+
85
+
86
+ Bug fixes:
87
+
88
+
89
+ - Show start date in portlet if available.
90
+ [agitator] (#25)
91
+
92
+
11
93
  3.3.5 (2020-09-21)
12
94
  ------------------
13
95
 
@@ -73,7 +155,7 @@ Bug fixes:
73
155
 
74
156
  New features:
75
157
 
76
- - add options to supress icons,
158
+ - add options to suppress icons,
77
159
  read thumb_scale from registry plus option to override thumb_scale individually
78
160
  or suppress thumbs.
79
161
  Replace paper clip (fontello icon) with mimetype icon
@@ -0,0 +1,527 @@
1
+ Metadata-Version: 2.1
2
+ Name: plone.portlet.collection
3
+ Version: 4.0.1
4
+ Summary: A portlet that fetches results from a collection
5
+ Home-page: https://pypi.org/project/plone.portlet.collection/
6
+ Author: Plone Foundation
7
+ Author-email: plone-developers@lists.sourceforge.net
8
+ License: GPL version 2
9
+ Keywords: collection portlet
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Environment :: Web Environment
12
+ Classifier: Framework :: Plone
13
+ Classifier: Framework :: Plone :: 6.0
14
+ Classifier: Framework :: Plone :: Core
15
+ Classifier: Framework :: Zope :: 5
16
+ Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python
19
+ Classifier: Programming Language :: Python :: 3.8
20
+ Classifier: Programming Language :: Python :: 3.9
21
+ Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Requires-Python: >=3.8
24
+ Provides-Extra: test
25
+
26
+ Introduction
27
+ ============
28
+
29
+ A portlet that fetches results from a collection.
30
+
31
+ Changelog
32
+ =========
33
+
34
+ .. You should *NOT* be adding new change log entries to this file.
35
+ You should create a file in the news directory instead.
36
+ For helpful instructions, please see:
37
+ https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst
38
+
39
+ .. towncrier release notes start
40
+
41
+ 4.0.1 (2023-03-21)
42
+ ------------------
43
+
44
+ Internal:
45
+
46
+
47
+ - Update configuration files.
48
+ [plone devs] (a533099d)
49
+
50
+
51
+ 4.0.0 (2022-11-30)
52
+ ------------------
53
+
54
+ Bug fixes:
55
+
56
+
57
+ - Final release.
58
+ [gforcada] (#600)
59
+
60
+
61
+ 4.0.0a4 (2022-05-24)
62
+ --------------------
63
+
64
+ Bug fixes:
65
+
66
+
67
+ - Update ``ICollectionPortlet`` schema.
68
+ Set option ``required`` to ``False`` of boolean fields.
69
+ [1letter] (#32)
70
+
71
+
72
+ 4.0.0a3 (2022-04-08)
73
+ --------------------
74
+
75
+ Breaking changes:
76
+
77
+
78
+ - Update for Plone 6 with Bootstrap markup
79
+ [petschki, agitator] (#28)
80
+
81
+
82
+ Bug fixes:
83
+
84
+
85
+ - Use @@iconresolver to display icons
86
+ [pbauer] (#31)
87
+
88
+
89
+ 4.0.0a2 (2021-04-19)
90
+ --------------------
91
+
92
+ Breaking changes:
93
+
94
+
95
+ - Update for Plone 6 with Bootstrap markup
96
+ [petschki, agitator] (#28)
97
+
98
+
99
+ Bug fixes:
100
+
101
+
102
+ - Show start date in portlet if available.
103
+ [agitator] (#25)
104
+
105
+
106
+ 4.0.0a1 (2021-04-19)
107
+ --------------------
108
+
109
+ Breaking changes:
110
+
111
+
112
+ - Update for Plone 6 with Bootstrap markup
113
+ [petschki, agitator] (#28)
114
+
115
+
116
+ Bug fixes:
117
+
118
+
119
+ - Show start date in portlet if available.
120
+ [agitator] (#25)
121
+
122
+
123
+ 3.3.5 (2020-09-21)
124
+ ------------------
125
+
126
+ Bug fixes:
127
+
128
+
129
+ - Removed fallback import of is_default_page.
130
+ Fixed various DeprecationWarnings.
131
+ [maurits] (#3130)
132
+
133
+
134
+ 3.3.4 (2020-09-07)
135
+ ------------------
136
+
137
+ Bug fixes:
138
+
139
+
140
+ - Fixed deprecation warning for ``setDefaultRoles``.
141
+ [maurits] (#3130)
142
+
143
+
144
+ 3.3.3 (2020-04-21)
145
+ ------------------
146
+
147
+ Bug fixes:
148
+
149
+
150
+ - Minor packaging updates. (#1)
151
+
152
+
153
+ 3.3.2 (2019-08-23)
154
+ ------------------
155
+
156
+ Bug fixes:
157
+
158
+ - Fix deprecated import ``isDefaultPage``.
159
+ [jensens]
160
+
161
+
162
+ 3.3.1 (2018-11-02)
163
+ ------------------
164
+
165
+ Bug fixes:
166
+
167
+ - Fix tests in Python 3
168
+ [davisagli]
169
+
170
+
171
+ 3.3.0 (2017-11-24)
172
+ ------------------
173
+
174
+ Bug fixes:
175
+
176
+ - Fix collection selection for Plone 5.1
177
+ [agitator]
178
+
179
+ - Fix test. Portlet renderer no longer mixes in Acquisition.Explicit.
180
+ [pbauer]
181
+
182
+
183
+ 3.2 (2017-07-03)
184
+ ----------------
185
+
186
+ New features:
187
+
188
+ - add options to suppress icons,
189
+ read thumb_scale from registry plus option to override thumb_scale individually
190
+ or suppress thumbs.
191
+ Replace paper clip (fontello icon) with mimetype icon
192
+ from mimetype registry for files
193
+ https://github.com/plone/Products.CMFPlone/issues/1734
194
+ applied https://github.com/plone/Products.CMFPlone/issues/1483
195
+ [fgrcon]
196
+
197
+ Bug fixes:
198
+
199
+
200
+ - fixed css-classes for thumb scales ...
201
+ https://github.com/plone/Products.CMFPlone/issues/2077
202
+ [fgrcon]
203
+
204
+ - Remove unittest2 dependency
205
+ [kakshay21]
206
+
207
+
208
+ 3.1 (2016-08-15)
209
+ ----------------
210
+
211
+ New:
212
+
213
+ - If collection is default page in parent, link to parent.
214
+ [malthe]
215
+
216
+ Fixes:
217
+
218
+ - Use zope.interface decorator.
219
+ [gforcada]
220
+
221
+
222
+ 3.0.6 (2016-01-08)
223
+ ------------------
224
+
225
+ Fixes:
226
+
227
+ - Fixed sometimes failing test due to sorting.
228
+ [maurits]
229
+
230
+
231
+ 3.0.5 (2015-11-26)
232
+ ------------------
233
+
234
+ Fixes:
235
+
236
+ - Used registry lookup for types_use_view_action_in_listings.
237
+ [esteele]
238
+
239
+ - Cleanup and rework: contenttype-icons and showing thumbnails
240
+ for images/leadimages in listings
241
+ https://github.com/plone/Products.CMFPlone/issues/1226
242
+ [fgrcon]
243
+
244
+
245
+ 3.0.4 (2015-09-07)
246
+ ------------------
247
+
248
+ - Fix show_dates by calling obj.Date(). This fixes https://github.com/plone/plone.app.contenttypes/issues/263
249
+ [timo]
250
+
251
+
252
+ 3.0.3 (2015-06-05)
253
+ ------------------
254
+
255
+ - Fix test to be more forgiving on matches html
256
+ [vangheem]
257
+
258
+ - This package does not depend on plone.app.form
259
+ [tomgross]
260
+
261
+ - Fix last part of the test: regexp -> lxml
262
+ [khink]
263
+
264
+ - Fix tests. Kids, don't parse HTML with regexps.
265
+ [khink]
266
+
267
+ - Remove DL's from portlet templates.
268
+ [khink]
269
+
270
+
271
+ 3.0.2 (2015-03-13)
272
+ ------------------
273
+
274
+ - ReST fix.
275
+ [timo]
276
+
277
+
278
+ 3.0.1 (2015-03-13)
279
+ ------------------
280
+
281
+ - fix AttributeError: exclude_context on existing portlet assignments, refs #5
282
+ [davisagli]
283
+
284
+ - Add an option for excluding the render context from the collection results
285
+ since in most cases it's undesirable to include the current context in a
286
+ listing on that context's view.
287
+ [rpatterson]
288
+
289
+
290
+ 3.0 (2014-04-05)
291
+ ----------------
292
+
293
+ - Use z3c.form for portlet forms.
294
+ [bosim, davisagli]
295
+
296
+ - Provide a hook to facilitate overrides that do not include an empty
297
+ footer when the more link is turned off.
298
+ [anthonygerrard]
299
+
300
+
301
+ 2.2.1 (2014-02-22)
302
+ ------------------
303
+
304
+ - Include rst files in releases.
305
+ [timo]
306
+
307
+
308
+ 2.2.0 (2014-02-22)
309
+ ------------------
310
+
311
+ - Remove DL's from portlet templates.
312
+ https://github.com/plone/Products.CMFPlone/issues/163
313
+ [khink]
314
+
315
+ - plone.portlet.collection should also install plone.app.querystring:default
316
+ profile
317
+ [garbas]
318
+
319
+ - Replace deprecated test assert statements.
320
+ [timo]
321
+
322
+ - Use PLONE_APP_CONTENTTYPES_FIXTURE as test layer for Plone 5 compatibility.
323
+ [timo]
324
+
325
+
326
+ 2.1.5 (2013-04-29)
327
+ ------------------
328
+
329
+ - PEP8 cleanup.
330
+ [timo]
331
+
332
+ - Migrate all tests to use the new Collection type instead of the old Topic
333
+ type.
334
+ [timo]
335
+
336
+ - Migrate all tests to plone.app.testing.
337
+ [timo]
338
+
339
+ - Fix Archetypes brain rendering.
340
+ This fixes http://dev.plone.org/ticket/13518.
341
+ [timo]
342
+
343
+
344
+ 2.1.4 (2013-03-19)
345
+ ------------------
346
+
347
+ - Support for Dexterity-based collections added. Use 'title_or_id' instead of
348
+ the AT-specific 'pretty_title_or_id'.
349
+ [timo]
350
+
351
+ - Remove deprecated getIcon() method from collection portlet view.
352
+ [timo]
353
+
354
+
355
+ 2.1.3 (2013-01-01)
356
+ ------------------
357
+
358
+ - Fix for #12274 - missing icons for some contenttypes.
359
+ [spereverde]
360
+
361
+
362
+ 2.1.2 (2012-10-03)
363
+ ------------------
364
+
365
+ - Fix 'This portlet display a'.
366
+ [danjacka]
367
+
368
+
369
+ 2.1.1 (2012-06-29)
370
+ ------------------
371
+
372
+ - accessibility improvements for screen readers regarding "more" links, see
373
+ https://dev.plone.org/ticket/11982
374
+ [rmattb, applied by polyester]
375
+
376
+
377
+ 2.1 (2012-04-15)
378
+ ----------------
379
+
380
+ - Support new-style collections a la plone.app.collection.
381
+ [davisagli]
382
+
383
+
384
+ 2.0.4 (2011-08-29)
385
+ ------------------
386
+
387
+ - Portlet is shown when user has View permission for the collection.
388
+ Fixes http://dev.plone.org/plone/ticket/12152
389
+ [gotcha]
390
+
391
+ - Fix failing test.
392
+ [davisagli]
393
+
394
+ 2.0.3 - 2011-07-04
395
+ ------------------
396
+
397
+ - Change the `target_collection` query to use a `portal_type` instead of an
398
+ `object_provides` restriction. The data for the former is much more likely
399
+ in the ZODB cache as many catalog queries use it.
400
+ [hannosch]
401
+
402
+ - Fix 'Show more...' handling so it doesn't cause portletFooter to disappear.
403
+ Fixes http://dev.plone.org/plone/ticket/9415.
404
+ [msmith64]
405
+
406
+ 2.0.2 - 2011-05-18
407
+ ------------------
408
+
409
+ - Fix memoization of results when randomizing. We only memoize on the instance,
410
+ in this case the rendered object, which is created per request and per
411
+ portlet.
412
+ [hannosch]
413
+
414
+ - Pass on `limit` setting from the portlet to the `queryCatalog` call, to take
415
+ advantage of optimizations inside the catalog.
416
+ [hannosch]
417
+
418
+ - Add MANIFEST.in.
419
+ [WouterVH]
420
+
421
+ - Add metadata.xml to profile.
422
+ [WouterVH]
423
+
424
+ - Added a dynamic dl class, generated from portlet's title. Code taken from
425
+ plone.portlet.static.
426
+ [zupo]
427
+
428
+
429
+ 2.0.1 - 2011-01-03
430
+ ------------------
431
+
432
+ - Add Site Administrator to the default roles for the
433
+ "plone.portlet.collection: Add collection portlet" permission, for forward
434
+ compatibility with Plone 4.1.
435
+ [davisagli]
436
+
437
+ - Removed bug where a resultset with fewer items than limit wasn't randomized.
438
+ [jaroel]
439
+
440
+ - Removed Plone 3 specific implementation in favor of a generic one.
441
+ [jaroel]
442
+
443
+ - Fixed returning optional randomized results in the collection
444
+ portlet. This happened on Plone 4; if this makes the portlet too
445
+ slow for you, you should switch off the randomizing.
446
+ [maurits]
447
+
448
+ - Fixed wrong exception handling in random collection portlet that
449
+ failed to catch an IndexError.
450
+ [maurits]
451
+
452
+
453
+ 2.0 - 2010-07-18
454
+ ----------------
455
+
456
+ - Update license to GPL version 2 only.
457
+ [hannosch]
458
+
459
+ - Add fix for http://dev.plone.org/plone/ticket/9198 so that
460
+ typeUseViewActionInListings is respected.
461
+ [aaronv]
462
+
463
+ - Removed msgids in portlets.xml. There is no support for
464
+ msgids in the import of portlets.xml implementation.
465
+ This allows to extract translatable strings with i18ndude.
466
+ [vincentfretin]
467
+
468
+ - Add fix for http://dev.plone.org/plone/ticket/9184 so that
469
+ restrictedTraverse always gets a string and not Unicode.
470
+ [amleczko]
471
+
472
+
473
+ 1.1.3 - 2008-07-07
474
+ ------------------
475
+
476
+ - Added 'Select random items' option.
477
+ [davisagli]
478
+
479
+
480
+ 1.1.2 - 2008-06-01
481
+ ------------------
482
+
483
+ - Use a custom edit permission for the portlet.
484
+ [hannosch]
485
+
486
+
487
+ 1.1.0 - 2008-04-20
488
+ ------------------
489
+
490
+ - Added missing i18n markup to portlets.xml.
491
+ [hannosch]
492
+
493
+ - Changed the i18n domain to `plone`.
494
+ [hannosch]
495
+
496
+
497
+ 1.0b1 - 2008-03-08
498
+ ------------------
499
+
500
+ - Fix a typo in the CSS classes.
501
+ [davisagli]
502
+
503
+ - Set default_query to get something to browse in the UberSelectionWidget from
504
+ the start.
505
+ [fschulze]
506
+
507
+ - Code cleanup and make showing of dates for items and a 'Show more...' link
508
+ configurable.
509
+ [optilude]
510
+
511
+
512
+ 0.1.1 - 2007-11-19
513
+ ------------------
514
+
515
+ - Set zip-safe flag for the egg to False so zcml can be correctly loaded.
516
+ [wichert]
517
+
518
+ - Remove non-ASCII characters form the description since PyPI can not handle
519
+ them.
520
+ [wichert]
521
+
522
+
523
+ 0.1 - 2007-11-19
524
+ ----------------
525
+
526
+ - First public release
527
+ [baekholt, wichert]
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -7,5 +7,10 @@ PROJECTNAME = "plone.portlet.collection"
7
7
  DEFAULT_ADD_CONTENT_PERMISSION = "%s: Add collection portlet" % PROJECTNAME
8
8
 
9
9
  addPermission(
10
- DEFAULT_ADD_CONTENT_PERMISSION, ("Manager", "Site Administrator", "Owner",)
10
+ DEFAULT_ADD_CONTENT_PERMISSION,
11
+ (
12
+ "Manager",
13
+ "Site Administrator",
14
+ "Owner",
15
+ ),
11
16
  )