feat(call-script): add the Call Script component (0.19.0)
A new Mautic component, listed under Components > Call Scripts (/s/call-scripts),
built like the other domains on AbstractStandardFormController/FormModel.
- CallScript (mt3s_call_scripts): name, description, category, owner, status,
the publish window shown as start/end date and time, the HTML script with
dynamic tokens kept as typed (html cleaning mask), the calling window
(weekdays, hours, sentinel in the contact's or a fixed timezone) and the retry
policy (max attempts, delay, backoff: none/linear/exponential)
- CallScriptOutcome (mt3s_call_script_outcomes, ON DELETE CASCADE): label,
data type (checkbox/radio/free text/dropdown), options JSON ({value,label})
and position; nested collections reuse the program-collection JS
- validators: ValidCallingWindow, ValidCallScriptOutcomeOptions, and an atPath
option on EndDateAfterStartDate so its violation lands on publishDown
- config: routes, the Components menu item (parent mautic.core.components),
call_script category type, model alias, call_scripts permissions, version 0.19.0
- migration Version_0_19_0 creates both tables and their FKs immediately
(users/categories SET NULL, outcomes CASCADE), idempotent
- translations en_US/fr_FR, unit tests, readme/AGENTS documentation
This commit is contained in:
1 parent
88256ca345
commit
4fb36eebfc
33 files changed
+2537
-6
No files matched your search
@@ -38,3 +38,13 @@ mt3s.smart_links.taxonomies.error.name_characters="Le nom ne peut pas contenir l
|
||||
mt3s.smart_links.taxonomies.error.value_invalid="La valeur %value% est invalide. Utilisez uniquement des lettres minuscules, des chiffres, des tirets, des tirets bas et des points."
|
||||
mt3s.smart_links.smart_links.error.taxonomy_required="Choisissez une taxonomie UTM."
|
||||
mt3s.smart_links.smart_links.error.taxonomy_parameter_unknown="Le paramètre %key% ne fait pas partie de la taxonomie %name%."
|
||||
mt3s.call_script.retry_attempts.range="Le nombre maximal de tentatives doit être un nombre entier de 1 à 20."
|
||||
mt3s.call_script.retry_delay.range="Le délai doit être un nombre entier de minutes, 0 ou plus."
|
||||
mt3s.call_script.calling_window.partial_hours="Renseignez à la fois le début et la fin de la plage d'appel."
|
||||
mt3s.call_script.calling_window.to_before_from="La plage d'appel doit se terminer après son début."
|
||||
mt3s.call_script.calling_window.timezone_required="Choisissez le fuseau horaire fixe de la plage d'appel."
|
||||
mt3s.call_script.outcome.label.required="Un résultat a besoin d'un libellé."
|
||||
mt3s.call_script.outcome.options.required="Ce type de résultat a besoin d'au moins une option."
|
||||
mt3s.call_script.outcome.options.free_text_forbidden="Un résultat en texte libre ne prend pas d'option."
|
||||
mt3s.call_script.outcome.options.value_required="Chaque valeur d'option est requise."
|
||||
mt3s.call_script.outcome.options.duplicate_value="Les valeurs des options doivent être uniques."
|
||||
Reference in new issue
Block a user