9528 Commits

Author SHA1 Message Date
722709c432 check config of available language
check that the configuration is consistent with fallback locale : the fallback locale must be comprised in chill_main.available_languages.

+tests

refs #332
2015-02-05 16:15:15 +01:00
904fb633ff adding Resources/public/stylesheets/sass/ to gitignore 2015-02-05 16:14:53 +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
9a7b2e68b9 remove sudo to faster builds in travis ci 2015-01-30 18:31:08 +01:00
6c4851134d Add migrations to custom field travis build
refs #402
2015-01-30 18:29:59 +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
042e0e4703 add load languages
+ fix order in load countries
2015-01-30 18:00:31 +01:00
c986c2e361 adapt new web app path to phpunit.xml.dist 2015-01-30 16:11:29 +01:00
3d5217345b adapt console path for web assets install 2015-01-30 16:06:51 +01:00
17f2ecd24e adapt travis installation command to new web app path 2015-01-30 16:04:28 +01:00
962dba1bc5 add doctrine migration to CI
refs #402
move webapp directory to App/app, for being consistent with person bundle
2015-01-30 15:57:24 +01:00
Marc Ducobu
31f76d1339 updating js call - close #391 2015-01-30 12:28:06 +01:00
Marc Ducobu
f0d2ac8091 js code for display an alert message when leaving a page containing an unsubmitted form - refs #391 2015-01-30 12:26:51 +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
Marc Ducobu
39f186b4a6 More details about sphinx installation 2015-01-27 17:01:08 +01:00
Marc Ducobu
2b965bafdf Merge branch 'master' of github.com:Chill-project/Documentation 2015-01-27 16:44:44 +01:00
Marc Ducobu
317acfa1a5 Revisioning 2015-01-27 16:44:38 +01:00
Marc Ducobu
fdf6ac0bbf Debug When leaving a report form page without modification, warning pop up is shown - refs #391 2015-01-27 16:33:14 +01:00
Marc Ducobu
281d532a20 Js code for solving #391 - refs #391 2015-01-27 16:31:53 +01:00
Marc Ducobu
4c0ea2c3ff Improving gruntfile 2015-01-27 15:52:01 +01:00
Marc Ducobu
9677e42c2d renaming main.js -> chill.js 2015-01-27 15:51:43 +01:00
Marc Ducobu
c29d17ff4f Reorganizing public folder 2015-01-27 15:39:03 +01:00
a327f581c5 complete test for reports lifecycle
close #289
typo in messages.fr.yml
add validation file for reports
2015-01-24 23:08:23 +01:00
74bf42e350 documentation for locale in url
close #288
2015-01-23 15:19:14 +01:00
458a2e71a5 add doc for date localisation
Introduce the twig Intl extension and make ref to the doc.

refs #272
2015-01-23 15:01:47 +01:00
8e3ada1631 disable sudo for speeding-up travis CI
see http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
2015-01-23 14:47:13 +01:00
1442842e6a remove date format from twig config
date format is now handled by twig extension 'intl'

refs #272
2015-01-23 14:46:04 +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
e8be896be8 allow docker build to speedup travis
see http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
2015-01-23 12:10:24 +01:00
1431580d1f load routes from chill loader in tests 2015-01-23 12:07:44 +01:00
a767a67db7 localize date in report bundles: switch to twig intl extension
refs #272

refs #
Task #272 - Find a way to deal with date format automatically
2015-01-23 12:02:31 +01:00
2c22d45e2f load chill routes using route loader in tests 2015-01-23 11:57:11 +01:00
5f117ffa4a enable twig intl extension
This extension allow bundles to format date and number according to localization.

We would like to use this to format date :

``` twig

date|localizeddate('medium', none)

```

refs #272
[documentation of the extension](http://twig.sensiolabs.org/doc/extensions/intl.html)
2015-01-23 11:38:54 +01:00
98c3a23c65 Use localizeddate to format date
refs #272
2015-01-23 11:38:09 +01:00
57e4bc924c load routes from chill routes loaders
add routes to config by prepending configuration
refs #273
2015-01-22 17:38:43 +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
ab36443943 documentation for routing
refs #273
2015-01-22 17:35:37 +01:00
9e8374bef7 define route in chill_main configuration
refs #273
2015-01-22 17:19:24 +01:00
8f457e0a63 loads route automatically
route must now be indicated in config.yml under chill_main.routing.resources.

Other bundle may add routes prepending configuration
2015-01-22 17:05:21 +01:00
0d3f48ef32 remove reference to delete entity - clean code
refs #259
2015-01-22 10:26:43 +01:00