Commit 6af96915 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

WIP API

parent 7cd8060f
Loading
Loading
Loading
Loading
+60 −60
Changes for composer.lock: 60 added lines, 60 removed lines.
Original line number Diff line number Diff line
@@ -124,16 +124,16 @@
        },
        {
            "name": "aws/aws-sdk-php",
            "version": "3.271.1",
            "version": "3.271.7",
            "source": {
                "type": "git",
                "url": "https://github.com/aws/aws-sdk-php.git",
                "reference": "707552cfb1fa37e8e501d2c70afa9bc2e61104c0"
                "reference": "d0fe1af38ef521e419004e5f990ceb8e0b2b001d"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/707552cfb1fa37e8e501d2c70afa9bc2e61104c0",
                "reference": "707552cfb1fa37e8e501d2c70afa9bc2e61104c0",
                "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/d0fe1af38ef521e419004e5f990ceb8e0b2b001d",
                "reference": "d0fe1af38ef521e419004e5f990ceb8e0b2b001d",
                "shasum": ""
            },
            "require": {
@@ -213,9 +213,9 @@
            "support": {
                "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
                "issues": "https://github.com/aws/aws-sdk-php/issues",
                "source": "https://github.com/aws/aws-sdk-php/tree/3.271.1"
                "source": "https://github.com/aws/aws-sdk-php/tree/3.271.7"
            },
            "time": "2023-05-24T18:20:35+00:00"
            "time": "2023-06-02T18:21:03+00:00"
        },
        {
            "name": "beberlei/assert",
@@ -871,16 +871,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": {
@@ -893,12 +893,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",
@@ -963,7 +963,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": [
                {
@@ -979,29 +979,33 @@
                    "type": "tidelift"
                }
            ],
            "time": "2023-04-14T07:25:38+00:00"
            "time": "2023-06-01T05:46:46+00:00"
        },
        {
            "name": "doctrine/deprecations",
            "version": "v1.0.0",
            "version": "v1.1.1",
            "source": {
                "type": "git",
                "url": "https://github.com/doctrine/deprecations.git",
                "reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de"
                "reference": "612a3ee5ab0d5dd97b7cf3874a6efe24325efac3"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/doctrine/deprecations/zipball/0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de",
                "reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de",
                "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"
@@ -1020,9 +1024,9 @@
            "homepage": "https://www.doctrine-project.org/",
            "support": {
                "issues": "https://github.com/doctrine/deprecations/issues",
                "source": "https://github.com/doctrine/deprecations/tree/v1.0.0"
                "source": "https://github.com/doctrine/deprecations/tree/v1.1.1"
            },
            "time": "2022-05-02T15:47:09+00:00"
            "time": "2023-06-03T09:27:29+00:00"
        },
        {
            "name": "doctrine/doctrine-laminas-hydrator",
@@ -1682,16 +1686,16 @@
        },
        {
            "name": "doctrine/orm",
            "version": "2.15.1",
            "version": "2.15.2",
            "source": {
                "type": "git",
                "url": "https://github.com/doctrine/orm.git",
                "reference": "9bc6f5b4ac6f1e7d4248b2efbd01a748782075bc"
                "reference": "bf449bef7ddc47e62c22f9a06dacc1736abe1c0b"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/doctrine/orm/zipball/9bc6f5b4ac6f1e7d4248b2efbd01a748782075bc",
                "reference": "9bc6f5b4ac6f1e7d4248b2efbd01a748782075bc",
                "url": "https://api.github.com/repos/doctrine/orm/zipball/bf449bef7ddc47e62c22f9a06dacc1736abe1c0b",
                "reference": "bf449bef7ddc47e62c22f9a06dacc1736abe1c0b",
                "shasum": ""
            },
            "require": {
@@ -1777,9 +1781,9 @@
            ],
            "support": {
                "issues": "https://github.com/doctrine/orm/issues",
                "source": "https://github.com/doctrine/orm/tree/2.15.1"
                "source": "https://github.com/doctrine/orm/tree/2.15.2"
            },
            "time": "2023-05-07T18:56:25+00:00"
            "time": "2023-06-01T09:35:50+00:00"
        },
        {
            "name": "doctrine/persistence",
@@ -9084,33 +9088,33 @@
        },
        {
            "name": "react/dns",
            "version": "v1.10.0",
            "version": "v1.11.0",
            "source": {
                "type": "git",
                "url": "https://github.com/reactphp/dns.git",
                "reference": "a5427e7dfa47713e438016905605819d101f238c"
                "reference": "3be0fc8f1eb37d6875cd6f0c6c7d0be81435de9f"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/reactphp/dns/zipball/a5427e7dfa47713e438016905605819d101f238c",
                "reference": "a5427e7dfa47713e438016905605819d101f238c",
                "url": "https://api.github.com/repos/reactphp/dns/zipball/3be0fc8f1eb37d6875cd6f0c6c7d0be81435de9f",
                "reference": "3be0fc8f1eb37d6875cd6f0c6c7d0be81435de9f",
                "shasum": ""
            },
            "require": {
                "php": ">=5.3.0",
                "react/cache": "^1.0 || ^0.6 || ^0.5",
                "react/event-loop": "^1.2",
                "react/promise": "^3.0 || ^2.7 || ^1.2.1",
                "react/promise-timer": "^1.9"
                "react/promise": "^3.0 || ^2.7 || ^1.2.1"
            },
            "require-dev": {
                "phpunit/phpunit": "^9.3 || ^4.8.35",
                "react/async": "^4 || ^3 || ^2"
                "phpunit/phpunit": "^9.5 || ^4.8.35",
                "react/async": "^4 || ^3 || ^2",
                "react/promise-timer": "^1.9"
            },
            "type": "library",
            "autoload": {
                "psr-4": {
                    "React\\Dns\\": "src"
                    "React\\Dns\\": "src/"
                }
            },
            "notification-url": "https://packagist.org/downloads/",
@@ -9148,19 +9152,15 @@
            ],
            "support": {
                "issues": "https://github.com/reactphp/dns/issues",
                "source": "https://github.com/reactphp/dns/tree/v1.10.0"
                "source": "https://github.com/reactphp/dns/tree/v1.11.0"
            },
            "funding": [
                {
                    "url": "https://github.com/WyriHaximus",
                    "type": "github"
                },
                {
                    "url": "https://github.com/clue",
                    "type": "github"
                    "url": "https://opencollective.com/reactphp",
                    "type": "open_collective"
                }
            ],
            "time": "2022-09-08T12:22:46+00:00"
            "time": "2023-06-02T12:45:26+00:00"
        },
        {
            "name": "react/event-loop",
@@ -9853,16 +9853,16 @@
        },
        {
            "name": "symfony/console",
            "version": "v5.4.23",
            "version": "v5.4.24",
            "source": {
                "type": "git",
                "url": "https://github.com/symfony/console.git",
                "reference": "90f21e27d0d88ce38720556dd164d4a1e4c3934c"
                "reference": "560fc3ed7a43e6d30ea94a07d77f9a60b8ed0fb8"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/symfony/console/zipball/90f21e27d0d88ce38720556dd164d4a1e4c3934c",
                "reference": "90f21e27d0d88ce38720556dd164d4a1e4c3934c",
                "url": "https://api.github.com/repos/symfony/console/zipball/560fc3ed7a43e6d30ea94a07d77f9a60b8ed0fb8",
                "reference": "560fc3ed7a43e6d30ea94a07d77f9a60b8ed0fb8",
                "shasum": ""
            },
            "require": {
@@ -9932,7 +9932,7 @@
                "terminal"
            ],
            "support": {
                "source": "https://github.com/symfony/console/tree/v5.4.23"
                "source": "https://github.com/symfony/console/tree/v5.4.24"
            },
            "funding": [
                {
@@ -9948,7 +9948,7 @@
                    "type": "tidelift"
                }
            ],
            "time": "2023-04-24T18:47:29+00:00"
            "time": "2023-05-26T05:13:16+00:00"
        },
        {
            "name": "symfony/deprecation-contracts",
@@ -11450,7 +11450,7 @@
            "source": {
                "type": "git",
                "url": "https://git.unicaen.fr/lib/unicaen/db-import.git",
                "reference": "8786f43996e5581b65227a43364e06f770fbbcf2"
                "reference": "bff6eb4a61e9f2fc518c0083231b25bc1f189829"
            },
            "require": {
                "beberlei/assert": "^3.3",
@@ -11482,7 +11482,7 @@
                }
            },
            "description": "Module d'import entre bases de données",
            "time": "2023-05-24T15:23:52+00:00"
            "time": "2023-06-05T11:55:09+00:00"
        },
        {
            "name": "unicaen/faq",
@@ -11628,11 +11628,11 @@
        },
        {
            "name": "unicaen/parametre",
            "version": "6.0.0",
            "version": "6.0.1",
            "source": {
                "type": "git",
                "url": "https://git.unicaen.fr/lib/unicaen/parametre.git",
                "reference": "37c008272479e6880162e5ae1d462f01442bedc0"
                "reference": "223289af762e540ccd194fac5cc32b8126837d8d"
            },
            "require": {
                "unicaen/privilege": "^6.0"
@@ -11645,7 +11645,7 @@
                ]
            },
            "description": "Module de gestion de paramètres",
            "time": "2023-03-31T09:57:08+00:00"
            "time": "2023-05-31T14:52:55+00:00"
        },
        {
            "name": "unicaen/pdf",
@@ -11764,7 +11764,7 @@
            "source": {
                "type": "git",
                "url": "https://git.unicaen.fr/open-source/sygal-api.git",
                "reference": "448f1d6f0780a23dcbd23fdadfcd63db864ae9fb"
                "reference": "1bfb243da26aee9f07327632ba93b78e01c1c1d5"
            },
            "require": {
                "guzzlehttp/guzzle": "^7.0",
@@ -11789,7 +11789,7 @@
                ]
            },
            "description": "API SyGAL",
            "time": "2023-05-24T15:18:56+00:00"
            "time": "2023-06-02T13:20:45+00:00"
        },
        {
            "name": "unicaen/zfc-user",
+1 −0
Changes for config/.gitignore: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
development.config.php
users.htpasswd
+0 −14
Changes for config/autoload/global.php: 0 added lines, 14 removed lines.
Original line number Diff line number Diff line
@@ -668,7 +668,6 @@ const CONFIG_SYNCHROS = [
            'table' => 'STRUCTURE',
            'connection' => 'default',
            'source_code_column' => 'SOURCE_CODE',
            'intermediate_table_auto_drop' => false,
        ],
    ],
    [
@@ -686,7 +685,6 @@ const CONFIG_SYNCHROS = [
            'table' => 'ETABLISSEMENT',
            'connection' => 'default',
            'source_code_column' => 'SOURCE_CODE',
            'intermediate_table_auto_drop' => false,
        ],
    ],
    [
@@ -704,7 +702,6 @@ const CONFIG_SYNCHROS = [
            'table' => 'ECOLE_DOCT',
            'connection' => 'default',
            'source_code_column' => 'SOURCE_CODE',
            'intermediate_table_auto_drop' => false,
        ],
    ],
    [
@@ -722,7 +719,6 @@ const CONFIG_SYNCHROS = [
            'table' => 'UNITE_RECH',
            'connection' => 'default',
            'source_code_column' => 'SOURCE_CODE',
            'intermediate_table_auto_drop' => false,
        ],
    ],
    [
@@ -741,7 +737,6 @@ const CONFIG_SYNCHROS = [
            'connection' => 'default',
            'source_code_column' => 'SOURCE_CODE',
//            'where'              => "d.source_code like 'UCN::%'", // todo: à virer
            'intermediate_table_auto_drop' => false,
        ],
    ],
    [
@@ -759,7 +754,6 @@ const CONFIG_SYNCHROS = [
            'table' => 'DOCTORANT',
            'connection' => 'default',
            'source_code_column' => 'SOURCE_CODE',
            'intermediate_table_auto_drop' => false,
        ],
    ],
    [
@@ -777,7 +771,6 @@ const CONFIG_SYNCHROS = [
            'table' => 'THESE',
            'connection' => 'default',
            'source_code_column' => 'SOURCE_CODE',
            'intermediate_table_auto_drop' => false,
        ],
    ],
    [
@@ -795,7 +788,6 @@ const CONFIG_SYNCHROS = [
            'table' => 'THESE_ANNEE_UNIV',
            'connection' => 'default',
            'source_code_column' => 'SOURCE_CODE',
            'intermediate_table_auto_drop' => false,
        ],
    ],
    [
@@ -813,7 +805,6 @@ const CONFIG_SYNCHROS = [
            'table' => 'ROLE',
            'connection' => 'default',
            'source_code_column' => 'SOURCE_CODE',
            'intermediate_table_auto_drop' => false,
        ],
    ],
    [
@@ -831,7 +822,6 @@ const CONFIG_SYNCHROS = [
            'table' => 'ACTEUR',
            'connection' => 'default',
            'source_code_column' => 'SOURCE_CODE',
            'intermediate_table_auto_drop' => false,
        ],
    ],
    [
@@ -849,7 +839,6 @@ const CONFIG_SYNCHROS = [
            'table' => 'ORIGINE_FINANCEMENT',
            'connection' => 'default',
            'source_code_column' => 'SOURCE_CODE',
            'intermediate_table_auto_drop' => false,
        ],
    ],
    [
@@ -867,7 +856,6 @@ const CONFIG_SYNCHROS = [
            'table' => 'FINANCEMENT',
            'connection' => 'default',
            'source_code_column' => 'SOURCE_CODE',
            'intermediate_table_auto_drop' => false,
        ],
    ],
    [
@@ -885,7 +873,6 @@ const CONFIG_SYNCHROS = [
            'table' => 'TITRE_ACCES',
            'connection' => 'default',
            'source_code_column' => 'SOURCE_CODE',
            'intermediate_table_auto_drop' => false,
        ],
    ],
    [
@@ -903,7 +890,6 @@ const CONFIG_SYNCHROS = [
            'table' => 'VARIABLE',
            'connection' => 'default',
            'source_code_column' => 'SOURCE_CODE',
            'intermediate_table_auto_drop' => false,
        ],
    ],
];

config/users.htpasswd

deleted100644 → 0
+0 −1
Changes for config/users.htpasswd: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
sygal-app:$apr1$Fekxnrdv$6Lvm1lj52B7b6Uyd8nFD2.
+1 −0
Changes for config/users.htpasswd.dist: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
user:password
Loading