/
HISTORY.txt
15088 lines (11245 loc) · 504 KB
/
HISTORY.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Historical release notes
========================
For what's new in this release, see CHANGES.txt.
5.1rc2 (unreleased)
-------------------
New features:
- Toolbar: Allow configuration of the toolbar and submenu width via pattern variables.
[thet]
- Update npm dependencies.
[thet]
Bug fixes:
- Fixed add-on listed as uninstalled when the default profile is not the first alphabetically.
Fixes `issue 2166 <https://github.com/plone/Products.CMFPlone/issues/2166>`_.
[maurits]
- Less variables: Fix calculation of screen max sizes.
Max sizes were two pixels too high.
[thet]
- Mockup update.
[thet]
- Remove site path from path in show_inactive in catalog search
[Gagaro]
- Don't raise Unauthorized on show_inactive check in catalog search
[tomgross]
- Bump metadata.xml version.
[thet]
- Extract CMFDefault specific config from `meta.zcml` into `meta-bbb.zcml`
to allow AT free and AT included sites.
[tomgross]
- Add basic tests for all main zmi management screens.
[pbauer]
- Fixes #2105: how to get ``email_from_name`` information in sendto_form.
[cekk]
5.1rc1 (2017-09-10)
-------------------
Breaking changes:
- Replaced cssmin with PyScss to ensure Python 3 compatibility and maintainability.
Removed dependency to cssmin, so could break dependency for third party addons that depend on it.
Introduced PyScss as a drop in replacement that could also do more things.
Discussion on that at https://github.com/plone/Products.CMFPlone/issues/1800
[loechel]
- Fix and migrate safe_html filter completly into Plone registry and sync settings with TinyMCE.
Also some unused options in controlpanel where removed, like stripped_combinations and class_blacklist.
[MrTango]
New features:
- Update ``plone-legacy-compiled.js`` and ``plone-legacy-compiled.css``.
[thet]
- Update mockup to latest version.
[thet]
- Added ``Show Toolbar`` permission.
[agitator]
- Add RobotFramework screenshot tests for the Plone documentation.
[datakurre, polyester]
- Add jqtree-contextmenu to the resource registry
[b4oshany]
- Add js-shortcuts to the resource registry
[b4oshany]
Bug fixes:
- Recover missing dashboard (user actions)
https://github.com/plone/Products.CMFPlone/issues/1132
[fgrcon]
- Remove the right padding on toolbar submenu entries.
That looked a bit weird.
[thet]
- Fixed accidentally removing permissions when saving the ``portal_controlpanel`` settings in the ZMI.
Fixes `issue 1376 <https://github.com/plone/Products.CMFPlone/issues/1376>`_. [maurits]
- Do not open links on a new tab as this is against basic usability guidelines.
[hvelarde]
- add :focus class on toolbar for keyboard users (https://github.com/plone/Products.CMFPlone/issues/1620)
[polyester]
- Fix empty DX add_forms if formlib is also installed thru addon dependencies
[MrTango]
- Update TinyMCE links (tinymce-controlpanel) to https
[svx]
- Fix ``utils.get_top_site_from_url`` to work with non-OFS contexts.
[thet]
- remove mention of "retina" (https://github.com/plone/Products.CMFPlone/issues/2123)
[tkimnguyen]
5.1b4 (2017-07-03)
------------------
New features:
- Integrate ``mockup-patterns-structureupdater`` for updating title and description depending on the current context on the folder contents page.
[thet]
- Updated jqtree to 1.4.1 from 1.3.3
[b4oshany]
- Update mockup to latest version.
[thet]
- add registry settings for thumb and icon handling in tables, lists and portlets
https://github.com/plone/Products.CMFPlone/issues/1734 (PLIP)
recompiled bundle plone-logged-in
requires upgrade step (reapply profile)
[fgrcon]
- Update mockup to latest version.
[thet]
- new metadata catalog column mime_type
https://github.com/plone/Products.CMFPlone/issues/1995
[fgrcon]
- Include TinyMCE 4.5.6
[frapell]
Bug fixes:
- Use explicit @@footer view for footer portlet.
[agitator]
- Translate image scales in patterns.
[Gagaro]
- Gruntfile generation no longer fails on introspecting resourceDirectory
configurations using a plone.browserlayer layer, by loading all layers
configured for the site used during generation.
Fixes Issue `#2080`_.
[seanupton]
- fixed css-classes for thumb scales ...
https://github.com/plone/Products.CMFPlone/issues/2077
[fgrcon]
- Fix current value in group details edit form.
[Gagaro]
- Fixed KeyError ``productname`` when there is a broken add-on in the add-ons control panel.
Fixes `issue 2065 <https://github.com/plone/Products.CMFPlone/issues/2065>`_.
[maurits]
- Fix ``test_tinymce.robot`` test to work with latest related items changes.
[thet]
- Fix expiration date when displaying in registered form.
[allusa]
- Remove TinyMCE pattern options from the body, as these are always set on the richtext fields mimetype selector or - if not there - on the textfield itself.
Refs: https://github.com/plone/Products.CMFPlone/pull/2059
[thet]
- Let TinyMCE options for the related items widget be generated by ``plone.app.widgets.utils.get_relateditems_options``.
This aligns the options to how the related items widget is used elsewhere.
Fixes https://github.com/plone/Products.CMFPlone/issues/1974
[thet]
- CMFCore ``WarningInterceptor`` test base class was gone and is not needed in Plone, so removed.
[jensens]
- Fix default value for ``robots.txt`` to avoid issues with content containing "search" in the id.
[hvelarde]
- Remove references to Products.CMFDefault on meta.zcml
[gforcada]
- Adapt tests to render social metadata only if you are anonymous.
[bsuttor]
- Fix search term munging with queries that include and, or and not.
[malthe]
- Fix issue where catalog search with path failed when path had inaccessible
(private) levels
[datakurre]
- Add constraint to avoid filling ``twitter_username`` field with strings starting with a "@" character.
[hvelarde]
- Fixed addons/donations links, removed dead "add your site" link
[sgrepos]
- Fix isssue where collapsed toolbar was not initialized properly on page
refresh, resulting wide blank space between collapsed toolbar and page
content
[datakurre]
- Removed "change portal events" permission
[kakshay21]
- Updated dead link to the error reference docs
[sgrepos]
- Do not rely on order in test of generated body classes ``browser.txt``.
[jensens]
- Fix possible ``mechanize.AmbiguityError`` in controlpanel tests.
[jensens]
5.1b3 (2017-04-03)
------------------
New features:
- Adapt code and tests to the new indexing operations queueing.
Part of PLIP 1343: https://github.com/plone/Products.CMFPlone/issues/1343
[gforcada]
- Make use of plone.namedfile's tag() function to generate img tags. Part of plip 1483.
[didrix]
- Add retina scales settings in image handling. Part of plip 1483
[didrix]
Bug fixes:
- Use canonical url instead of absolute url for RSS feed items.
This code is used for the social viewlet too.
So default pages are reported with their parent url.
Fixes `layout issue 118 <https://github.com/plone/plone.app.layout/issues/118>`_.
[maurits]
- Fix social media schema field types of ``twitter_username``, ``facebook_app_id`` and ``facebook_username`` to be ``ASCIILine`` instead of ``TextLine``.
[hvelarde]
- Show version of products in Add-ons control panel configlet.
This fixes https://github.com/plone/Products.CMFPlone/issues/1472.
[hvelarde]
- Resource registry legacy bundle cooking: Exit early with a warning, if preconditions to build are not given (no compilation paths).
Allow cooking CSS, even if no JS is defined.
Log all important steps of the cooking process.
[thet]
- Remove unused ``plone.css`` from static repository.
[thet]
- Check for ``AccessInactivePortalContent`` for each path in a catalog query.
This solves a problem, where Editors couldn't see inactive content, even though they had the required permission on a subpath of the portal (e.g. a subsite).
[thet]
- Test: Wrong use of assertTrue in testResourceRegistries.
[jensens]
- Fix issue popped iup after fix of use of assertTrue in testResourceRegistries: insert-before in legacy resource import was broken.
[jensens]
5.1b2 (2017-02-20)
------------------
Bug fixes:
- Fix packaging error.
[esteele]
5.1b1 (2017-02-20)
------------------
Breaking changes:
- Add helper method to get all catalog entries from a given catalog: ``Products.CMFPlone.CatalogTool.catalog_get_all``.
In Products.ZCatalog before 4.0 a catalog call without a query returned all catalog brains.
This can be used as a replacement where it is needed, for exampe in tests.
[thet, gogobd]
- Remove ``query_request`` from CatalogTool's search method, as it isn't supported in Products.ZCatalog 4 anymore.
[thet]
- Removed our patch that added ``secureSend`` to the ``MailHost``.
This was originally scheduled for removal in Plone 5.0. See `issue
965 <https://github.com/plone/Products.CMFPlone/issues/965>`_.
[maurits]
- The related items widget has changed a lot.
See the Mockup changelog for 2.4.0 here: https://github.com/plone/mockup/blob/master/CHANGES.rst
- All css classes named ``enableUnloadProtection`` were changed to ``pat-formunloadalert`` to trigger that pattern.
Templates using ``enableUnloadProtection`` should change to ``pat-formunloadalert`` too.
This change shouldn't impact too much, because the form unload protection didn't work at all in Plone 5 until now.
[thet]
- MimetypesRegistry icons are now a browser resource directory instead of skins folder.
[jensens]
- Remove unused ``plone_scripts`` (not used nor tested anywhere in coredev) [jensens, davisagli]
- ``add_ext_editor.py``
- ``author_find_content.py``
- ``canSelectDefaultPage.py`` with tests
- ``create_query_string.py``
- ``createMultiColumnList.py``
- ``displayContentsTab.py``
- ``formatColumns.py`` with tests
- ``getAllowedTypes.py``
- ``getGlobalPortalRoles.py``
- ``getNotAddableTypes.py``
- ``getPopupScript.py``
- ``getPortalTypeList.py`` and metadata
- ``getPortalTypes.py``
- ``getSelectableViews.py`` with tests
- ``hasIndexHtml.py`` with tests
- ``navigationParent.py`` with test
- ``plone_log.py``
- ``plone.css.py``
- ``returnNone.py`` with occurence refactored
- ``reverseList.py`` with test
- ``sort_modified_ascending.py``
- Move scripts ``datecomponents.py`` and ``show_id.py`` to Archetypes
[jensens, davisagli]
- Remove methods of the ``@@plone`` view that were marked for deprecation:
- ``showEditableBorder`` (use ``@@plone/showToolbar``)
- ``mark_view`` (use ``@@plone_layout/mark_view``)
- ``hide_columns`` (use ``@@plone_layout/hide_columns``)
- ``icons_visible`` (use ``@@plone_layout/icons_visible``)
- ``getIcon`` (use ``@@plone_layout/getIcon``)
- ``have_portlets`` (use ``@@plone_layout/have_portlets``)
- ``bodyClass`` (use ``@@plone_layout/bodyClass``)
[davisagli]
- Move plone_content skin templates into Products.ATContentTypes as browser views.
[gforcada]
New features:
- Added ``ok`` view. This is useful for automated checks, for example
httpok, to see if the site is still available. It returns the text
``OK`` and sets headers to avoid caching.
[maurits]
- Make contact form extensible. This fixes https://github.com/plone/Products.CMFPlone/issues/1879.
[timo]
- Don't minify CSS or JavaScript resources if they end with ``.min.css`` resp. ``.min.js``.
[thet]
- Add ``safe_encode`` utility function to ``utils`` to safely encode unicode to a specified encoding.
The encoding defaults to ``utf-8``.
[thet]
- The password reset templates were changed to make use of ``content-core`` macros.
[thet]
- Add utility method to retrieve the top most parent request from a sub request.
[thet]
- Add ``mockup-patterns-relateditems-upload`` resource, which can be used in custom bundles to add the upload feature in the related items widget.
[thet]
- Move ``get_top_site_from_url`` from plone.app.content to ``utils.py`` and make it robust against unicode paths.
This function allows in virtual hosting environments to acquire the top most visible portal object to operate on.
It is used for example to calculate the correct virtual root objects for Mockup's related items and structure pattern.
[thet]
- Add sort_on field to search controlpanel.
[rodfersou]
- PLIP 1340: Deprecate portal_quickinstaller.
You should no longer use CMFQuickInstallerTool methods, but GenericSetup profiles.
See https://github.com/plone/Products.CMFPlone/issues/1340
[maurits]
- Include mockup 2.4.0.
[thet]
- PasswordResetTool moved from its own package to here (includes cleanup and removal of ``getStats``).
[tomgross]
- Prevent workflow menu overflowing in toolbar [MatthewWilkes]
- Add default icon for top-level contentview and contentmenu toolbar entries [alecm]
- Toolbar: Make menu hover background fit whole menu width. [thet]
- Toolbar: Don't force scoll buttons to be left, when toolbar is right. [thet]
- Toolbar: Make first level list items exand the whole toolbar width - also when scroll buttons are shown. [thet]
- Toolbar: Make scroll buttons exand whole toolbar width. [thet]
- Toolbar: Let the toolbar submenus be as wide as they need to be and do not break entries into multiple lines. [thet]
- Resource Registry:
In ``debug-mode`` (zope.conf, buildout) do not load cache the production bundle.
[jensens]
- Resource Registry:
In ``debug-mode`` (zope.conf, buildout) do not ignore development mode for anonymous users.
[jensens]
- Resource Registry: If file system version is newer than ``last_compilation`` date of a bundle, use this as ``last_compilation`` date.
[jensens]
- Simplify generated Gruntfile.js (DRY)
[jensens]
- Fix: Do not modify the Content-Type header on bundle combine.
[jensens]
Bug fixes:
- Moved getToolByName early patch to the later patches.
This fixes a circular import.
See `issue #1950 <https://github.com/plone/Products.CMFPlone/issues/1950>`_.
[maurits]
- Include JS Patterns when loading a page via ajax or an iframe [displacedaussie]
- Restore ability to include head when loading via ajax [displacedaussie]
- Added security checks for ``str.format``. Part of PloneHotfix20170117. [maurits]
- Fixed workflow tests for new ``comment_one_state_workflow``. [maurits]
- Fixed sometimes failing search order tests. [maurits]
- Load some Products.CMFPlone.patches earlier, instead of in our initialize method.
This is part of PloneHotfix20161129.
[maurits]
- Depend on CMFFormController directly, because our whole login process is based on it and its installed in the GenericSetup profile.
Before it was installed indeirectly due to a dependency in some other package which is gone.
[jensens]
- Fix Search RSS link condition to use search_rss_enabled option and use
rss.png instead of rss.gif that doesn't exist anymore.
[vincentfretin]
- Fix potential KeyError: admin in doSearch in Users/Groups controlpanel.
[vincentfretin]
- Let the ``mail_password_template`` and ``passwordreset`` views retrieve the expiry timeout from the view, in hours.
[thet]
- Fix i18n of the explainPWResetTool.pt template.
[vincentfretin]
- Remove "Minimum 5 characters" in help_new_password in pwreset_form.pt like
in other templates.
[vincentfretin]
- Fix duplicate i18n attribute 'attributes' in controlpanel/browser/actions.pt
[vincentfretin]
- Use "site administration" in lower case in accessibility-info.pt and
default_error_message.pt like in other templates.
[vincentfretin]
- Support adding or removing bundles and resources on a request when working with resource tiles in a subrequest.
[thet]
- Remove jquery.cookie from plone-logged-in bundle's stub_js_modules.
The toolbar, which has a dependency on jquery.cookie,
was moved from the plone bundle to plone-logged-in in CMPlone 5.1a2.
[thet]
- Fix various layout issues in toolbar [alecm]
- Style display menu headings differently from actions [alecm]
- Avoid dependency on plone.app.imaging. [davisagli]
- Fix TinyMCE table styles [vangheem]
- Fix TinyMCE content CSS support to allow themes to define
external content CSS URLs (as with CDN like setup).
[datakurre]
- Add utf8 headers to all Python source files. [jensens]
- Add default icon for top-level contentview and contentmenu toolbar entries [alecm]
- Reset and re-enable ``define`` and ``require`` for the ``plone-legacy`` bundle in development mode.
Fixes issues with legacy scripts having RequireJS integration in development mode.
In Production mode, resetting and re-enabling is done in the compiled bundle.
[thet]
- Apply security hotfix 20160830 for ``z3c.form`` widgets. [maurits]
- Fixed tests in combination with newer CMFFormController which has the hotfix. [maurits]
- Apply security hotfix 20160830 for ``@@plone-root-login``. [maurits]
- Apply security hotfix 20160830 for ``isURLInPortal``. [maurits]
- Enable unload protection by using pattern class ``pat-formunloadalert`` instead ``enableUnloadProtection``.
[thet]
- Provide the image scale settings in TinyMCE image dialog.
[thet]
- Fix link on ``@@plone-upgrade``
[gforcada]
- Remove LanguageTool layer.
[gforcada]
- Use fork of grunt-sed which is compatible with newer grunt version.
[gforcada]
- Move some tests from ZopeTestCase to plone.app.testing.
[gforcada, ivanteoh, maurits]
- wording changes for social media settings panel
[tkimnguyen]
- URL change for bug tracker, wording tweaks to UPGRADE.txt
[tkimnguyen]
- Cleanup code of resource registry.
[jensens]
- Fix plone-compile-resources:
Toolbar variable override only possible if prior defined.
Define ``barcelonetaPath`` if ``plonetheme.barceloneta`` is available (but not necessarily installed).
[jensens]
- Include inactive content in worklists. [sebasgo]
- Fix #1846 plone-compile-resources: Missing Support for Sites in Mountpoints
[jensens]
- Do not use unittest2 (superfluos since part of Python 2.7).
[jensens]
- Fix security test assertion:
TestAttackVectorsFunctional test_widget_traversal_2 assumed a 302 http return code when accessing some private API.
Meanwhile it changed to return a 404 on the URL.
Reflect this in the test and expect a 404.
[jensens]
- Fix atom.xml feed not paying attention for setting to show about information
[vangheem]
- Fix imports from package Globals (removed in Zope4).
[pbauer]
- Skip one test for zope4.
[pbauer]
- Fix csrf-test where @@authenticator was called in the browser.
[pbauer]
- Do not attempt to wrap types-controlpanel based on AutoExtensibleForm and
EditForm in Acquisition using __of__ since
Products.Five.browser.metaconfigure.simple no longer has
Products.Five.bbb.AcquisitionBBB as a parent-class and thus no __of__.
Anyway __of__ in AcquisitionBBB always only returned self since
Products.Five.browser.metaconfigure.xxx-classes are always aq-wrapped
using location and __parent__. As a alternative you could use
plone.app.registry.browser.controlpanel.ControlPanelFormWrapper as
base-class for a controlpanel since ControlPanelFormWrapper subclasses
Products.Five.BrowserView which again has AcquisitionBBB.
[pbauer]
- Remove eNotSupported (not available in Zope 4)
[tschorr]
- Remove deprecated __of__ calls on BrowserViews
[MrTango]
- Test fix (Zope 4 related): More General test if controlpanel back link URL is ok.
[jensens]
5.1a2 (2016-08-19)
------------------
Breaking changes:
- Move toolbar resources to plone-logged-in bundle and recompile bundles.
[davilima6]
- Don't fail, if ``timestamp.txt`` was deleted from the resource registries production folder.
[thet]
- Add ``review_state`` to ``CatalogNavigationTabs.topLevelTabs`` results.
This allows for exposing the items workflow state in portal navigation tabs.
[thet]
- Remove discontinued module ``grunt-debug-task`` from ``plone-compile-resources``.
[jensens]
- Remove deprecated resource registrations for ``mockup-parser`` and ``mockup-registry`` from mockup-core.
Use those from patternslib instead.
[thet]
- ``plone-compile-resources``: Install ``grunt-cli`` instead of depending on an installed ``grunt`` executable.
If you already have a auto-generated ``package.json`` file in buildout directory, remove it.
[thet]
- Moved code around and deprecated old locations in ``Products/CMFPlone/patterns/__init__``.
This goes together with same pattern settings changes in ``plone.app.layout.globals.pattern_settings``.
Also moved general usable ``./patterns/utils/get_portal`` to ``./utils/.get_portal``.
Deprecated ``./patterns/utils/get_portal`` and ``./patterns/utils/get_portal``.
[jensens]
New features:
- Updated components directory, recompiled bundles.
[thet]
- Align bower components with newest mockup + documentation updates on mockup update process.
[thet]
- Ignore a bit more in ``.gitignores`` for CMPlones bower components.
[thet]
- Added setting to editing controlpanel to enable limit of keywords to the current navigation root.
[jensens]
- Make login modal dialog follow any redirects set while processing the login request.
[fulv]
- Add link to training.plone.org
[svx]
- Allow to define multiple ``tinymce-content-css`` in theme ``manifest.cfg`` files, seperated by a comma.
[thet]
- Update npm package depencies.
[thet]
- Supported ``remove`` keyword for configlets in controlpanel.xml. [maurits]
- Deprecated Gruntfile generation script ``plone-generate-gruntfile``.
Modified the ``plone-compile-resources`` script to support more parameters in order to take over that single task too.
Also clean up of parameters, better help and refactored parts of the code.
[jensens]
- Make filter control panel work with new version of safe HTML transform
[tomgross]
- Allow to hide/show actions directly from the Actions control panel list
[ebrehault]
Bug fixes:
- Have more patience in the thememapper robot test.
[maurits]
- Upgrade ``less-plugin-inline-urls`` to ``1.2.0`` to properly handle VML url node values in CSS.
[thet]
- Fixed adding same resource/bundle to the request multiple times.
[vangheem]
- Fixed missing keyword in robot tests due to wrong documentation lines.
[maurits]
- TinyMCE default table styles were broken after install due to a wrong default value.
[jensens]
- Rewording of some Site control panel text [tkimnguyen]
- Fixed syntaxerror for duplicate tag in robot tests. [maurits]
- Marked two robot tests as unstable, non-critical.
Refs https://github.com/plone/Products.CMFPlone/issues/1656 [maurits]
- Use ``Plone Test Setup`` and ``Plone Test Teardown`` from ``plone.app.robotframework`` master. [maurits]
- Let npm install work on windows for plone-compile-resources.
[jensens]
- Don't fail, when combining bundles and the target resource files (``BUNLDE-compiled.[min.js|css]``) do not yet exist on the filesystem.
Fixes GenericSetup failing silently on import with when a to-be-compiled bundle which exists only as registry entry is processed in the ``combine-bundle`` step.
[thet]
- Workaround a test problem with outdated Firefox 34 used at jenkins.plone.org.
This Workaround can be removed once https://github.com/plone/jenkins.plone.org/issues/179 was solved.
[jensens]
- Fix select2 related robot test failures and give the test_tinymce.robot scenario a more unique name.
[thet]
- Add missing ``jquery.browser`` dependency which is needed by patternslib.
[thet]
- Toolbar fixes:
- Autoformat with cssbrush and js-beautify,
- Remove ``git diff`` in line 105, which broke compilation.
- Use patternslib ``pat-base`` instead of ``mockup-patterns-base``.
- Remove dependency on deprecated ``mockup-core``.
[thet]
- Removed docstrings from PropertyManager methods to avoid publishing them. [maurits]
- Added publishing patch from Products.PloneHotfix20160419.
This avoids publishing some methods inherited from Zope or CMF. [maurits]
Fixes:
- Remove whitespaces in ``Products/CMFPlone/browser/templates/plone-frontpage.pt``.
[svx]
- Fixed versioning for File and Image.
[iham]
- Do not hide document byline viewlet by default;
it is controled by the `Allow anyone to view 'about' information` option in the `Security Settings` of `Site Setup` (closes `#1556`_).
[hvelarde]
- Removed docstrings from some methods to avoid publishing them. From
Products.PloneHotfix20160419. [maurits]
- Fix issue where incorrectly configured formats would cause TinyMCE to error
[vangheem]
- Closes #1513 'Wrong portal_url used for TinyMCE in multilingual site',
also refactors the patterns settings and cleans it up.
[jensens]
- Removed inconsistency in the display of `Site Setup` links under 'Users and Groups'
control panel.
[kkhan]
- Only encode JS body if unicode in gruntfile generation script to avoid
unicode error.
[jensens]
- Only encode CSS body if unicode in gruntfile generation script to avoid
unicode error.
[rnix]
- Gruntfile failed if only css or only javascripts were registered.
[jensens]
- Bundle aggregation must use ++plone++static overrided versions if any.
[ebrehault]
- Fix bundle aggregation when bundle has no CSS (or no JS)
[ebrehault]
- Fix relative url in CSS in bundle aggregation
[ebrehault]
- Do not hard-code baseUrl in bundle to avoid bad URL when switching domains.
[ebrehault]
- fix typo and comma splice error in HTML filtering control panel [tkimnguyen]
- Use zope.interface decorator.
[gforcada]
- Remove advanced_search input which is in double.
[Gagaro]
5.1a1 (2016-03-31)
------------------
Incompatibilities:
- Changed these ``section`` elements to ``div`` elements: ``#viewlet-above-content``, ``#viewlet-above-content-body``, ``#content-core``, ``#viewlet-below-content-body``.
And these portlets ``section`` elements to ``aside`` elements: ``#portal-colophon``, ``#portal-footer-signature``.
This might affect your custom styling or javascript.
[maurits]
New:
- Upgrade to tinymce to 4.3.4
[vangheem]
- For the controlpanel portlets, use the nearest site url as a base for the overview-controlpanel.
This gives more flexibility for sub site controlpanels.
[thet]
- added invisible-grid table styles
[agitator]
- Control panel to mange portal actions
[ebrehault]
- new less variable to configure the width of the toolbars submenu called ``plone-toolbar-submenu-width``.
[jensens]
- new zcml feature "plone-51" added. Profile version set to 5101.
Version references set to 5.1.0.
[jensens]
- Registered post_handler instead of plone-final. The plone-final
import step now does nothing. Instead, we redefined the old handler
as a post_handler explicitly for our main profile. This is
guaranteed to really run after all other import steps, which was
never possible in the old way. The plone-final step is kept for
backwards compatibility.
[maurits]
- Remove Zope mention in logout form
[tkimnguyen]
- Do not encode reply-to email address for contact-info form
[tkimnguyen]
Fixes:
- Fixed displaying the body text of a feed item. This is when
``render_body`` is switched on in the Syndication settings.
[maurits]
- Make Gruntfile.js generation script a bit more verbose to show the effective
locations of the generated bundles. This helps in case of non-working setups
also as if bundle compilation was started in browser at a first run a and
next run was run using the script and files were generated at different
places than expected.
[jensens]
- Ensured front-page is English when creating an English site.
Previously, when creating an English site with a browser that
prefers a different language, the body text ended up being in the
browser language. For languages without a front-page text
translation the same happened: they got the other language instead
of English. [maurits]
- Fixed test error in ``test_controlpanel_site.py`` failed with random error.
[jensens]
- Do not break background images relative urls in CSS when concatening bundles
[ebrehault]
- Fixed html validation: element nav does not need a role attribute.
[maurits]
- Fixed html validation: section lacks heading.
[maurits]
5.0.3 (2016-03-??)
------------------
Fixes:
- In the ``combine-bundles`` import step, make sure the Content Type
header is not set to ``application/javascript``. This would result
in the ``plone-upgrade`` result page being shown in plain text.
Fixes https://github.com/plone/Products.CMFPlone/issues/1436
[maurits]
5.0.3c1 (2016-03-02)
--------------------
New:
- If a bundle does not provide any resources, do not attempt to compile it
[vangheem]
- Build resource registry JavaScript for fix in not being able to develop js/css
[vangheem]
- Include pat-moment for public javascript
[vangheem]
- Add custom navigation root in TinyMCE configuration.
[alecm]
- Add barceloneta theme path in less configuration.
[Gagaro]
- Merge JS and CSS bundles into meta-bundles to reduce the number of requests
when loading a page (PLIP #1277)
[ebrehault]
Fixes:
- Toolbar cleanup: more less and less css, typo corrected in less variable,
better readability with a darker background in submenu, use font fallback
chain as in barcelonetta (works also w/o the theme).
[jensens]
- Fix browser spell checking not working with TinyMCE
[vangheem]
- Do not fail when viewing any page, or during migration, when Diazo
is not installed and the persistent resource directory is not
registered. Fixes
https://github.com/plone/Products.CMFPlone/issues/1187
[maurits]
- Move hero on welcome page from theme into managed content.
Issue https://github.com/plone/Products.CMFPlone/issues/974
[gyst]
- Get ``email_from_name`` from the mail settings registry.
Fixes https://github.com/plone/Products.CMFPlone/issues/1382
[tmog]
- No longer rely on deprecated ``bobobase_modification_time`` from
``Persistence.Persistent``.
[thet]
- Move p.a.discussion monkey patch for reindexing conversations to
CatalogTool.py as p.a.discussion is part of Plone core.
Issue https://github.com/plone/Products.CMFPlone/issues/1332
[fredvd, staeff]
- Fix custom tinymce content styles not getting included correctly
[vangheem]
- Fix timing problem with robot framework tests.
[jensens]
- Upgrade TinyMCE to 4.3
[vangheem]
- Fix use of icons in search results
[vangheem]
- Mock MailHost on testing.py so that tests relying on mails can use it.
[gforcada]
- Fix `aria-hidden` attribute control problem on toolbar
https://github.com/plone/Products.CMFPlone/issues/866
[terapyon]
- Sort relateditems tree by sortable_title in tinymce.
[Gagaro]
- Return a JSON error instead of a the Plone error page when the requested
resource is not text/html (fix #637).
[ebrehault]
5.0.2 (2016-01-08)
------------------
Fixes:
- Fix url generation for tinymce when using virtual hosting. This fixing
images not rendering properly in tinymce.
[vangheem]
- build resources with latest mockup that provides better path criteria
widget for the querystring pattern
[vangheem]
- Fixed Forbidden error when using the users and groups overview as
Site Administrator. This could happen when there are users that
inherit the Manager role from the Administrators group.
Fixes issue https://github.com/plone/Products.CMFPlone/issues/1293
[maurits]
- Fixed Unauthorized error in folder_full_view for anonymous users.
Fixes issue https://github.com/plone/Products.CMFPlone/issues/1292
[maurits]
5.0.1 (2015-12-17)
------------------
New:
- Add option to show/hide thumbs in site-controlpanel
https://github.com/plone/Products.CMFPlone/issues/1241
[fgrcon]
- Add icon fallback for addons in Site Setup (fixes `#1232`_)
[davilima6]
- Explicitly provide id on search form and not depend on diazo magic
adding the id in.
[vangheem]
- Be able to stub JavaScript modules to prevent including the same
javascript twice.