Commit Graph

165 Commits

Author SHA1 Message Date
Nicolas Maillat
8d868c3297 PHRAS-3860 Sync phraseanet root account info (#4331)
* user edit command

* PHRAS-3859 set defaut fastcgi-https to off

* PHRAS-3859 fix typo and explain

* edit lastname, firstname, company

* fix

* sync Phraseanet root account

* Update entrypoint.sh

* fix test install

---------

Co-authored-by: aynsix <asr@esokia-webagency.com>
Co-authored-by: Moctar <diouf@alchemy.fr>
2023-07-07 09:42:01 +02:00
moctardiouf
1215f82c30 PHRAS-3859 increase security with headers (#4325)
* fix port value on nginx proxy case

* increase security using headers

* PHRAS-3859 add security set cookie httponly
2023-06-26 10:51:45 +02:00
moctardiouf
71d725e4a0 PHRAS-3859 add security headers : inital commit (#4324) 2023-06-22 17:28:34 +02:00
moctardiouf
86b4472b3c PHARS-3844 gateway container access restriction (#4323)
* PHRAS-3844 manager real ip on nginx

* PHRAS-3844 add restrictions on ip and/or password

* PHRAS-3844 add variable to helm

* PHRAS-3844 change variable names and force ssl

* fix https default value

* PHRAS-3844 fix deny on password usage case

* PHRAS-3844 fix deny on password usage case 2
2023-05-31 22:52:09 +02:00
moctardiouf
21c9747637 PHRAS-3843 change in php-cli and fpm exposition config value (#4313) 2023-05-11 00:00:51 +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
Nicolas Maillat
faf179681a chown ftp (#4287) 2023-03-24 20:43:53 +01:00
Nicolas Maillat
82e857aa15 PHRAS-3821 chown cache repo (#4274)
* chown cache for plugins
2023-03-16 08:21:29 +01:00
Nicolas Maillat
32ff2739ab PHRAS-382 delete cache content after plugin install (#4272)
Co-authored-by: Moctar <diouf@alchemy.fr>
2023-03-14 19:19:34 +01:00
Nicolas Maillat
1f1d3b901e PHRAS-3821 chown re-organistion between setup and fpm and worker- wip (#4261)
PHRAS-3821 : chown are now only executed by "setup" container
2023-03-08 17:30:33 +01:00
Aina Sitraka
0339fa1b78 PHRAS-3798 bin/setup - system:config set - return sensitive credential on stdout (#4247)
* system:config use quiet option

* remove -q from some properties

* remove debug auto-install.sh
2023-02-16 15:57:36 +01:00
moctardiouf
c95ae5158b PHRAS-3144 add plugin post install clean cache (#4238)
* PHRAS-3144 add plugin post install script on worker image

* PHRAS-3144 add plugin post install clean cache
2023-01-30 12:29:20 +01:00
moctardiouf
d04a3a0d6e PHRAS-3144 add plugin post install script on worker image (#4212) 2023-01-18 19:01:33 +01:00
Nicolas Maillat
0d43e4f4a2 PHRAS-3794 : populate order MODIFICATION_DATE by default (#4202)
* PHRAS-3794 : MODIFICATION_DATE by default

* Update auto-install.sh

* MODIFICATION_DATE in env file
2023-01-03 11:24:47 +01:00
moctardiouf
dcd0d92bd9 PHRAS-3780 enable opcache zend extension (#4172) 2022-11-07 16:36:03 +01:00
Nicolas Maillat
bd4bca437c - Publish message only when a worker failed (#4168)
- log tail optim
2022-11-01 17:04:07 +01:00
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