Merge branch 'stage' of github.com:whitef0x0/tellform into stage
This commit is contained in:
commit
7196bf26f3
@ -4,11 +4,18 @@ node_js:
|
||||
- "5.0.0"
|
||||
- "4.0.0"
|
||||
env:
|
||||
- NODE_ENV=travis
|
||||
- NODE_ENV=travis TRAVIS=travis CXX=g++-4.8
|
||||
services:
|
||||
- mongodb
|
||||
- redis
|
||||
addons:
|
||||
code_climate:
|
||||
repo_token: 6c3a1b81a09b2338d6f30913c1bcad115026689752cbb499a0a25061cda6fbcf
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- gcc-4.8
|
||||
- g++-4.8
|
||||
after_script:
|
||||
- grunt coverage
|
||||
|
||||
@ -12,7 +12,7 @@ module.exports = function (app, db) {
|
||||
|
||||
var io = socketio(config.socketPort, { transports: ['websocket', 'polling'] });
|
||||
var redis = require('socket.io-redis');
|
||||
io.adapter(redis({ host: '127.0.0.1', port: 6379 }));
|
||||
io.adapter(redis(process.env.REDIS_HOST || { host: '127.0.0.1', port: 6379 }));
|
||||
|
||||
// Add an event listener to the 'connection' event
|
||||
io.on('connection', function (socket) {
|
||||
|
||||
@ -7,6 +7,9 @@ services:
|
||||
- "27017:27017"
|
||||
volumes:
|
||||
- mongo-data-wt:/data/db
|
||||
redis:
|
||||
image: redis
|
||||
|
||||
web:
|
||||
build: .
|
||||
volumes:
|
||||
@ -17,8 +20,10 @@ services:
|
||||
- "35729:35729"
|
||||
links:
|
||||
- db
|
||||
- redis
|
||||
environment:
|
||||
DB_HOST: db
|
||||
REDIS_HOST: redis
|
||||
volumes:
|
||||
mongo-data-wt:
|
||||
driver: local
|
||||
|
||||
@ -19,12 +19,13 @@
|
||||
"scripts": {
|
||||
"start": "grunt",
|
||||
"test": "grunt test && grunt coveralls",
|
||||
"setup": "node scripts/setup.js;",
|
||||
"postinstall": "bower install --config.interactive=false; grunt build;"
|
||||
"postinstall": "bower install --config.interactive=false; grunt build;",
|
||||
"init": "node scripts/setup.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"async": "^1.4.2",
|
||||
"aws-sdk": "^2.3.9",
|
||||
"bcrypt": "^0.8.7",
|
||||
"body-parser": "~1.14.1",
|
||||
"bower": "~1.6.5",
|
||||
"chalk": "^1.1.3",
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
ng-disabled="field.disabled"
|
||||
ng-change="$root.nextField()"/>
|
||||
|
||||
<span ng-bind="option.option_value"></span>
|
||||
<span ng-bind="option.option_value" style="white-space: normal;"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -27,10 +27,10 @@ angular.module('users').config(['$translateProvider', function ($translateProvid
|
||||
SAVE_PASSWORD_BTN: 'Save Password',
|
||||
|
||||
SUCCESS_HEADER: 'Signup Successful',
|
||||
SUCCESS_TEXT: 'You\'ve successfully registered an account at TellForm.',
|
||||
SUCCESS_TEXT: 'You’ve successfully registered an account at TellForm.',
|
||||
VERIFICATION_EMAIL_SENT: 'A verification email has been sent to',
|
||||
NOT_ACTIVATED_YET: 'But your account is not activated yet',
|
||||
BEFORE_YOU_CONTINUE: 'Before you continue, make sure to check your email for our verification. If you don\'t receive it within 24h drop us a line at ',
|
||||
BEFORE_YOU_CONTINUE: 'Before you continue, make sure to check your email for our verification. If you don’t receive it within 24h drop us a line at ',
|
||||
CHECK_YOUR_EMAIL: 'Check your email and click on the activation link to activate your account. If you have any questions drop us a line at',
|
||||
|
||||
PASSWORD_RESTORE_HEADER: 'Restore your password',
|
||||
|
||||
@ -3,49 +3,49 @@
|
||||
angular.module('users').config(['$translateProvider', function ($translateProvider) {
|
||||
|
||||
$translateProvider.translations('en', {
|
||||
ACCESS_DENIED_TEXT: 'Vouz est pas autorisé pour accese cete page.',
|
||||
USERNAME_LABEL: 'Nom de Compte',
|
||||
PASSWORD_LABEL: 'Mot de Pass',
|
||||
CURRENT_PASSWORD_LABEL: 'Current Password',
|
||||
NEW_PASSWORD_LABEL: 'Nouveau Mot de Pass Password',
|
||||
VERIFY_PASSWORD_LABEL: 'Verify Password',
|
||||
UPDATE_PASSWORD_LABEL: 'Update Password',
|
||||
FIRST_NAME_LABEL: 'Premiere Nom Name',
|
||||
LAST_NAME_LABEL: 'Surnom',
|
||||
LANGUAGE_LABEL: 'Language',
|
||||
ACCESS_DENIED_TEXT: 'Vouz n’êtes pas autorisé à accéder à cette page.',
|
||||
USERNAME_LABEL: 'Nom d’utilisateur',
|
||||
PASSWORD_LABEL: 'Mot de Passe',
|
||||
CURRENT_PASSWORD_LABEL: 'Mot de passe actuel',
|
||||
NEW_PASSWORD_LABEL: 'Nouveau Mot de Passe',
|
||||
VERIFY_PASSWORD_LABEL: 'Vérifier le mot de passe',
|
||||
UPDATE_PASSWORD_LABEL: 'Mettre à jour le mot de passe',
|
||||
FIRST_NAME_LABEL: 'Prénom',
|
||||
LAST_NAME_LABEL: 'Nom',
|
||||
LANGUAGE_LABEL: 'Langue',
|
||||
EMAIL_LABEL: 'Email',
|
||||
|
||||
UPDATE_PROFILE_BTN: 'Modifier Profile',
|
||||
PROFILE_SAVE_SUCCESS: 'Profile saved successfully',
|
||||
PROFILE_SAVE_ERROR: 'Erreur: On peux pas enregistré votre Profile.',
|
||||
UPDATE_PROFILE_BTN: 'Modifier le Profil',
|
||||
PROFILE_SAVE_SUCCESS: 'Profil enregistré avec succès',
|
||||
PROFILE_SAVE_ERROR: 'Erreur: impossible d’enregistrer votre Profile.',
|
||||
|
||||
FORGOT_PASSWORD_LINK: 'Oublier votre mot de pass?',
|
||||
REVERIFY_ACCOUNT_LINK: 'Re-envoyez ton email de verification',
|
||||
FORGOT_PASSWORD_LINK: 'Mot de passe oublié ?',
|
||||
REVERIFY_ACCOUNT_LINK: 'Re-envoyez un email de vérification',
|
||||
|
||||
SIGNIN_BTN: 'Connexion',
|
||||
SIGNUP_BTN: 'Créer un compte',
|
||||
SAVE_PASSWORD_BTN: 'Enregistreé ton nouveau Mot de Pass',
|
||||
SAVE_PASSWORD_BTN: 'Enregistrer votre nouveau Mot de Passe',
|
||||
|
||||
SUCCESS_HEADER: 'Votre Compte a été enregistré!',
|
||||
SUCCESS_TEXT: 'Vouz a enregistré un compte a TellForm.',
|
||||
VERIFICATION_EMAIL_SENT: 'Un email de verification a été envoyer a',
|
||||
SUCCESS_HEADER: 'Votre Compte a été enregistré !',
|
||||
SUCCESS_TEXT: 'Votre compte Tellform a été crée avec succès.',
|
||||
VERIFICATION_EMAIL_SENT: 'Un email de verification a été envoyer à',
|
||||
NOT_ACTIVATED_YET: 'Mais votre compte n\'est pas activé',
|
||||
BEFORE_YOU_CONTINUE: 'Plutôt que vouz continué, vouz devrez voire ton inbox pour notre message de verification. Si tu receivoir-pas un message de verification dan le prochaine 24h, contactez nous a ',
|
||||
CHECK_YOUR_EMAIL: 'Check your email and click on the activation link to activate your account. If you have any questions drop us a line at',
|
||||
BEFORE_YOU_CONTINUE: 'Avant de continuer, vous devez valider votre adresse mail. Merci de vérifier votre boite mail. Si vous ne l’avez pas reçu dans les prochaines 24h, contactez-nous a ',
|
||||
CHECK_YOUR_EMAIL: 'Vérifiez vos emails, et cliquez sur le lien de validation pour activer votre compte. Si vous avez une question contactez-nous à',
|
||||
|
||||
PASSWORD_RESTORE_HEADER: 'Restore your password',
|
||||
ENTER_YOUR_EMAIL: 'Entrer votre email de compte',
|
||||
PASSWORD_RESTORE_HEADER: 'Mot de passe perdu',
|
||||
ENTER_YOUR_EMAIL: 'Entrer votre email',
|
||||
SUBMIT_BTN: 'Enregistrer',
|
||||
|
||||
ASK_FOR_NEW_PASSWORD: 'Demander un nouveau mot de pass ',
|
||||
PASSWORD_RESET_INVALID: 'Password reset is invalid',
|
||||
PASSWORD_RESET_SUCCESS: 'Passport successfully reset',
|
||||
PASSWORD_CHANGE_SUCCESS: 'Passport successfully changed',
|
||||
PASSWORD_RESET_INVALID: 'Le nouveau mot de passe est invalid',
|
||||
PASSWORD_RESET_SUCCESS: 'Mot de passe réinitialisé avec succès',
|
||||
PASSWORD_CHANGE_SUCCESS: 'Mot de passe enregistré avec succès',
|
||||
|
||||
CONTINUE_TO_LOGIN: 'Allez au page de connexion',
|
||||
CONTINUE_TO_LOGIN: 'Allez à la page de connexion',
|
||||
|
||||
VERIFY_SUCCESS: 'Compte est activé!',
|
||||
VERIFY_ERROR: 'Le fléche de verification est invalid ou expireé'
|
||||
VERIFY_SUCCESS: 'Votre compte est activé !',
|
||||
VERIFY_ERROR: 'Le lien de vérification est invalide ou à expiré'
|
||||
});
|
||||
|
||||
}]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user