mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-25 16:14:59 +00:00
Compare commits
5 Commits
upgrade-sf
...
v3.0.0-RC1
Author | SHA1 | Date | |
---|---|---|---|
b689a51a48 | |||
8c0d2f58ba | |||
212230448b | |||
2bfb8fe387 | |||
6362b98a00 |
5
.changes/unreleased/Fixed-20240821-151413.yaml
Normal file
5
.changes/unreleased/Fixed-20240821-151413.yaml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
kind: Fixed
|
||||||
|
body: Fix delete action for accompanying periods in draft state
|
||||||
|
time: 2024-08-21T15:14:13.753383913+02:00
|
||||||
|
custom:
|
||||||
|
Issue: ""
|
5
.changes/unreleased/Fixed-20240821-165537.yaml
Normal file
5
.changes/unreleased/Fixed-20240821-165537.yaml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
kind: Fixed
|
||||||
|
body: Fix connection to azure when making an calendar event in chill
|
||||||
|
time: 2024-08-21T16:55:37.977150909+02:00
|
||||||
|
custom:
|
||||||
|
Issue: ""
|
@@ -42,7 +42,7 @@ class RemoteCalendarConnectAzureController
|
|||||||
->redirect(['https://graph.microsoft.com/.default', 'offline_access'], []);
|
->redirect(['https://graph.microsoft.com/.default', 'offline_access'], []);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[Route(path: '/connect/azure/check', name: 'chill_calendar_remote_connect_azure_check')]
|
#[Route(path: '/connect/azure/check', name: 'chill_calendar_remote_connect_azure_check', schemes: ['https'])]
|
||||||
public function connectAzureCheck(Request $request): Response
|
public function connectAzureCheck(Request $request): Response
|
||||||
{
|
{
|
||||||
/** @var Azure $client */
|
/** @var Azure $client */
|
||||||
|
@@ -109,11 +109,10 @@ final class AccompanyingCourseController extends \Symfony\Bundle\FrameworkBundle
|
|||||||
'accompanying_period_id' => $accompanyingCourse->getId(),
|
'accompanying_period_id' => $accompanyingCourse->getId(),
|
||||||
'person_id' => $person_id,
|
'person_id' => $person_id,
|
||||||
]))
|
]))
|
||||||
->setMethod('DELETE')
|
|
||||||
->add('submit', SubmitType::class, ['label' => 'Delete'])
|
->add('submit', SubmitType::class, ['label' => 'Delete'])
|
||||||
->getForm();
|
->getForm();
|
||||||
|
|
||||||
if (Request::METHOD_DELETE === $request->getMethod()) {
|
if (Request::METHOD_POST === $request->getMethod()) {
|
||||||
$form->handleRequest($request);
|
$form->handleRequest($request);
|
||||||
|
|
||||||
if ($form->isValid()) {
|
if ($form->isValid()) {
|
||||||
|
Reference in New Issue
Block a user