6446 Commits

Author SHA1 Message Date
Marc Ducobu
e285603e18 Merge branch 'master' of https://git.framasoft.org/Chill-project/Chill-Main 2016-03-22 14:29:41 +01:00
Marc Ducobu
f205a1ccca Refactoring : adding the JS in the pabe bottom part 2016-03-22 14:29:00 +01:00
Marc Ducobu
8f91076c6b Code refactoring 2016-03-22 14:27:53 +01:00
b89ed5d534 add link to scope, center, type on Event 2016-03-22 14:00:48 +01:00
e66a855c0a adding a scope/circle to events
ref #1
2016-03-22 12:36:11 +01:00
d7fc04cdaa add fixtures for events
fix #17
2016-03-22 09:59:18 +01:00
b97a550e2b remove unused locale and request stack
The locale resolving is delegated to TranslatableStringHelper
2016-03-21 00:00:58 +01:00
386d4dd623 fix bug when postal code is null + add validation for address &postcode
fix #20
fix #18
2016-03-18 11:49:56 +01:00
9512528018 add basic crud for admin 2016-03-18 11:34:25 +01:00
cd7e9a9e2b add migration file 2016-03-18 11:33:59 +01:00
11d58a457a initialize entities 2016-03-18 11:22:09 +01:00
f3b00ac69b add license and readme 2016-03-18 10:31:17 +01:00
c43e7daefe initial commit 2016-03-18 10:28:26 +01:00
4a77d7617a add script to add postal code 2016-03-15 16:01:27 +01:00
8eacdbc5fa fix grammar + improve comprehension 2016-03-15 10:21:11 +01:00
2b0bb364f5 documenting chill_block.person_post_vertical_menu event/delegated block 2016-03-15 00:09:05 +01:00
4f1a47c920 adding doc for delegated blocks
ref Chill-project/Chill-Main#12
2016-03-14 23:59:07 +01:00
534f11b15f fixing year in license 2016-03-14 23:34:46 +01:00
4743e8b3b8 documenting group bundle + macros in main 2016-03-14 23:32:12 +01:00
cbfeb4c04d documenting the activity configuration options 2016-03-14 23:08:57 +01:00
ce6481b9f4 add doc for showing/hiding address in person details 2016-03-14 23:02:15 +01:00
40a1476156 adding a rendering block event
ref Chill-project/Chill-Main#12
ref Chill-project/Chill-Group#7
2016-03-14 22:46:51 +01:00
5c67a9098e allow delegation of block rendering
ref #12

In a template, you can now allow rendering of a block from other bundle.

The layout template must explicitly call the rendering of other block,
with the twig function

```
chill_delegated_block('block_name', { 'array' : 'with context' } )
```

This will launch an event
`Chill\MainBundle\Templating\Events\DelegatedBlockRenderingEvent` with
the event's name 'chill_block.block_name'.

You may add content to the page using the function
`DelegatedBlockRenderingEvent::addContent`.
2016-03-14 22:45:04 +01:00
42455b7d66 improve address rendering macro 2016-03-14 14:58:35 +01:00
ff5bda12b6 add new / create address + tests 2016-03-13 22:14:40 +01:00
545e155334 Merge remote-tracking branch 'framagit/master' 2016-03-13 15:02:32 +01:00
8d50a94351 fix dot in class name 2016-03-10 21:47:58 +01:00
91ed954be8 allow to update existing address 2016-03-10 21:44:53 +01:00
d8efc93be0 add form to update/create address and pick postal code 2016-03-10 21:44:13 +01:00
a9e04e56be make the form compliant with sf 3.0 2016-03-10 21:43:40 +01:00
afe6ace331 add a many-to-many relation to addresses 2016-03-10 18:01:06 +01:00
7679786288 add address and postal code 2016-03-10 17:57:30 +01:00
1ab0b95e74 order the type alphabetically
Improve also the form "TranslatableActivityType" to use the
TranslatableStringHelper.
2016-03-09 20:54:38 +01:00
97df048dfb add a placeholder in form. Force to choose a type
fix #5
2016-03-09 15:17:54 +01:00
3acea7967c fix the layout of the forms
The layout is now consistent with the view page
2016-03-09 14:42:42 +01:00
77b7333fea Allow encoding of an activity with configuration preset durations
fix #11

The activity form allow to receive pre-configured activity durations.

Those duration can be configured through the option
chill_activity.form.time_duration :

```yaml

chill_activity:
   form:
      time_duration:
         - { label: '12 minutes', seconds: 720 }
         # - ...

```

If a pre-existing activity receives a different time, the time is added
to the list of pre-configured duration time.
2016-03-09 14:31:42 +01:00
46081fd360 fix condition which prevent countryOfBirth to be shown 2016-03-04 17:24:17 +01:00
dc3a078923 Merge remote-tracking branch 'framagit/master' 2016-02-25 20:06:04 +01:00
f28a6e9fa0 Merge remote-tracking branch 'framagit/master' 2016-02-25 20:03:30 +01:00
6ae1b8334e Remove the admin menu from the section user's menu. 2016-02-25 13:08:10 +01:00
1b851e8f09 upgrade dependency on doctrine-migration-bundle to ~1.1 2016-02-23 15:37:54 +01:00
0a4b875055 upgrade dependency on doctrine-migration-bundle to ~1.1 2016-02-23 15:30:43 +01:00
afd52294b1 set deps on doctrine-migrations-bundle to ~1.1 2016-02-23 15:29:03 +01:00
9bf7b4ac60 set deps on doctrine-migration to ~1.1 2016-02-23 15:09:54 +01:00
737d0f4c52 Add license 2016-02-23 14:49:42 +01:00
901fa399e9 add doc for UI : macros and CSS classes 2016-02-22 21:08:47 +01:00
230945c322 add macro for person entity rendering easily 2016-02-22 17:46:32 +01:00
c5cf3ab467 [UI] add improvement to display entities with boxes 2016-02-22 14:53:38 +01:00
d8bf3a6431 add mapping_types information to allow jsonb from postgresql 2016-02-22 14:51:48 +01:00
c60d6acf97 An activity may have multiple reasons
The relationship between Activity and Reasons is now many-to-many.

Some improvement in show activity layout.

refs #4 #7
2016-02-22 14:48:35 +01:00