Commit Graph

6176 Commits

Author SHA1 Message Date
jygaulier
b3345c137c Merge branch 'master' into PHRAS-3988_feedback-report-same-record 2023-12-14 21:02:04 +01:00
jygaulier
8494d3fd52 fix: same record on many expired feedbacks - not yet reported - is reported from the latest expiring feedback
change: --min_date applies on creation of the basket (not expiration)
add: name of the basket on output
2023-12-14 20:57:18 +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
jygaulier
5c6317d44b ignore non voters ; add --min_date option ; add databoxes filter 2023-12-13 18:05:07 +01:00
Aina Sitraka
e72a210183 search in thesaurus (#4430) 2023-12-11 15:47:51 +01:00
Aina Sitraka
4cefad3f93 basket element add column and index (#4436) 2023-12-11 15:27:59 +01:00
Aina Sitraka
f01c9a672c stop to try to write metadata on story (#4433) 2023-12-07 23:49:19 +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
jygaulier
00fc6e1c7a PHRAS-3958_download-one-asset (#4425)
* fix sync-download 1 doc ; fix stamp not removed

* remove test
2023-11-30 15:15:34 +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
de6a104c8c move pusher conffiguration (#4413) 2023-11-28 09:22:03 +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
Aina Sitraka
a29aa3355b PHRAS-3770: generate translation (#4414)
* generate translation

* fix
2023-11-17 16:04:09 +01:00
Aina Sitraka
ca449d6933 PHRAS-3668 happyscribe autosubtitle (#4405)
* happyscribe autosubtitle mvp

* list source lang
2023-11-17 15:43:00 +01:00
Aina Sitraka
b3f2076c77 fic clean user never connected (#4412) 2023-11-17 15:23:48 +01:00
jygaulier
dc80246f56 PHRAS-3770_quarantine-enhancement (#4352)
* wip

* add: quarantine: when "adding", can copy metadata from the selected record

* fix failing test ; add test for "add & copy caption" (to be completed with field values...)

* wip

* add: quarantine: when "adding", can copy metadata from the selected record

* fix failing test ; add test for "add & copy caption" (to be completed with field values...)

* fix add button (did nothing when no doc selected at right) ; add clickable label on "copy meta" ckbox

* fix missing sb-off icons
2023-11-16 17:32:19 +01:00
Aina Sitraka
b4b7ebf4ce PHRAS-3917 Prod - home redirection when session end - catch more 403 (#4399)
* redirect at home when session end

* catch some error 403
2023-11-16 17:08:52 +01:00
jygaulier
e2b76cc81f PHRAS-3940 translator-group-jobs (#4409)
* declare actions (work on fields) inside job (work on records)

* fix invalid sql

* fix invalid sql ; add sample
2023-11-16 16:16:14 +01:00
jygaulier
a1e7f77cdd count the report (xlx) as a file (#4408) 2023-11-08 19:14:22 +01:00
jygaulier
a580d52a1e cut sheet titles (tabnames) to 31 char (#4406) 2023-11-06 10:47:19 +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
Aina Sitraka
bf76b30670 PHRAS-3934 fix videotools subtitle timeline (#4398)
* fix videotools subtitle timeline digit issue 
* fix videotools when text of subtitle clip is empty 
* bump front version
2023-10-30 17:35:00 +01:00
jygaulier
179431d1b5 PHRAS-3931_phraseanet_local_id_in_api (#4400)
* add "resource_id" to record / story ; formula defined into InstanceIdAware.php

* fix tests

* fix tests

* switch to main/instance_id
2023-10-30 17:15:04 +01:00
Aina Sitraka
ebe915326b PHRAS-3900 Check TLS version use for email SMTP sending - TLS 1.0 of 1.1 deprecation (#4382)
* swift tls 1.2

* add tls 1.1 and 1.2 option

* tlsv1.2 by default
2023-10-30 16:14:22 +01:00
Aina Sitraka
2c819817f1 fix order create basket (#4401) 2023-10-30 15:41:23 +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
Aina Sitraka
a6c459c885 show the button stop and some fix (#4397) 2023-10-30 13:54:46 +01:00
Aina Sitraka
fc3baaf368 fix videotools (#4394) 2023-10-18 23:55:41 +02:00
Aina Sitraka
16353c3a8a PHRAS-3921 expose-cli oauth token uri compatibility v2 v3 and asset title set (#4392)
* some fix

* PHRAS-3936 set expose asset title with title define in Phraseanet
2023-10-17 22:00:29 +02:00
Aina Sitraka
529a95ecfa PHRAS-3921 prod - expose-cli - became compatible with Phrasea V3 keycloak and fix (#4384)
* expose cli phrasea v3

* retrocompatible with v2

* fix connection by idp

* remove placeholder

* some fix

* some fix

* fix

* fix auth from IDP

* list expose

---------

Co-authored-by: Nicolas Maillat <maillat@alchemy.fr>
2023-10-10 22:22:23 +02:00
Aina Sitraka
be9a6b3ed3 PHRAS-3894 : bin/maintenance clean: - Removing BETA prefix and Memory leak (#4391)
* remove beta

* prefix beta in description
2023-10-10 20:43:30 +02:00
Aina Sitraka
0c52d94659 PHRAS-3061 change max value in size and dpi (#4389) 2023-10-06 17:48:58 +02:00
Aina Sitraka
b6a5f90fd3 PHRAS-3857 Check CSRF token on Prod and Admin forms (#4361)
* csrf token form

* add csrf token

* add csrf

* add csrf

* add csrf

* test

* test

* test

* add form token in report

* csrf token upload

* lazaret csrf form

* upload test

* lazaret test

* add csrf token

* fix test

* fix set cover publication

---------

Co-authored-by: jygaulier <gaulier@alchemy.fr>
2023-10-03 16:28:33 +02:00
jygaulier
78a36aec21 fix crash when nothing to do on a record 2023-09-27 13:18:34 +02:00
Aina Sitraka
e3d2ca81d7 expose publication list pagination (#4379)
Co-authored-by: jygaulier <gaulier@alchemy.fr>
2023-09-21 18:16:08 +02: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
06193f2640 PHRAS-3903 Admin - object inspector - record index debug tools (#4369)
* add admin record index tools

* add databox_id filter

* add url encode

* use options provider

* return uri along with es result

---------

Co-authored-by: jygaulier <gaulier@alchemy.fr>
2023-09-07 13:51:35 +02:00
Aina Sitraka
ec4a22527d PHRAS-3890: Admin - add "auth failure" - display and purge auth failure - only for super U (#4368)
* admin auth failure

* add check superU
2023-09-05 17:25:08 +02:00
Aina Sitraka
8d67bf6653 fix export mail caption (#4363) 2023-08-09 09:42:13 +02:00
Aina Sitraka
e28cfb5e3b fix advanced search date control calendar (#4360) 2023-08-04 19:01:11 +02:00
Nicolas Maillat
f3f8bd718b PHRAS-3888 release 4.1.8-rc5 (#4357)
* bump version

* changelog
2023-08-04 09:57:55 +02:00
jygaulier
74757caa3b PHRAS-3870_record-action-example (#4334)
* select by id or name ; add / enhance clauses (date, number, ...) ; change example to match default db ; add doc

* fix "in code" example

* big refacto ; bc break on syntax ; add "compute" ; allow b/c work:run-serv without payload

* exception if not settings/version=2

---------

Co-authored-by: Nicolas Maillat <maillat@alchemy.fr>
2023-08-02 15:39:38 +02:00