Skip to content

Commit

Permalink
Merge branch 'hotfix/v2.1.25'
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisemaupate committed Jul 12, 2023
2 parents e5491f5 + 03a33e0 commit 0f29cc7
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [v2.1.25](https://github.com/roadiz/core-bundle-dev-app/compare/v2.1.24...v2.1.25) (2023-07-12)


### Bug Fixes

* Do not display document thumbnail controls for audio, video ([57bbc85](https://github.com/roadiz/core-bundle-dev-app/commit/57bbc85cecda42fba08900e71faa2958b74f8d81))

## [v2.1.24](https://github.com/roadiz/core-bundle-dev-app/compare/v2.1.23...v2.1.24) (2023-07-06)


Expand Down
1 change: 0 additions & 1 deletion lib/Documents/src/ArrayDocumentFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
namespace RZ\Roadiz\Documents;

use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use RZ\Roadiz\Documents\Models\DocumentInterface;

/**
Expand Down
6 changes: 2 additions & 4 deletions lib/Documents/src/OptionsResolver/UrlOptionsResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class UrlOptionsResolver extends OptionsResolver
{
public function __construct()
{
$this->setDefaults(
[
$this->setDefaults([
'crop' => null,
'fit' => null,
'align' => null,
Expand All @@ -31,8 +30,7 @@ public function __construct()
'contrast' => 0,
'rotate' => 0,
'ratio' => null,
]
);
]);
$this->setAllowedTypes('width', ['int']);
$this->setAllowedTypes('height', ['int']);
$this->setAllowedTypes('crop', ['null', 'string']);
Expand Down
2 changes: 1 addition & 1 deletion lib/RoadizCoreBundle/config/services.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
parameters:
roadiz_core.cms_version: '2.1.24'
roadiz_core.cms_version: '2.1.25'
roadiz_core.cms_version_prefix: 'main'
env(APP_NAMESPACE): "roadiz"
env(APP_VERSION): "0.1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public function bulkDownloadAction(Request $request): Response
'sharpen' => 5,
'inline' => false,
'picture' => true,
'controls' => false,
'loading' => 'lazy',
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public function duplicatedAction(Request $request): Response
'sharpen' => 5,
'inline' => false,
'picture' => true,
'controls' => false,
'loading' => 'lazy',
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ public function indexAction(Request $request, ?int $folderId = null): Response
'sharpen' => 5,
'inline' => false,
'picture' => true,
'controls' => false,
'loading' => 'lazy',
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public function unusedAction(Request $request): Response
'sharpen' => 5,
'inline' => false,
'picture' => true,
'controls' => false,
'loading' => 'lazy',
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ class DocumentsController extends RozierApp
'sharpen' => 5,
'inline' => false,
'picture' => true,
'controls' => false,
'loading' => 'lazy',
];
private EmbedFinderFactory $embedFinderFactory;
Expand Down

0 comments on commit 0f29cc7

Please sign in to comment.