mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-10 16:55:00 +00:00
Compare commits
21 Commits
68-feature
...
1.5-branch
Author | SHA1 | Date | |
---|---|---|---|
a79a17b39e | |||
07aad4c7aa | |||
6d2fa87083 | |||
e914abcb6f | |||
c2cfa19e43 | |||
03fb75edc8 | |||
08bf5f9922 | |||
c32ba2bee4 | |||
fe54c76317 | |||
d5d69bbb86 | |||
858283134f | |||
d0066e3270 | |||
3d94647352 | |||
|
ca64c1e011 | ||
|
21320685b7 | ||
|
55d963641e | ||
|
c73e497d94 | ||
25d83a0d40 | |||
7bc20f653f | |||
2c8125166b | |||
1dbf3b0184 |
76
composer.json
Normal file
76
composer.json
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"name": "chill-project/chill-bundles",
|
||||
"license": "AGPL-3.0-only",
|
||||
"type": "library",
|
||||
"description": "Most used bundles for chill-project",
|
||||
"keywords": ["chill", "social worker"],
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Chill\\ActivityBundle\\": "src/Bundle/ChillActivityBundle",
|
||||
"Chill\\BudgetBundle\\": "src/Bundle/ChillBudgetBundle",
|
||||
"Chill\\CustomFieldsBundle\\": "src/Bundle/ChillCustomFieldsBundle",
|
||||
"Chill\\DocStoreBundle\\": "src/Bundle/ChillDocStoreBundle",
|
||||
"Chill\\EventBundle\\": "src/Bundle/ChillEventBundle",
|
||||
"Chill\\FamilyMemberBundle\\": "src/Bundle/ChillFamilyMemberBundle",
|
||||
"Chill\\MainBundle\\": "src/Bundle/ChillMainBundle",
|
||||
"Chill\\PersonBundle\\": "src/Bundle/ChillPersonBundle",
|
||||
"Chill\\ReportBundle\\": "src/Bundle/ChillReportBundle",
|
||||
"Chill\\TaskBundle\\": "src/Bundle/ChillTaskBundle",
|
||||
"Chill\\ThirdPartyBundle\\": "src/Bundle/ChillThirdPartyBundle"
|
||||
}
|
||||
},
|
||||
"homepage" : "http://chill.social",
|
||||
"support": {
|
||||
"issues": "https://gitlab.com/Chill-projet/chill-bundles/-/issues",
|
||||
"sources": "https://gitlab.com/Chill-projet/chill-bundles",
|
||||
"docs": "http://docs.chill.social"
|
||||
},
|
||||
"authors" : [
|
||||
{
|
||||
"name": "Champs-Libres",
|
||||
"email": "info@champs-libres.coop",
|
||||
"homepage": "http://www.champs-libres.coop"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": "~7.2",
|
||||
"twig/extensions": "~1.5",
|
||||
"symfony/assetic-bundle": "~2.8",
|
||||
"symfony/monolog-bundle": "~3.2",
|
||||
"symfony/symfony": "~3.4",
|
||||
"doctrine/dbal": "~2.7",
|
||||
"doctrine/orm": "~2.6",
|
||||
"doctrine/common": "~2.8",
|
||||
"doctrine/doctrine-bundle": "~1.9",
|
||||
"champs-libres/composer-bundle-migration": "~1.0",
|
||||
"doctrine/doctrine-migrations-bundle": "~1.3",
|
||||
"doctrine/migrations": "~1.0",
|
||||
"phpoffice/phpspreadsheet": "~1.2",
|
||||
"sensio/distribution-bundle": "^5.0",
|
||||
"knplabs/knp-menu-bundle": "^2.2",
|
||||
"league/csv": "^9.0",
|
||||
"champs-libres/async-uploader-bundle": "~1.0",
|
||||
"laminas/laminas-zendframework-bridge": "~1.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/dom-crawler": "~3.4",
|
||||
"doctrine/doctrine-fixtures-bundle": "~3.0",
|
||||
"symfony/phpunit-bridge": "~3.4",
|
||||
"phpunit/phpunit": "~5.6"
|
||||
},
|
||||
"scripts": {
|
||||
"post-install-cmd": [
|
||||
"ComposerBundleMigration\\Composer\\Migrations::synchronizeMigrations",
|
||||
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap"
|
||||
],
|
||||
"post-update-cmd": [
|
||||
"ComposerBundleMigration\\Composer\\Migrations::synchronizeMigrations",
|
||||
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap"
|
||||
]
|
||||
},
|
||||
"extra": {
|
||||
"app-migrations-dir": "Resources/test/Fixtures/App/app/DoctrineMigrations",
|
||||
"symfony-app-dir": "Tests/Fixtures/App/"
|
||||
},
|
||||
"prefer-stable": true
|
||||
}
|
@@ -29,6 +29,7 @@ use Chill\MainBundle\Entity\HasCenterInterface;
|
||||
use Chill\MainBundle\Entity\HasScopeInterface;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Chill\MainBundle\Validator\Constraints\Entity\UserCircleConsistency;
|
||||
use Symfony\Component\Validator\Constraints as Assert;
|
||||
|
||||
/**
|
||||
* Activity
|
||||
@@ -72,6 +73,8 @@ class Activity implements HasCenterInterface, HasScopeInterface
|
||||
|
||||
/**
|
||||
* @var \Doctrine\Common\Collections\Collection
|
||||
*
|
||||
* @Assert\Count(min=1, minMessage="Add at least one reason")
|
||||
*/
|
||||
private $reasons;
|
||||
|
||||
|
@@ -99,11 +99,11 @@ class ActivityType extends AbstractType
|
||||
))
|
||||
->add('attendee', ChoiceType::class, array(
|
||||
'expanded' => true,
|
||||
'required' => false,
|
||||
'required' => true,
|
||||
'choices_as_values' => true,
|
||||
'choices' => array(
|
||||
'present' => true,
|
||||
'not present' => false
|
||||
'yes' => true,
|
||||
'no' => false
|
||||
)
|
||||
))
|
||||
->add('user', UserPickerType::class, [
|
||||
|
@@ -1,2 +1,3 @@
|
||||
The reasons's level should not be empty: Le niveau du sujet ne peut pas être vide
|
||||
At least one reason must be choosen: Au moins un sujet doit être choisi
|
||||
Add at least one reason: L'activité doit comporter au moins un sujet
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user