Commit 3bee3edf authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Mail candidature et intégration unicaen/mail

parent 15cd4ff4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
        "unicaen/tbl"                                 : "6.0.1",
        "unicaen/open-document"                       : "6.0.2",
        "unicaen/siham"                               : "6.0.2",
        "unicaen/mail"                                : "6.0.4",
        "unicaen/mail"                                : "6.0.5",
        "unicaen/vue"                                 : "dev-master",
        "laminas/laminas-cache-storage-adapter-memory": "2.1.x-dev",
        "laminas/laminas-text"                        : "2.10.x-dev"
+33 −28
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
        "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
        "This file is @generated automatically"
    ],
    "content-hash": "de421410ee66b0e8fbc01f7e6b67d041",
    "content-hash": "75f4464ca7c14d8c314edbb9a300ae67",
    "packages": [
        {
            "name": "beberlei/assert",
@@ -460,16 +460,16 @@
        },
        {
            "name": "doctrine/dbal",
            "version": "3.6.2",
            "version": "3.6.3",
            "source": {
                "type": "git",
                "url": "https://github.com/doctrine/dbal.git",
                "reference": "b4bd1cfbd2b916951696d82e57d054394d84864c"
                "reference": "9a747d29e7e6b39509b8f1847e37a23a0163ea6a"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/doctrine/dbal/zipball/b4bd1cfbd2b916951696d82e57d054394d84864c",
                "reference": "b4bd1cfbd2b916951696d82e57d054394d84864c",
                "url": "https://api.github.com/repos/doctrine/dbal/zipball/9a747d29e7e6b39509b8f1847e37a23a0163ea6a",
                "reference": "9a747d29e7e6b39509b8f1847e37a23a0163ea6a",
                "shasum": ""
            },
            "require": {
@@ -482,12 +482,12 @@
                "psr/log": "^1|^2|^3"
            },
            "require-dev": {
                "doctrine/coding-standard": "11.1.0",
                "doctrine/coding-standard": "12.0.0",
                "fig/log-test": "^1",
                "jetbrains/phpstorm-stubs": "2022.3",
                "phpstan/phpstan": "1.10.9",
                "phpstan/phpstan": "1.10.14",
                "phpstan/phpstan-strict-rules": "^1.5",
                "phpunit/phpunit": "9.6.6",
                "phpunit/phpunit": "9.6.7",
                "psalm/plugin-phpunit": "0.18.4",
                "squizlabs/php_codesniffer": "3.7.2",
                "symfony/cache": "^5.4|^6.0",
@@ -552,7 +552,7 @@
            ],
            "support": {
                "issues": "https://github.com/doctrine/dbal/issues",
                "source": "https://github.com/doctrine/dbal/tree/3.6.2"
                "source": "https://github.com/doctrine/dbal/tree/3.6.3"
            },
            "funding": [
                {
@@ -568,29 +568,33 @@
                    "type": "tidelift"
                }
            ],
            "time": "2023-04-14T07:25:38+00:00"
            "time": "2023-06-01T05:46:46+00:00"
        },
        {
            "name": "doctrine/deprecations",
            "version": "v1.1.0",
            "version": "v1.1.1",
            "source": {
                "type": "git",
                "url": "https://github.com/doctrine/deprecations.git",
                "reference": "8cffffb2218e01f3b370bf763e00e81697725259"
                "reference": "612a3ee5ab0d5dd97b7cf3874a6efe24325efac3"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/doctrine/deprecations/zipball/8cffffb2218e01f3b370bf763e00e81697725259",
                "reference": "8cffffb2218e01f3b370bf763e00e81697725259",
                "url": "https://api.github.com/repos/doctrine/deprecations/zipball/612a3ee5ab0d5dd97b7cf3874a6efe24325efac3",
                "reference": "612a3ee5ab0d5dd97b7cf3874a6efe24325efac3",
                "shasum": ""
            },
            "require": {
                "php": "^7.1|^8.0"
                "php": "^7.1 || ^8.0"
            },
            "require-dev": {
                "doctrine/coding-standard": "^9",
                "phpunit/phpunit": "^7.5|^8.5|^9.5",
                "psr/log": "^1|^2|^3"
                "phpstan/phpstan": "1.4.10 || 1.10.15",
                "phpstan/phpstan-phpunit": "^1.0",
                "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
                "psalm/plugin-phpunit": "0.18.4",
                "psr/log": "^1 || ^2 || ^3",
                "vimeo/psalm": "4.30.0 || 5.12.0"
            },
            "suggest": {
                "psr/log": "Allows logging deprecations via PSR-3 logger implementation"
@@ -609,9 +613,9 @@
            "homepage": "https://www.doctrine-project.org/",
            "support": {
                "issues": "https://github.com/doctrine/deprecations/issues",
                "source": "https://github.com/doctrine/deprecations/tree/v1.1.0"
                "source": "https://github.com/doctrine/deprecations/tree/v1.1.1"
            },
            "time": "2023-05-29T18:55:17+00:00"
            "time": "2023-06-03T09:27:29+00:00"
        },
        {
            "name": "doctrine/doctrine-laminas-hydrator",
@@ -7126,11 +7130,11 @@
        },
        {
            "name": "unicaen/mail",
            "version": "6.0.4",
            "version": "6.0.5",
            "source": {
                "type": "git",
                "url": "https://git.unicaen.fr/lib/unicaen/mail.git",
                "reference": "ac712ca369faceab268ccfccd521070087f35766"
                "reference": "9c3d8829a410b71c457654713051b780320f3589"
            },
            "require": {
                "laminas/laminas-dependency-plugin": "^2.2",
@@ -7145,7 +7149,7 @@
                ]
            },
            "description": "Module d'envoi de mail",
            "time": "2023-05-25T14:02:52+00:00"
            "time": "2023-06-05T14:34:53+00:00"
        },
        {
            "name": "unicaen/open-document",
@@ -8288,22 +8292,23 @@
        },
        {
            "name": "phpstan/phpdoc-parser",
            "version": "1.21.3",
            "version": "1.22.0",
            "source": {
                "type": "git",
                "url": "https://github.com/phpstan/phpdoc-parser.git",
                "reference": "b0c366dd2cea79407d635839d25423ba07c55dd6"
                "reference": "ec58baf7b3c7f1c81b3b00617c953249fb8cf30c"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/b0c366dd2cea79407d635839d25423ba07c55dd6",
                "reference": "b0c366dd2cea79407d635839d25423ba07c55dd6",
                "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/ec58baf7b3c7f1c81b3b00617c953249fb8cf30c",
                "reference": "ec58baf7b3c7f1c81b3b00617c953249fb8cf30c",
                "shasum": ""
            },
            "require": {
                "php": "^7.2 || ^8.0"
            },
            "require-dev": {
                "doctrine/annotations": "^2.0",
                "nikic/php-parser": "^4.15",
                "php-parallel-lint/php-parallel-lint": "^1.2",
                "phpstan/extension-installer": "^1.0",
@@ -8328,9 +8333,9 @@
            "description": "PHPDoc parser with support for nullable, intersection and generic types",
            "support": {
                "issues": "https://github.com/phpstan/phpdoc-parser/issues",
                "source": "https://github.com/phpstan/phpdoc-parser/tree/1.21.3"
                "source": "https://github.com/phpstan/phpdoc-parser/tree/1.22.0"
            },
            "time": "2023-05-29T19:31:28+00:00"
            "time": "2023-06-01T12:35:21+00:00"
        },
        {
            "name": "sabre/event",
+2 −2
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ return [
            'length'      => 1000,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => FALSE,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 8,
            'commentaire' => NULL,
@@ -112,7 +112,7 @@ return [
            'length'      => 4000,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => FALSE,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 9,
            'commentaire' => NULL,
+37 −3
Original line number Diff line number Diff line
@@ -195,6 +195,40 @@ Cordialement,
        "DESCRIPTION" => "Email souhaité pour l'expéditeur du contrat",
    ],

    /* Candidature mission */

    "candidature_modele_acceptation_mail"       => [
        "VALEUR"      => "Bonjour :intervenant

Vous avez récement postulé à une offre d'emploi étudiant. c'est acceptée

Cordialement,
:utilisateur",
        "DESCRIPTION" => "Modèle de mail acceptation d'une candidature",
    ],
    "candidature_modele_acceptation_mail_objet" => [
        "VALEUR"      => "Acceptation candidature :intervenant",
        "DESCRIPTION" => "Sujet pour le mail d'acceptation de candidature",
    ],
    "candidature_modele_refus_mail"             => [
        "VALEUR"      => "Bonjour :intervenant

Vous avez récement postulé à une offre d'emploi étudiant. Mais c'est refusé

Cordialement,
:utilisateur",
        "DESCRIPTION" => "Modèle de mail de refus d'une candidature",
    ],
    "candidature_modele_refus_mail_objet"       => [
        "VALEUR"      => "Refus candidature :intervenant",
        "DESCRIPTION" => "Sujet pour le mail de refus de candidature",
    ],
    "candidature_mail_expediteur"               => [
        "VALEUR"      => "",
        "DESCRIPTION" => "Email souhaité pour l'expéditeur du mail candidature",
    ],


    /* Export RH*/
    "export_rh_franchissement"                  => [
        "VALEUR"      => "",
+55 −0
Original line number Diff line number Diff line
@@ -474,6 +474,61 @@ class ParametresForm extends AbstractForm
            ],
        ]);

        $this->add([
            'name'    => 'candidature_modele_acceptation_mail_objet',
            'type'    => 'Text',
            'options' => [
                'label' => 'Objet du mail d\'acceptation',

            ],

        ]);

        $this->add([
            'name'    => 'candidature_modele_refus_mail_objet',
            'type'    => 'Text',
            'options' => [
                'label' => 'Objet du mail de refus',

            ],

        ]);

        $this->add([
            'name'    => 'candidature_mail_expediteur',
            'type'    => Element\Email::class,
            'options' => [
                'label' => 'Expéditeur du mail (si vide, l\'email de l\'utilisateur sera utilisé)',

            ],

        ]);

        $this->add([
            'name'       => 'candidature_modele_acceptation_mail',
            'type'       => 'Textarea',
            'options'    => [
                'label' => 'Corps du mail envoyé aux candidats dont la candidature est acceptée',

            ],
            'attributes' => [
                'rows' => 12,
            ],
        ]);


        $this->add([
            'name'       => 'candidature_modele_refus_mail',
            'type'       => 'Textarea',
            'options'    => [
                'label' => 'Corps du mail envoyé aux candidats dont la candidature est refusée',

            ],
            'attributes' => [
                'rows' => 12,
            ],
        ]);

        $this->add([
            'type'       => 'Select',
            'name'       => 'export_rh_franchissement',
Loading