Commit Graph

530 Commits

Author SHA1 Message Date
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
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
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
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
8be71ba754 patch for stamp (#4434) 2023-12-08 09:10:34 +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
Nicolas Maillat
670f8601a0 PHRAS-3945 download async config change (#4423)
* PHRAS-3945 change deployment for download async mode and pusher

* wip

* Missing var in setup container - WIP

* quiet option for sensitives values
2023-11-30 13:46:16 +01:00
Aina Sitraka
de6a104c8c move pusher conffiguration (#4413) 2023-11-28 09:22:03 +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
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
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
5e4ea7ef90 fix unit test (#4312) 2023-05-09 09:44:36 +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
Nicolas Maillat
45c47eb959 PHRAS-3807 add extension files (#4226)
* add more files extension

* git ignore custom helm values
2023-01-25 19:08:31 +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
Nicolas Maillat
0d43e4f4a2 PHRAS-3794 : populate order MODIFICATION_DATE by default (#4202)
* PHRAS-3794 : MODIFICATION_DATE by default

* Update auto-install.sh

* MODIFICATION_DATE in env file
2023-01-03 11:24:47 +01:00
Aina Sitraka
a892887dd2 PHRAS-3783 Prod - Order manager - add Download Expiration date (#4191)
* add download expiration date

* add expiration info in mail

* add calendar on order-manager validation

* add a default config on patch if not exist

* fix

* add predifined expireon date

* expiration override

* fix order manager deny and sen in the same time

* patch for todo column

* bump version

record acl admin

fix pusher and date on order

* some improvement

* some fix
2022-12-20 12:42:59 +01:00
jygaulier
2ee51887e0 PHRAS-3789 add auto-connect-idp-name option (#4194)
patch to add missing options to conf
2022-12-13 19:43:50 +01:00
jygaulier
7e7435469d PHRAS-2995_phr-as-auth-idp-BIS (#4180)
* WIP ; allow multiple instances of some auth clients (migrate conf) ; add ps-oauth ; remove google+

* WIP ; fix ps-oauth ; fix tests

* WIP ; add api-auth to extra_hosts

* WIP ; fix yaml syntax error

* WIP ; fix yaml syntax error ; better conf sample

* WIP ; add "everyone-group"

* WIP ; add the provider-id in session

* WIP ; add getOptions() to providers (so phr/expose can filter providers)

* WIP ; add auto-logout option so logout from phr also logouts from ps-auth

* connect to expose using IDP from connected user

* WIP ; auto-logout redirects to phr home

* unnecessary session var

* unused

* fix

* catch some error

* fix navigation in train thumbnail

* update file version

* pass params in session to have constant redirect_uri ; add debug

* invalidate session --> parade test ok

* cleanup
2022-12-01 16:27:54 +01:00
Nicolas Maillat
42f44717c6 PHRAS-3736 fix chown on tmp, exit 1 when worker count is wrong (#4156) 2022-10-21 15:25:11 +02:00
Aina Sitraka
54a96ee8df PHRAS-3729 Uploader pull mode - make it compatible with PS-461 uploader multi-destinations and permissions (#4116)
* pull mode multi destination

* add patch
2022-09-07 11:49:35 +02:00
Aina Sitraka
f736eddc0f PHRAS-3704 Phrasea Rendition by Phraseanet worker (#4098)
* add verify ssl

* add info in webhook payload on subdef create

* reset cache of list of subdef for a record when create new subdef
2022-07-19 10:43:15 +02:00
Arthur de Moulins
589a1a53c0 PHRAS-3704 add webhook client verify_ssl option (#4095)
* PHRAS-3704 add extra hosts to worker service, add webhook client verify_ssl option

* Update configuration.yml [SKIP CI]
2022-07-13 10:51:32 +02:00
Aina Sitraka
5bd63b1c34 PHRAS-3697 printed pdf improvement (#4063)
* field with label on print

* option to hide record information in preview when print

* add column printable

* add color picker

* patch on 4 1 6 cr4

* update locale

* bump version to 4.1.6-rc4

* fix bloc info color

* font size bloc info

* some fix

* Fallback to thumbnail when chosen subdefinition is not present or not printable
2022-06-23 10:13:42 +02:00
Aina Sitraka
9b4edf0948 PHRAS-3689 add ssl key in configuration (#4057) 2022-06-14 15:31:41 +02:00
Aina Sitraka
e763201aaa PHRAS-3660 Migration patch for 4.1.6-rc2 (#4005)
* patch 4.1.6-rc2

* changelog change

* change
2022-04-07 15:39:32 +02:00
jygaulier
fe9412c396 PHRAS-3584
fix bad "null" default value
2021-11-25 12:02:36 +01:00
jygaulier
12cb9b582b PHRAS-3584
add databox.record.cover_record_id
add get/set coverRecordId() to record adapter
include cover_record_id to api results (V1 & V3)
2021-11-25 11:52:11 +01:00
aynsix
a186068b07 PHRAS-3413 add timeout when emit webhook 2021-11-08 16:51:11 +03:00
Arthur de Moulins
8bcfe89ba3 PHRAS-3435 add worker:heartbeat command to detect broken connections 2021-10-06 15:10:32 +02:00
nmaillat
952d46dcf4 PHRAS-3494 add a worker container with phraseanet scheduler 2021-07-29 13:00:56 +02:00
aynsix
ca932bf63c fix default config 2021-06-24 11:51:32 +03:00
aynsix
f4155d285a fix proxy config user to null 2021-06-24 11:35:22 +03:00
aynsix
79d303ec86 ftp config to false by default 2021-06-22 15:12:03 +03:00
aynsix
2c7d18529e remove authmod config 2021-06-22 13:56:16 +03:00
aynsix
ecc84e61da PHRAS-3438 fix squid container 2021-06-22 11:59:27 +03:00
aynsix
9f42b7e9b6 add proxy config and add command to test defined configuration 2021-06-18 17:05:04 +03:00
aina esokia
6d18875117 PHRAS-3279 2020-12-09 18:07:11 +03:00
Nicolas Maillat
6822940365 Merge branch 'master' into PHRAS-3184-api-token-header-only 2020-08-07 15:19:42 +02:00
nmaillat
20f52af540 PHRAS-3139 set compression for thumbnail 2020-08-07 14:47:00 +02:00
nmaillat
2a2e920a82 default position and geonames fields 2020-08-07 13:44:28 +02:00
nmaillat
278e2cb300 PHRAS-3139 fix typo in config 2020-08-07 10:43:02 +02:00
nmaillat
30d0a5e490 PHRAS-3139 default configuration fields for geoloc 2020-08-07 09:57:35 +02:00