Commit Graph

48 Commits

Author SHA1 Message Date
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
8422eb550f admin worker consumed Q filter (#4347) 2023-07-25 09:35:18 +02:00
Aina Sitraka
a38d5b9dde admin hide empty Q (#4277) 2023-03-17 13:00:59 +01:00
Aina Sitraka
b2633cdfd8 fix hearbeat (#4021)
Co-authored-by: jygaulier <gaulier@alchemy.fr>
2022-05-18 12:32:06 +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
c6a4922023 PHRAS-3650 keep channel connection (#3988)
* keep channel connection

* fix test

* fix test

Co-authored-by: Nicolas Maillat <maillat@alchemy.fr>
2022-03-31 16:47:52 +02:00
aynsix
7d8f5267a4 make rabbit message persistent 2022-03-18 15:55:55 +03:00
aynsix
40dae2106e test 2021-12-21 18:10:38 +03:00
aynsix
fe936b2166 test 2021-12-21 17:45:24 +03:00
aynsix
ad26b3a0a4 PHRAS-3614 send heartbeat when set Q 2021-12-21 17:24:01 +03:00
aynsix
eb9e87c1f4 fix webhook 2021-10-18 16:53:49 +03:00
Arthur de Moulins
8bcfe89ba3 PHRAS-3435 add worker:heartbeat command to detect broken connections 2021-10-06 15:10:32 +02:00
Arthur de Moulins
c15fe0590f PHRAS-3435 set heartbeat to 60 on AMQP connection 2021-09-30 12:23:46 +02:00
aynsix
79b515a6cc recordsActions instead of record mover 2021-08-10 17:30:12 +03:00
aynsix
6b7f467a3d PHRAS-3237 record mover as worker 2021-08-03 10:39:58 +03:00
aynsix
0a94a84274 PHRAS-3454 check count if exist 2021-06-02 15:06:13 +03:00
aynsix
6437023b21 PHRAS-3445 add edit retry and failed Q 2021-05-25 17:35:03 +03:00
aynsix
3ce9577667 fix var name 2021-04-27 16:42:22 +03:00
aynsix
6af69bb798 PHRAS-3427 enable ssl connection on rabbit 2021-04-27 16:38:19 +03:00
aynsix
43f8d117b0 PHRAS-3316 add retry on expose queue and fix purge 2021-04-22 13:34:37 +03:00
aynsix
2bdf709e85 change 2021-03-22 15:20:20 +03:00
aynsix
f4698fd5ff change message ttl in failed q to 7 days 2021-03-22 15:18:39 +03:00
aynsix
0753cddc0f PHRAS-3146 add ttl in failed_q 2021-03-19 14:02:52 +03:00
jygaulier
38f1720fb4 better worker-configuration ux (display in table)
show ttl's in seconds (still in ms in conf)
fix : no more error if a ttl is entered a 'string' into conf
2021-01-07 10:39:43 +01:00
jygaulier
8f1d132c39 fix missing "max_retry" for q's without retry_q 2021-01-07 10:39:43 +01:00
jygaulier
8d4f81ba7a fix missing "record_edit" q 2021-01-07 10:39:43 +01:00
jygaulier
8c9ce44e8a fix : better ux for admin/workers/pullassets
cd
refacto
2021-01-07 10:39:43 +01:00
jygaulier
f2f5db3df6 Refacto queues & workers
- define queues in one unique place
- fix some admin ux
- patch conf
2021-01-07 10:39:43 +01:00
aina esokia
b1626f09f8 fix setqueue 2020-11-25 12:30:53 +03:00
aina esokia
cf5852248c merge master in branch 2020-11-19 16:06:29 +03:00
aina esokia
b9f05807a9 PHRAS-3274 worker record edit 2020-11-19 15:46:45 +03:00
aina esokia
5da6ff8a2b PHRAS-3236 merge master into branch 2020-11-18 18:25:04 +03:00
aina esokia
2054e00af3 PHRAS-3240 change default interval value 2020-11-18 17:14:44 +03:00
aina esokia
12faced9b8 merge master into branch 2020-11-17 10:46:02 +03:00
aina esokia
11777445f9 PHRAS-3236 update 2020-11-17 10:29:59 +03:00
aina esokia
06b2de9056 merge master into branch 2020-11-17 10:09:32 +03:00
aina esokia
d88bc761e7 worker: validation reminder 2020-10-29 17:28:47 +03:00
aina esokia
684b961285 add export FTP in worker 2020-10-27 17:49:12 +03:00
aina esokia
541823f9c7 PHRAS-3222 expose upload asset 2020-10-06 18:06:36 +03:00
aynsix
e790c2dc6e create subtitle worker 2020-07-03 11:54:19 +03:00
aynsix
6d31f93774 add tab queue monitor, limit job list to 500 2020-06-10 19:25:16 +03:00
aynsix
0b45ae377c add time to message, ad status info in worker table, fix subdef elastic flush 2020-05-14 18:48:00 +03:00
aynsix
67c8bf2125 fix connection 2020-05-14 10:49:03 +03:00
aynsix
b484b5f261 fix handler 2020-05-14 09:51:10 +03:00
aynsix
daf059d03f make delayed queue connfigurable 2020-05-13 17:29:45 +03:00
aynsix
2bde6b8804 fix connection 2020-05-13 11:55:26 +03:00
aynsix
65552dcbfe fix 2020-05-12 19:42:43 +03:00
aynsix
bb2123df5a include plugin worker in phraseanet core 2020-05-12 18:06:45 +03:00