Commit Graph

149 Commits

Author SHA1 Message Date
Aina Sitraka
19b4f6d06b task and scheduler log (#4158) 2022-10-25 22:22:26 +02:00
Aina Sitraka
43cd154c87 PHRAS-3760 logs file - remove date from name of current log file - worker (#4154) 2022-10-21 21:21:18 +02:00
Nicolas Maillat
42f44717c6 PHRAS-3736 fix chown on tmp, exit 1 when worker count is wrong (#4156) 2022-10-21 15:25:11 +02:00
moctardiouf
5643ee8912 PHRAS-3318 sp saml - Fix K8S service name on proxy nginx usage (#4149) 2022-10-10 10:17:00 +02:00
moctardiouf
9f349e063b PHRAS-3318 - Fix phraseanet-saml-sp for kubernets use (#4146) 2022-10-05 17:39:01 +02:00
Nicolas Maillat
ac08ec75bc PHRAS-3736: fix elastic index name , fix exit1 on worker count (#4141) 2022-09-29 16:55:35 +02:00
moctardiouf
41d0df432d PHRAS-3748 split dockerfile into multiple runs and fix elasticsearch (#4140)
* PHRAS-3748 split dockerfile into multiple runs and elasticsearch duplicated entry

* PHRAS-3748 add some verbose
2022-09-26 21:44:51 +02:00
moctardiouf
a3e35dbdcd PHRAS-3726 docker env change server_name to hostname and add scheme://hostname:port (#4133)
* PHRAS-3726 change server_name to hostname and add scheme://hostname:port

* PHRAS-3726 allow base url changing during setup
2022-09-16 19:58:47 +02:00
moctardiouf
a3f811546f PHRAS-3736 managed services variables (#4128)
* PHRAS-3736 setting phraseanet application cache for managed services

* PHRAS-3736 removing rabbitmq config from auto-install

* PHRAS-3736 setting elasticsearch params for managed services

* PHRAS-3736 setting elasticsearch params for managed services - fix variale

* PHRAS-3736 setting database params for managed services
2022-09-13 13:25:47 +02:00
moctardiouf
ba5eab7ae0 PHRAS-3734 add maintenance mode to stack (#4122) 2022-09-09 00:57:36 +02:00
moctardiouf
927affb455 PHRAS-3318 - saml service provider container (#4092) 2022-09-07 21:35:09 +02:00
moctardiouf
3d2a4c756b PHRAS-3657 Phraseanet Setup helm job (#4101)
* set upgrade and redis session variables [SKIP CI]

* set update readme [SKIP CI]

* update templates [SKIP CI]

* set imagepullsecrets default value to falsewq [SKIP CI]

* PHRAS-3657 fix missing config sub dirs [SKIP CI]

* Update readme
2022-07-21 19:11:34 +02:00
Nicolas Maillat
8e429493a2 PHRAS-3657 Move phraseanet install and setup (#4073)
* PHRAS-3657 Move phraseanet install and setup in a new container wip [SKIP CI]

* PHRAS-3657 add redis php configuration

* change restart mode for setup  [SKIP CI]

* .env update [SKIP CI]

* adding redis session service [SKIP CI]

Co-authored-by: Moctar <diouf@alchemy.fr>
2022-07-19 11:39:36 +02:00
Félix Noir
795f025f3a PHRAS-3683 : Support space in .env variables (#4050)
* PHRAS-3683: Add new "dc" function in README
* PHRAS-3683: Double quote some variables to prevent globbing and word splitting.
2022-06-10 11:36:29 +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
nmaillat
9f714f7d7e Readme fix typo
Add schemes
[SKIP CI ]
2022-03-17 15:19:25 +01:00
nmaillat
a914958a7c fix typo [CI SKIP] 2022-02-15 14:51:32 +01:00
Moctar
4b4ccffef6 fix nginx error when adding simplesaml config 2022-01-25 12:37:11 +01:00
Gaspard Jacobson
089fd38fd6 Update nginx.conf.sample 2021-11-19 16:29:17 +01:00
jygaulier
ce3a28b5cd PHRAS-3583
define a custom "sort" analyzer (whole value, lowercase, no diacritics)
fix sort by type (string/date/number)
fix sort on business fields (use "private_caption.field")
sort string fields on ".sort" sub-value (in place of ".raw")
add option for docker/es to activate scripting on search (disabled for now)
2021-11-16 20:52:54 +01:00
nmaillat
6b76b81bea PHRAS-3572 Dashboards wip 2021-10-23 01:18:50 +02:00
nmaillat
f37b817ed1 typo fix [CI SKIP] 2021-10-22 18:44:48 +02:00
nmaillat
98e90c3008 PHRAS-3551 Docker-compose file refacto, add profiles on services 2021-10-22 18:44:48 +02:00
nmaillat
0d3cfe4304 PHRAS-3551 split dc for RabbitMQ and env for mailhog mapping 2021-10-15 19:19:18 +02:00
Arthur de Moulins
8bcfe89ba3 PHRAS-3435 add worker:heartbeat command to detect broken connections 2021-10-06 15:10:32 +02:00
nmaillat
d7a51164bf PHRAS-3494 fix typo 2021-07-30 12:58:04 +02:00
nmaillat
952d46dcf4 PHRAS-3494 add a worker container with phraseanet scheduler 2021-07-29 13:00:56 +02:00
nmaillat
0c56075641 change path for pid file 2021-06-30 14:01:29 +02:00
nmaillat
708df8142d fix home for app in supervisor job conf file 2021-06-30 13:24:07 +02:00
nmaillat
7efd7915a4 typo fix 2021-06-30 13:16:03 +02:00
nmaillat
d96a856d1e implement -m 0 for bin/console launch method 2021-06-30 13:16:03 +02:00
nmaillat
9a653b56db clean on worker entrypoint 2021-06-30 13:16:03 +02:00
nmaillat
25550d61ce remove grouped jobs 2021-06-30 13:16:03 +02:00
nmaillat
31a39b4f70 PHRAS-3463 add option for launching Phraseanet workers with supervisor 2021-06-30 13:16:03 +02:00
aynsix
9f42b7e9b6 add proxy config and add command to test defined configuration 2021-06-18 17:05:04 +03:00
aynsix
efe90edd69 fix conf 2021-06-18 14:08:47 +03:00
aynsix
138fce905d add squid image 2021-06-16 18:01:23 +03:00
aynsix
77f12b1387 PHRAS-3102 add mysql env variable 2021-06-03 11:30:44 +03:00
Nicolas Maillat
55bbba7fa0 PHRAS-3384 Disable newrelic blackfire entrypoint 2021-04-06 13:29:44 +02:00
Nicolas Maillat
dff0cee674 PHRAS-3384 typo fix worker entrypoint [SKIP CI] 2021-04-06 13:27:17 +02:00
Nicolas Maillat
8476ec3777 PHRAS-3381 2021-03-30 22:33:38 +02:00
nmaillat
6977b4fb62 Add blackfire agent 2021-03-05 20:15:29 +01:00
nmaillat
6a7b891da2 PHRAS-3384 add Newrelic php-agent 2021-03-02 20:40:32 +01:00
nmaillat
0a45e46d53 PHRAS-3372 add debugger alloweb ip, fix issue case single entry for trusted proxies and language
[SKIP CI]
2021-02-23 12:53:31 +01:00
nmaillat
92b9c1e88e PHRAS-3372 refacto Phraseanet entrypoint
Add more env variable for install, setup and upgrade (WIP)
 Setting language and default language
 Trusted proxies setting refacto
[SKIP CI]
2021-02-18 01:46:48 +01:00
gjacobjn
a80c57d830 Update entrypoint.sh 2021-01-29 14:26:39 +01:00
gjacobjn
4d38dda9be Update entrypoint.sh 2021-01-29 14:08:23 +01:00
gjacobjn
ce6e345e33 Update entrypoint.sh 2021-01-29 12:37:35 +01:00
gjacobjn
a836ca23e2 Update entrypoint.sh 2021-01-28 16:10:47 +01:00
Moctar
fad67abf93 PHRAS-3336 test if PHRASEANET_EXPODE_WORKER is set fallback to default 2021-01-15 15:09:46 +01:00