mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-12-03 17:08:28 +00:00
Compare commits
5 Commits
424-displa
...
475-sugges
| Author | SHA1 | Date | |
|---|---|---|---|
| c022f0226b | |||
| 5463146925 | |||
| 9375580907 | |||
| 0caad2b7cd | |||
| 7a80307de9 |
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixed
|
|
||||||
body: |
|
|
||||||
Associate activity's creator as a participant by default, and retro-actively append the creator to each activity
|
|
||||||
time: 2025-11-18T14:05:59.904993123+01:00
|
|
||||||
custom:
|
|
||||||
Issue: "466"
|
|
||||||
SchemaChange: Add columns or tables
|
|
||||||
6
.changes/unreleased/Fixed-20251201-185859.yaml
Normal file
6
.changes/unreleased/Fixed-20251201-185859.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Fixed
|
||||||
|
body: Do not suggest a user that is no longer active in the activity form.
|
||||||
|
time: 2025-12-01T18:58:59.410998029+01:00
|
||||||
|
custom:
|
||||||
|
Issue: "475"
|
||||||
|
SchemaChange: No schema change
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
kind: UX
|
|
||||||
body: Alphabetically order userJobs and mainLocations within user creation form
|
|
||||||
time: 2025-11-19T15:37:06.393470745+01:00
|
|
||||||
custom:
|
|
||||||
Issue: "470"
|
|
||||||
SchemaChange: No schema change
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
kind: UX
|
|
||||||
body: Change position and color of confirm parcours button
|
|
||||||
time: 2025-11-24T15:11:15.960279853+01:00
|
|
||||||
custom:
|
|
||||||
Issue: "437"
|
|
||||||
SchemaChange: No schema change
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
kind: UX
|
|
||||||
body: Display entire comment for activity item within list
|
|
||||||
time: 2025-11-25T15:01:35.558013876+01:00
|
|
||||||
custom:
|
|
||||||
Issue: "424"
|
|
||||||
SchemaChange: No schema change
|
|
||||||
10
.changes/v4.8.2.md
Normal file
10
.changes/v4.8.2.md
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
## v4.8.2 - 2025-11-26
|
||||||
|
### Fixed
|
||||||
|
* ([#466](https://gitlab.com/Chill-Projet/chill-bundles/-/issues/466)) Associate activity's creator as a participant by default, and retro-actively append the creator to each activity
|
||||||
|
|
||||||
|
|
||||||
|
**Schema Change**: Add columns or tables
|
||||||
|
* Fix template parameter for update_multiple route on event participations
|
||||||
|
### UX
|
||||||
|
* ([#470](https://gitlab.com/Chill-Projet/chill-bundles/-/issues/470)) Alphabetically order userJobs and mainLocations within user creation form
|
||||||
|
* ([#437](https://gitlab.com/Chill-Projet/chill-bundles/-/issues/437)) Change position and color of confirm parcours button
|
||||||
@@ -6,6 +6,15 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
|
|||||||
and is generated by [Changie](https://github.com/miniscruff/changie).
|
and is generated by [Changie](https://github.com/miniscruff/changie).
|
||||||
|
|
||||||
|
|
||||||
|
## v4.8.2 - 2025-11-26
|
||||||
|
### Fixed
|
||||||
|
* ([#466](https://gitlab.com/Chill-Projet/chill-bundles/-/issues/466)) Associate activity's creator as a participant by default, and retro-actively append the creator to each activity
|
||||||
|
**Schema Change**: Add columns or tables
|
||||||
|
* Fix template parameter for update_multiple route on event participations
|
||||||
|
### UX
|
||||||
|
* ([#470](https://gitlab.com/Chill-Projet/chill-bundles/-/issues/470)) Alphabetically order userJobs and mainLocations within user creation form
|
||||||
|
* ([#437](https://gitlab.com/Chill-Projet/chill-bundles/-/issues/437)) Change position and color of confirm parcours button
|
||||||
|
|
||||||
## v4.8.1 - 2025-11-20
|
## v4.8.1 - 2025-11-20
|
||||||
### Fixed
|
### Fixed
|
||||||
* Insert name of file as the document title when uploading
|
* Insert name of file as the document title when uploading
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ const store = createStore({
|
|||||||
}
|
}
|
||||||
// console.log("suggested users", suggestedUsers);
|
// console.log("suggested users", suggestedUsers);
|
||||||
|
|
||||||
return suggestedUsers;
|
return suggestedUsers.filter((u) => u.enabled === true);
|
||||||
},
|
},
|
||||||
suggestedResources(state) {
|
suggestedResources(state) {
|
||||||
// const resources = state.activity.accompanyingPeriod.resources;
|
// const resources = state.activity.accompanyingPeriod.resources;
|
||||||
|
|||||||
@@ -136,6 +136,7 @@
|
|||||||
<div class="wl-col list">
|
<div class="wl-col list">
|
||||||
{{ activity.comment|chill_entity_render_box({
|
{{ activity.comment|chill_entity_render_box({
|
||||||
'disable_markdown': false,
|
'disable_markdown': false,
|
||||||
|
'limit_lines': 3,
|
||||||
'metadata': false,
|
'metadata': false,
|
||||||
}) }}
|
}) }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -52,36 +52,31 @@ interface BaseMetadataWithHtml extends BaseMetadata {
|
|||||||
html: string;
|
html: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface GenericDocForAccompanyingCourseDocument
|
export interface GenericDocForAccompanyingCourseDocument extends GenericDocForAccompanyingPeriod {
|
||||||
extends GenericDocForAccompanyingPeriod {
|
|
||||||
key: "accompanying_course_document";
|
key: "accompanying_course_document";
|
||||||
metadata: BaseMetadataWithHtml;
|
metadata: BaseMetadataWithHtml;
|
||||||
storedObject: StoredObject;
|
storedObject: StoredObject;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface GenericDocForAccompanyingCourseActivityDocument
|
export interface GenericDocForAccompanyingCourseActivityDocument extends GenericDocForAccompanyingPeriod {
|
||||||
extends GenericDocForAccompanyingPeriod {
|
|
||||||
key: "accompanying_course_activity_document";
|
key: "accompanying_course_activity_document";
|
||||||
metadata: BaseMetadataWithHtml;
|
metadata: BaseMetadataWithHtml;
|
||||||
storedObject: StoredObject;
|
storedObject: StoredObject;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface GenericDocForAccompanyingCourseCalendarDocument
|
export interface GenericDocForAccompanyingCourseCalendarDocument extends GenericDocForAccompanyingPeriod {
|
||||||
extends GenericDocForAccompanyingPeriod {
|
|
||||||
key: "accompanying_course_calendar_document";
|
key: "accompanying_course_calendar_document";
|
||||||
metadata: BaseMetadataWithHtml;
|
metadata: BaseMetadataWithHtml;
|
||||||
storedObject: StoredObject;
|
storedObject: StoredObject;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface GenericDocForAccompanyingCoursePersonDocument
|
export interface GenericDocForAccompanyingCoursePersonDocument extends GenericDocForAccompanyingPeriod {
|
||||||
extends GenericDocForAccompanyingPeriod {
|
|
||||||
key: "person_document";
|
key: "person_document";
|
||||||
metadata: BaseMetadataWithHtml;
|
metadata: BaseMetadataWithHtml;
|
||||||
storedObject: StoredObject;
|
storedObject: StoredObject;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface GenericDocForAccompanyingCourseWorkEvaluationDocument
|
export interface GenericDocForAccompanyingCourseWorkEvaluationDocument extends GenericDocForAccompanyingPeriod {
|
||||||
extends GenericDocForAccompanyingPeriod {
|
|
||||||
key: "accompanying_period_work_evaluation_document";
|
key: "accompanying_period_work_evaluation_document";
|
||||||
metadata: BaseMetadataWithHtml;
|
metadata: BaseMetadataWithHtml;
|
||||||
storedObject: StoredObject;
|
storedObject: StoredObject;
|
||||||
|
|||||||
@@ -46,8 +46,7 @@ export interface StoredObjectVersionCreated extends StoredObjectVersion {
|
|||||||
persisted: false;
|
persisted: false;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface StoredObjectVersionPersisted
|
export interface StoredObjectVersionPersisted extends StoredObjectVersionCreated {
|
||||||
extends StoredObjectVersionCreated {
|
|
||||||
version: number;
|
version: number;
|
||||||
id: number;
|
id: number;
|
||||||
createdAt: DateTime | null;
|
createdAt: DateTime | null;
|
||||||
@@ -61,8 +60,7 @@ export interface StoredObjectStatusChange {
|
|||||||
type: string;
|
type: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface StoredObjectVersionWithPointInTime
|
export interface StoredObjectVersionWithPointInTime extends StoredObjectVersionPersisted {
|
||||||
extends StoredObjectVersionPersisted {
|
|
||||||
"point-in-times": StoredObjectPointInTime[];
|
"point-in-times": StoredObjectPointInTime[];
|
||||||
"from-restored": StoredObjectVersionPersisted | null;
|
"from-restored": StoredObjectVersionPersisted | null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -486,7 +486,7 @@ final class ParticipationController extends AbstractController
|
|||||||
|
|
||||||
return $this->redirectToRoute(
|
return $this->redirectToRoute(
|
||||||
'chill_event__event_show',
|
'chill_event__event_show',
|
||||||
['event_id' => $event->getId()]
|
['id' => $event->getId()]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,8 +20,7 @@ export interface TransportExceptionInterface {
|
|||||||
name: string;
|
name: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ValidationExceptionInterface
|
export interface ValidationExceptionInterface extends TransportExceptionInterface {
|
||||||
extends TransportExceptionInterface {
|
|
||||||
name: "ValidationException";
|
name: "ValidationException";
|
||||||
error: object;
|
error: object;
|
||||||
violations: string[];
|
violations: string[];
|
||||||
@@ -41,8 +40,7 @@ export interface AccessExceptionInterface extends TransportExceptionInterface {
|
|||||||
violations: string[];
|
violations: string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface NotFoundExceptionInterface
|
export interface NotFoundExceptionInterface extends TransportExceptionInterface {
|
||||||
extends TransportExceptionInterface {
|
|
||||||
name: "NotFoundException";
|
name: "NotFoundException";
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -53,8 +51,7 @@ export interface ServerExceptionInterface extends TransportExceptionInterface {
|
|||||||
body: string;
|
body: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ConflictHttpExceptionInterface
|
export interface ConflictHttpExceptionInterface extends TransportExceptionInterface {
|
||||||
extends TransportExceptionInterface {
|
|
||||||
name: "ConflictHttpException";
|
name: "ConflictHttpException";
|
||||||
violations: string[];
|
violations: string[];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ class UserNormalizer implements ContextAwareNormalizerInterface, NormalizerAware
|
|||||||
'isAbsent' => false,
|
'isAbsent' => false,
|
||||||
'absenceStart' => null,
|
'absenceStart' => null,
|
||||||
'absenceEnd' => null,
|
'absenceEnd' => null,
|
||||||
|
'enabled' => true,
|
||||||
];
|
];
|
||||||
|
|
||||||
public function __construct(private readonly UserRender $userRender, private readonly ClockInterface $clock) {}
|
public function __construct(private readonly UserRender $userRender, private readonly ClockInterface $clock) {}
|
||||||
@@ -108,6 +109,7 @@ class UserNormalizer implements ContextAwareNormalizerInterface, NormalizerAware
|
|||||||
'isAbsent' => $object->isAbsent(),
|
'isAbsent' => $object->isAbsent(),
|
||||||
'absenceStart' => $this->normalizer->normalize($object->getAbsenceStart(), $format, $absenceDatesContext),
|
'absenceStart' => $this->normalizer->normalize($object->getAbsenceStart(), $format, $absenceDatesContext),
|
||||||
'absenceEnd' => $this->normalizer->normalize($object->getAbsenceEnd(), $format, $absenceDatesContext),
|
'absenceEnd' => $this->normalizer->normalize($object->getAbsenceEnd(), $format, $absenceDatesContext),
|
||||||
|
'enabled' => $object->isEnabled(),
|
||||||
];
|
];
|
||||||
|
|
||||||
if ('docgen' === $format) {
|
if ('docgen' === $format) {
|
||||||
|
|||||||
@@ -103,6 +103,7 @@ final class UserNormalizerTest extends TestCase
|
|||||||
'main_center' => ['context' => Center::class],
|
'main_center' => ['context' => Center::class],
|
||||||
'absenceStart' => ['context' => \DateTimeImmutable::class],
|
'absenceStart' => ['context' => \DateTimeImmutable::class],
|
||||||
'absenceEnd' => ['context' => \DateTimeImmutable::class],
|
'absenceEnd' => ['context' => \DateTimeImmutable::class],
|
||||||
|
'enabled' => true
|
||||||
]];
|
]];
|
||||||
|
|
||||||
yield [$userNoPhone, 'docgen', ['docgen:expects' => User::class],
|
yield [$userNoPhone, 'docgen', ['docgen:expects' => User::class],
|
||||||
@@ -124,6 +125,7 @@ final class UserNormalizerTest extends TestCase
|
|||||||
'main_center' => ['context' => Center::class],
|
'main_center' => ['context' => Center::class],
|
||||||
'absenceStart' => ['context' => \DateTimeImmutable::class],
|
'absenceStart' => ['context' => \DateTimeImmutable::class],
|
||||||
'absenceEnd' => ['context' => \DateTimeImmutable::class],
|
'absenceEnd' => ['context' => \DateTimeImmutable::class],
|
||||||
|
'enabled' => true
|
||||||
]];
|
]];
|
||||||
|
|
||||||
yield [null, 'docgen', ['docgen:expects' => User::class], [
|
yield [null, 'docgen', ['docgen:expects' => User::class], [
|
||||||
@@ -144,6 +146,7 @@ final class UserNormalizerTest extends TestCase
|
|||||||
'main_center' => ['context' => Center::class],
|
'main_center' => ['context' => Center::class],
|
||||||
'absenceStart' => null,
|
'absenceStart' => null,
|
||||||
'absenceEnd' => null,
|
'absenceEnd' => null,
|
||||||
|
'enabled' => true
|
||||||
]];
|
]];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user