Skip to content

Commit

Permalink
Merge commit 'refs/pull/487/head' of github.com:alchemy-fr/phraseanet…
Browse files Browse the repository at this point in the history
…-services into w2445
  • Loading branch information
nmaillat committed Nov 18, 2024
2 parents 96c29c0 + 63f048e commit 60f59a5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
11 changes: 6 additions & 5 deletions databox/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ FROM ${REGISTRY_NAMESPACE}php-fpm-base:${BASE_TAG} AS api-php
ENV IMAGICK_PHP83_FIX_COMMIT=28f27044e435a2b203e32675e942eb8de620ee58

RUN apk add --no-cache \
perl \
freetype \
imagemagick \
ffmpeg \
freetype \
ghostscript \
libheif \
libjpeg-turbo \
libpng \
libwebp \
libheif \
ffmpeg \
libreoffice \
libwebp \
perl \
&& apk add --no-cache --virtual build-essentials \
g++ \
make \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,7 @@ public function configureFields(string $pageName): iterable
->onlyOnForms();
yield DateTimeField::new('createdAt')
->hideOnForm();
yield DateTimeField::new('updatedAt')
->hideOnForm();
}
}
3 changes: 3 additions & 0 deletions databox/api/src/Entity/Integration/WorkspaceSecret.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,8 @@ public function getPlainValue(): ?string
public function setPlainValue(?string $plainValue): void
{
$this->plainValue = $plainValue;
if (null !== $plainValue) {
$this->setValue(null); // Make a change to this mapped field trigger Doctrine preUpdate event
}
}
}
5 changes: 3 additions & 2 deletions infra/docker/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,17 @@ RUN apk add --no-cache \
mysql-dev \
postgresql-dev \
zlib \
ffmpeg \
libreoffice \
imagemagick \
rabbitmq-c-dev \
bash \
ffmpeg \
freetype \
g++ \
gettext \
ghostscript \
libjpeg-turbo \
libpng \
libreoffice \
libwebp \
linux-headers \
make \
Expand Down

0 comments on commit 60f59a5

Please sign in to comment.