e9d4b9e2ab
Resolve merge conflicts
2024-06-27 12:50:16 +02:00
742f2540f6
Setup AccompanyingPeriodWorkEvaluationStoredObjectVoter.php to use AccompanyingPeriodWorkRepository.php
...
The voter was not checking the correct permissions to\ establish whether a user can see/edit a storedObject\
The right to see/edit an AccompanyingPeriodWork has to\
be checked.
2024-06-27 11:59:31 +02:00
c06e76a0ee
Implement context-specific voters for all current entities that can be linked to a document
...
For reusability an AbstractStoredObjectVoter was created and a StoredObjectVoterInterface.
A WorkflowDocumentService checks whether the StoredObject is involved in a workflow.
2024-06-27 11:31:39 +02:00
1310d53589
Implement context-specific voters for all current entities that can be linked to a document
...
For reusability an AbstractStoredObjectVoter was created and a StoredObjectVoterInterface.
A WorkflowDocumentService checks whether the StoredObject is involved in a workflow.
2024-06-26 14:04:08 +02:00
84f515d451
Merge remote-tracking branch 'origin/master' into upgrade-sf5
2024-05-28 14:16:01 +02:00
56d173046d
fix phpstan, cs, and rector rules
2024-05-28 12:54:56 +02:00
juminet
ab6feef371
Do not display evaluation from closed accompanying period on homepage
2024-04-18 07:37:05 +00:00
f889d67e94
fixes after merge of master into upgrade-sf4
2024-02-12 22:31:16 +01:00
036fe8d6f8
upgrade php-cs 3.49
2024-02-07 10:43:53 +01:00
3c8e59e088
php cs fixes after updating php cs fixer
2024-01-10 10:31:25 +01:00
2a151d13ed
Add querybuilder method to person resource repository
2023-10-23 14:22:51 +02:00
bc2041cbdd
apply more cs rules for php-cs
2023-10-17 13:27:03 +02:00
0c8ecfe493
Merge branch 'rector/rules-symfony' into '147-history-user-scope-job'
...
# Conflicts:
# src/Bundle/ChillMainBundle/Security/Resolver/ScopeResolverDispatcher.php
2023-10-16 16:00:40 +00:00
978db5a5c5
update some queries in the interface to take into account history of user's scope and user's job
2023-10-16 11:52:02 +02:00
4e13b2ae3a
fix type-hints
2023-10-05 11:17:42 +02:00
e3559774fd
Improve the signature definition
2023-10-03 21:25:22 +02:00
2efd5ebc9a
Merge branch 'master' into rector/rules-symfony
2023-10-02 12:30:15 +02:00
981be7b363
SocialWorkRepository: on search by accompanying period, enlarge the dateranges for take into account work with same endDate / startDate
...
Close https://gitlab.com/Chill-Projet/chill-bundles/-/issues/144
2023-09-28 12:36:33 +02:00
05a8dba912
update cs using php-cs-fixer 3.30
2023-09-27 16:55:01 +02:00
27c1bb03ff
update cs
2023-09-27 16:45:42 +02:00
65aa0a1588
Merge remote-tracking branch 'origin/master' into rector/rules-symfony
2023-09-27 15:25:29 +02:00
df3781a993
Regulation list: serach by exact postal code, and not the postal code's string content
2023-09-26 18:00:59 +02:00
754515f185
php cs fixes
2023-09-14 12:25:56 +02:00
d2323e91ca
new cs rule: single_line_empty_body
...
Rule is added to the last version of php-cs-fixer
2023-09-12 15:58:59 +02:00
2c83b4c912
Fix HouseholdACLAwareRepository: use the correct association to person's center
2023-08-28 16:09:21 +02:00
e2d62d5792
Fix loading of CalendarContext in CalendarContextTest. Needs to remove the final from PersonRepository
2023-08-28 16:09:21 +02:00
ae04172929
Force type-hint and handle null value in ordering
2023-07-28 00:25:32 +02:00
023a29cb78
apply rector rules: php up to php82
2023-07-19 23:19:50 +02:00
74ed34ba97
apply rules rector
2023-07-19 22:48:26 +02:00
224c2c74e8
Merge remote-tracking branch 'origin/master' into rector/rules-up-to-php80
...
Conflicts:
src/Bundle/ChillActivityBundle/Controller/ActivityController.php
src/Bundle/ChillActivityBundle/Export/Aggregator/ACPAggregators/DateAggregator.php
src/Bundle/ChillActivityBundle/Menu/PersonMenuBuilder.php
src/Bundle/ChillActivityBundle/Repository/ActivityACLAwareRepository.php
src/Bundle/ChillActivityBundle/Service/DocGenerator/ActivityContext.php
src/Bundle/ChillCalendarBundle/Command/MapAndSubscribeUserCalendarCommand.php
src/Bundle/ChillCalendarBundle/RemoteCalendar/Connector/MSGraph/MSGraphUserRepository.php
src/Bundle/ChillDocStoreBundle/Controller/DocumentAccompanyingCourseController.php
src/Bundle/ChillDocStoreBundle/Controller/DocumentPersonController.php
src/Bundle/ChillDocStoreBundle/Repository/PersonDocumentACLAwareRepository.php
src/Bundle/ChillEventBundle/Search/EventSearch.php
src/Bundle/ChillMainBundle/Controller/ExportController.php
src/Bundle/ChillMainBundle/Controller/PermissionsGroupController.php
src/Bundle/ChillMainBundle/Cron/CronManager.php
src/Bundle/ChillMainBundle/Entity/CronJobExecution.php
src/Bundle/ChillMainBundle/Export/ExportManager.php
src/Bundle/ChillMainBundle/Form/Type/Export/PickCenterType.php
src/Bundle/ChillMainBundle/Form/Type/Listing/FilterOrderType.php
src/Bundle/ChillMainBundle/Repository/NotificationRepository.php
src/Bundle/ChillMainBundle/Templating/Listing/FilterOrderHelper.php
src/Bundle/ChillMainBundle/Templating/Listing/FilterOrderHelperBuilder.php
src/Bundle/ChillMainBundle/Templating/Listing/FilterOrderHelperFactory.php
src/Bundle/ChillPersonBundle/Controller/AccompanyingCourseWorkController.php
src/Bundle/ChillPersonBundle/Controller/SocialWorkSocialActionApiController.php
src/Bundle/ChillPersonBundle/Export/Aggregator/PersonAggregators/AgeAggregator.php
src/Bundle/ChillPersonBundle/Export/Export/ListAccompanyingPeriod.php
src/Bundle/ChillPersonBundle/Export/Export/ListHouseholdInPeriod.php
src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriodACLAwareRepository.php
src/Bundle/ChillPersonBundle/Security/Authorization/AccompanyingPeriodVoter.php
src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodContext.php
src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodWorkEvaluationContext.php
src/Bundle/ChillPersonBundle/Service/DocGenerator/PersonContext.php
src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php
src/Bundle/ChillTaskBundle/Controller/SingleTaskController.php
2023-07-17 12:49:13 +02:00
a21cefab31
Fix: last fixes for accompanying period work filters
...
- avoid errors when the user inverse date from and date to (we correct them)
- allow the user to filter by multiple users
- do not show filter by types if only one action type
- more type-hinting in the $filter argument for AccompanyingPeriodWorkRepository::findByAccompanyingPeriodOpenFirst
2023-07-14 09:23:23 +02:00
f2673d6c83
Merge remote-tracking branch 'origin/master' into issue120_filter_social_actions
2023-07-13 21:14:31 +02:00
66e1047752
DX php cs fixer
2023-07-12 20:30:31 +02:00
7bee376718
DX phpstan fix and remove dump
2023-07-12 20:29:53 +02:00
6bc45bbca3
FEATURE [filter][actions] integrate user and dates filter into sql
2023-07-12 20:21:14 +02:00
e0758215ba
FEATURE [repository] implement filter logic
2023-07-12 15:17:03 +02:00
20d5fabc18
[repository][action filter] integrating filters in repository
2023-07-06 13:39:08 +02:00
779eb812b0
Add new role to see confidential right on method AccompanyingPeriodACLAwareRepositoryInterface::findByUserAndPostalCodeOpenedAccompanyingPeriod
2023-07-05 21:56:50 +02:00
a990591e0c
handle right to see confidential course on regulation list
2023-07-05 16:23:14 +02:00
6c58e7eb3e
DX phpstan and cs-fixer
2023-07-05 15:50:08 +02:00
4b25970ce0
FEATURE [filter] start implementation of social action filter
2023-07-05 15:35:13 +02:00
dd344aed52
Implements right "see confidential course" on method findByPerson
...
Add unit tests for that
2023-07-04 15:59:39 +02:00
a31c4063a1
DX [cs-fixer] fixes
2023-05-24 14:02:05 +02:00
dde3002100
DX: apply rector rules up to php8.0
2023-04-28 22:30:33 +02:00
722f053f06
Feature: Change accompanying period info step in a cronjob
2023-04-28 11:49:35 +02:00
47d0334b9e
Merge remote-tracking branch 'origin/master' into rector/rules-up-to-php74
2023-04-27 23:32:31 +02:00
631d65a57f
improve indentation
2023-04-20 18:09:25 +02:00
a59e84b029
Display too draft periods without creator in periods of a person
2023-04-20 16:37:10 +02:00
746ed4f5e5
DX: fix cs
2023-04-15 00:43:55 +02:00
858ade467c
DX: rector rules upt to PHP 74
2023-04-15 00:20:19 +02:00