Commit b5cd8a33 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Merge branch 'master' into alc-prime-mission

# Conflicts:
#	module/Application/src/Provider/Privilege/Privileges.php
parents 8cdb89f1 76628e4c
Loading
Loading
Loading
Loading
+15 −1
Changes for CHANGELOG.md: 15 added lines, 1 removed line.
Original line number Diff line number Diff line
# Version stable

[OSE 21.0](#ose-21-07072023)
[OSE 21.1](#ose-211-13072023)
# OSE 22  (à venir)

## Corrections de bugs

* Correction de V_CONTRATS_SERVICES (#51795)

# OSE 21.1 (13/07/2023)

## Corrections de bugs

* Correction de la formule de l'UPEC
* Correction de la formule de Paris 1
* Les structures peuvent de nouveau être ajoutées depuis l'IHM (#51692)
* Plusieurs problèmes ont été corrigés au niveau des plafonds
* Réparation du connecteur Actul => OSE (#51613)

# OSE 21 (07/07/2023)

+1 −1
Changes for admin/actul/src/ConnecteurActul.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -142,7 +142,7 @@ class ConnecteurActul
    public function majActTable(string $tableName): int
    {
        $sql  = $this->getActulQuery($tableName);
        $data = $this->actul->select($sql, ['fetch' => Bdd::FETCH_ALL]);
        $data = $this->actul->select($sql, [], ['fetch' => Bdd::FETCH_ALL]);

        $key = $this->getTableKey($tableName);

+1 −1
Changes for composer.json: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
        "unicaen/privilege"                           : "6.0.1",
        "unicaen/utilisateur"                         : "6.0.4",
        "laminas/laminas-file"                        : "^2.8",
        "unicaen/code"                                : "6.0.8",
        "unicaen/code"                                : "6.0.9",
        "unicaen/import"                              : "6.0.1",
        "unicaen/tbl"                                 : "6.0.2",
        "unicaen/open-document"                       : "6.0.2",
+44 −43
Changes for composer.lock: 44 added lines, 43 removed lines.
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": "020b1449aba9921ccdb1ca6155b510fb",
    "content-hash": "f09874aad571f663a7ac5cc571c23bd6",
    "packages": [
        {
            "name": "beberlei/assert",
@@ -460,16 +460,16 @@
        },
        {
            "name": "doctrine/dbal",
            "version": "3.6.3",
            "version": "3.6.4",
            "source": {
                "type": "git",
                "url": "https://github.com/doctrine/dbal.git",
                "reference": "9a747d29e7e6b39509b8f1847e37a23a0163ea6a"
                "reference": "19f0dec95edd6a3c3c5ff1d188ea94c6b7fc903f"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/doctrine/dbal/zipball/9a747d29e7e6b39509b8f1847e37a23a0163ea6a",
                "reference": "9a747d29e7e6b39509b8f1847e37a23a0163ea6a",
                "url": "https://api.github.com/repos/doctrine/dbal/zipball/19f0dec95edd6a3c3c5ff1d188ea94c6b7fc903f",
                "reference": "19f0dec95edd6a3c3c5ff1d188ea94c6b7fc903f",
                "shasum": ""
            },
            "require": {
@@ -552,7 +552,7 @@
            ],
            "support": {
                "issues": "https://github.com/doctrine/dbal/issues",
                "source": "https://github.com/doctrine/dbal/tree/3.6.3"
                "source": "https://github.com/doctrine/dbal/tree/3.6.4"
            },
            "funding": [
                {
@@ -568,7 +568,7 @@
                    "type": "tidelift"
                }
            ],
            "time": "2023-06-01T05:46:46+00:00"
            "time": "2023-06-15T07:40:12+00:00"
        },
        {
            "name": "doctrine/deprecations",
@@ -1275,16 +1275,16 @@
        },
        {
            "name": "doctrine/orm",
            "version": "2.15.2",
            "version": "2.15.3",
            "source": {
                "type": "git",
                "url": "https://github.com/doctrine/orm.git",
                "reference": "bf449bef7ddc47e62c22f9a06dacc1736abe1c0b"
                "reference": "4c3bd208018c26498e5f682aaad45fa00ea307d5"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/doctrine/orm/zipball/bf449bef7ddc47e62c22f9a06dacc1736abe1c0b",
                "reference": "bf449bef7ddc47e62c22f9a06dacc1736abe1c0b",
                "url": "https://api.github.com/repos/doctrine/orm/zipball/4c3bd208018c26498e5f682aaad45fa00ea307d5",
                "reference": "4c3bd208018c26498e5f682aaad45fa00ea307d5",
                "shasum": ""
            },
            "require": {
@@ -1313,14 +1313,14 @@
                "doctrine/annotations": "^1.13 || ^2",
                "doctrine/coding-standard": "^9.0.2 || ^12.0",
                "phpbench/phpbench": "^0.16.10 || ^1.0",
                "phpstan/phpstan": "~1.4.10 || 1.10.14",
                "phpstan/phpstan": "~1.4.10 || 1.10.18",
                "phpunit/phpunit": "^7.5 || ^8.5 || ^9.6",
                "psr/log": "^1 || ^2 || ^3",
                "squizlabs/php_codesniffer": "3.7.2",
                "symfony/cache": "^4.4 || ^5.4 || ^6.0",
                "symfony/var-exporter": "^4.4 || ^5.4 || ^6.2",
                "symfony/yaml": "^3.4 || ^4.0 || ^5.0 || ^6.0",
                "vimeo/psalm": "4.30.0 || 5.11.0"
                "vimeo/psalm": "4.30.0 || 5.12.0"
            },
            "suggest": {
                "ext-dom": "Provides support for XSD validation for XML mapping files",
@@ -1370,9 +1370,9 @@
            ],
            "support": {
                "issues": "https://github.com/doctrine/orm/issues",
                "source": "https://github.com/doctrine/orm/tree/2.15.2"
                "source": "https://github.com/doctrine/orm/tree/2.15.3"
            },
            "time": "2023-06-01T09:35:50+00:00"
            "time": "2023-06-22T12:36:06+00:00"
        },
        {
            "name": "doctrine/persistence",
@@ -1587,20 +1587,21 @@
                "issues": "https://github.com/apereo/phpCAS/issues",
                "source": "https://github.com/apereo/phpCAS/tree/1.5.0"
            },
            "abandoned": "apereo/phpcas",
            "time": "2022-05-03T21:12:54+00:00"
        },
        {
            "name": "laminas/laminas-authentication",
            "version": "2.13.0",
            "version": "2.15.0",
            "source": {
                "type": "git",
                "url": "https://github.com/laminas/laminas-authentication.git",
                "reference": "12bfb36b8b20052a5fee2ae69b0f12064ce16fa9"
                "reference": "9036ae55a84862b16f8631460f90eeea6c19c54e"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/laminas/laminas-authentication/zipball/12bfb36b8b20052a5fee2ae69b0f12064ce16fa9",
                "reference": "12bfb36b8b20052a5fee2ae69b0f12064ce16fa9",
                "url": "https://api.github.com/repos/laminas/laminas-authentication/zipball/9036ae55a84862b16f8631460f90eeea6c19c54e",
                "reference": "9036ae55a84862b16f8631460f90eeea6c19c54e",
                "shasum": ""
            },
            "require": {
@@ -1615,13 +1616,13 @@
                "laminas/laminas-crypt": "^2.6.0 || ^3.9.0",
                "laminas/laminas-db": "^2.15.0",
                "laminas/laminas-http": "^2.17.0",
                "laminas/laminas-ldap": "^2.15.0",
                "laminas/laminas-ldap": "^2.16",
                "laminas/laminas-session": "^2.13.0",
                "laminas/laminas-uri": "^2.10.0",
                "laminas/laminas-validator": "^2.26.0",
                "phpunit/phpunit": "^9.5.25",
                "psalm/plugin-phpunit": "^0.17.0",
                "squizlabs/php_codesniffer": "^3.6.0",
                "squizlabs/php_codesniffer": "^3.7.1",
                "vimeo/psalm": "^4.29.0"
            },
            "suggest": {
@@ -1663,7 +1664,7 @@
                    "type": "community_bridge"
                }
            ],
            "time": "2022-10-24T08:02:04+00:00"
            "time": "2023-07-12T08:21:19+00:00"
        },
        {
            "name": "laminas/laminas-cache",
@@ -4306,16 +4307,16 @@
        },
        {
            "name": "laminas/laminas-serializer",
            "version": "2.14.0",
            "version": "2.15.0",
            "source": {
                "type": "git",
                "url": "https://github.com/laminas/laminas-serializer.git",
                "reference": "c4ceeb080f8d080006616072d2926949b3e5b9ea"
                "reference": "a54801b20c94fdbbcbfb8e7611ca2d5fe0181c8f"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/laminas/laminas-serializer/zipball/c4ceeb080f8d080006616072d2926949b3e5b9ea",
                "reference": "c4ceeb080f8d080006616072d2926949b3e5b9ea",
                "url": "https://api.github.com/repos/laminas/laminas-serializer/zipball/a54801b20c94fdbbcbfb8e7611ca2d5fe0181c8f",
                "reference": "a54801b20c94fdbbcbfb8e7611ca2d5fe0181c8f",
                "shasum": ""
            },
            "require": {
@@ -4330,7 +4331,7 @@
                "laminas/laminas-coding-standard": "~2.4.0",
                "laminas/laminas-math": "~3.6.0",
                "laminas/laminas-servicemanager": "~3.19.0",
                "phpunit/phpunit": "~9.5.25"
                "phpunit/phpunit": "~9.6.0"
            },
            "suggest": {
                "laminas/laminas-math": "(^3.3) To support Python Pickle serialization",
@@ -4372,7 +4373,7 @@
                    "type": "community_bridge"
                }
            ],
            "time": "2022-10-16T14:51:10+00:00"
            "time": "2023-07-08T08:46:03+00:00"
        },
        {
            "name": "laminas/laminas-servicemanager",
@@ -5090,16 +5091,16 @@
        },
        {
            "name": "nikic/php-parser",
            "version": "v4.15.5",
            "version": "v4.16.0",
            "source": {
                "type": "git",
                "url": "https://github.com/nikic/PHP-Parser.git",
                "reference": "11e2663a5bc9db5d714eedb4277ee300403b4a9e"
                "reference": "19526a33fb561ef417e822e85f08a00db4059c17"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/11e2663a5bc9db5d714eedb4277ee300403b4a9e",
                "reference": "11e2663a5bc9db5d714eedb4277ee300403b4a9e",
                "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/19526a33fb561ef417e822e85f08a00db4059c17",
                "reference": "19526a33fb561ef417e822e85f08a00db4059c17",
                "shasum": ""
            },
            "require": {
@@ -5140,9 +5141,9 @@
            ],
            "support": {
                "issues": "https://github.com/nikic/PHP-Parser/issues",
                "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.5"
                "source": "https://github.com/nikic/PHP-Parser/tree/v4.16.0"
            },
            "time": "2023-05-19T20:20:00+00:00"
            "time": "2023-06-25T14:52:30+00:00"
        },
        {
            "name": "ocramius/proxy-manager",
@@ -7030,11 +7031,11 @@
        },
        {
            "name": "unicaen/code",
            "version": "6.0.8",
            "version": "6.0.9",
            "source": {
                "type": "git",
                "url": "https://git.unicaen.fr/lib/unicaen/code.git",
                "reference": "7af2b00f72a4300d4cb94e9bdd951066a334ef6c"
                "reference": "10e6e936eb8f8895da01a34d45969cece43ec88a"
            },
            "require": {
                "easybook/geshi": ">=1.0",
@@ -7051,7 +7052,7 @@
                ]
            },
            "description": "Boite à outils pour la programmation avec la bibliothèque Unicaen",
            "time": "2023-03-22T16:21:31+00:00"
            "time": "2023-07-13T09:02:50+00:00"
        },
        {
            "name": "unicaen/console",
@@ -8292,16 +8293,16 @@
        },
        {
            "name": "phpstan/phpdoc-parser",
            "version": "1.22.0",
            "version": "1.22.1",
            "source": {
                "type": "git",
                "url": "https://github.com/phpstan/phpdoc-parser.git",
                "reference": "ec58baf7b3c7f1c81b3b00617c953249fb8cf30c"
                "reference": "65c39594fbd8c67abfc68bb323f86447bab79cc0"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/ec58baf7b3c7f1c81b3b00617c953249fb8cf30c",
                "reference": "ec58baf7b3c7f1c81b3b00617c953249fb8cf30c",
                "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/65c39594fbd8c67abfc68bb323f86447bab79cc0",
                "reference": "65c39594fbd8c67abfc68bb323f86447bab79cc0",
                "shasum": ""
            },
            "require": {
@@ -8333,9 +8334,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.22.0"
                "source": "https://github.com/phpstan/phpdoc-parser/tree/1.22.1"
            },
            "time": "2023-06-01T12:35:21+00:00"
            "time": "2023-06-29T20:46:06+00:00"
        },
        {
            "name": "sabre/event",
+12 −12
Changes for data/ddl/package/FORMULE_PARIS1/body.sql: 12 added lines, 12 removed lines.
Original line number Diff line number Diff line
@@ -126,32 +126,32 @@ CREATE OR REPLACE PACKAGE BODY FORMULE_PARIS1 AS



      -- U=IF([.$I20]="Référentiel";0;([.$AK20]+[.$AQ20]+[.$AW20]+[.$BO20]+[.$BU20])*[.F20])
      -- U=IF([.$I20]="Référentiel";0;([.$AK20]+[.$AQ20]+[.$AW20]+[.$BO20]+[.$BU20]))
      WHEN 'U' THEN
        IF vh.volume_horaire_ref_id IS NOT NULL THEN
          RETURN 0;
        ELSE
          RETURN (cell('AK',l) + cell('AQ',l) + cell('AW',l) + cell('BO',l) + cell('BU',l)) * vh.taux_fi;
          RETURN (cell('AK',l) + cell('AQ',l) + cell('AW',l) + cell('BO',l) + cell('BU',l));
        END IF;



      -- V=IF([.$I20]="Référentiel";0;([.$AK20]+[.$BC20]+[.$BI20]+[.$BU20]+[.$BO20])*[.G20])
      -- V=IF([.$I20]="Référentiel";0;([.$AK20]+[.$BC20]+[.$BI20]+[.$BU20]+[.$BO20]))
      WHEN 'V' THEN
        IF vh.volume_horaire_ref_id IS NOT NULL THEN
          RETURN 0;
        ELSE
          RETURN (cell('AK',l) + cell('BC',l) + cell('BI',l) + cell('BU',l) + cell('BO',l)) * vh.taux_fa;
          RETURN (cell('AK',l) + cell('BC',l) + cell('BI',l) + cell('BU',l) + cell('BO',l));
        END IF;



      -- W=IF([.$I20]="Référentiel";0;([.$AK20]+[.$CA20]+[.$CG20]+[.$BO20]+[.$BU20])*[.H20])
      -- W=IF([.$I20]="Référentiel";0;([.$AK20]+[.$CA20]+[.$CG20]+[.$BO20]+[.$BU20]))
      WHEN 'W' THEN
        IF vh.volume_horaire_ref_id IS NOT NULL THEN
          RETURN 0;
        ELSE
          RETURN (cell('AK',l) + cell('CA',l) + cell('CG',l) + cell('BO',l) + cell('BU',l)) * vh.taux_fc;
          RETURN (cell('AK',l) + cell('CA',l) + cell('CG',l) + cell('BO',l) + cell('BU',l));
        END IF;


@@ -166,32 +166,32 @@ CREATE OR REPLACE PACKAGE BODY FORMULE_PARIS1 AS



      -- Y=IF([.$I20]="Référentiel";0;([.$AM20]+[.$AS20]+[.$AY20]+[.$BQ20]+[.$BW20])*[.F20])
      -- Y=IF([.$I20]="Référentiel";0;([.$AM20]+[.$AS20]+[.$AY20]+[.$BQ20]+[.$BW20]))
      WHEN 'Y' THEN
        IF vh.volume_horaire_ref_id IS NOT NULL THEN
          RETURN 0;
        ELSE
          RETURN (cell('AM',l) + cell('AS',l) + cell('AY',l) + cell('BQ',l) + cell('BW',l)) * vh.taux_fi;
          RETURN (cell('AM',l) + cell('AS',l) + cell('AY',l) + cell('BQ',l) + cell('BW',l));
        END IF;



      -- Z=IF([.$I20]="Référentiel";0;([.$AM20]+[.$BE20]+[.$BK20]+[.$BQ20]+[.$BW20])*[.G20])
      -- Z=IF([.$I20]="Référentiel";0;([.$AM20]+[.$BE20]+[.$BK20]+[.$BQ20]+[.$BW20]))
      WHEN 'Z' THEN
        IF vh.volume_horaire_ref_id IS NOT NULL THEN
          RETURN 0;
        ELSE
          RETURN (cell('AM',l) + cell('BE',l) + cell('BK',l) + cell('BQ',l) + cell('BW',l)) * vh.taux_fa;
          RETURN (cell('AM',l) + cell('BE',l) + cell('BK',l) + cell('BQ',l) + cell('BW',l));
        END IF;



      -- AA=IF([.$I20]="Référentiel";0;([.$AM20]+[.$BQ20]+[.$BW20]+[.$CC20]+[.$CI20])*[.H20])
      -- AA=IF([.$I20]="Référentiel";0;([.$AM20]+[.$BQ20]+[.$BW20]+[.$CC20]+[.$CI20]))
      WHEN 'AA' THEN
        IF vh.volume_horaire_ref_id IS NOT NULL THEN
          RETURN 0;
        ELSE
          RETURN (cell('AM',l) + cell('BQ',l) + cell('BW',l) + cell('CC',l) + cell('CI',l)) * vh.taux_fc;
          RETURN (cell('AM',l) + cell('BQ',l) + cell('BW',l) + cell('CC',l) + cell('CI',l));
        END IF;


Loading