Commit Graph

58 Commits

Author SHA1 Message Date
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
84f3df552a set finished colon when error (#4469) 2024-02-08 11:01:28 +01:00
Aina Sitraka
f01c9a672c stop to try to write metadata on story (#4433) 2023-12-07 23:49:19 +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
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
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
8efdc36efa PHRAS-3712 admin - sudefinition - property to define building rules on subdefinition (#4104)
* add building rules

* setting in first position

attribute `tobuild` on subdefinition

limit subdef name to 64 like db

taken account tobuild in tools rebuild GUI

taken account tobuild in command `bin/console records:build-subdefs`

* add check

* add tobuild in api response

* fix command `bin/console records:build-subdefs`
2022-07-27 18:25:44 +02:00
Aina Sitraka
db948889f2 PHRAS-3713 Admin - Sudefinition - property to define metadata writing rules on original document (#4105)
* metadata writing rules

* test

* test
2022-07-26 15:57:39 +02:00
Aina Sitraka
ed7f993690 PHRAS-3121 Prod - Tools - Tab subdefinition rebuild - option for choosing which subdefintion will be rebuilt (thumbnail, preview etc ...) (#4100)
* subdefinition rebuild option
* fix option rebuild
Co-authored-by: jygaulier <gaulier@alchemy.fr>
2022-07-21 11:06:43 +02:00
aynsix
074920353a PHRAS-3555 add more webhook events 2021-11-16 17:15:49 +03:00
aynsix
c12cefa028 PHRAS-3468 remove logs trace 2021-11-09 10:51:49 +03:00
jygaulier
8a29dc8c0d PHRAS-3544_invalidate-stamp
move delete to subdef class
2021-10-06 11:44:09 +02:00
jygaulier
d887b3b137 PHRAS-3544_invalidate-stamp
delete stamp cache file after image rotation or build subdef
2021-10-05 20:03:57 +02:00
jygaulier
f831bb282d PHRAS-3476_subdefs-corrupted
fix : q-message "writemeta/document" is now sent after all synchronous exiftools.
added lot of traces, to be removed asap
2021-07-12 21:29:26 +02:00
jygaulier
2647580d5f PHRAS-3479_trace-crash-on-usec0
fix : "trace" do not report usec anymore
2021-06-30 17:43:36 +02:00
jygaulier
6c9ac8aba3 PHRAS-3447_file-lock-in-workers_4.1
add traces because writemeta is ignored on alpha ?
2021-06-16 12:11:37 +02:00
jygaulier
5f5ee4af95 PHRAS-3447_file-lock-in-workers_4.1
fix : prevent file access with rules depending on job, wrap rules with mutex
2021-06-16 12:11:37 +02:00
jygaulier
7c236a531a PHRAS-3447_file-lock-in-workers_4.1
fix : exclusive lock for a worker to work on a subdef file
2021-06-16 12:11:37 +02:00
aynsix
fa977e1cd5 save payload to DB 2021-05-28 11:52:41 +03:00
aynsix
2c1f20f69e fix log session in edit 2021-05-27 17:39:04 +03:00
aynsix
33b7a937e9 split message per record when editing 2021-05-27 12:54:51 +03:00
aynsix
6437023b21 PHRAS-3445 add edit retry and failed Q 2021-05-25 17:35:03 +03:00
aynsix
bbd9e1de1a PHRAS-3392 tx drag an drop in record edit 2021-03-16 18:15:22 +03:00
jygaulier
f85f0df95e fix: Undefined class constant 'RECORD_EDIT_QUEUE' after editing
CS
2021-01-07 10:39:43 +01:00
jygaulier
f2f5db3df6 Refacto queues & workers
- define queues in one unique place
- fix some admin ux
- patch conf
2021-01-07 10:39:43 +01:00
aina esokia
39702ce444 factorize payload 2020-11-25 14:59:16 +03:00
aina esokia
e23b9dd294 PHRAS-3277 create event recordsWitemeta 2020-11-20 17:10:58 +03:00
aina esokia
cf5852248c merge master in branch 2020-11-19 16:06:29 +03:00
aina esokia
b9f05807a9 PHRAS-3274 worker record edit 2020-11-19 15:46:45 +03:00
aina esokia
06b2de9056 merge master into branch 2020-11-17 10:09:32 +03:00
aina esokia
695b13328f PHRAS-3253 user authentication via auth service 2020-11-03 14:38:09 +03:00
aina esokia
684b961285 add export FTP in worker 2020-10-27 17:49:12 +03:00
aina esokia
541823f9c7 PHRAS-3222 expose upload asset 2020-10-06 18:06:36 +03:00
Nicolas Maillat
216001514f Merge branch 'master' into PHRAS-3196-change-download-file-in-uploader 2020-08-04 19:05:05 +02:00
aynsix
252f0d6744 change download url in uploader 2020-08-04 17:11:02 +03:00
Harrys Ravalomanana
fdada32359 PHRAS-3164 Merge from master 2020-08-03 15:37:42 +04:00
aynsix
acb7860023 fix onexportMailFailure 2020-07-28 11:10:38 +03:00
aynsix
4585f34996 one line for one build job 2020-07-27 14:00:27 +03:00
aynsix
f85ea02434 Merge branch 'master' of https://github.com/alchemy-fr/Phraseanet into PHRAS-3181-add-error-status 2020-07-24 15:07:36 +03:00
aynsix
1a256f22df add error status in workerRunningJob table to have traceability 2020-07-23 17:31:56 +03:00
aynsix
d3b9d39771 Merge branch 'master' of https://github.com/alchemy-fr/Phraseanet into PHRAS-3170-fix-worker-table 2020-07-21 15:12:34 +03:00
aynsix
bea001c4b7 use workerrunningjob for uploader and populate 2020-07-21 15:12:03 +03:00
aynsix
34b614d30d add translate for ginga 2020-07-16 21:31:59 +03:00
aynsix
554d201c2d fix repo lazylocator 2020-07-03 15:16:56 +03:00
aynsix
1bdc82232f fix permalink url 2020-07-03 12:59:45 +03:00
aynsix
e790c2dc6e create subtitle worker 2020-07-03 11:54:19 +03:00
aynsix
a0d3d8db51 rename class 2020-06-25 17:41:38 +03:00
aynsix
afc6f9e193 create auto-subtitle event 2020-06-25 16:58:56 +03:00