Commit Graph

503 Commits

Author SHA1 Message Date
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
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
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
4cefad3f93 basket element add column and index (#4436) 2023-12-11 15:27:59 +01:00
Aina Sitraka
8be71ba754 patch for stamp (#4434) 2023-12-08 09:10:34 +01:00
jygaulier
cbb131d17d Update 418RC8PHRAS3768.php (#4435)
disable patch crashing caused missing table "basketelements"
2023-12-07 19:36:47 +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
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
Aina Sitraka
3f809f5c03 clean up config (#4427) 2023-11-30 16:38:44 +01:00
jygaulier
bfe3bd04f4 PHRAS-3944_malformed-web-vtt (#4407)
* fix bad formated time

* change version to 4.1.8-rc8

* Update Version.php

Migration patch while be triggered by bump version perform in  pr #4426
2023-11-30 14:20:08 +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
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
a6260ef149 PHRAS-3820_fix-patch-3.8-to-4.1 (#4263)
* add --dry to bin/setup system:upgrade ; trace patches ; allow MailChecker to fail (when table 'usr' does not exist anymore...)

* MailChecker now works on 'usr' and 'Users' table

* typo

* typo again

* don't create appbox.Registrations if exists

* don't create tables if already exists

* Revert "don't create appbox.Registrations if exists"

This reverts commit 652131aff7.

* drop (empty ?) tables already created before patch

* reorder drop / delete to follow fk rules

* fix typo that makes ApiMigration to run event when table exists ; Move some drop tables at the end
2023-03-09 13:45:39 +01:00
Aina Sitraka
bf29fb00fd move patch to 4.1.6-rc3 (#4256) 2023-02-23 17:13:00 +01:00
Aina Sitraka
d40667462f PHRAS-3804 add cookie consent axeptio (#4244)
* add cookie consent

* change config

* bump version

* refactorize
2023-02-09 16:34:19 +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
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
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
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
jygaulier
7da17aa38c PHRAS-3684_wz-blocks-titles (#4034)
* PHRAS-3684_wz-blocks-titles
add titles to the 3 wz groups

* PHRAS-3684_wz-blocks-title
better css

* scroll baskets, not filters

* restore full height wz

* dist
2022-06-01 11:31:30 +02:00
jygaulier
fbccec009e PHRAS-3602_shared-baskets-step1 WIP DO NOT MERGE (#3929)
* PHRAS-3602 : migrate validations to baskets
WIP [skip ci]

* PHRAS-3602 : migrate validations code to baskets code (wip)
WIP [skip ci]

* PHRAS-3602 : migrate validations to baskets
WIP [skip ci]

* PHRAS-3602 : migrate validations to baskets
WIP [skip ci]

* PHRAS-3602 : fake commit to run tests

* PHRAS-3602 : migrate validations to baskets
fix typo

* PHRAS-3602 : migrate validations to baskets
fixed (some) tests

* PHRAS-3602 : migrate validations to baskets
fixed (some) tests

* PHRAS-3602 : migrate validations to baskets
fixed (some) tests. need to remove method():return_type signature because of old phpunit which does not mock it

* PHRAS-3602 : migrate validations to baskets
fix

* PHRAS-3602 : migrate validations to baskets
fix err 500 when a "vote" (feedback) is deployed in wz

* PHRAS-3602 : migrate validations to baskets
fix missing votes for element+participant
fix update vote dates on basket

* PHRAS-3602 : ux
bump production-client to 34
WIP [skip ci]

* PHRAS-3602 : rebase (bump production-client to 37)
WIP [skip ci]

* PHRAS-3602 : refacto css/twig/templates/... ; replace many png's by fonts
WIP [skip ci]

* PHRAS-3602 : fix icon / css
WIP

* PHRAS-3602 : better icon align ; back button color
fix : save button after adding a user
WIP [skip ci]

* PHRAS-3602 : restore sharebasket controller
todo : implement modification right ; owner is participant ?
WIP [skip ci]

* PHRAS-3602 : set "canModifiy" ; cleanup
WIP [skip ci]

* PHRAS-3602 : respect "can_modify" on shared basket
WIP [skip ci]

* PHRAS-3602 : fix badge icon bg ; fix button css
WIP [skip ci]

* PHRAS-3602 : fix css & cleanup
WIP [skip ci]

* PHRAS-3602 : fix 500 on preview/feedback tab
WIP [skip ci]

* PHRAS-3602 : fix allow to display dlg without selection

* PHRAS-3602 : bump version to 4.1.6-rc1 ; prodclient=38
WIP [skip ci]

* PHRAS-3602 : factorize baskets menu (wip)
WIP [skip ci]

* PHRAS-3602 : modify already shared or feedback basket (general menu)
4th icon on badges (vote != modify)
quitshare option (todo back)
allow fa-icons in toolbar

WIP [skip ci]

* PHRAS-3602 : add share end-date (todo:db write)
add 4th general toggle button
fix badge selection bug
fix css badges zone (form position)
WIP [skip ci]

* PHRAS-3602 : big refacto to use "sharebasket" vocab.
fusion "feedback/sharebasket" removed "feedback"
adaptative ux: 1 "can_agree" ==> feedback display
bump production-client to v50
todo: save shr/fbk end-dates
todo: rename "pushXXX" to pushAndShare ?
WIP [skip ci]

* PHRAS-3602 : share / feedback expiration dates are saved in db
date pickers with delta menu
better adaptive ux
todo: move select general togglers
WIP [skip ci]

* PHRAS-3602 : revert validation* tables (remove "dead" rename)
drop all foreign keys from validation*
WIP [skip ci]

* PHRAS-3602 : restore deleted fields in validation, regenerate proxies
WIP [skip ci]

* PHRAS-3602 : fix initiator_id
WIP [skip ci]

* fix initiator_id-bis

* PHRAS-3602 : css for input-text with glued button
dynamic load of users-lists (left zone) = less duplicated code
fix : users-lists  works after refresh
WIP [skip ci]

* PHRAS-3602 : fix users-lists manager (orange) : go flex !

* PHRAS-3602 : empty dist to ease rebase
WIP [skip ci]

* PHRAS-3602 : rebase
WIP [skip ci]

* PHRAS-3602 : new ux for "owner"
feedback mode is an independent toggle
fix "missing mandatory parameter"
WIP [skip ci]

* PHRAS-3602 : fix css of owner badge
WIP [skip ci]

* PHRAS-3602 : fix handling of feedback initiator
WIP [skip ci]

* PHRAS-3602 : better wss to follow "skins"
full roboto
removed useless class "with-button"
WIP [skip ci]

* PHRAS-3602 : fix "a token require a validation"
temporary fix 500 due to send email to (null) vote-initiator for simple share
todo: send a specific email for simple share
WIP [skip ci]

* PHRAS-3602 : different emails depending if user can vote or not
WIP [skip ci]

* PHRAS-3602 : expired shared baskets removed from wz
WIP [skip ci]

* PHRAS-3602 : fix logic error on last sql
WIP [skip ci]

* PHRAS-3602 : fix missing shared baskets on wz
WIP [skip ci]

* PHRAS-3602 : fix blinking of wz/basket detail
now only the title:hover displays detail
WIP [skip ci]

* PHRAS-3602 : rebase
WIP [skip ci]

* PHRAS-3602 : update basket proxy
WIP [skip ci]

* PHRAS-3602 : fix forever "unread" basket
WIP [skip ci]

* PHRAS-3602 : fix display of unread basket ; sync "eye" icon with css change
WIP [skip ci]

* PHRAS-3602 : "quitshare" action works
WIP [skip ci]

* PHRAS-3602 : missing dist files
WIP [skip ci]

* PHRAS-3602 : cleanup & run ci

* PHRAS-3602 : disable failing unit test ; remove blue on onread basket

* PHRAS-3602 : separate "vote" & "share" emails templates & u-tests

* PHRAS-3602 : add 2 icons "stack" to icomoon set
WIP [skip ci]

* PHRAS-3602 : fix test

* PHRAS-3602 : fix test ; add test for simple share email notification

* PHRAS-3602 : changed proxy

* PHRAS-3602 : colored basket icons
WIP [skip ci]

* PHRAS-3602 : circle basket icons
WIP [skip ci]

* PHRAS-3602 : fix wz filters, add "share" filter.
todo: fix fr writing (new string)
WIP [skip ci]

* PHRAS-3602 : fix "share" dichotomy : use "shared" for wz filter
WIP [skip ci]

* PHRAS-3602 : fix PHRAS-3624 ; PHRAS-3623 ; now adding/removing a user from user list is immediate (no more save button)
WIP [skip ci]

* PHRAS-3602 : fix PHRAS-3647 ; shared basket are listed in api (for list and related record)

* PHRAS-3602 : fix due to failing test

* PHRAS-3602 : fix: can load a 1000 users list
todo : move slow code to worker

* PHRAS-3602 : fix due to failing test

* PHRAS-3468 : (fixed in 3602) fix basket content still visible when baskets are hidden (wz-filter)

* PHRAS-3602 : add "wip" baskets with notification & lock
todo : move slow code from message to worker

* PHRAS-3602 : fix tests due to accidental rename

* PHRAS-3602 : fix : menu closes when mouse out : bump to 4.1.6-rc3
todo : fast move to another basket makes the menu appear on top ?

* add shareBasket worker

* fix test

* PHRAS-3602 : fix : rights buttons on badges now works for users added from search (did work only from loading list)

* PHRAS-3590

Co-authored-by: aynsix <asr@esokia-webagency.com>
Co-authored-by: Nicolas Maillat <maillat@alchemy.fr>
2022-04-07 17:07:43 +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
aynsix
a9f02134b1 delete item if sbas_id not found 2021-12-22 10:06:00 +03:00
aynsix
3a72f92d8f do nothing 2021-12-20 11:36:07 +03:00
aynsix
1f3e4c655f fix patch 4.1.5 3604 2021-12-20 09:45:50 +03:00
aynsix
bc17030f9d PHRAS-3604 remove deleted record from a publication 2021-12-08 15:51:49 +03:00
aynsix
a4bc368fdd change column webhook_unactivate to webhook_active 2021-12-06 14:10:50 +03:00
Nicolas Maillat
8a32f16884 Merge branch 'master' into PHRAS-3584_story-cover-link 2021-12-03 16:11:22 +01:00
aynsix
77cc1f5481 PHRAS-3562 2021-12-03 14:55:40 +03:00
aynsix
b0458893fd PHRAS-3597 2021-12-02 16:33:36 +03:00
jygaulier
8b34eb49b7 PHRAS-3584
fix typo
2021-11-25 17:34:08 +01:00
jygaulier
3b1efea228 PHRAS-3584
add forgotten patch
2021-11-25 14:42:19 +01:00
aynsix
213dcd8597 Merge branch 'master' of https://github.com/alchemy-fr/Phraseanet into PHRAS-3555-more-webhook 2021-11-22 09:43:52 +03:00
aynsix
6ed0ea2b31 patch for older event 2021-11-19 16:29:54 +03:00
jygaulier
d7d731a496 PHRAS-3519_filesystem-atomic-move
WIP
extend filesystem (no change yet)
2021-10-06 18:23:52 +02:00
Nicolas Maillat
d4e16d7c02 Merge branch 'master' into PHRAS-1974_rgpd-remove-unactive-users 2021-09-23 11:40:05 +02:00
jygaulier
b132a6109b PHRAS-1974_rgpd-remove-unactive-users
fix : last_connection is patched with datetime
add : bin/console
2021-08-04 21:10:02 +02:00
jygaulier
ce28b592a2 PHRAS-1974_rgpd-remove-unactive-users
fix : user.last_connection is updated when user logs in.
add : patch to init user.last_connection (from dbox.log)
todo : bin/c to clean up dead accounts.
2021-08-04 12:49:13 +02:00
aynsix
c900908fa2 add bloc network-proxy if not exist 2021-06-24 15:07:40 +03:00
aynsix
837cc37ce6 Merge branch 'master' of https://github.com/alchemy-fr/Phraseanet into PHRAS-3360-missing-worker-section 2021-06-24 11:42:58 +03:00
aynsix
6437023b21 PHRAS-3445 add edit retry and failed Q 2021-05-25 17:35:03 +03:00
aynsix
c2fde96adf add ssl key if not exist 2021-05-21 15:38:51 +03:00
aynsix
75556eb640 add ssl in conf worker 2021-04-28 14:43:59 +03:00
aynsix
146e0f8834 Merge branch 'master' of https://github.com/alchemy-fr/Phraseanet into PHRAS-3360-missing-worker-section 2021-04-28 14:42:05 +03:00