Releases: Victoire/victoire
Introduce Victoire test-suite
Use a submodule linked to (Victoire/test-suite)[https://github.com/Victoire/test-suite] repository to manage tests for Victoire and its Widgets.
Frontend refactoring
This PR introduce a new UIBundle implementing Victoire new design with a complete styleguide accessible on route ui/styleguide
.
If you want to contribute to Victoire frontend, please follow this contribution guide.
The front refactoring is still a work in progress and will be finished for the LTS version.
New Command and Logs to find Widgetmap conflicts
Add new Command to identify broken WidgetMaps : victoire:widget-map:validate-overwrite
Log (CRITICAL) when WidgetMap are in conflict
Improve WidgetMap Builder coverage
⚡ 🎨
Performance improved
Reduce by 5 the number of requests by fetching and grouping WidgetMaps, Criterias and Widget's data (and related business entities) !
Tips
Waiting the v3 and in order to reduce the number of Doctrine queries by using WidgetDataWarmer, you can execute the following SQL commands. UPDATE vic_widget_map SET widget_id = NULL; UPDATE vic_widget SET view_id = NULL; It simply remove deprecated associations that are not required anymore.
Trigger viclink-modal events
Catch them all to setup your own ajax modal loader system
Display a page in a modal
Summary
As explaned in #681, It is usefull to render the page's content in ajax.
You can watch this humble video
http://gofile.me/2XcEH/RTl8pPSRn
Warning
If you were using https://github.com/Victoire/victoire/blob/2.1/Bundle/PageBundle/Helper/PageHelper.php#L426, you'll need to declare the modale you want to use and edit the triggerer links to set the wanted modal.
Things done
- added a layout GET parameter to the PageController@showAction to force to use this layout
- adding a way to define custom modal layouts
- do LinkType listing this modal layout when choosing "modal" value for target
- passed the layout parameter to the link generated by the vic_link extension
Upgrade
You need to execute the following SQL command to upgrade your database
UPDATE vic_link SET target = '_modal' WHERE target = 'ajax-modal'
[Media][Widget][Blog] various bugfixes
- Improve video management by the media library
- Introduce github templates
- Inject current entity in widget show
- make user avatar imageable
- fix query alias in View repo
- Some doc enhancement
Author is required for article
Merge pull request #651 from BFoucher/article-author-required Article author is required
ability to use render widget for articles
Merge pull request #650 from BFoucher/article-render can use Article in render widget
Setup authorship on Articles
Merge pull request #648 from lenybernard/feature/article-author Feature/article author