3 Commits

Author SHA1 Message Date
  vincent d1b18ad00a Symfony 7.2 → 7.3 2 months ago
  vincent f5a89b1fb9 composer update 2 months ago
  vincent 79654c505c Ajoute une liste de trucs à faire 2 months ago
6 changed files with 419 additions and 378 deletions
Split View
  1. +7
    -0
      TODO.md
  2. +18
    -18
      composer.json
  3. +377
    -354
      composer.lock
  4. +3
    -0
      config/packages/property_info.yaml
  5. +2
    -6
      src/Controller/ToolsController.php
  6. +12
    -0
      symfony.lock

+ 7
- 0
TODO.md View File

@ -0,0 +1,7 @@
# Trucs à faire
* [ ] Mettre plus d’aide directement sur le site, avec des liens vers le forum, les sources, etc.
* [ ] Se faire héberger sur <openstreetmap.fr> histoire d’avoir une adresse web mémorisable
* [ ] Mettre des projets en avant sur la page d’accueil (genre ceux pour lesquels il y a eu de l’activité récemment, ceux qui viennent d’être créés, etc)
* [ ] Mettre des raccourcis clavier sur les boutons
* [ ] Internationaliser tout ça et y localiser au moins en anglais

+ 18
- 18
composer.json View File

@ -19,23 +19,23 @@
"league/html-to-markdown": "^5.1",
"phayes/geophp": "^1.2",
"stof/doctrine-extensions-bundle": "^1.12",
"symfony/asset": "7.2.*",
"symfony/asset-mapper": "7.2.*",
"symfony/console": "7.2.*",
"symfony/dotenv": "7.2.*",
"symfony/asset": "7.3.*",
"symfony/asset-mapper": "7.3.*",
"symfony/console": "7.3.*",
"symfony/dotenv": "7.3.*",
"symfony/flex": "^2",
"symfony/form": "7.2.*",
"symfony/framework-bundle": "7.2.*",
"symfony/http-client": "7.2.*",
"symfony/mime": "7.2.*",
"symfony/form": "7.3.*",
"symfony/framework-bundle": "7.3.*",
"symfony/http-client": "7.3.*",
"symfony/mime": "7.3.*",
"symfony/monolog-bundle": "^3.10",
"symfony/runtime": "7.2.*",
"symfony/security-bundle": "7.2.*",
"symfony/runtime": "7.3.*",
"symfony/security-bundle": "7.3.*",
"symfony/stimulus-bundle": "^2.18",
"symfony/twig-bundle": "7.2.*",
"symfony/validator": "7.2.*",
"symfony/workflow": "7.2.*",
"symfony/yaml": "7.2.*",
"symfony/twig-bundle": "7.3.*",
"symfony/validator": "7.3.*",
"symfony/workflow": "7.3.*",
"symfony/yaml": "7.3.*",
"twig/extra-bundle": "^2.12|^3.0",
"twig/intl-extra": "^3.10",
"twig/markdown-extra": "^3.10",
@ -44,10 +44,10 @@
"require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.6",
"friendsofphp/php-cs-fixer": "^3.69",
"symfony/debug-bundle": "7.2.*",
"symfony/debug-bundle": "7.3.*",
"symfony/maker-bundle": "^1.60",
"symfony/stopwatch": "7.2.*",
"symfony/web-profiler-bundle": "7.2.*"
"symfony/stopwatch": "7.3.*",
"symfony/web-profiler-bundle": "7.3.*"
},
"config": {
"allow-plugins": {
@ -97,7 +97,7 @@
"extra": {
"symfony": {
"allow-contrib": false,
"require": "7.2.*"
"require": "7.3.*"
}
}
}

+ 377
- 354
composer.lock
File diff suppressed because it is too large
View File


+ 3
- 0
config/packages/property_info.yaml View File

@ -0,0 +1,3 @@
framework:
property_info:
with_constructor_extractor: true

+ 2
- 6
src/Controller/ToolsController.php View File

@ -98,7 +98,7 @@ class ToolsController extends AbstractController
Request $request,
OsmoseClient $osmose,
OverpassClient $overpass,
LoggerInterface $logger
LoggerInterface $logger,
): Response {
$form = $this->createForm(OsmoseToolType::class, array_merge(['limit' => 500], $request->query->all()));
$form->add('submit', SubmitType::class, ['label' => 'Générer']);
@ -195,11 +195,7 @@ class ToolsController extends AbstractController
]);
if (empty($cities)) {
throw new \RuntimeException(sprintf(
'Problème improbable : les %d signalements n’ont pas pu être groupés dans les %d communes',
count($issuesGeojson->getFeatures()),
count($citiesOsm->elements)
));
throw new \RuntimeException(sprintf('Problème improbable : les %d signalements n’ont pas pu être groupés dans les %d communes', count($issuesGeojson->getFeatures()), count($citiesOsm->elements)));
}
$response->setCallback(function () use ($cities): void {


+ 12
- 0
symfony.lock View File

@ -189,6 +189,18 @@
"config/packages/monolog.yaml"
]
},
"symfony/property-info": {
"version": "7.3",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "7.3",
"ref": "dae70df71978ae9226ae915ffd5fad817f5ca1f7"
},
"files": [
"config/packages/property_info.yaml"
]
},
"symfony/routing": {
"version": "7.1",
"recipe": {


Loading…
Cancel
Save