21 Commits

Author SHA1 Message Date
3e786f2e18 Add aggregator by user for activities 2019-01-11 12:30:57 +01:00
9bcd7a2c10 improve exports and filters 2017-01-31 15:34:41 +01:00
67c8c19885 improve exports & add new filter, export, aggregators 2017-01-17 00:34:32 +01:00
9ad651a5d8 rename ReasonAggregator => ActivityReasonAggregator for consistency 2017-01-12 17:59:06 +01:00
2997614a04 update export & aggregator & filter to new api + add tests 2017-01-12 17:42:37 +01:00
5dda66342a add an "active" field on activity type 2016-11-14 23:00:13 +01:00
1e476b39da adding the possibility to remove activities
fix #28
2016-06-08 21:26:30 +02:00
1ab0b95e74 order the type alphabetically
Improve also the form "TranslatableActivityType" to use the
TranslatableStringHelper.
2016-03-09 20:54:38 +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
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
fc8c018159 add tests for authentication/authorization
Check the user which access to creation, modification, list, is
authorized to see the user and have the permissions on activity.
2015-10-27 21:14:03 +01:00
fee5b00e35 use random activityType, activityReason, scope in test 2015-10-08 22:36:08 +02:00
e79ca23f2c add test for complete activity crud (without errors)
+ fix some errors in controller (discovered with tests)
2015-10-08 18:24:49 +02:00
fa5da95bf1 first impl on test on TranslatableActivityReasonType
Currently skipped due to the amount of work required and the expectance

refs #651
2015-10-08 17:22:57 +02:00
6f9015ac08 mark test as skipped for now 2015-07-05 11:20:43 +02:00
c4b2bfa8ff add fixtures into timeline 2015-07-05 11:20:43 +02:00
eb11570541 add acl to activity + bootstrap php 2015-07-03 21:36:05 +02:00
508bf02dba move fixture to test directory
refs #561
2015-07-03 21:36:05 +02:00
Marc Ducobu
5738de5033 Adding generated files 2015-07-01 13:34:14 +02:00
Marc Ducobu
cfc7b725d8 Enabling console 2015-07-01 11:14:41 +02:00
Marc Ducobu
452f3fba86 skeleton of the bundle 2015-06-30 22:07:55 +02:00