290 Commits

Author SHA1 Message Date
Marc Ducobu
6e59b8e724 Refactoriing 2015-03-06 13:10:04 +01:00
Marc Ducobu
b85f3e396c Refactoring : removing useless line return 2015-03-05 19:19:22 +01:00
Marc Ducobu
0051a73a26 Good test doc + more effective test 2015-03-05 19:18:24 +01:00
Marc Ducobu
821454493b Refactoring : adding doc + date in DateTime constructor 2015-03-05 19:09:32 +01:00
Marc Ducobu
d12f5ee77f Improving license header 2015-03-05 18:12:31 +01:00
Marc Ducobu
3d35944613 Refactoring : resolving netbeans warnings 2015-03-05 18:00:07 +01:00
Marc Ducobu
2dc2479304 Adding documentation 2015-03-05 17:55:47 +01:00
008cb5b216 fix refreshing person problem
the entity "person" wasn't managed any more by the ORM, for an unknow reason.
2015-03-05 15:45:26 +01:00
e2e89d433f add test for timeline/accompnying period 2015-02-27 17:42:01 +01:00
Marc Ducobu
3e6c929150 Improving CSV genertion 2015-02-26 19:03:14 +01:00
Marc Ducobu
caffa5b30f Better test 2015-02-26 18:55:21 +01:00
Marc Ducobu
dcd951b90a License improving 2015-02-26 12:09:17 +01:00
4585980ca8 fix copyright statement 2015-02-22 21:50:13 +01:00
f060a6dcf4 FIX person cf in csv 2015-02-20 11:19:22 +01:00
Marc Ducobu
b8bc875513 Adding Test for person export 2015-02-19 15:20:06 +01:00
Marc Ducobu
8624b4dff3 Removing useless space 2015-02-19 15:19:44 +01:00
Marc Ducobu
a2dafa01dc Adding license 2015-02-19 11:31:01 +01:00
Marc Ducobu
6791041c28 Adding csv_cell twig filter 2015-02-18 16:26:12 +01:00
Marc Ducobu
abf9ebfc8a Merge branch 'master' of git://github.com/Chill-project/Person
Conflicts:
	Resources/config/routing.yml
2015-02-18 15:51:00 +01:00
Marc Ducobu
a7b807514b First version of export person - 'rfs #400 2015-02-18 15:47:27 +01:00
866d119feb Implements timeline
refs #224

Squashed commit of the following:

commit fb46cea3858036a932b8c6ff1354f4b0d9f166fb
Merge: d881b3d 0f4e285
Author: Julien Fastré <julien@fastre.info>
Date:   Wed Feb 18 00:14:38 2015 +0100

    Merge branch 'master' of git://github.com/Chill-project/Person into timeline

commit d881b3d69a53b2502f16d98d9d1809ead17fd77e
Author: Julien Fastré <julien@fastre.info>
Date:   Wed Feb 18 00:12:04 2015 +0100

    add closing period to timeline

    refs #224

commit 6363e59213f5cddded4e0678454e98929f885d39
Author: Julien Fastré <julien@fastre.info>
Date:   Wed Feb 18 00:08:09 2015 +0100

    refactor timeline #224

commit bd2e1b1808f73e39532e9538413025df5487cad0
Author: Julien Fastré <julien@fastre.info>
Date:   Wed Feb 11 00:39:05 2015 +0100

    implementing timeline for opening history file

    refs #224

    Some parts (method TimelineProviderInterface::getEntities, ...) are different from
    the design described in #224 and must be discussed
2015-02-18 00:16:02 +01:00
Marc Ducobu
0f4e285bd7 Renaming history -> accompanying_period in db 2015-02-12 19:02:22 +01:00
Marc Ducobu
e4b21bc611 Updating messages : history -> accompanying period + removing unused messages 2015-02-12 17:35:58 +01:00
Marc Ducobu
ef6fb61d4d Renaming private varialbes of Entity/Person : history -> accompanyingPeriods, proxyHistoryOpenState -> proxyAccompanyingPeriodOpenState 2015-02-12 17:21:10 +01:00
Marc Ducobu
1071d5ff62 Removing unused message 2015-02-12 16:41:02 +01:00
Marc Ducobu
0157c3c9ba Changing comments : history -> accompanying period 2015-02-12 16:40:38 +01:00
Marc Ducobu
fe825e4979 Updating violation message 2015-02-12 16:33:25 +01:00
Marc Ducobu
a7c5f464b2 Changing validation group : history_consistent -> accompanying_period_consistent 2015-02-12 16:24:50 +01:00
Marc Ducobu
94109db4cf PersonHistoryFile -> AccompanyingPeriod - refs #275 - tests ok 2015-02-06 17:43:48 +01:00
Marc Ducobu
9ea23987a3 PersonHistoryFile -> AccompanyingPeriod - refs #275 - debug 2015-02-06 14:38:29 +01:00
Marc Ducobu
090f91e19a resolving conflict 2015-02-06 11:26:09 +01:00
Marc Ducobu
8d5d2189f1 PersonHistoryFile -> AccompanyingPeriod - refs #275 2015-02-06 11:19:36 +01:00
9fadc5d9c5 passing last value on closing motive by reference
refs #411
2015-02-05 14:35:22 +01:00
69042c683f add tests for closing/opening accompanying periods
refs #274

check :

- closing the current period works
- closing a period with date closing AFTER the opening fails
- creating a new period works
- create a period with closing after current (opened) period fails => fails see refs #410
- create a period with opening and closing after current (opened) period fails => fails see refs #410
- create a period with end date between another fails
- create a period with end date after opening date fails
- create a period between another period (date closing and date opening) fails
- create a period with date opening inside another period fails
2015-02-03 15:22:38 +01:00
7ebaafe768 create first tests for accompanying period manipulation
[ci skip]
2015-02-03 10:03:36 +01:00
aa8d211e55 add test for choose languages
fix #409
2015-01-30 18:14:27 +01:00
72182a8c77 move utilities at the end of the file 2015-01-30 18:02:09 +01:00
d554407dce fix validation on person update
close #408
2015-01-29 22:02:02 +01:00
0a1ff9e141 complete tests for person edition
close #405

add a test on false date, but this made the validation fail.
2015-01-29 18:42:42 +01:00
bf1eb51873 add composer auth to travis
this should remove 'could not download package from source' message
2015-01-29 18:35:57 +01:00
d6822520d2 add doctrine migration to CI from person bundle
refs #402
2015-01-29 16:54:25 +01:00
5bd4e9ff1a add composer bundle migration 2015-01-29 16:41:23 +01:00
14ca56ce25 fix config to test app 2015-01-28 20:52:56 +01:00
5992977a3e test person's edit form
update the controller to get the validation
2015-01-27 22:17:39 +01:00
58d05123bb disable sudo in travis build to speed up CI
see http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
2015-01-23 12:28:48 +01:00
b26069243f fix date format to long in create_review 2015-01-23 12:28:03 +01:00
2c22d45e2f load chill routes using route loader in tests 2015-01-23 11:57:11 +01:00
98c3a23c65 Use localizeddate to format date
refs #272
2015-01-23 11:38:09 +01:00
e9be284c03 loads routes automatically
move routes to config.yml, loaded by prepending configuration
refs #273
2015-01-22 17:36:49 +01:00
6c515342d7 fix joinColumn definition bug in Person
Due to bug http://www.doctrine-project.org/jira/browse/DDC-2742 (?), the relation between person and spoken_languages was broken. We configure the relation explicitly (providing joincolumns) to avoid this bug.
2015-01-22 09:47:32 +01:00