Commit Graph

3071 Commits

Author SHA1 Message Date
Aina Sitraka
e0425f1630 fix patch 4.1.11 (#4574) 2025-01-13 14:59:34 +01:00
Aina Sitraka
32aa1db879 PHRAS-4108 openid : add claims mapping and groups filtering (#4563)
* openid add group mapping

* add  migration patch for configuration injection
2024-12-12 15:46:04 +01:00
jygaulier
7ac7417fc4 PHRAS-4106_ignore-openid-groups (#4561)
* add: setting `usegroups` : set to false to disable groups (even if the provider returns groups)
fix : `birthgroup` can be null
fix : `everyone-group` can be null

* add default setting

* add patch

Co-authored-by: aynsix <asr@esokia-webagency.com>
2024-12-03 14:54:55 +01:00
jygaulier
1979ad0f79 PHRAS-4078_ExpiringRight-to-core (#4526)
* wip do not merge

* fix event EXPORT_CREATE for basket download

* fix bad conf (not a worker)

* fix bad table name
2024-07-17 17:11:55 +02:00
Aina Sitraka
b8786852e0 PHRAS-4067: admin - dashboard - 500 error (#4513)
* fix error 500 on dashboard : remove unused swiftools requirement

* unused

* patch on 4.1.8
2024-06-10 18:18:34 +02:00
Aina Sitraka
0c0021d001 PHRAS-4073: Register form - improvement (#4520)
* sanitize register form

* fix
2024-06-10 16:09:57 +02:00
jygaulier
45e8f29fc9 add : allow to set multiple --source, the first not-empty meta is copied to destination (#4516) 2024-06-06 15:19:01 +02:00
Aina Sitraka
d6849fd580 PHRAS-4007: Auth provider - add keycloak provider - openid (#4462)
* keycloak provider

* add readme

* comment regenarete password

* add exclusive option to provider an column can_renew_passwor to user

* default exclusive false

* always compatible with psauth

* bump image tag .env

* bump Version to 4.1.8-rc9

* bump version to rc12

* add autoconnect
2024-04-30 14:15:56 +02:00
Aina Sitraka
b0eba5217c PHRAS-4057: log_doc - report mark as "cancel" for running_job entry (#4501)
* log_docs mark as canceled too

* PHRAS-4058 auto cancelling job

* add auto-cancelingJob in hour in the config

* add patch rc12
2024-04-30 11:44:14 +02:00
Aina Sitraka
28bb3630b4 PHRAS-4033 fix timeline history for writemetadata and subdefinition (#4491)
* fix timeline historic for writemetadata and subdefinition

* fix alter table in log_docs
2024-03-25 19:23:06 +01:00
Aina Sitraka
8a4897865d PHRAS-4033 Log_docs - log subdefinition build and write metadata - WorkerRunningJobs (#4482)
* workerRunningJob to logDocs

* add patch for alter table log_docs

* writemetadata log_docs from workingrunningjob and add icon

* generate translation

* update icon

* change size to 20px

---------

Co-authored-by: Nicolas Maillat <maillat@alchemy.fr>
2024-03-19 14:26:06 +01:00
Aina Sitraka
747c8a0832 webhook record.created add some data (#4485) 2024-03-15 19:14:13 +01:00
Aina Sitraka
f02e5b8e5f PHRAS-4023 hcaptcha in Phraseanet (#4473)
* use hcaptcha

* add conf

* use captcha-provider key instead of captchas-enabled in configuration

* fix test

* test

* bump back version to rc9
2024-02-29 14:59:46 +01:00
Aina Sitraka
71ef4bf1dd PHRAS-4011 : Moving cmd from console to setup - system:clear-cache system:clear-session (#4460)
* cmd clear cache in bin/setup

* Change maintenance state wording
2024-01-22 10:34:13 +01:00
jygaulier
7e42d03a24 PHRAS-3987: fix do not add text shadow if no shadow attribute (#4454) 2024-01-03 18:51:05 +01:00
Aina Sitraka
7768ebfb4b PHRAS-3722 : bin/console records:build-subdef (#4450)
* fix

* PHRAS-4001

* - allow to prune without building
- require --confirm to prune and build in the same time

---------
Co-authored-by: jygaulier <gaulier@alchemy.fr>
2023-12-29 15:55:31 +01:00
jygaulier
8df3cf55b7 add stamp / no-stamp to export-by-email and export-by-ftp (#4437)
add default (disabled) stamp settings on new collections
add "record_edit" & "image_tools" to conf / export-stamp-choice privilege
2023-12-14 17:20:53 +01:00
Aina Sitraka
4cefad3f93 basket element add column and index (#4436) 2023-12-11 15:27:59 +01:00
Aina Sitraka
8be71ba754 patch for stamp (#4434) 2023-12-08 09:10:34 +01:00
jygaulier
cbb131d17d Update 418RC8PHRAS3768.php (#4435)
disable patch crashing caused missing table "basketelements"
2023-12-07 19:36:47 +01:00
Aina Sitraka
fa8377e411 PHRAS-3967: Translator - Move translator configuration in config/configuration.yml (#4428)
* move translator configuration

* some catch
2023-12-04 15:42:30 +01:00
Aina Sitraka
f0baae969f PHRAS-3947: Prod - Editing - restrict field content to thesaurus and or suggested values (#4426)
* add property input-disabled in field

* fix

* fix
2023-12-04 09:50:01 +01:00
Aina Sitraka
945be4ca92 clean some config (#4429)
PHRAS-3668 : happyscribe setup in configuration.yml
2023-12-01 10:27:51 +01:00
jygaulier
69f3b30ee5 PHRAS-3768_feedback-report-per-record (#4421)
* add command feedback:report ; bump back to 4.1.8-rc9
WIP OK TO TEST

* aadd dry, log, ... ; move conf ; bump back to 4.1.8-rc8
WIP OK TO TEST

* add command feedback:report ; bump back to 4.1.8-rc9
WIP OK TO TEST

* aadd dry, log, ... ; move conf ; bump back to 4.1.8-rc8
WIP OK TO TEST

* add default (disabled) conf in conf.d

* Update Version.php

bump version made in #4426
2023-11-30 17:26:14 +01:00
Aina Sitraka
3f809f5c03 clean up config (#4427) 2023-11-30 16:38:44 +01:00
jygaulier
bfe3bd04f4 PHRAS-3944_malformed-web-vtt (#4407)
* fix bad formated time

* change version to 4.1.8-rc8

* Update Version.php

Migration patch while be triggered by bump version perform in  pr #4426
2023-11-30 14:20:08 +01:00
Aina Sitraka
7bfd9569d8 PHRAS-2069 rescan file metadata command (#4420) 2023-11-29 14:09:43 +01:00
Aina Sitraka
5a6188b876 admin user filter with api only (#4422) 2023-11-29 08:29:06 +01:00
Aina Sitraka
ea4e80f074 PHRAS-3668 fix incomplete translation (#4418) 2023-11-23 17:32:51 +01:00
jygaulier
07f4462672 PHRAS-3520_stamper-enhance (#4385)
* WIP DO NOT MERGE
add: stamp subdefs of class "preview"
apply watermark on stamped subdef (cache to be fixed)
fix: admin/collection settings (new ux, clean xml)

* WIP DO NOT MERGE
add: stamp subdefs of class "preview"
apply watermark on stamped subdef (cache to be fixed)
fix: admin/collection settings (new ux, clean xml)

* conf.export_stamp_choice now supports 'manage_collection' and 'manage_databox' (and bc true) to restrict right to remove stamp.

* fix test

* WIP DO NOT MERGE
add: stamp subdefs of class "preview"
apply watermark on stamped subdef (cache to be fixed)
fix: admin/collection settings (new ux, clean xml)

* conf.export_stamp_choice now supports 'manage_collection' and 'manage_databox' (and bc true) to restrict right to remove stamp.

* fix test

* fix compatibility with download-async ; add registry/actions/stamp-subdefs=false to conf
2023-11-22 12:30:55 +01:00
Aina Sitraka
1ccba2d9a0 PHRAS-3668 subtitle notification (#4416)
* subtitle notification

* fix notif
2023-11-22 12:15:30 +01:00
jygaulier
65732343ee PHRAS-3918_subdef-substituable-setting (#4381)
* add checkbox "substituable" to admin/subdef ; bump to 4.1.8-rc7 and bump production-client ; migrate and remove conf 'registry/modules/thumb-substitution'

* bump production-client to 94

* fix test ; add test ; move "substituable" node to all subdefs (attribute)

* fix test

* fix test

* set "flatten layers"=true for new subdefs (PHRAS-3852 fix it)
2023-10-31 15:52:45 +01:00
Aina Sitraka
23bb538246 PHRAS-3935 : phraseanet_local_id became instance_id (#4396)
* phraseanet_local_id patch

* display phraseanet_local_id

* phraseanet_local_id to instance_id

* update embed bumdle
2023-10-30 21:14:07 +01:00
jygaulier
7d703b690f PHRAS-3928_download_async WIP ok to test (#4386)
* WIP/POC DO NOT MERGE
use "pusher" to wait for export-by-email worker to tell client that export is done.
nb: export worker is artificially delayed by 30s !

* WIP OK TO TEST ; DO NOT MERGE

* WIP/POC DO NOT MERGE
use "pusher" to wait for export-by-email worker to tell client that export is done.
nb: export worker is artificially delayed by 30s !

* WIP OK TO TEST ; DO NOT MERGE

* cleanup

* cleanup

* better conf & cleanup

* fix typo

* fix stamp transparency (bump imagine)
fix missing cgu for one file download
better cli feedback
add (re)download link on cli

* fix test

* fix missing js feedback (when worker publish before client subscribes)

* cleanup

* fix "remove stamp" choice

* add default conf

* WIP/POC DO NOT MERGE
use "pusher" to wait for export-by-email worker to tell client that export is done.
nb: export worker is artificially delayed by 30s !

* WIP OK TO TEST ; DO NOT MERGE

* WIP/POC DO NOT MERGE
use "pusher" to wait for export-by-email worker to tell client that export is done.
nb: export worker is artificially delayed by 30s !

* WIP OK TO TEST ; DO NOT MERGE

* cleanup

* cleanup

* better conf & cleanup

* fix typo

* fix stamp transparency (bump imagine)
fix missing cgu for one file download
better cli feedback
add (re)download link on cli

* fix test

* fix missing js feedback (when worker publish before client subscribes)

* cleanup

* fix "remove stamp" choice

* add default conf

* WIP OK TO TEST generates an excel report for async download.
define some env-vars for Pusher (todo: fix entrypoint to add during install)

* fix xl formating for tabs >1
add env_vars to config build

* fix test
2023-10-30 15:08:55 +01:00
jygaulier
1bef595785 add background color to subdefs of transparent tiff. (#4376)
bump media-alchemyst and imagine
2023-09-19 18:25:25 +02:00
Aina Sitraka
f3d8159868 PHRAS-3889 Worker - metadata write - mime/type whitelist - write metadatas only on whitelisted files (#4366)
* write meta only on whitelist mimetype

* bump version

* add some mimetype

* PHRAS-3896 :  patch for checking the current value of populate_order in file  config/configuration.yml  and set to populate_order: RECORD_ID
2023-09-12 14:08:29 +02:00
Aina Sitraka
8d67bf6653 fix export mail caption (#4363) 2023-08-09 09:42:13 +02:00
Aina Sitraka
51c71dc6f0 PHRAS-3851 Untranslated terms : in Notifications, Detailed View, Map (#4351)
* untranslated geoloc tab, validate - preview resultat

* fix notification translation

* PHRAS-2642 alt text video records
2023-07-28 14:15:15 +02:00
jygaulier
77c5521243 apply actions (translations, coll, sb) ; enhance setMetadatasByActions():"add" action to act on mono-fields 2023-05-11 20:17:40 +02:00
Aina Sitraka
de120780f6 PHRAS-3826 ci test (#4300)
switching docker build image and unit test run on github action
2023-04-29 22:13:08 +02:00
Aina Sitraka
614b60a494 PHRAS-3833 Report - export databox action - refacto download (#4295)
* databox content action

* rename file

* unused

* resolve user name, add record type

* add column email

* resolve user name, and add column email in report connections

* resolve user

* gui redirection if not connected

* add column record_type and story_element
2023-04-18 13:29:29 +02:00
Aina Sitraka
b4a3bb0c8c PHRAS-3822 Prod : Improve Image WaterMarking (#4266)
* admin improve watermark

* unused

* allow to use collection wm image to wm a subdef (set <watermark>coll_wm</watermark> in structure)

* [skip ci] upload a wm for subdef (WIP to be continued ?)

* allow to use a record as wm image (document) to wmark subdefs

* cleanup

---------

Co-authored-by: jygaulier <gaulier@alchemy.fr>
2023-03-15 14:26:25 +01:00
jygaulier
e7027c7220 PHRAS-3800_xss (#4219)
* add encode option to record::get_title ; render preview.record_title in twig

* html-escape facet values
2023-03-15 11:05:34 +01:00
jygaulier
a6260ef149 PHRAS-3820_fix-patch-3.8-to-4.1 (#4263)
* add --dry to bin/setup system:upgrade ; trace patches ; allow MailChecker to fail (when table 'usr' does not exist anymore...)

* MailChecker now works on 'usr' and 'Users' table

* typo

* typo again

* don't create appbox.Registrations if exists

* don't create tables if already exists

* Revert "don't create appbox.Registrations if exists"

This reverts commit 652131aff7.

* drop (empty ?) tables already created before patch

* reorder drop / delete to follow fk rules

* fix typo that makes ApiMigration to run event when table exists ; Move some drop tables at the end
2023-03-09 13:45:39 +01:00
Aina Sitraka
bf29fb00fd move patch to 4.1.6-rc3 (#4256) 2023-02-23 17:13:00 +01:00
Aina Sitraka
d40667462f PHRAS-3804 add cookie consent axeptio (#4244)
* add cookie consent

* change config

* bump version

* refactorize
2023-02-09 16:34:19 +01:00
Aina Sitraka
9477c9b340 PHRAS-2948 Lazaret ( quarantine ) - disabled a checker cause a 500 error (#4241) 2023-02-07 10:00:37 +01:00
Aina Sitraka
d7cf5e3998 shared basket right expiration (#4207)
PHRAS-3793 : When shared basket expire, only the documents access is revoked, previews access is keep
2023-01-30 10:39:59 +01:00
Aina Sitraka
9902457c42 PHRAS-1718 add google recaptcha (#4224)
* PHRAS-1718 Add google recaptcha lib - Dont merge some quick fixes remaining

* PHRAS-1718 Add error on registration form if captcha is not filled

* Update dependencies

* PHRAS-1718 Add trials-before-display var on admin setup form. Add integer constraint on this field

* fix

* test

* test

* fix

* test

* test

* fix

* test

* fix

* test

* add captcha on forgotten password

* fix

* add patch

* add locale on captcha

* bump version

Co-authored-by: Xavier Rousset <xrousset78800@gmail.com>
2023-01-25 18:30:46 +01:00
Aina Sitraka
170125b9bb PHRAS-3694 notif by email on delete inactif account, admin filter (#4216) 2023-01-19 14:03:28 +01:00