Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Asset Sanitizer Queue & Preview Check (#16053)
* Improve: add sanitizing pdf * Improve: add sanitizing pdf * Review changes - use scan instead of sanitizing * Review changes - generate a version after scanning * Review changes * Update doc/23_Installation_and_Upgrade/09_Upgrade_Notes/README.md * Apply suggestions from code review Co-authored-by: Jacob Dreesen <jacob@hdreesen.de> * Update models/Asset/Document.php Co-authored-by: Jacob Dreesen <jacob@hdreesen.de> * Review changes * Update doc/23_Installation_and_Upgrade/09_Upgrade_Notes/README.md Co-authored-by: aryaantony92 <97134765+aryaantony92@users.noreply.github.com> --------- Co-authored-by: Divesh Pahuja <divesh.pahuja@pimcore.com> Co-authored-by: Jacob Dreesen <jacob@hdreesen.de> Co-authored-by: aryaantony92 <97134765+aryaantony92@users.noreply.github.com>
- Loading branch information
1 parent
a789673
commit 7573756
Showing
7 changed files
with
93 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
/** | ||
* Pimcore | ||
* | ||
* This source file is available under two different licenses: | ||
* - GNU General Public License version 3 (GPLv3) | ||
* - Pimcore Commercial License (PCL) | ||
* Full copyright and license information is available in | ||
* LICENSE.md which is distributed with this source code. | ||
* | ||
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) | ||
* @license http://www.pimcore.org/license GPLv3 and PCL | ||
*/ | ||
|
||
namespace Pimcore\Model\Asset\Enum; | ||
|
||
enum PdfScanStatus: string | ||
{ | ||
case SAFE = 'safe'; | ||
case UNSAFE = 'unsafe'; | ||
case IN_PROGRESS = 'inProgress'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters