Commit Graph

583 Commits

Author SHA1 Message Date
Aina Sitraka
b8786852e0 PHRAS-4067: admin - dashboard - 500 error (#4513)
* fix error 500 on dashboard : remove unused swiftools requirement

* unused

* patch on 4.1.8
2024-06-10 18:18:34 +02:00
jygaulier
45e8f29fc9 add : allow to set multiple --source, the first not-empty meta is copied to destination (#4516) 2024-06-06 15:19:01 +02:00
Aina Sitraka
c041910692 PHRAS-4012 : bin/console records:writemetadatas (#4463)
* command records:writemetadatas
2024-01-26 19:01:15 +01:00
Aina Sitraka
71ef4bf1dd PHRAS-4011 : Moving cmd from console to setup - system:clear-cache system:clear-session (#4460)
* cmd clear cache in bin/setup

* Change maintenance state wording
2024-01-22 10:34:13 +01:00
Aina Sitraka
7768ebfb4b PHRAS-3722 : bin/console records:build-subdef (#4450)
* fix

* PHRAS-4001

* - allow to prune without building
- require --confirm to prune and build in the same time

---------
Co-authored-by: jygaulier <gaulier@alchemy.fr>
2023-12-29 15:55:31 +01:00
Aina Sitraka
39ef540c15 PHRAS-3394 fix wrong date for delting account (#4446) 2023-12-22 15:34:03 +01:00
Aina Sitraka
7d72143ff2 PHRAS-3979: fix bin/maintenance cleaner (#4443)
* fix cleaner memory leak
2023-12-18 19:45:17 +01:00
jygaulier
8494d3fd52 fix: same record on many expired feedbacks - not yet reported - is reported from the latest expiring feedback
change: --min_date applies on creation of the basket (not expiration)
add: name of the basket on output
2023-12-14 20:57:18 +01:00
jygaulier
5c6317d44b ignore non voters ; add --min_date option ; add databoxes filter 2023-12-13 18:05:07 +01:00
Aina Sitraka
fa8377e411 PHRAS-3967: Translator - Move translator configuration in config/configuration.yml (#4428)
* move translator configuration

* some catch
2023-12-04 15:42:30 +01:00
jygaulier
69f3b30ee5 PHRAS-3768_feedback-report-per-record (#4421)
* add command feedback:report ; bump back to 4.1.8-rc9
WIP OK TO TEST

* aadd dry, log, ... ; move conf ; bump back to 4.1.8-rc8
WIP OK TO TEST

* add command feedback:report ; bump back to 4.1.8-rc9
WIP OK TO TEST

* aadd dry, log, ... ; move conf ; bump back to 4.1.8-rc8
WIP OK TO TEST

* add default (disabled) conf in conf.d

* Update Version.php

bump version made in #4426
2023-11-30 17:26:14 +01:00
Aina Sitraka
7bfd9569d8 PHRAS-2069 rescan file metadata command (#4420) 2023-11-29 14:09:43 +01:00
Aina Sitraka
b3f2076c77 fic clean user never connected (#4412) 2023-11-17 15:23:48 +01:00
jygaulier
e2b76cc81f PHRAS-3940 translator-group-jobs (#4409)
* declare actions (work on fields) inside job (work on records)

* fix invalid sql

* fix invalid sql ; add sample
2023-11-16 16:16:14 +01:00
Aina Sitraka
be9a6b3ed3 PHRAS-3894 : bin/maintenance clean: - Removing BETA prefix and Memory leak (#4391)
* remove beta

* prefix beta in description
2023-10-10 20:43:30 +02:00
jygaulier
78a36aec21 fix crash when nothing to do on a record 2023-09-27 13:18:34 +02:00
Aina Sitraka
59a60ba8ac PHRAS-3796 bin/setup check:system - download , lazaret, wrong repo is checked (#4349)
* fix directory check

* fix test

* PHRAS-3882 change filter order
2023-07-26 20:48:06 +02:00
Aina Sitraka
a175907684 PHRAS-3860 bin/console user:edit (#4328)
* user edit command

* edit lastname, firstname, company

* fix
2023-07-03 21:19:09 +02:00
jygaulier
743070a92c mark as beta ; add --report ; display json with -vv 2023-05-17 15:25:26 +02:00
jygaulier
a4210fe26c add debug of actions (setMetadatasByActions) with -vvv 2023-05-15 10:22:56 +02:00
jygaulier
ecb6baaa89 remove debug & restore write 2023-05-15 10:16:44 +02:00
jygaulier
a9b7c77b6e add doc ; handle source = destination 2023-05-11 20:21:33 +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
jygaulier
36c273327b WIP ; todo: use record_edit (setMetadatasByActions ?) to persist changes 2023-05-11 20:17:40 +02:00
jygaulier
17ee2c4561 WIP ; translate but not write in db 2023-05-11 20:17:40 +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
bbd6a240e5 PHRAS-3823 : add permalink in report GUI (#4291) 2023-04-06 14:10:00 +02:00
Aina Sitraka
2a271f458e PHRAS-3823 add column permalink and option in report command (#4288) 2023-03-30 12:15:45 +02:00
Aina Sitraka
48df294616 PHRAS-3823 report databox content (#4286)
* report databox content

* add column created_on
2023-03-24 16:24:27 +01:00
Aina Sitraka
c5ab61d356 PHRAS-3823 downloads report command (#4279)
* downloads report

* add command download report
2023-03-17 19:57:53 +01:00
Aina Sitraka
714a69f82f add tiret in subject mail (#4271) 2023-03-14 13:54:11 +01:00
Aina Sitraka
58985edf62 some fix (#4269)
PHRAS-3823:  "report" color in  email, email subject, and files naming
2023-03-13 19:03:17 +01:00
Aina Sitraka
e7b280a70c PHRAS-3823 Report - command line report generator (#4265)
* command report connections

* some report

* prefix beta

* Update .dockerignore

* some fix, add range option

---------

Co-authored-by: Nicolas Maillat <maillat@alchemy.fr>
2023-03-11 16:40:27 +01:00
Aina Sitraka
d5be724ec2 PHRAS-3813 bin/maintenance clean databox's log_docs (#4262)
* clean log_docs

* clean log_search and log_view
2023-03-09 11:43:10 +01:00
Aina Sitraka
b880411783 PHRAS-3819 clean webhook log (#4264)
* clean webhookevent

* prefix beta
2023-03-09 10:16:26 +01:00
Aina Sitraka
d392412678 PHRAS-3694 not send confirmation email if max relance 0 (#4259)
* not send confirmation email if max relance = 0

* Update CleanUsersCommand.php
2023-02-25 20:55:21 +01:00
Aina Sitraka
62a0d26a6f fix max relance = 0 (#4248)
Co-authored-by: Nicolas Maillat <maillat@alchemy.fr>
2023-02-16 19:36:36 +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
Aina Sitraka
2d6c8a3651 PHRAS-3694 clean:user some fix (#4221)
* some fix

* generate translation

* mail:test string
2023-01-20 17:53:38 +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
8fbe994856 PHRAS-3694 fix clean user (#4214) 2023-01-18 11:15:46 +01:00
Aina Sitraka
5e3bf7885a some command cleaner (#4186) 2023-01-13 23:09:30 +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
Aina Sitraka
442779c6bf PHRAS-3772 catch exception on redis connection, don't parse a file (#4163) 2022-10-26 00:01:58 +02:00
Aina Sitraka
19b4f6d06b task and scheduler log (#4158) 2022-10-25 22:22:26 +02:00
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
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
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
aynsix
30cebd9b63 remove build missing subdefs 2022-03-15 11:50:14 +03:00
aynsix
f79be94fce mark deprecated 2022-03-15 10:52:18 +03:00