76 Commits

Author SHA1 Message Date
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
7ce86ab15f use github token for auth 2015-10-26 22:26:41 +01:00
8e75f0b4ac adding gitlab-ci to project
Squashed commit of the following:

commit 7de95e8e1e829f2ebeeb0bcea750e9fd2cdfa4b4
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Oct 19 23:40:01 2015 +0200

    adapting config for build

commit c554816956ee1d0f0144824392a5f5984b389d1a
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Oct 19 22:42:39 2015 +0200

    add gitlab-ci to project
2015-10-26 20:46:59 +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
2e1153d42b add parameters for gitlab-ci 2015-10-08 15:43:26 +02:00
8eccbea522 fix address for storing doctrineMigrationsFile into correct directory for tests 2015-10-08 15:42:11 +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
Marc Ducobu
0bee5e46db Only active reason are displayed in the activity encoding form 2015-10-02 15:16:37 +02:00
Marc Ducobu
4ef4a64ea6 Template for ActivityReasonCategory with translation + better looking - refs #622 2015-10-02 14:55:58 +02:00
Marc Ducobu
e8f8c8e52d Admin form : only display active ActivityReasonCategory in the ActivityReason form 2015-10-02 14:41:52 +02:00
Marc Ducobu
e32dad5617 Setting an inactive category unactivate the reason - refs #622 2015-10-01 16:44:30 +02:00
Marc Ducobu
744a68f195 Category unactive implies all the reasons with this category as unactive - refs #622 2015-10-01 16:35:10 +02:00
0ecfcae98b fix layout and menu for activity configuration
close #614 1h00
2015-09-29 17:18:29 +02:00
Marc Ducobu
3dcbec4b87 Merge branch 'master' of git://github.com/Chill-project/Activity 2015-09-28 14:08:17 +02:00
Marc Ducobu
4bd5d70fb2 Remove required in form #622 2015-09-28 14:08:03 +02:00
74c03078c4 Update README.md 2015-09-23 16:24:19 +02:00
ab707e9079 add issue tracker 2015-09-23 16:20:54 +02:00
4daa44ed57 implements role declaration in activity
close #610 @0h15
2015-09-21 23:08:32 +02:00
Marc Ducobu
7008284479 Adding colors for table header of Activity/list 2015-08-26 13:34:17 +02:00
Marc Ducobu
c7962c8afd Display only the activities of a person 2015-07-06 09:10:58 +02:00
7675f0e250 add grouping and fix localization of trans. string in ActivityReason
the label of activity type is now handled by translatableStringHelper.

Reasons are also grouped by categories.

This is thanks to PR https://github.com/symfony/symfony/pull/14050
2015-07-06 00:57:53 +02:00
Marc Ducobu
7e688d8573 Merge branch 'master' of git://github.com/Chill-project/Activity 2015-07-06 00:27:44 +02:00
Marc Ducobu
e1eeb1bdab Adding activity fixtures 2015-07-06 00:27:16 +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
7f367a857e layout of show and list
- remove attendee from list
- multiple case in show + layout
2015-07-05 23:45:49 +02:00
943032a918 layout of time widget 2015-07-05 23:23:29 +02:00
f7ab4824db add translation in update form 2015-07-05 11:48:53 +02:00
afdac5390d add translations
I rewrote some messages to be more consistent and avoid multiplication
of messages
2015-07-05 11:46:42 +02:00
Marc Ducobu
bc2b89db03 updating edit template 2015-07-05 11:45:15 +02:00
Marc Ducobu
a4e3089150 Debuging updating form 2015-07-05 11:42:33 +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
9927be9e2f forget parameters.yml 2015-07-05 11:20:43 +02:00
Marc Ducobu
a637d8ad21 updating the activity show 2015-07-05 11:20:21 +02:00
Marc Ducobu
d937b80038 Error in label : report -> activity 2015-07-05 11:19:48 +02:00
Marc Ducobu
2c9cddcecc Better list of activities 2015-07-05 11:07:32 +02:00
Marc Ducobu
33461d90ce Good format for date & durationTIme 2015-07-05 10:41:26 +02:00
Marc Ducobu
40a99a521e Good format for duration time 2015-07-05 10:35:54 +02:00
Marc Ducobu
4788a2dc53 Fixing file name error : LoadReportACL -> LoadActivitytACL 2015-07-05 10:29:09 +02:00
Marc Ducobu
7d4f865f10 remark & attendee can be null 2015-07-04 21:23:19 +02:00
Marc Ducobu
5af14b2307 time type for durationTime in form 2015-07-04 21:22:56 +02:00
Marc Ducobu
e65f78ab31 Debug : enable creation of an acitivy 2015-07-04 20:38:13 +02:00
2f1386c230 set activity show inside chillpersonbundle layout 2015-07-03 22:36:14 +02:00
402ce86330 improve activity controller & rendering 2015-07-03 22:33:29 +02:00