Commit Graph

3009 Commits

Author SHA1 Message Date
aynsix
a391aa9288 add loader 2025-03-04 15:39:15 +03:00
Aina Sitraka
89e1901a63 PHRAS-4131 prod - expose-cli - Sort record (assets) inside an expose publication (#4588)
* sort multiple assets on expose-cli

fix sort multiple record in basket

fix sort multiple record in story

* improve
2025-02-28 19:32:09 +01:00
Aina Sitraka
e3789b6833 case download_async (#4583)
Co-authored-by: Nicolas Maillat <maillat@alchemy.fr>
2025-02-19 08:16:38 +01:00
Aina Sitraka
fad36330b2 PHRAS-4129 fix csrf on update account (#4585) 2025-02-18 14:08:54 +01:00
Aina Sitraka
6fabd13205 PHRAS-4126 : Prod - Expose-cli - This not possible to "enabled" a publication during publication creation (#4580)
* fix publication enable

* unneeded here
2025-01-22 13:47:29 +01:00
Aina Sitraka
b33bcd930b save user filename choice when export (#4577) 2025-01-22 11:34:11 +01:00
Aina Sitraka
47371bb2aa fix (#4555) 2024-10-23 19:57:10 +02:00
Aina Sitraka
59342a6975 PHRAS-3857 : Check CSRF token on account (#4556)
* fix csrf account

* fix

* csrf new application

* fix
2024-10-23 17:46:31 +02:00
Aina Sitraka
53d13938ff PHRAS-4090:Prod - expose-cli - publication - publication description is Nok (#4536)
* fix expose publication description

* fix submit twice on expose cli
2024-09-06 08:42:44 +02:00
Aina Sitraka
e3b593aca9 PHRAS-3416 fix string in admin create subdef (#4534) 2024-07-22 19:01:54 +02:00
Aina Sitraka
cf4267214b inspector delete application (#4521) 2024-06-11 10:51:51 +02:00
Aina Sitraka
99de0c0b37 PHRAS-4062: admin users delete and request improvement (#4509)
PHRAS-4062 clean registration when user delete

PHRAS-4062 delete user's access requests

PHRAS-4062 generate translation
2024-06-11 08:50:53 +02:00
Aina Sitraka
80d5c400bd PHRAS-4069: Prod - expose-cli - search publication and parent publication (#4515)
* expose cli fix parent publication

* translate and yarn.lock file

* some css fix

* expose search publication title filter

* display nb items

* trigger only from more than 3 character

* do not display publication in to his parent list

* trigger search publication on empty search
2024-06-06 18:24:18 +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
Aina Sitraka
bcc581fb64 default filter since 3 days (#4507) 2024-05-15 20:38:47 +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
14ed50ac8c display matomo metrics field (#4497) 2024-04-18 09:58:38 +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
ef254efa9e PHRAS-4031 fix quarantaine substitued image remains (#4486) 2024-03-19 11:49:21 +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
3bf99cb5d6 PHRAS-4018: admin inspector log_docs (#4476)
* inspector log_docs

* add column owner login in api information
2024-02-17 15:57:24 +01:00
Aina Sitraka
c39659630a fix js error on change password (#4475) 2024-02-16 18:15:04 +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
0ccd109196 PHRAS-3999: admin - databases - subdefinition - error 400 and 500 when create subdefinition (#4452)
* fix subdef creation

* add default background color in preset
2023-12-22 14:51:36 +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
e2fb405924 disable excel report for legacy download (#4449)
log async downloads
send EXPORT_CREATE event for async download (listened by ExpiringRights plugin)
2023-12-21 14:48:53 +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
e72a210183 search in thesaurus (#4430) 2023-12-11 15:47:51 +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
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
5a6188b876 admin user filter with api only (#4422) 2023-11-29 08:29:06 +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
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
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
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
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
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
Aina Sitraka
b839efdd09 fix shared basket apply right (#4378) 2023-09-21 23:29:36 +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
Aina Sitraka
cc3147a1b8 fix load script matomo (#4377) 2023-09-15 14:32:50 +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
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