parent
43740839eb
commit
1e4e917945
@ -1,3 +1,3 @@ |
||||
services: |
||||
phpcsfixer: true |
||||
yamllint: true |
||||
yamllint: true |
||||
|
@ -1,6 +0,0 @@ |
||||
language: node_js |
||||
node_js: |
||||
- 0.8 |
||||
before_script: |
||||
- npm install grunt |
||||
script: grunt travis --verbose |
@ -1,22 +0,0 @@ |
||||
language: node_js |
||||
|
||||
sudo: false |
||||
|
||||
node_js: |
||||
- 0.10 |
||||
|
||||
env: |
||||
global: |
||||
- secure: XMNK8GVxkwKa6oLl7nJwgg/wmY1YDk5rrMd+UXz26EDCsMDbiy1P7GhN2fEiBSLaQ7YfEuvaDcmzQxTrT0YTHp1PDzb2o9J4tIDdEkqPcv1y8xMaYDfmsN0rBPdBwZEg9H5zUgi7OdUbrGswSYxsKCE3x8EOqK89104HyOo1LN4= |
||||
- secure: BU5BPRx6H4O3WJ509YPixjUxg+hDF3z2BVJX6NiGmKWweqvCEYFfiiHLwDEgp/ynRcF9vGVi1V4Ly1jq7f8NIajbDZ5q443XchZFYFg78K/EwD5mK6LYt16zb7+Jn0KbzwHeGRGzc9AvcEYlW6i634cSCm4n3BnqtF5PpogSzdw= |
||||
|
||||
script: |
||||
- grunt ci |
||||
|
||||
notifications: |
||||
email: false |
||||
irc: |
||||
channels: |
||||
- "chat.freenode.net#select2" |
||||
on_success: change |
||||
on_failure: always |
@ -1,34 +0,0 @@ |
||||
sudo: false |
||||
language: node_js |
||||
node_js: |
||||
- 6 |
||||
addons: |
||||
apt: |
||||
sources: |
||||
- ubuntu-toolchain-r-test |
||||
packages: |
||||
- g++-4.8 |
||||
cache: |
||||
directories: |
||||
- node_modules |
||||
|
||||
env: |
||||
global: |
||||
- CXX=g++-4.8 |
||||
matrix: |
||||
- BROWSER=chrome BVER=stable |
||||
|
||||
before_script: |
||||
- ./node_modules/travis-multirunner/setup.sh |
||||
- export DISPLAY=:99.0 |
||||
- sh -e /etc/init.d/xvfb start |
||||
|
||||
script: |
||||
- npm run test-travis |
||||
|
||||
after_failure: |
||||
- for file in *.log; do echo $file; echo "======================"; cat $file; done || true |
||||
|
||||
notifications: |
||||
email: |
||||
- |
@ -1,8 +1,8 @@ |
||||
services: |
||||
SensioLabs\Security\SecurityChecker: |
||||
public: false |
||||
|
||||
SensioLabs\Security\Command\SecurityCheckerCommand: |
||||
arguments: ['@SensioLabs\Security\SecurityChecker'] |
||||
tags: |
||||
- { name: console.command } |
||||
SensioLabs\Security\SecurityChecker: |
||||
public: false |
||||
SensioLabs\Security\Command\SecurityCheckerCommand: |
||||
arguments: |
||||
- '@SensioLabs\Security\SecurityChecker' |
||||
tags: |
||||
- { name: console.command } |
||||
|
@ -1,6 +1,6 @@ |
||||
web_profiler: |
||||
toolbar: true |
||||
intercept_redirects: true |
||||
|
||||
toolbar: true |
||||
intercept_redirects: true |
||||
framework: |
||||
profiler: { only_exceptions: false } |
||||
profiler: |
||||
only_exceptions: false |
||||
|
@ -1,12 +1,12 @@ |
||||
fos_rest: |
||||
param_fetcher_listener: true |
||||
body_listener: true |
||||
format_listener: true |
||||
view: |
||||
view_response_listener: 'force' |
||||
body_converter: |
||||
enabled: false |
||||
validate: true |
||||
exception: |
||||
messages: |
||||
'Symfony\Component\HttpKernel\Exception\NotFoundHttpException': true |
||||
param_fetcher_listener: true |
||||
body_listener: true |
||||
format_listener: true |
||||
view: |
||||
view_response_listener: force |
||||
body_converter: |
||||
enabled: false |
||||
validate: true |
||||
exception: |
||||
messages: |
||||
'Symfony\Component\HttpKernel\Exception\NotFoundHttpException': true |
||||
|
@ -1,41 +1,40 @@ |
||||
hwi_oauth: |
||||
connect: |
||||
account_connector: chamilo_user_provider |
||||
firewall_names: [admin] |
||||
resource_owners: |
||||
github: |
||||
type: github |
||||
client_id: <client_id> |
||||
client_secret: <client_secret> |
||||
facebook: |
||||
type: facebook |
||||
client_id: <client_id> |
||||
client_secret: <client_secret> |
||||
google: |
||||
type: google |
||||
client_id: <client_id> |
||||
client_secret: <client_secret> |
||||
scope: "email profile" |
||||
my_custom_oauth2: |
||||
type: oauth2 |
||||
client_id: <client_id> |
||||
client_secret: <client_secret> |
||||
access_token_url: https://path.to/oauth/v2/token |
||||
authorization_url: https://path.to/oauth/v2/authorize |
||||
infos_url: https://path.to/api/user |
||||
scope: "user_details" |
||||
user_response_class: HWI\Bundle\OAuthBundle\OAuth\Response\PathUserResponse |
||||
paths: |
||||
identifier: id |
||||
nickname: username |
||||
realname: fullname |
||||
fosub: |
||||
# try 30 times to check if a username is available (foo, foo1, foo2 etc) |
||||
username_iterations: 30 |
||||
connect: |
||||
account_connector: chamilo_user_provider |
||||
firewall_names: |
||||
- admin |
||||
resource_owners: |
||||
github: |
||||
type: github |
||||
client_id: '<client_id>' |
||||
client_secret: '<client_secret>' |
||||
facebook: |
||||
type: facebook |
||||
client_id: '<client_id>' |
||||
client_secret: '<client_secret>' |
||||
google: |
||||
type: google |
||||
client_id: '<client_id>' |
||||
client_secret: '<client_secret>' |
||||
scope: 'email profile' |
||||
my_custom_oauth2: |
||||
type: oauth2 |
||||
client_id: '<client_id>' |
||||
client_secret: '<client_secret>' |
||||
access_token_url: 'https://path.to/oauth/v2/token' |
||||
authorization_url: 'https://path.to/oauth/v2/authorize' |
||||
infos_url: 'https://path.to/api/user' |
||||
scope: user_details |
||||
user_response_class: HWI\Bundle\OAuthBundle\OAuth\Response\PathUserResponse |
||||
paths: { identifier: id, nickname: username, realname: fullname } |
||||
|
||||
# mapping between resource owners (see below) and properties |
||||
properties: |
||||
github: githubId |
||||
google: googleId |
||||
facebook: facebookId |
||||
my_custom_provider: customId |
||||
fosub: |
||||
# try 30 times to check if a username is available (foo, foo1, foo2 etc) |
||||
username_iterations: 30 |
||||
|
||||
# mapping between resource owners (see below) and properties |
||||
properties: |
||||
github: githubId |
||||
google: googleId |
||||
facebook: facebookId |
||||
my_custom_provider: customId |
||||
|
@ -1,8 +1,6 @@ |
||||
services: |
||||
chamilo_user_provider: |
||||
class: Chamilo\UserBundle\Security\FOSUBUserProvider |
||||
#this is the place where the properties are passed to the UserProvider - see config.yml |
||||
arguments: [ |
||||
'@sonata.user.orm.user_manager', |
||||
{facebook: facebookId, google: googleId, github: githubId} |
||||
] |
||||
chamilo_user_provider: |
||||
class: Chamilo\UserBundle\Security\FOSUBUserProvider |
||||
arguments: |
||||
- '@sonata.user.orm.user_manager' |
||||
- { facebook: facebookId, google: googleId, github: githubId } |
||||
|
Loading…
Reference in new issue