DoliSMQ Release 1.6.0 - 16/06/2023
Description : Cette version de DoliSMQ apporte de nouvelles fonctionnalités innovantes pour les contrôles dans DoliSMQ. Il devient maintenant possible de configurer les types de réponses. Aux côtés d'un nouveau modèle de document mise à jour et plus cohérent avec la notion de contrôle.
Au niveau développement, plusieurs fonctions et fonctionnalités de DoliSMQ utilisant du code générique et similaire à d'autres modules de Evarisk ont été déplacés dans le framework "Saturne".
Nouvelles fonctionnalités et améliorations
Types de réponses
- Choix du type de réponse lors de la création de la question
- Edition des réponses possible en fonction du type de réponse
- Réponse au type de la question dans la fiche de contrôle
Amélioration de l'interface de la fiche de contrôle
- Ajout de la possibilité d'ajouter une photo par défaut
- Changement de l'icône pour définir le verdict
- Ajout des boutons "signer" et "archiver"
- Le bouton supprimer met le statut de l'objet à 0 au lieu de le retirer de la base de données
- Agrandissement des icones sur smartphone pour améliorer la visibilité
- Si une nouvelle note publique est ajouté, elle s'inscrit à la suite de la précédente au lieu de l'écraser
Remaniement du modèle des documents
- Les informations essentielles ont été conservées tandis que les informations non judicieuses ont été retirées
- Les signatures ainsi que les participants ont été rajoutés
- Les réponses et types de réponses ont été ajustées en fonction des nouvelles fonctionnalités implémentées
Configuration
- Il est maintenant possible de configurer les vignettes utilisées dans la fiche des documents
- Ajout de la possibilité de sélectionner toute les configurations de la fiche modèle en un clique
Corrections de bugs
Configuration des médias
- Correction d'un bug d'affichage n'affichant pas si la configuration avait été modifiée, ou non, avec succès
- Ajout de la possibilité de configurer les vignettes "mini" et "small"
- La taille des médias n'était pas proprement ajusté en fonction des paramètres, maintenant si
- Lorsque l'on délie une photo d'un objet, on délie les vignettes de la photo également
La prévisualisation des photos a été corrigée
Correction d'erreurs critique en fonction de l'activation de certaines configurations
Correction du bouton "Enregistrer" dans la fiche contrôle
- Le bouton était plus petit que les autres boutons
- Le bouton pouvait être cliqué même en étant grisé
Question et Fiche modèle
- Le libellé est désormais obligatoire à renseigner
- La description n'est plus nécessaire pour les questions
- Ajout du champ description pour les fiches modèle
Comparaison des versions 1.5.0 et 1.6.0
- Merge Main into Master
#1215
- Merge 1.6.0 into main
#1214
- #1194 [Mod] fix: conf init module warning
#1203
- #1199 [Mod] fix: missing depends modTicket
#1201
- #1197 [ODT] fix: missing ODT trad companies
#1202
- #1195 [Control] fix: error check categories on box
#1196
- #1182 [Question] fix: cant lock a question in list if no answer on it
#1184
- #1181 [Question/Sheet] fix: getpost on description and fields if error
#1183
- #1151 [Trad] fix: change trad
#1192
- #1096 [Question] add: clone answers when cloning question
#1179
- #1170 [Document] fix: strip html tags from question description
#1174
- #1178 [AdminConf] fix: fatal sheet const array
#1180
- #1161 [Cards] add: wpeo-button class to avoid spam create or add
#1173
- #1143 [List] fix: select distinct
#1156
- #1149 [ODT] fix: bug generation pdf due to ASCII characters
#1150
- #1142 [SQL] fix: update of questions type
#1147
- #1152 [Sheet] fix: check if control is deleted to mass delete sheet
#1153
- #1155 [CSS] add: minify menu_scss
#1160
- #1145 [Core] fix: answer backward compatibility
#1146
- #1091 [Mod] fix: missing answer on question with preset type OkKoToFixNonApplicable
#1092
- 1.6.0
#1084
- #1050 [Question] fix: show medias in sheet card
#1078
- #1054 [Question] add: remove action on question type OkKo/OkKoToFixNonApplicable
#1071
- #1062 [Answer] add: change picto answer dropdown
#1070
- #1064 [Admin] fix: missing trad
#1069
- #1063 [SQL] fix: backward compatibility question type
#1068
- #1055 [Control] fix: check if picto empty instead of different than 0
#1067
- #1051 [Question] fix: can't lock if no answer created for choices type
#1066
- #1052 [Widget] fix: fetch object linked to show boxes
#1065
- Update README.md
#1046
- 1.6.0
#1045
- #1037 [SQL] add: missing Answer SQL key
#1039
- #1035 [Control] add: project in list
#1036
- #1029 [Control] add: delete signature with reopen action
#1033
- #1030 [Sheet] add: change trad for use same
#1032
- #1041 [Control] fix: show default photo if there is one on media
#1044
- #1040 [Control] add: control list name
#1042
- #1028 [Categories] fix: fatal error when no element linked to a category
#1034
- #1013 [Control] fix: transform control answer ihm like comment
#1025
- #997 [Control] fix: if no tag then return an empty tag message
#1004
- #1021 [Control] fix: edit project in banner tab
#1022
- #1019 [Control] fix: disable signature button if verdict is not set
#1024
- #1018 [Control] fix: set default value for arrayNbControlByVerdict dashboard
#1023
- #1015 [Question] add: don't add answer for type 'OkKo' && 'OkKoToFixNonApplicable'
#1031
- #1003 [Trad] fix: remove unused trad
#1010
- #1000 [Control] add: send email function with doc
#1011
- #1002 [ControlDocument] fix: photo name
#1005
- #1006 [Question] fix: answer pictogram database format
#1008
- fix develop merge conflicts
#995
- #985 [Trad] add: name ODT
#986
- #979 [Question] fix: remove total line on list
#983
- #978 [ODT] fix: camelCase
#982
- fix questions config page
#981
- #975 [Mod] add: missing files index
#976
- #970 [SQL] add: remove llx_dolismq_dolismqdocuments and use saturne_documents instead
#972
- #967 [ODT] fix: missing trad ODT
#969
- #914 [Control] fix: list performances
#922
- #947 [Control] fix: dashboard performance issue due to load fetchObjectLinked
#952
- #962 [Control] fix: answer counter before first answers
#963
- #959 [Mod] fix: remove include
#960
- #917 [Control] add: generation ODT public interface
#938
- #916 [Control] add: clone options for attendants and photos
#939
- #932 [Conf] fix: change trad of numbering module det
#943
- #949 [Mod] add: remove unused files
#953
- #946 [Control] fix: max photo on saturne_show_medias_linked
#956
- #753 [Sheet] add: description field
#806
- #841 [Answer] fix: ihm
#937
- #933 [JS] add: saturne drag and drop
#934
- #920 [Answer] fix: picto selector css
#931
- #918 [Config] fix: menu harmonization
#927
- Fix question edit posts
#925
- #821 [Sheet] add: questiontype alongside questions
#944
- #860 [Control] fix: remove picto help confirm validated
#940
- #935 [SQL] fix: move file control_attendants_role on root for insert data after create table
#936
- #865 [Control] fix: missing check on maxPhoto
#910
- #768 [Control] add: use select array instead of dolismq_select_product_lots
#901
- Fix question trans
#929
- #847 #890 [CSS] add: answer buttons looks better on the phone
#909
- #857 [Question] add: move field question type after label
#908
- #859 [Control] fix: need reset answer counter for action setValidated
#907
- #904 [Mod] fix: need value instead of global value
#906
- #903 [Control] fix: fatal with $object->linkedObjects cause "dolibarr name"
#905
- #898 [Control] fix: missing getNomUrl on box
#902
- #877 [ODT] add: answer and fix include
#900
- #801 [Dashboard] add: DolismqDashboard for manage DoliSMQ dashboard
#866
- #880 [Config] add: setup logo
#881
- #311 [Signature] add: control signature attendant page + workflow
#869
- #885 [SQL] add: control_attendants_role dictionary
#896
- #848 [Control] add: remove dolismq banner tab for use saturne
#870
- #861 [Mod] add: rework mod num ref with ModeleNumRefSaturne
#873
- #827 #856 #876 [Question] fix: answer lock, triggers, seteventmessage and check error
#894
- #802 [ODT] add: new odt model
#891
- #893 [JS] fix: generate js_min
#895
- #883 #886 [IHM] fix: ihm button on control card
#892
- #464 [Control] add: set STATUS_ARCHIVED action
#868
- #583 [SQL] add: missing unique key on SQL object key
#867
- #488 [Mod] add: more element control linked
#874
- #318 [SQL] add: answers data model
#813
- Fix pdf display
#795
- Fix IHM sheet/control card
#835
- Fix medias conf
#834
- Add photo default
#833
- #613 [Control] fix: button save do action only when edit answer
#826
- #301 [Objects] add: soft delete action
#812
- #778 [LinkedObjects] fix: widget boxes display conditions
#807
- #804 [Core] add: index file in css & js directories
#805
- Set media doc
#786
- #851 [Mod] fix: change trad rights for prevent conflict with confirm action
#872
- #417 [Sheet] add: remove backtopage and control button on sheet card
#871
- #802 [ODT] add: clean doc_controldocument_odt and add missing attendants info
38d1253
- #951 [ODT] add: rework doc with generic functions ModeleDocSaturne
fec42c8
- #818 [Class] add: answer class & functions
8fe0edf
- #791 [Document] fix: check if object has question before foreach
2f18867
- #842 [Answer] fix: handle more than 4 answers per question
5dac46e
- #801 [Dashboard] add: move load_dashboard in control class + trad
4e72eae
- #850 [Answer] add: pictogram management
0ba65e3
- #822 [Control] add: answer types in question list
081ef7d
- #819 [View] add: question type & answers
7a001e4
- #861 [Answer] add: mod num ref
f990d96
- #971 [Question] add: generic config page
5ec77f9
- #932 [Conf] fix: separate numberingmoduledet in a better way
762c28b
- #984 [Question] fix: question redirection
6feb6de
- #464 [Sheet] add: set STATUS_ARCHIVED action
1cedc15
- #837 [Control] fix: question answered counter
9cf7bdc
- #984 [Question] add: cancel button when editing answer
4d4b419
- #685 [Control] add: js to handle add to favorite and unlink photo
0ab2a7d
- #782 [Conf] add: small and mini conf to set vignette size
8199452
- #827 [Question] fix: can't add answer if question lock
6ddbaba
- #853 [PDF] add: answers depending on question type
bb436ad
- #801 [Control] add: getNbControlsByMonth dashboard
1eedaa4
- fix develop merge
d58a484
- #924 [Question] fix: question edit posts
58e163a
- #685 [Control] add: photo_default in view card
5ed9658
- #865 [Control] add: specific workflow for add photo
3cb6812
- #1014 [Control] fix: put back value and percentage and change css
c13556b
- #685 [Control] add: photo_default multiple and well aligned
2e4472c
- #231 [Conf] add: conf to set the vignette of medias in documents
243c509
- #959 [Mod] fix: revert file temporary
90f09a3
- #802 [ODT] add: missing informations and fix format in odt
440420b
- #656 [Core] fix: main includes
2bbfd19
- #846 [Control] fix: verdict is fa-check-circle and onphone logos are fa-2x
ac98eb8
- #941 [Question] fix: way to trad type on list
65e9e44
- #865 [Medias] fix: favorite & unlink actions
6b33cca
- #1014 [Control] fix: ihm right value and percentage
127706b
- #817 [SQL] add: question answers sql
24752d6
- #887 [Control] fix: remove unused check
d30917a
- #913 [ODT] add: bold object type
3978b89
- #919 [Question] fix: remove check langstrans key
a82f114
- #984 [Question] add: anchor on cancel
9670ad7
- #865 [Control] fix: unlink file action
f394779
- #984 [Question] fix: actions redirection
bc31f53
- #840 [Answer] add: multiple choices in control card
fd99924
- #790 [Document] fix: remove line if no element at the end of a page
8c710aa
- #876 [Question] fix: update and delete answer seteventmessage and check error
340c127
- #913 [ODT] fix: model ihm and typo
438d440
- #793 [Document] add: smaller cell case for ref in PDF and more asthetic
e32ba27
- #1040 [Control] add: missing css on selector
6c1d6c9
- #913 [Document] fix: model odt ihm
7d559e7
- #856 [Question] add: triggers on answer
7260ed9
- #802 [ODT] fix: typo and data display
8b61e8b
- #843 [Answer] add: seteventmessage and check error
61b89cb
- #841 [Question] add: css on answer color
4e08195
- #887 [Trad] fix: change trad and transnoentities all trtiggers
7a962f7
- #849 [Answer] add: actions seteventmessage
1cbb7a5
- #506 [Control] add: better spacing between object and linked object
a7f56fd
- #1096 [Question] fix: moved code in class instead of card
902b6d0
- #854 [Answer] add: picto to pre-created answers
c70b3d3
- #782 [Question] add: mini and small vignette
712b5bf
- #1096 [Question] fix: invert code position under result check
8fc84db
- #984 [Question] fix: anchor after actions
d13e6f5
- #782 [Question] add: vignette medium/large after dol_add_file_process
9388c01
- #913 [ODT] fix: new model odt
94e5edd
- #916 [Control] add: checkbox instead of radio button and don't reset note
39867b1
- #984 [Question] add: anchor on answer list
ec0ffcf
- #914 [Control] fix: productlot getnomurl
3f36995
- #459 [Control] add: ability to filter by no verdict or every verdict
9c822eb
- #1096 [Question] add: clone also answers when cloning question
d683d24
- #997 [Control] fix: if no tag then return empty form select
d74581e
- #776 [Question] add: label required and remove description required
9782968
- #852 [Answer] add: pictogram sql field
7139c93
- 📖 Changelog
4d4ab15
- #970 [SQL] fix: remove backward SQL for prevent conflictuel workflow
9f01388
- #802 [ODT] fix: variables names and using
61066be
- #848 [Control] fix: remove wrong element
42e51a4
- #777 [SQL] fix: update SQL label not null
e05f0f4
- #886 [Control] fix: archive button like the others in mobile view
77daa0f
- #947 [Control] add: filter status
a6b01c9
- #768 [Control] fix: check if $sheet->element_linked as product for use filter on productlot
e549b44
- #830 [SQL] fix: fields position
3b50753
- #793 [Document] fix: center question and answer ref vertically
076cd4d
- #793 [Document] fix: center header info in cell
77945e5
- #777 [Sheet] add: label required for create and edit
651226c
- #1002 [ControlDocument] fix: photo name
ae9a319
- #583 [SQL] add: update sql for backward compatibility
eb20da1
- #1028 [Categories] fix: table end position
9c119c9
- #984 [Question] fix: buttons ihm
7e933c5
- #973 [Answer] add: picto before ref
60a0d0a
- #973 [Answer] fix: remove getNomUrl
0e4e79e
- #961 [ODT] fix: change extends class/trad/moreparam
2ebb1a8
- #887 [Lib] add: change display attendantTableMode for use 1 table with dictionnary role
494a878
- #848 [Control] fix: morehtmlref mssing check
101174a
- #832 [Sheet] fix: display notice in red, bigger and underlink on all sentence
d387ce6
- #816 [Document] fix: check array before empty
d820d26
- #459 [Control] fix: change N/A by no verdict
b1f0254
- #984 [Question] add: anchor on update fail
1abede9
- #917 [ODT] fix: change directory for specimen
a5ffb38
- #685 [Control] add: photo entry in sql and control class
e727f9e
- #1182 [Lang] fix: space
fa016ba
- #1142 [SQL] fix: replace IS NULL by = ''
efb2549
- 📖 Changelog
2886b97
- #997 [Control] fix: can't edit tag if control lock
933b53f
- #1014 [Control] fix: ihm add % after percentage
6acc3a9
- #1006 [Question] fix: set aria label value
64cdd2a
- #974 [Answer] fix: function comment
7e83e5f
- #970 [Lib] add: use admin about saturne
156b4ad
- #967 [ODT] fix: missing camelCase
f043e70
- #946 [Control] fix: remove unwanted check
ae70c14
- #946 [Control] fix: remove max on saturne_show_medias_linked
1102eb2
- #941 [Sheet] fix: transnoentities
b2cc39e
- #941 [Sheet] fix: remove ternary
7ba6ccf
- #941 [Sheet] add: trad on answer type
cf0e1c8
- #941 [QuestionList] add: trad on type value
1b943c5
- #753 [Sheet] fix: description field type
f7c1942
- #921 [Question] add: langs trans on object type
ee94821
- #883 [Control] fix: picto verdict far instead of fas
56c02d9
- #464 [Sheet] fix: check status unlinkQuestion action
10b29f8
- #782 [Question] fix: remove generatethumbs
bb7c735
- #829 [Question] fix: getpost type
cdce20f
- #828 [Question] fix: default question type
172600d
- #632 [Control] fix: break line before text if note_public not empty
701ff6b
- #632 [Control] add: line break after addind public_note
eace35a
- #632 [Control] add: when set verdict, add public note instead of replacing
78921a0
- #231 [Trad] add: e to modify
6d89d26
- #801 [Dashboard] fix: reorder array keys arrayNbControlByVerdict
427c717
- #782 [Core] add: moduleNameUpperCase instead of repeating strtoupper
90ce78f
- #794 [Document] fix: include function lib
64effb3
- #948 add: odt
a397474
- #897 [ODT] add: signature table missing info
1bf4d6f
- #802 [ODT] add:A4 vertical mode control sheet
5549961