Commit Graph

252 Commits

Author SHA1 Message Date
Aina Sitraka
3fa2567087 PHRAS-4088: improving Job ack in workerRunningJob (#4535)
* improve workerrunningjob finished

* subdefcreation mark as finished when file exist
2024-10-23 20:16:30 +02:00
Aina Sitraka
5769be7799 keycloak expose refresh token (#4512) 2024-06-06 10:04:29 +02:00
Aina Sitraka
288d49021d PHRAS-4068 expose mapping label (#4514) 2024-05-28 15:57:48 +02:00
jygaulier
a148a9c481 fix field mismatch on "compute date" (#4511) 2024-05-23 11:51:57 +02:00
Aina Sitraka
e781b4e1c0 fix webvtt field (#4510) 2024-05-15 22:21:53 +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
df780d993e PHRAS-4060 webhook - error - stay in running status (#4506)
* fix webhook stay running

* add databox_id and record_id in workerRunningJob
2024-04-29 16:41:33 +02:00
Arthur M
71c01df027 PHRAS-4042 fix webvtt sent to expose (#4502) 2024-04-29 16:11:59 +02: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
Nicolas Maillat
5d1eb44f52 webhook rollback http verb (#4480) 2024-02-29 13:28:01 +01:00
Aina Sitraka
03ac68bb60 PHRAS-4028 Emited webhook improvements (#4474)
* change webhook method and content-ype

* fix tests
2024-02-15 17:20:04 +01:00
jygaulier
1d4df68c2d fix: setfield clause 2024-02-08 15:57:41 +01:00
Aina Sitraka
84f3df552a set finished colon when error (#4469) 2024-02-08 11:01:28 +01:00
Aina Sitraka
1fd3377e27 PHRAS-4018: admin - object inspector - more informations about a record (#4465)
* admin object inspector display record subdef

* fix multiple cancelling job

* api inspector and some fix

* admin inspector get record basket

* admin inspector get record stories

* some fix, generate token
2024-02-07 12:29:19 +01:00
Aina Sitraka
6abfe21090 takken acount dpi setting when writemeta (#4461) 2024-01-26 16:39:39 +01:00
Aina Sitraka
774c3408cf PHRAS-3995: Admin - worker - job queue - average duration (#4448)
* add average duration

* fix

* fix duration
2023-12-21 15:08:44 +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
f01c9a672c stop to try to write metadata on story (#4433) 2023-12-07 23:49:19 +01:00
Aina Sitraka
945be4ca92 clean some config (#4429)
PHRAS-3668 : happyscribe setup in configuration.yml
2023-12-01 10:27:51 +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
ca449d6933 PHRAS-3668 happyscribe autosubtitle (#4405)
* happyscribe autosubtitle mvp

* list source lang
2023-11-17 15:43:00 +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
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
Aina Sitraka
a6c459c885 show the button stop and some fix (#4397) 2023-10-30 13:54:46 +01: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
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
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
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
Aina Sitraka
8422eb550f admin worker consumed Q filter (#4347) 2023-07-25 09:35:18 +02:00
Aina Sitraka
ab69ef886b PHRAS-3845 mapping adding poster (#4316)
* adding mapping poster

* default poster
2023-05-16 14:11:48 +02:00
Aina Sitraka
a38d5b9dde admin hide empty Q (#4277) 2023-03-17 13:00:59 +01:00
Aina Sitraka
c102dfe24c PHRAS-3818 do not retry to avoid uploading assets 3 times on expose (#4252)
PHRAS-3818 : add only the subdefinition available in Phraseanet in the expose publication
2023-02-24 08:17:39 +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
fc278420a4 PHRAS-3598 Webhook - Emit improvement - Count and Log errors - stop to notify endpoint in error (#4209)
* deactivate webhook when many times undelivered

* fix

* fix log
2023-01-11 14:52:22 +01:00
Aina Sitraka
232224373d PHRAS-3778 export email logs (#4206)
* export email logs message

* change webhook log message
2023-01-09 22:20:43 +01:00
Aina Sitraka
0fbde30d85 fix multivalued field value from uploader (#4173) 2022-11-08 15:52:14 +01:00
Aina Sitraka
0da7b20c92 Removing Geonames error logs and worker idle message (#4170) 2022-11-08 15:13:18 +01:00
Aina Sitraka
5c88140f26 real entry duration (#4166) 2022-10-31 14:33:38 +01:00
Aina Sitraka
b9c445ca2c PHRAS-3750 select time filter (#4160) 2022-10-25 19:29:02 +02:00
Aina Sitraka
43cd154c87 PHRAS-3760 logs file - remove date from name of current log file - worker (#4154) 2022-10-21 21:21:18 +02:00
Aina Sitraka
17c2b57d1f PHRAS-3762 check worker connexion number on init (#4152)
* fix connection number on init
* specify libheif release version
2022-10-19 12:19:07 +02:00
Aina Sitraka
1481f163f1 PHRAS-3750 admin - worker - job - add sum for job duration - add time filter like 1h - 3h - 12h - 1d -3d - 1w (#4144)
* duration sum and time filter

* time filter

* add week and month filter
2022-10-04 17:34:26 +02:00
Aina Sitraka
2d71cffe46 PHRAS-3738 Admin - worker - job tab - add filter on databox_id (name),record_id (#4132)
* add databox and record id filter

* add entry count

* generate translation

* fix retrieve count in DB

* change string position
2022-09-16 10:18:07 +02:00