mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-16 19:54:58 +00:00
Compare commits
11 Commits
v3.0.0-RC6
...
v3.0.0-RC1
Author | SHA1 | Date | |
---|---|---|---|
b689a51a48 | |||
8c0d2f58ba | |||
212230448b | |||
2bfb8fe387 | |||
6362b98a00 | |||
547a9d1369 | |||
288a02f5b7 | |||
5dfd8daf3a | |||
a46e987f81 | |||
81220b5b22 | |||
5b0019cde7 |
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: ""
|
@@ -73,7 +73,7 @@ final readonly class PeriodHavingActivityBetweenDatesFilter implements FilterInt
|
||||
|
||||
$qb->andWhere(
|
||||
$qb->expr()->exists(
|
||||
'SELECT 1 FROM '.Activity::class." {$alias} WHERE {$alias}.date >= :{$from} AND {$alias}.date < :{$to} AND {$alias}.accompanyingPeriod = acp"
|
||||
'SELECT 1 FROM '.Activity::class." {$alias} WHERE {$alias}.date >= :{$from} AND {$alias}.date < :{$to} AND {$alias}.accompanyingPeriod = activity.accompanyingPeriod"
|
||||
)
|
||||
);
|
||||
|
||||
|
@@ -42,7 +42,7 @@ class RemoteCalendarConnectAzureController
|
||||
->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
|
||||
{
|
||||
/** @var Azure $client */
|
||||
|
@@ -32,7 +32,7 @@ abstract class AbstractSearch implements SearchInterface
|
||||
{
|
||||
try {
|
||||
return new \DateTime($string);
|
||||
} catch (ParsingException $ex) {
|
||||
} catch (\Exception $ex) {
|
||||
$exception = new ParsingException('The date is '
|
||||
.'not parsable', 0, $ex);
|
||||
|
||||
|
@@ -109,11 +109,10 @@ final class AccompanyingCourseController extends \Symfony\Bundle\FrameworkBundle
|
||||
'accompanying_period_id' => $accompanyingCourse->getId(),
|
||||
'person_id' => $person_id,
|
||||
]))
|
||||
->setMethod('DELETE')
|
||||
->add('submit', SubmitType::class, ['label' => 'Delete'])
|
||||
->getForm();
|
||||
|
||||
if (Request::METHOD_DELETE === $request->getMethod()) {
|
||||
if (Request::METHOD_POST === $request->getMethod()) {
|
||||
$form->handleRequest($request);
|
||||
|
||||
if ($form->isValid()) {
|
||||
|
Reference in New Issue
Block a user