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
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
jygaulier
1bef595785
add background color to subdefs of transparent tiff. ( #4376 )
...
bump media-alchemyst and imagine
2023-09-19 18:25:25 +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
8d67bf6653
fix export mail caption ( #4363 )
2023-08-09 09:42:13 +02:00
Aina Sitraka
51c71dc6f0
PHRAS-3851 Untranslated terms : in Notifications, Detailed View, Map ( #4351 )
...
* untranslated geoloc tab, validate - preview resultat
* fix notification translation
* PHRAS-2642 alt text video records
2023-07-28 14:15:15 +02:00
jygaulier
77c5521243
apply actions (translations, coll, sb) ; enhance setMetadatasByActions():"add" action to act on mono-fields
2023-05-11 20:17:40 +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
Aina Sitraka
614b60a494
PHRAS-3833 Report - export databox action - refacto download ( #4295 )
...
* databox content action
* rename file
* unused
* resolve user name, add record type
* add column email
* resolve user name, and add column email in report connections
* resolve user
* gui redirection if not connected
* add column record_type and story_element
2023-04-18 13:29:29 +02:00
Aina Sitraka
b4a3bb0c8c
PHRAS-3822 Prod : Improve Image WaterMarking ( #4266 )
...
* admin improve watermark
* unused
* allow to use collection wm image to wm a subdef (set <watermark>coll_wm</watermark> in structure)
* [skip ci] upload a wm for subdef (WIP to be continued ?)
* allow to use a record as wm image (document) to wmark subdefs
* cleanup
---------
Co-authored-by: jygaulier <gaulier@alchemy.fr >
2023-03-15 14:26:25 +01:00
jygaulier
e7027c7220
PHRAS-3800_xss ( #4219 )
...
* add encode option to record::get_title ; render preview.record_title in twig
* html-escape facet values
2023-03-15 11:05:34 +01: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
9477c9b340
PHRAS-2948 Lazaret ( quarantine ) - disabled a checker cause a 500 error ( #4241 )
2023-02-07 10:00:37 +01:00
Aina Sitraka
d7cf5e3998
shared basket right expiration ( #4207 )
...
PHRAS-3793 : When shared basket expire, only the documents access is revoked, previews access is keep
2023-01-30 10:39:59 +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
170125b9bb
PHRAS-3694 notif by email on delete inactif account, admin filter ( #4216 )
2023-01-19 14:03:28 +01:00
Aina Sitraka
b4c6712ec3
PHRAS-3664 always send event even if in the same collection ( #4024 )
2023-01-12 09:41:34 +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
bc01476ea2
PHRAS-3772 bin/setup system:config add option ( #4164 )
...
* add option no compile -s for bin/setup system:config
* check db connection on bin/console
* add -s on migration script
2022-11-01 16:20:52 +01: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
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
df9642ed2f
fix DB collection cache ( #4130 )
2022-09-13 18:05:46 +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
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
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
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
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
Aina Sitraka
2b4c064f62
PHRAS-3674 Prod - Record Information - Add Databox name in information ( #4020 )
...
* add databox name in record information
* fix databox name info
2022-05-17 17:35:51 +02:00
jygaulier
595be077c4
PHRAS-3671_slow_share_basket_worker ( #4013 )
...
* PHRAS-3671_slow_share_basket_worker
remove doctrine transaction
optim acl
prefetch records
gc_collect
* PHRAS-3671_slow_share_basket_worker
fasten lightbox by:
- don't create votes if not necessary
- remove useless join on dql
- add restricting criteria on left join dql
- prevent multiple calls to same fct (in twig)
* don't create votes during share-worker
* DEBUG : traces in tmp/ (default sql "replace" acl)
* PHRAS-3677 include "not-voted" in wz/baskets
2022-05-17 11:51:10 +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
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
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
aa004dd9fd
filter model only
2022-03-30 19:56:33 +03:00
aynsix
15edbb0d20
date filter on admin user list
2022-03-24 12:25:32 +03:00
aynsix
c4f761816c
filter phantoms only
2022-03-17 17:43:38 +03: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
jygaulier
406a0ce953
PHRAS-3602 : add ThumbnailOrientation facet ; add strings
2022-02-25 10:11:49 +01:00
aynsix
10ef15964f
mark all notification as read
2022-02-10 17:23:01 +03:00
aynsix
9584e91e3d
use word subdefs instead subview
2022-01-26 16:32:51 +03:00
Nicolas Maillat
e1677f870f
Merge branch 'master' into PHRAS-3620-admin-subview-bad-path
2022-01-20 10:02:18 +01:00
jygaulier
60ae82272a
PHRAS-3628 : 500 on API.create record
...
fix error 500 on api_v3 / records / POST with no file
(dbox.records.type should be "unknown", not null)
2022-01-13 10:59:22 +01:00