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
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
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
22afd3b3fa
fix bug in redirection to admin index
2015-10-02 23:47:39 +02:00
795c1a74ed
layout and clean activity type CRUD
2015-10-02 23:47:39 +02:00
216d0c55be
remove delete actions & form in controller
2015-10-02 23:47:39 +02:00
bebee4fbeb
layout and clean activity reason crud
2015-10-02 23:47:39 +02:00
0ecfcae98b
fix layout and menu for activity configuration
...
close #614 1h00
2015-09-29 17:18:29 +02:00
Marc Ducobu
c7962c8afd
Display only the activities of a person
2015-07-06 09:10:58 +02:00
e36c195ecf
add flashbag message for activity
2015-07-06 00:10:13 +02:00
e0561340a5
add layout for form, consistency with reports
...
- add buttons at the bottom
2015-07-05 23:58:15 +02:00
Marc Ducobu
a4e3089150
Debuging updating form
2015-07-05 11:42:33 +02:00
Marc Ducobu
e65f78ab31
Debug : enable creation of an acitivy
2015-07-04 20:38:13 +02:00
402ce86330
improve activity controller & rendering
2015-07-03 22:33:29 +02:00
Marc Ducobu
a0798c014e
mergin conflict
2015-07-03 09:48:39 +02:00
Marc Ducobu
faffdee1ab
Integration code generated
2015-07-03 09:40:30 +02:00
be78c25091
improve activity form
...
- create as a service with required depedencies (required for scope)
- add scope
- fix date show
- adapt controller accordingly
2015-07-02 23:36:43 +02:00
Marc Ducobu
86b24f58ac
First step of integration code generated
2015-07-02 15:41:11 +02:00
Marc Ducobu
24bd8c9a1d
Removing DefaultController
2015-07-02 14:38:48 +02:00
Marc Ducobu
c2a36ef928
Renaming route + in admin
2015-07-01 18:12:25 +02:00
Marc Ducobu
5738de5033
Adding generated files
2015-07-01 13:34:14 +02:00
Marc Ducobu
452f3fba86
skeleton of the bundle
2015-06-30 22:07:55 +02:00