Commit Graph

2364 Commits

Author SHA1 Message Date
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
2d6c8a3651 PHRAS-3694 clean:user some fix (#4221)
* some fix

* generate translation

* mail:test string
2023-01-20 17:53:38 +01:00
Aina Sitraka
12d58cb5c2 PHRAS-3802 forgotten password change string (#4218)
* forgotten password change string

* fix test

* fix test
2023-01-20 11:00:49 +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
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
0da7b20c92 Removing Geonames error logs and worker idle message (#4170) 2022-11-08 15:13:18 +01:00
Aina Sitraka
69ccdefb51 PHRAS-3754 admin - user detail - Record ACL tab (#4148)
* record acl tab in admin

* fix email locked, limit record right to 200

* fix

* add filter

* update

* feed element, basket element

* feed list

* feed entries

* when not expand

* some improvement
2022-10-25 23:21:25 +02:00
jygaulier
c8e575c1e7 PHRAS-3765_oauth-parms-in-session (#4153)
PHRAS-3765: fetch parms from session

PHRAS-3765 : fix : pass custom parameters as argument (don't try to hack request)
2022-10-25 12:27:21 +02:00
Aina Sitraka
7ce6ce0947 PHRAS-3755 admin > connected user > disconnect user (#4150) 2022-10-08 00:42:24 +02:00
Aina Sitraka
f9de6877d2 PHRAS-3742 Admin flush session (#4131)
PHRAS-3742 : 
- flush session
- command
- redis remove by pattern
- cmd
- add log
- clean table session
2022-10-05 16:56:13 +02:00
Aina Sitraka
ae5becc090 fix quit share (#4115) 2022-09-08 19:58:10 +02:00
Aina Sitraka
d4caa47b2a PHRAS-3737 fix delete story and children (#4120) 2022-09-08 17:35:36 +02:00
Aina Sitraka
1606783b0e PHRAS-3740 display collection sorted by database (#4124) 2022-09-08 16:03:46 +02:00
Aina Sitraka
144d04f099 regenerate translation (#4123) 2022-09-08 14:53:31 +02:00
Aina Sitraka
507219f715 PHRAS-3235 Admin - Collection - Emptying a collection by deleteRecord worker (#4113)
* emptying collection by deleteRecord worker

* fix test

* hide empty database
2022-09-02 15:42:27 +02:00
Aina Sitraka
a35aeb76ae PHRAS-3725: prod - shared basket - "quit share" missing string (#4110) 2022-08-02 15:21:21 +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
Aina Sitraka
bd64369044 PHRAS-3707 Prod - share basket - wizard improvement (#4091)
* invert date position

check votedate > sharedate

fix send email from sharebasket

* fix position
2022-07-12 09:35:54 +02:00
Aina Sitraka
f150d2a3cd PHRAS-3705 prod - workzone - shared basket - action menu items is wrong (#4080)
* fix 403

* taken account hd right on sharebasket

* fix right on feedback

* taken account can_agree owner

* fix
2022-07-08 12:47:47 +02:00
Aina Sitraka
ca5970fdd7 shared basket ending date (#4079)
Co-authored-by: jygaulier <gaulier@alchemy.fr>
2022-07-06 13:14:56 +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
24fec8e52c PHRAS-3695 Prod - basket and feedback displayed informations improvement (#4056)
* display information improvement
* change string
* autocomplete off on datepicker
* add subject in mailto
2022-06-14 16:29:00 +02:00
Aina Sitraka
9e7aa0eba8 PHRAS-3685 Don't propose to set a name for a story (#4033)
* fix story rename, and fix listmanager dialog

* remove name when creating story
2022-05-31 14:14:29 +02:00
Aina Sitraka
946bf251a2 fix wording issue (#4029) 2022-05-25 18:04:27 +02:00
Aina Sitraka
6fb6f047f4 PHRAS-3669 A story can refer record-id's from another dbox (#4014)
* fix creation story

* update version js

* fix

* fix delete story

* add alert if multiple databox

* fix create story

* block create story from different databox

* disable checkbox on multiple databox
2022-05-12 15:47:11 +02:00
jygaulier
f967588251 PHRAS-3667_refresh-one-basket WIP (#4012)
* PHRAS-3667_refresh-one-basket
- new "wip" icon
- deploying a basket refreshes icons
todo:
- refreh also when closing ?
- refresh on notification about "share ok" ?
- refresh after real-time op (e.g. share a simple basket ==> wip) ?

* PHRAS-3667 : try to move wz/basket menus (failed)

* PHRAS-3667_refresh-one-basket
- fix : stories deployed looks empty
2022-05-11 11:24:45 +02:00
Aina Sitraka
f004015f64 PHRAS-3662 Share Basket fix GUI - icons color and behavior (#4007)
* fix some display icon

* update translation

* fix icon size

* fix context color, set order

* remove search background

* change color share, refresh workzone

* fix icon active

* remove ccs from js file

* remove css in js file

* fix
2022-04-28 12:11:55 +02:00
Aina Sitraka
cf8234670a PHRAS-3662 Prod - shared basket - fix icon in detailed view and action bar (#4006)
PHRAS-3662
* fix icon shared basket

* fix icon

* fix string and icon

* fix icon for right on share

* fix double icon in detailed view

Co-authored-by: jygaulier <gaulier@alchemy.fr>
2022-04-15 12:20:59 +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
ab1ef68af2 PHRAS-3223 Admin - user details - display AuthFailure and Authprovider info (#4002)
PHRAS-3223
* add auth failure tab

* auth provider list

* api oauth code list

* fix limit

* delete modificaiton date

* add mail locked only filter

* add badge on api list
2022-04-06 10:45:49 +02:00
aynsix
4bb577cf42 fix search filter and export 2022-03-16 18:41:58 +03:00
Nicolas Maillat
bdcbd7c0e0 Revert " "PHRAS-3215 : Revert add ThumbnailOrientation facet ; add strings"" 2022-03-08 11:49:36 +01:00
Nicolas Maillat
ccd460be27 Revert "PHRAS-3215 : add ThumbnailOrientation facet ; add strings" 2022-02-25 23:10:23 +01:00
Nicolas Maillat
a11d11b5b5 Merge branch 'master' into PHRAS-3215_orientation-facet-of-thumbnail 2022-02-25 17:43:57 +01:00
jygaulier
406a0ce953 PHRAS-3602 : add ThumbnailOrientation facet ; add strings 2022-02-25 10:11:49 +01:00
aynsix
e882021019 PHRAS-3642 api return subdefs 2022-02-24 16:07:54 +03:00
aynsix
dd337e0ecb merge master into branch 2022-02-15 12:17:49 +03:00
aynsix
652934f948 merge master into branch 2022-02-14 18:15:55 +03:00
Nicolas Maillat
7c23576b45 Merge branch 'master' into PHRAS-3631-read-all-notifications 2022-02-14 16:06:57 +01:00
aynsix
6d3510b8f2 title as pdf name 2022-02-11 12:15:31 +03:00
aynsix
10ef15964f mark all notification as read 2022-02-10 17:23:01 +03:00
aynsix
f22eed2783 add option filename when download check 2022-02-08 16:14:26 +03:00
aynsix
518d2d94ff use the guzzle 6 version 2022-02-07 17:29:30 +03:00
aynsix
f7fbec3cf7 some improvement 2022-02-04 16:16:20 +03:00
aynsix
b52fdddb2b select subdef to download 2022-01-31 19:56:55 +03:00
Nicolas Maillat
4423eceb9a Merge branch 'master' into PHRAS-3595-publication-notification 2022-01-31 16:45:34 +01:00
aynsix
94a9a37569 subdef mapping 2022-01-31 17:07:34 +03:00
aynsix
0c5b9f1d42 Merge branch 'master' of https://github.com/alchemy-fr/Phraseanet into PHRAS-3633-customable-title-message 2022-01-28 17:54:51 +03:00