55c11c7f04
fix misc phpstan issues
2025-12-22 18:26:35 +01:00
43d6a86627
Merge remote-tracking branch 'origin/ticket-app-master' into migrate_to_sf72
...
# Conflicts:
# .gitlab-ci.yml
# composer.json
# config/services.yaml
# phpunit.xml.dist
# src/Bundle/ChillAsideActivityBundle/src/Entity/AsideActivity.php
# src/Bundle/ChillCalendarBundle/Entity/CancelReason.php
# src/Bundle/ChillCalendarBundle/Messenger/Handler/CalendarRemoveHandler.php
# src/Bundle/ChillCalendarBundle/RemoteCalendar/DependencyInjection/RemoteCalendarCompilerPass.php
# src/Bundle/ChillDocGeneratorBundle/Service/Messenger/OnGenerationFails.php
# src/Bundle/ChillJobBundle/src/Entity/Immersion.php
# src/Bundle/ChillMainBundle/CRUD/Controller/CRUDController.php
# src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadLocationType.php
# src/Bundle/ChillMainBundle/Entity/Location.php
# src/Bundle/ChillMainBundle/Routing/MenuComposer.php
# src/Bundle/ChillMainBundle/Routing/MenuTwig.php
# src/Bundle/ChillMainBundle/Security/PasswordRecover/RecoverPasswordHelper.php
# src/Bundle/ChillMainBundle/Serializer/Normalizer/DateNormalizer.php
# src/Bundle/ChillMainBundle/Tests/Form/Type/ScopePickerTypeTest.php
# src/Bundle/ChillMainBundle/Tests/Services/MenuComposerTest.php
# src/Bundle/ChillPersonBundle/Controller/PersonController.php
# src/Bundle/ChillPersonBundle/Entity/Person.php
# src/Bundle/ChillPersonBundle/Form/DataMapper/PersonAltNameDataMapper.php
# src/Bundle/ChillPersonBundle/Repository/PersonACLAwareRepository.php
# src/Bundle/ChillPersonBundle/Serializer/Normalizer/PersonJsonNormalizer.php
# src/Bundle/ChillPersonBundle/Tests/Serializer/Normalizer/PersonJsonNormalizerTest.php
# src/Bundle/ChillTaskBundle/Form/SingleTaskType.php
2025-12-22 16:36:57 +01:00
14a0c2b4fd
Refactor WidgetRenderingTwig: remove TwigFunction usage, replace with attributes for declaring functions.
2025-12-22 15:29:05 +01:00
c94cb741c6
Refactor ChillTwigRoutingHelper to extend AbstractExtension and register it as a Twig extension
2025-12-22 15:28:31 +01:00
f3486e851a
fix cs
2025-12-22 13:42:45 +01:00
741f655cfc
Refactor Twig extensions to use attributes for declaring functions and filters, remove AbstractExtension inheritance, and clean up related service definitions.
2025-12-19 12:23:20 +01:00
0d42ed9262
Refactor ChillTwigRoutingHelper to extend AbstractExtension and register Twig filters properly
2025-12-19 11:56:44 +01:00
92d5fe154e
Create a connector to synchronize with zimbra calendars
2025-12-05 11:59:32 +00:00
8f20570f3b
Improve return types for methods
2025-11-04 09:56:04 +01:00
662e962549
fix CS
2025-11-03 16:22:33 +01:00
adab2ffe63
Refactor ChillTwigRoutingHelper to extend AbstractExtension and improve Twig functionality
...
- Updated `ChillTwigRoutingHelper` to extend `AbstractExtension` for consistency with Twig best practices.
- Moved `chill_return_path_label` from a Twig attribute to a filter within `getFilters`.
- Removed unnecessary dependency on `RequestStack` in `services/templating.yaml`.
2025-11-03 15:41:54 +01:00
cdc489f01e
Apply new rector rules regarding to PHP version to 8.4
2025-11-03 13:36:51 +01:00
14d65fa931
apply rector rules
2025-10-30 01:20:52 +01:00
32d2bb002b
Remove no longer used annotation use statements and replace with attribute use statements
2025-10-01 18:38:41 +02:00
77bccd5c4e
Remove deprecated ContainerAwareTrait
2025-08-27 17:01:06 +02:00
4c28a4c358
refactor: improve property checks
...
- use ClassUtils for real class name resolution in ActivityType
2025-08-05 09:03:53 +02:00
17db59d221
Rector changes and immplementations of required methods
2025-06-05 16:21:17 +02:00
ba2d8663f1
Add line splitting in user render string functionality
...
Introduce a new option to split lines in user job and scope render strings based on a specified character limit. Implement a corresponding test to verify the correct behavior of this feature.
2024-11-13 17:54:20 +01:00
21ec3121ec
Merge branch 'signature-app-master' into 'master'
...
Signature app master
Closes #307
See merge request Chill-Projet/chill-bundles!743
2024-11-12 20:30:00 +00:00
8cb2bb1ef4
Fix rector pipeline
2024-11-05 14:52:28 +01:00
989fdad561
Add chill_path_force_return_path method to routing helper
...
Implemented a new Twig function `chill_path_force_return_path` to enforce a specific return path within the URL. Updated relevant template to utilize this new function for better control over URL routing and return path management.
OP#787
https://champs-libres.openproject.com/work_packages/787
2024-10-25 18:33:22 +02:00
9416a19d85
Sanitize html for good measure
2024-10-21 15:39:05 +02:00
fa64f44cf1
php cs fixes
2024-10-09 16:49:40 +02:00
b9d2f5efa3
Use renderInterface to render gender icons in twig
2024-10-09 16:49:40 +02:00
cef641ee24
Render the history for workflow, with signature and onHold, and destUserGroups
2024-10-01 18:49:52 +02:00
b4fa478177
Add UserGroup to chill (import from branch ticket-app-master)
...
Import the UserGrou feature from ticket-app-master branch. This includes:
- import all the entities and migrations, modification of typescript types, templating, and so on;
- apply some verification and formatting rules, like:
- reformat file on chill.api.specs.yaml (MainBundle)
- reformat file on types.ts (Main Bundle)
Migrations kept the same filename.
2024-09-26 11:17:50 +02:00
9f1afb8423
Add access controls and permissions for signature steps
...
Implemented a Voter to enforce permissions on signature steps, ensuring only authorized users can sign steps. Updated relevant controllers and templates to reflect these permissions, and added corresponding tests to validate the changes.
2024-09-13 17:04:57 +02:00
911dfc2878
fix rector errors
2024-09-13 16:22:09 +02:00
f0f651edea
update cs after php-cs-fixer upgrade
2024-09-12 12:02:33 +02:00
09563979a2
Refactor entity rendering with manager pattern
...
Introduce ChillEntityRenderManager to centralize entity rendering logic, reducing redundancy and improving code organization. Update dependencies and service configuration to support the new manager pattern, enhancing maintainability and flexibility of entity rendering in templates.
2024-09-12 11:18:35 +02:00
313fb9ffdf
PHP CS Fixer updated (3.63.1 -> v3.64.0)
2024-09-04 14:38:56 +02:00
c82991674e
Rector changes: repositories become final readonly classes
2024-07-18 09:49:05 +02:00
bc2dfd159c
merge upgrade-sf5 branch
2024-07-15 15:16:27 +02:00
49dd7f94fa
Fix CS and upgrade issues after mergin master branch
2024-06-24 10:56:02 +02:00
916724c0c5
Merge branch 'master' into upgrade-sf5
2024-06-24 10:46:21 +02:00
0bfb3de465
fix cs
2024-06-11 16:58:33 +02:00
f43d79c940
Add notification date to entity render strings
...
The notification date has been added to the render strings of entities involved in the notifications, specifically for the sender, addressees, and normalizer. This is done by passing it as a parameter to the 'chill_entity_render_string' function and the 'normalize' function in NotificationNormalizer. This will help provide more context regarding the time of the events in the notification.
2024-06-10 17:08:30 +02:00
a7ec7c9f37
fix pipeline for branch affichage metiers
2024-05-07 16:32:12 +02:00
ed3e0f889e
Rector changes + namespace changes
2024-04-23 17:43:23 +02:00
c9e13be736
pipeline fixes for phpstan, cs-fixer, rector
2024-04-16 20:16:45 +02:00
25f93e8a89
fix typing
2024-04-16 12:01:40 +02:00
1ecc825945
Correct 2 phpstan errors, condition is always true and wrong typing
2024-04-16 12:01:40 +02:00
addc623add
php style fixer
2024-04-16 12:01:37 +02:00
b46883fe36
Implement clockInterface in renderString method
2024-04-16 11:55:54 +02:00
bc683b28d6
update normalizers to take into account referrerHistory logic for accompanying period work
2024-04-16 11:55:50 +02:00
fbbf421d8b
Handle DateTime type for activity while DateTimeImmutable is expected
2024-04-16 11:52:58 +02:00
d0ec6f9819
Improve naming for 'at date' in user render component
2024-04-16 11:52:54 +02:00
931c69eee4
Merge remote-tracking branch 'origin/master' into upgrade-sf5
2024-04-04 18:45:01 +02:00
d29415317b
Allow users to display news on homepage (+ configuring a dashboard homepage)
2024-03-07 21:08:00 +00:00
f889d67e94
fixes after merge of master into upgrade-sf4
2024-02-12 22:31:16 +01:00