Pol Dellaiera
56037f796b
fix: Import missing annotation.
2021-11-30 14:02:20 +01:00
Pol Dellaiera
cd3be25c22
cs: Remove duplicated headers.
2021-11-30 13:54:58 +01:00
Pol Dellaiera
47c5855a21
cs: Switch to a stricter way of coding - this might break in a lot of places.
2021-11-30 13:33:18 +01:00
Pol Dellaiera
28d2c42454
cs: Enable more risky rules.
2021-11-30 12:27:49 +01:00
Pol Dellaiera
733bee06a8
cs: Enable more risky rules.
2021-11-30 12:19:29 +01:00
Pol Dellaiera
579c349e28
cs: Enable more risky rules.
2021-11-30 12:09:24 +01:00
Pol Dellaiera
a43784c3a1
cs: Enable risky rule random_api_migration
.
2021-11-30 11:55:02 +01:00
Pol Dellaiera
91d12c4a96
cs: Enable risky rule static_lambda
.
2021-11-30 11:43:34 +01:00
Pol Dellaiera
a9188355c5
cs: Enable more risky rules.
2021-11-30 11:37:57 +01:00
Pol Dellaiera
c8195e6df5
cs: Enable more risky rules.
2021-11-30 11:28:52 +01:00
Pol Dellaiera
f531cdc0ec
cs: Enable a couple of risky rules.
2021-11-30 09:39:45 +01:00
e99b14b870
[activity] fix loading of social action in edit mode
2021-11-29 23:01:17 +01:00
7b0c7988df
[activity] handle case when there is no action associated to selected
...
issues
2021-11-29 22:43:14 +01:00
55b9242690
[bugfix][activity form] check the presence of location / social issues /
...
persons fields
2021-11-29 21:57:29 +01:00
4854f40648
[bugfix] fix template "new" for activity
2021-11-29 21:27:17 +01:00
juminet
975fbfbdee
activity: edit an activity: choose the context based on the activity, not the url parameters
2021-11-29 13:56:12 +00:00
5d9ceb5757
295 resume retouches
2021-11-29 13:48:18 +00:00
juminet
b300858bdd
activity: avoid existing entities being added in Users, ThirdParties, Persons
2021-11-29 12:27:54 +00:00
nobohan
5aa5cb3e08
location: use fetchResults for getLocations and getLocationTypes
2021-11-25 17:22:25 +01:00
nobohan
f002d48efd
location: fix error when there is no defaultFor defined for locationType entities
2021-11-25 16:53:02 +01:00
nobohan
e73179688a
activity: format location label for parcours location
2021-11-25 15:39:30 +01:00
nobohan
d13d42b9bf
activity: group locations by type in the selector
2021-11-25 15:39:30 +01:00
nobohan
0bd0487801
activity: fix the on-the-fly POSTing of the location entity
2021-11-25 15:39:30 +01:00
nobohan
d27f085ac9
location: change display in twig
2021-11-25 15:39:30 +01:00
nobohan
c7f2717676
activity: new activity: show address in parcours location
2021-11-25 15:39:30 +01:00
nobohan
a2f6f2b5cb
activity: post new location on-the-fly
2021-11-25 15:39:30 +01:00
nobohan
1b579f7930
activity: label location
2021-11-25 15:39:30 +01:00
nobohan
c1a2112d48
activity: add location from concerned person and 3rd parties in the location selector
2021-11-25 15:39:30 +01:00
nobohan
1519fcd4dd
activity: add location of the accompanying course
2021-11-25 15:39:30 +01:00
nobohan
b808e970ab
activity: correct activityController after rebase
2021-11-25 15:39:30 +01:00
nobohan
92e59e211d
activity: suggest location based on accompanying period (WIP)
2021-11-25 15:39:30 +01:00
nobohan
e3040f4bfb
correct deprecated activity method
2021-11-25 15:39:30 +01:00
nobohan
1bd6df7ce2
correct deprecated activity method
2021-11-25 15:39:30 +01:00
b81c834b5e
check acl before showing button for creating activity in person/activity
2021-11-24 15:14:06 +00:00
Pol Dellaiera
3ea35682eb
cs: Second part - ignore test/app
subdirectory.
2021-11-23 14:34:34 +01:00
Pol Dellaiera
8f96a1121d
cs: Fix code style (safe rules only).
2021-11-23 14:08:50 +01:00
Pol Dellaiera
9c167df78a
sa: Fix SA issues.
2021-11-23 12:49:20 +01:00
Pol Dellaiera
70ed9e75db
tests: Fix "...Class "Chill\MainBundle\Security\Resolver\CenterResolverDispatcher" is declared "final" and cannot be mocked....".
2021-11-23 12:41:09 +01:00
Pol Dellaiera
328b4c4596
fix: Strict types interfaces: VoterHelperInterface
, ProvideRoleHierarchyInterface
and ProvideRoleInterface
.
2021-11-23 10:40:34 +01:00
05dda33a7a
Activity: fixes in voter
...
* the role CREATE is now transformed to CREATE_ACCOMPANYING_COURSE or
CREATE_PERSON when the subject is, respectively, a course or a person;
* the button at the list of activities is now labeled "create"
* the role FULL give access to both role
acTIVITY_CREATE_ACCOMPANYING_COURSE and ACTIVITY_CREATE_PERSON, but not
ACTIVITY_CREATE directly.
2021-11-23 09:06:05 +01:00
0867965d9c
Minor fixes for closing accompanying course:
...
* check that transition can be applyied in menu;
* change organisation for activityVoter, and check for authorization in
Activity Controller
* fix label 'create' in accompanying course document
* minor fix in accompanying course document voter
* change color when course is closed and show old user, and startdate /
enddate
2021-11-22 20:24:08 +01:00
4c1e416a14
Merge remote-tracking branch 'origin/master' into issue296_internal_close_accourse
2021-11-22 17:14:11 +01:00
6028167513
allow the case when the referrer is null
2021-11-22 16:33:36 +01:00
f3792b2ed6
Merge remote-tracking branch 'origin/master' into issue294_suggestPersonInActivity
2021-11-22 14:06:27 +01:00
69384a84d1
Merge remote-tracking branch 'origin/master' into issue133_user_current_location
2021-11-22 13:43:22 +01:00
98760bc5e8
Merge remote-tracking branch 'origin/master' into doc/authorizaton-documentation-update
2021-11-22 10:30:05 +01:00
2c74e268d3
voter fixes
2021-11-22 10:19:14 +01:00
9fb29ec110
refactor search for using search by pertinence
2021-11-22 08:28:22 +00:00
89c2d74c33
Merge branch 'master' into 295_resume_retouches
2021-11-19 17:22:00 +01:00
nobohan
3ce3613c71
activity: change name of property type in activityType to allow property 'type' in the serializer (by DiscriminatorMap)
2021-11-19 14:12:41 +01:00