1503 Commits

Author SHA1 Message Date
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
77b59958ec Adding license 2015-07-02 11:33:35 +02:00
Marc Ducobu
5bd8b22569 Activity Reasons, Activity Reasons Category, Activity Types in Translatable strings 2015-07-02 11:33:16 +02:00
Marc Ducobu
e9fdfb341d Adding composer.lock in .gitignore 2015-07-02 10:55:08 +02:00
Marc Ducobu
f4fb039289 Adding route into the admin menu 2015-07-01 18:26:38 +02:00
Marc Ducobu
b430ac30b0 Adding admin template 2015-07-01 18:22:06 +02:00
Marc Ducobu
b07c6ee6fb Removing default view 2015-07-01 18:21:31 +02:00
Marc Ducobu
c2a36ef928 Renaming route + in admin 2015-07-01 18:12:25 +02:00
Marc Ducobu
6d53ab6cb7 loading activity routes automaticaly 2015-07-01 16:34:03 +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
5bc7bdab2d Initialisation of the bundle 2015-07-01 09:53:36 +02:00
Marc Ducobu
5c4cfc45e6 Improving composer.json 2015-06-30 22:48:16 +02:00
Marc Ducobu
4dd1efa57f Generation of composer.json 2015-06-30 22:16:43 +02:00
Marc Ducobu
452f3fba86 skeleton of the bundle 2015-06-30 22:07:55 +02:00
Ducobu Marc
221698d102 Initial commit 2015-06-30 22:01:35 +02:00
Marc Ducobu
135691f0fc Improving menu integration 2015-06-30 21:43:31 +02:00
Marc Ducobu
cd9cfa86a3 Add css files 2015-06-30 15:11:06 +02:00
Marc Ducobu
f9af542c59 Merge branch 'master' of git://github.com/Chill-project/Main 2015-06-30 15:08:21 +02:00
Marc Ducobu
54430f8714 Better section menu 2015-06-30 15:08:10 +02:00
add762e9f5 set chill deps to master branch 2015-06-30 14:46:01 +02:00
408c774e53 move to symfony 2.7 + implements acl
merge of branch add_acl

Squashed commit of the following:

commit b112df16e568ad4a305e290b4cca9eb696bcf5d7
Merge: f8c44ca 11324cb
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Tue Jun 30 09:59:03 2015 +0200

    Merge remote-tracking branch 'origin/master' into add_acl

commit f8c44ca20b5a53fb18da00ab265d626dd8c770b2
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 5 22:47:50 2015 +0200

    fix Form signature to match abstractForm

    OptionsResolverInterface => OptionsResolver

commit 586155ecfa85240d683aa8bd37493e948f89cd67
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 5 22:47:25 2015 +0200

    remove deprecation warnings from phpunit

commit 6ada3ddef336b958a886215fcdb040a29f5a411f
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 5 22:30:30 2015 +0200

    replace deprecated setDefaultOptions

    setdefaultsOptions => configureOptions

commit 28b0e258d52b08ecd3799e19b15bd4b1f1e58f83
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 5 11:20:30 2015 +0200

    fix twig.form.resources deprecations

commit cb09035c8f0eb74192f7e3e68c93c6378f158f2f
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 5 10:58:19 2015 +0200

    switch to symfony 2.7 [ci skip]
2015-06-30 14:43:27 +02:00
8ac41a15b6 Merge branch add_acl ref #263
Squashed commit of the following:

commit e1236655e1514fd207818aeb57789eca0d949453
Merge: c0b349b fb15bd3
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Tue Jun 30 09:51:35 2015 +0200

    Merge remote-tracking branch 'origin/master' into add_acl

    In order to prepare merging of add_acl to master

    Conflicts:
    	composer.json

commit c0b349bb5f31fe79c84f82d4dd6658c9e90ef728
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Tue Jun 30 00:40:13 2015 +0200

    fix infos in composer.json

    [ci skip]

commit 106bbf56a5060efd2a89232f278692eeb57e3092
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Jun 29 22:58:48 2015 +0200

    add username and password to client auth options

    [ci skip]

commit c4990972711850616aa1426394884223d63b504f
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Jun 29 22:22:20 2015 +0200

    fix quoting in timelinebuilder

commit 1db7cbea5a0fb0e8d396f8c9d8dc01240b47e96f
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Thu Jun 25 22:43:46 2015 +0200

    remove data_class to allow edit form

commit 7c999279310b5e2b9ecef8a9b5001c71910a822d
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Wed Jun 24 22:33:42 2015 +0200

    fix doc for AppendScopeChoiceTypeTrait

commit 839d4c43bf6f463e705b47d5dbc0cdf7853db0b6
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Wed Jun 24 22:30:13 2015 +0200

    refactor: move scope field to a trait

    Example usage :

      ```
      class AbcType extends Symfony\Component\Form\AbstractType
      {
          use AppendScopeChoiceTypeTrait;
          protected $authorizationHelper;
          protected $translatableStringHelper;
          protected $user;

          public function __construct(AuthorizationHelper $helper,
            TokenStorageInterface $tokenStorage,
            TranslatableStringHelper $translatableStringHelper)
          {
              $this->authorizationHelper = $helper;
              $this->user = $tokenStorage->getToken()->getUser();
              $this->translatableStringHelper = $translatableStringHelper;
          }

          public function buildForm(FormBuilder $builder, array $options)
          {
                // ... add your form there

              // append the scope using FormEvents: PRE_SET_DATA
              $this->appendScopeChoices($builder, $options['role'],
                   $options['center'], $this->user,
                   $this->authorizationHelper,
                   $this->translatableStringHelper);
           }

           public function configureOptions(OptionsResolver $resolver)
           {
                   // ... add your options

              // add an option 'role' and 'center' to your form (optional)
              $this->appendScopeChoicesOptions($resolver);
           }

       }
      ```

    [ci skip]

commit a1ac530f343146eee12b5982e4e6fceb6dc1da66
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Wed Jun 24 00:24:30 2015 +0200

    remove unused statements

commit 74f0a4ce5dfdfa4f8fc39ce1cfe726d945e9bdec
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Wed Jun 24 00:09:47 2015 +0200

    add missing unused statement

commit b3a49f2de8758b51c57af6ff0437f30b2fdef72e
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Tue Jun 23 23:58:57 2015 +0200

    remove ScopeType strategy and fix autorization helper

commit aaa70b5eeae76b0950110f51b8274e08bef10576
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Tue Jun 23 21:35:06 2015 +0200

    create scope type

commit 8f5b2b23c9448b8c8e752e46bdd7f9f721054a98
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 19 18:13:54 2015 +0200

    add getREachableCenter method + test on Autho.Helper

commit ab2ccb8c287f9aef12912ea9b7f5dc4998209d77
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 19 17:27:22 2015 +0200

    remove debug information [ci skip]

commit 9d481c07966a5d769d1418bb366bd6b1ea9d4f76
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 19 17:24:57 2015 +0200

    fix role hierarchy

    Now we test effectively that a user has access, not that a role may grant access

commit f4b17d0ae398fd6c26d4907377761e9f15d36a90
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Thu Jun 18 02:08:55 2015 +0200

    fix trait conflicts

    traits does not share the same instance of prophet any more

commit baac8ce97ba0acd4c4fe6f03278f7a0d30da28ad
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Thu Jun 18 01:56:39 2015 +0200

    try to fix trait error in zend strict mode (used by travis)

commit 7b9fa4b14bde72c7036a29c03a0c6cca3c7e6c74
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Thu Jun 18 01:24:09 2015 +0200

    fix error on trait hierarchy (should be)

commit f8b3451089f7017653bf8d280b640356df6a1841
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Thu Jun 18 01:03:04 2015 +0200

    add userHasAccess method to AuthorizationHelper

    This method may be used in voter to check access.

    It supports both hasCenterInterface and HasScopeInterface and check all
    required permission.

commit 9ad9f624a0aa73ca2e639fd68fe4d5559da2bbd7
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Thu Jun 18 01:01:16 2015 +0200

    add utilities to generate prophesized entities

    entities
    - User (with permissions)
    - Center
    - Scope
    may be  generated by trait/methods

    This ease test writing about acl

commit 16008b9e64bb7f551319abea494db1c1c5a12b82
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 12 22:42:46 2015 +0200

    add test to CenterType

commit 55e2c64aba9714caf09df8dbc9595980826b296a
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 12 20:50:05 2015 +0200

    first implementation of test on CenterType

    [TRANSFER][ci skip]

commit 548fb24927cc470794a51d81f1ba6af52237363f
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Wed Jun 10 21:15:52 2015 +0200

    add center type

    the center type is hidden if the current user can reach only one center,
    and is `entity` type if the user can reach multiple centers

commit 024e3ef8d969d25560406864d86768a260ef4402
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Jun 8 00:28:51 2015 +0200

    add first impl of Access Model

    - first classes and interfaces
    - authorizationHelper + test
    - rewrite loadUser to have multi-center

commit bc5ae70c83c39a0a738e78313e33020fc284f456
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Sun Jun 7 22:11:13 2015 +0200

    make deprecations message not fail tests

commit ab9308ed62e45171e9d355ec033b0862b9274e07
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Sat Jun 6 10:19:19 2015 +0200

    introducting phpunit-bridge to handle deprecation warnings

commit 5b7a43c4d058af58578c30120670c5be5b11cfd8
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 5 12:49:23 2015 +0200

    fix options resolver deprecation

commit a5b4e5743f790c16dfd04e5068c5ecca9c2b1583
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 5 12:36:17 2015 +0200

    remove warning about deprecation in phpunit

commit 56621767936df1ea1293c49ae06380d7735c8d6c
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 5 11:59:50 2015 +0200

    fix pattern deprecation in routing/test

    pattern=> path

commit 17d40fc5294b245d7377572a8c918abab2484985
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 5 11:40:59 2015 +0200

    fix deprecation of pattern in routing

    pattern => path in routing

commit 6a33752c6439bd9dbc707df010ce1d8765eeb5fe
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 5 11:21:18 2015 +0200

    fix twig.form.resources deprecation

    the new key is twig.form_themes

commit adf03eb819f2d443f87d7b744f59a5adf51d2b31
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 5 10:56:51 2015 +0200

    switch to symfony 2.7 [ci-skip]
2015-06-30 14:38:08 +02:00
Marc Ducobu
1fe361a927 Search button position in menu at the good place 2015-06-30 13:48:28 +02:00
Marc Ducobu
4d5dd2a70d Footer at bottom 2015-06-30 13:27:19 +02:00
Marc Ducobu
d6f9402128 Navigation search improvement 2015-06-30 10:54:02 +02:00
Marc Ducobu
4fc2d1d0a0 Design of the user menu 2015-06-29 14:29:09 +02:00
Marc Ducobu
fb15bd336c Form style 2015-06-16 15:26:14 +02:00
Marc Ducobu
d3d572567e Debug 1193 2015-06-16 15:06:37 +02:00
Marc Ducobu
cbfe447d8b nav bar 2015-06-16 15:05:49 +02:00
Marc Ducobu
489fad38a6 Navigtion background 2015-06-16 14:00:59 +02:00
Marc Ducobu
113babe06d First version 2015-06-16 13:43:31 +02:00
Julien Fastré
11324cb834 update homepage link in composer.json
fix #1
2015-06-09 11:34:23 +02:00
Marc Ducobu
f60727fc5e MAJ Scratch + custom colors 2015-06-08 15:32:28 +02:00
Marc Ducobu
2518f13e7c Readding _custom.scss & _timeline.scss files 2015-06-08 14:15:30 +02:00
Marc Ducobu
323747dcf7 Adding custom sass into the git 2015-06-08 14:09:39 +02:00
Marc Ducobu
9f253b6862 Adding build js & css 2015-04-09 18:34:32 +02:00
Marc Ducobu
266b4163a0 Debug : do not remove chill.js by grunt 2015-04-09 16:56:58 +02:00
Julien Fastré
a0fc2d06c7 remove missing use statement
from : https://insight.sensiolabs.com/projects/8f0668d1-92b0-48ae-835d-f605926d2711/analyses/1?status=violations#239638172
2015-03-31 14:12:52 +02:00
Marc Ducobu
b1ad090e8c Adding doc to Service/CustomFieldsHelper.php 2015-03-18 14:19:59 +01:00
Marc Ducobu
3534e64d28 Adding doc to Service/CustomFieldProvider.php 2015-03-18 13:52:10 +01:00
Marc Ducobu
52aa147ed7 Code presentation refactoring + adding doc 2015-03-18 12:33:35 +01:00
Marc Ducobu
92c12963a8 Adding license 2015-03-18 12:04:47 +01:00
Marc Ducobu
cff55774a0 Adding .gitignore for Tests/Fixtures/App/DoctrineMigrations 2015-03-18 11:32:04 +01:00
Marc Ducobu
62c93a7e6b Adding synchronizeMigrations 2015-03-18 11:26:55 +01:00
Marc Ducobu
9fd51255dc Debug : installing DoctrineMigrationBundle 2015-03-18 10:30:12 +01:00
Marc Ducobu
434c51317d debug : env=test 2015-03-18 10:04:49 +01:00
Marc Ducobu
5d1ab69c07 debug : good path to console : close #402 2015-03-18 09:28:33 +01:00
Marc Ducobu
194e0b3db2 Add migrations to travis - close refs #402 2015-03-17 17:51:08 +01:00