Commit Graph

1119 Commits

Author SHA1 Message Date
Aina Sitraka
e4760b88f2 PHRAS-3694 bin/maintenance clean:users finish (#4139)
* clean users

* fix help

* add usertype

* relance user connection

* unused option

* test

* send token to connect to phraseanet

* add alpha on help

* bump rc6, add alpha , fix input to integer
Co-authored-by: jygaulier <gaulier@alchemy.fr>
2022-10-06 18:10:15 +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
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
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
Aina Sitraka
6e70905607 PHRAS-3665 can disable validation reminder (#4049) 2022-06-10 10:33:37 +02:00
Aina Sitraka
be93b21edb PHRAS-3690 Check usage of config/templates directories (#4047)
* create config/template directory when needed

* unused

* remove from requirement and cmd bin/setup check:system
2022-06-03 17:54:09 +02:00
Aina Sitraka
909d193766 PHRAS-3686 fix clickable link (#4042) 2022-06-02 13:18:13 +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
Nicolas Maillat
bdcbd7c0e0 Revert " "PHRAS-3215 : Revert add ThumbnailOrientation facet ; add strings"" 2022-03-08 11:49:36 +01:00
aynsix
635ae58bd5 bump version to 4.1.6-rc1 2022-02-25 17:52:58 +03:00
aynsix
1798dfdff8 PHRAS-3595 can notify email on update 2021-12-10 11:35:29 +03:00
aynsix
cb206c79bf PHRAS-3555 add description in record.edit webhook 2021-12-07 15:24:58 +03:00
aynsix
d256f2fa3a rename to base_id 2021-12-07 10:05:02 +03:00
Nicolas Maillat
8a32f16884 Merge branch 'master' into PHRAS-3584_story-cover-link 2021-12-03 16:11:22 +01:00
aynsix
10ac663f87 fix base_id 2021-12-03 14:59:26 +03:00
aynsix
5de5b0ae66 fix collection id 2021-12-03 10:32:35 +03:00
aynsix
f51bbca169 add statusbefore and newstatus data 2021-12-02 18:10:35 +03:00
aynsix
dbca0718b5 add some element in message 2021-12-02 16:50:09 +03:00
aynsix
b69b3c350d fix feed_entry right 2021-12-01 17:12:34 +03: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
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
8724eca9ae test 2021-11-18 14:53:03 +03:00
aynsix
bf8edf2d15 test 2021-11-18 14:39:35 +03:00
aynsix
c3bd1c498d test 2021-11-18 11:14:22 +03:00
aynsix
62f751d886 add user.created webhook, merge user type 2021-11-17 17:55:10 +03:00
aynsix
074920353a PHRAS-3555 add more webhook events 2021-11-16 17:15:49 +03:00
jygaulier
d1d5873463 Merge branch 'master' into PHRAS-3519_filesystem-atomic-move 2021-10-18 11:10:51 +02:00
jygaulier
d7d731a496 PHRAS-3519_filesystem-atomic-move
WIP
extend filesystem (no change yet)
2021-10-06 18:23:52 +02:00
Arthur de Moulins
8bcfe89ba3 PHRAS-3435 add worker:heartbeat command to detect broken connections 2021-10-06 15:10:32 +02:00
Nicolas Maillat
d4e16d7c02 Merge branch 'master' into PHRAS-1974_rgpd-remove-unactive-users 2021-09-23 11:40:05 +02:00
jygaulier
fbd6658f94 PHRAS-3499_stamper-in-download-worker
- for download by email, stamp is done by the worker (not by the prod controller)
- add "no-stamp" checkbox on download dlg (port from PHRAS-424)
- todo : add "no-stamp" to download-by-email dlg.
- todo ? apply stamp for download-by-ftp
2021-08-09 20:12:11 +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
jygaulier
251eff2e56 PHRAS-3442_optimize-list-notifications_4.1-bis
WIP
fix : if user reconnects with another window/login, all windows will redirect to the home and log again
2021-06-22 20:54:45 +02:00
jygaulier
354636150e PHRAS-3442_optimize-list-notifications_4.1-bis
WIP
fix tests
2021-06-21 18:07:47 +02:00
jygaulier
f8cfd08f4f PHRAS-3442_optimize-list-notifications_4.1-bis
WIP : pushed to run all tests on circle
move "session/notifications" controller to "user/notifications"
use twig to render notifs + dropdown + dlg
fixed some tests
still todo : mark "read"
2021-06-21 18:07:47 +02:00
jygaulier
6472ce360f PHRAS-3442_optimize-list-notifications_4.1-bis
WIP
fix tests
todo : mark read notifications (button ? click ?)
2021-06-21 18:07:47 +02:00
jygaulier
22c3b273f7 PHRAS-3442_optimize-list-notifications_4.1-bis
WIP
poll only from menubar (Aina)
back : only one method/route to fetch notifs
front : fix exponential pagination
big refacto
todo : mark read notifications (button ? click ?)
2021-06-21 18:07:46 +02:00
jygaulier
e37ce3e255 [skip ci] PHRAS-3417_search-empty-fields_MASTER
add : facet for empty field

wip/todo : unit test ; conf ; translate "unset_field_facet_label"
2021-04-15 17:31:22 +02:00
aynsix
0acb987287 merge master in branch 2021-02-19 09:39:46 +03:00
aynsix
2f6bf46266 PHRAS-3375 port download validity link 2021-02-18 17:59:00 +03:00
aina esokia
7041a11873 PHRAS-2283 port to 4.1 access autorisation windows 2021-02-11 16:48:49 +03:00
aina esokia
215562ab74 PHRAS-3256 take in account langage in mail 2021-02-03 11:44:42 +03:00
Nicolas Maillat
9f467117bd Merge branch 'master' into PHRAS-3278-patch-for-4-1-3 2020-12-16 18:05:53 +01:00
Nicolas Maillat
0e757e724b Update Version.php 2020-12-16 18:03:28 +01:00
aina esokia
427216ec43 PHRAS-3277 validation reminder in percent 2020-12-02 17:31:05 +03:00
aina esokia
e23b9dd294 PHRAS-3277 create event recordsWitemeta 2020-11-20 17:10:58 +03:00
jygaulier
cfd385498d - add : cache on es "tags"
- removed : variable globalstructure construction (WITH_FIELDS, WITH_FLAGS...) (was unused)
- cleanup (stopwatches etc)
2020-11-05 19:54:14 +01:00