update folder location

This commit is contained in:
Antonio Ramirez
2017-01-11 21:31:42 +01:00
parent 1cb60f0740
commit 13255a5117
167 changed files with 4770 additions and 8 deletions

View File

@ -10,9 +10,19 @@ Yii2 Usuario Extension
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/2amigos/yii2-usuario/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/2amigos/yii2-usuario/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/2amigos/yii2-usuario/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/2amigos/yii2-usuario/?branch=master)
![Yii Framework](docs/media/yii-logo.png "Yii Framework")
![User Secret](docs/media/user-secret.png "User Secret")
![Wrench](docs/media/wrench.png "Wrench")
![Cogs](docs/media/cogs.png "Cogs")
Yii 2 usuario is a highly customizable and extensible user management, RBAC management, authentication,
and authorization Yii2 module extension.
© [2amigos](http://www.2amigos.us/) 2016
It works extensively with Yii's Container making it really easy to modify anything within its core. Whether is
This module is made in order to work out of the box with the following features:
- Backend user/profile/account management
- Backend RBAC management
- Login via username/email + password process
- Login via social network process
- Password recovery process
[![2amigOS!](https://s.gravatar.com/avatar/55363394d72945ff7ed312556ec041e0?s=80)](http://www.2amigos.us)

View File

@ -62,12 +62,12 @@
},
"autoload": {
"psr-4": {
"Da\\": "./lib"
"Da\\User\\": "./src/User"
}
},
"autoload-dev": {
"psr-4": {
"Da\\": "./lib"
"Da\\User\\": "./src/User"
}
},
"extra": {

View File

@ -30,7 +30,7 @@ class RbacRuleValidator extends Validator
return [Yii::t('usuario', 'Rule class can not be instantiated'), []];
}
if ($class->isSubclassOf('\yii\rbac\Rule') == false) {
return [Yii::t('usuario', 'Rule class must extend "yii\rbac\Rule"'), []];
return [Yii::t('usuario', 'Rule class must extend "yii\\rbac\\Rule"'), []];
}
}
}

View File

@ -0,0 +1,198 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',
'A message has been sent to your email address. ' => '',
'A new confirmation link has been sent' => '',
'A password will be generated automatically if not provided' => '',
'Account' => '',
'Account confirmation' => '',
'Account details' => '',
'Account details have been updated' => '',
'Account settings' => '',
'Already registered? Sign in!' => '',
'An email has been sent with instructions for resetting your password' => '',
'An error occurred processing your request' => '',
'Are you sure you want to block this user?' => '',
'Are you sure you want to confirm this user?' => '',
'Are you sure you want to delete this user?' => '',
'Are you sure you want to unblock this user?' => '',
'Are you sure? Deleted user can not be restored' => '',
'Are you sure? There is no going back' => '',
'Assignments' => '',
'Assignments have been updated' => '',
'Auth item with such name already exists' => '',
'Authorization item successfully created.' => '',
'Authorization item successfully removed.' => '',
'Authorization item successfully updated.' => '',
'Awesome, almost there. ' => '',
'Bio' => '',
'Block' => '',
'Block status' => '',
'Blocked at {0, date, MMMM dd, YYYY HH:mm}' => '',
'Change your avatar at Gravatar.com' => '',
'Children' => '',
'Class "{0}" does not exist' => '',
'Complete password reset on {0}' => '',
'Confirm' => '',
'Confirm account on {0}' => '',
'Confirm email change on {0}' => '',
'Confirmation' => '',
'Confirmation status' => '',
'Confirmation time' => '',
'Confirmed' => '',
'Confirmed at {0, date, MMMM dd, YYYY HH:mm}' => '',
'Connect' => '',
'Continue' => '',
'Create' => '',
'Create a user account' => '',
'Create new permission' => '',
'Create new role' => '',
'Credentials will be sent to the user by email' => '',
'Current password' => '',
'Current password is not valid' => '',
'Delete' => '',
'Delete account' => '',
'Description' => '',
'Didn\'t receive confirmation message?' => '',
'Disconnect' => '',
'Don\'t have an account? Sign up!' => '',
'Email' => '',
'Email (public)' => '',
'Error occurred while changing password' => '',
'Error occurred while confirming user' => '',
'Error occurred while deleting user' => '',
'Finish' => '',
'Forgot password?' => '',
'Gravatar email' => '',
'Hello' => '',
'If you already registered, sign in and connect this account on settings page' => '',
'If you cannot click the link, please try pasting the text into your browser' => '',
'If you did not make this request you can ignore this email' => '',
'In order to complete your registration, please click the link below' => '',
'In order to complete your request, please click the link below' => '',
'In order to finish your registration, we need you to enter following fields' => '',
'Information' => '',
'Invalid login or password' => '',
'Invalid or expired link' => '',
'Invalid value' => '',
'It will be deleted forever' => '',
'Items' => '',
'Joined on {0, date}' => '',
'Location' => '',
'Login' => '',
'Logout' => '',
'Manage users' => '',
'Name' => '',
'Networks' => '',
'New email' => '',
'New password' => '',
'New permission' => '',
'New role' => '',
'New user' => '',
'Not blocked' => '',
'Not found' => '',
'Once you delete your account, there is no going back' => '',
'Password' => '',
'Password has been changed' => '',
'Permissions' => '',
'Please be certain' => '',
'Please click the link below to complete your password reset' => '',
'Please fix following errors:' => '',
'Profile' => '',
'Profile details' => '',
'Profile details have been updated' => '',
'Profile settings' => '',
'Recover your password' => '',
'Recovery link is invalid or expired. Please try requesting a new one.' => '',
'Recovery message sent' => '',
'Registration IP' => '',
'Registration ip' => '',
'Registration on this website is disabled' => '',
'Registration time' => '',
'Remember me next time' => '',
'Request new confirmation message' => '',
'Reset your password' => '',
'Roles' => '',
'Rule' => '',
'Rule class can not be instantiated' => '',
'Rule class must extend "yii\\rbac\\Rule"' => '',
'Rule name' => '',
'Save' => '',
'Sign in' => '',
'Sign up' => '',
'Something went wrong' => '',
'Thank you for signing up on {0}' => '',
'Thank you, registration is now complete.' => '',
'The confirmation link is invalid or expired. Please try requesting a new one.' => '',
'There is neither role nor permission with name "{0}"' => '',
'This account has already been connected to another user' => '',
'This email address has already been taken' => '',
'This username has already been taken' => '',
'Time zone' => '',
'Time zone is not valid' => '',
'Unable to confirm user. Please, try again.' => '',
'Unable to create an account.' => '',
'Unable to create authorization item.' => '',
'Unable to delete user. Please, try again later.' => '',
'Unable to remove authorization item.' => '',
'Unable to send confirmation link' => '',
'Unable to update authorization item.' => '',
'Unable to update block status.' => '',
'Unblock' => '',
'Unconfirmed' => '',
'Update' => '',
'Update assignments' => '',
'Update permission' => '',
'Update role' => '',
'Update user account' => '',
'User block status has been updated.' => '',
'User has been confirmed' => '',
'User has been created' => '',
'User has been deleted' => '',
'User is not found' => '',
'Username' => '',
'Users' => '',
'VKontakte' => '',
'We couldn\'t re-send the mail to confirm your address. ' => '',
'We have generated a password for you' => '',
'We have received a request to change the email address for your account on {0}' => '',
'We have received a request to reset the password for your account on {0}' => '',
'We have sent confirmation links to both old and new email addresses. ' => '',
'Website' => '',
'Welcome to {0}' => '',
'Yandex' => '',
'You can assign multiple roles or permissions to user by using the form below' => '',
'You can connect multiple accounts to be able to log in using them' => '',
'You cannot remove your own account' => '',
'You need to confirm your email address' => '',
'Your account details have been updated' => '',
'Your account has been blocked' => '',
'Your account has been blocked.' => '',
'Your account has been completely deleted' => '',
'Your account has been connected' => '',
'Your account has been created' => '',
'Your account has been created and a message with further instructions has been sent to your email' => '',
'Your account on {0} has been created' => '',
'Your confirmation token is invalid or expired' => '',
'Your email address has been changed' => '',
'Your profile has been updated' => '',
'{0, date, MMMM dd, YYYY HH:mm}' => '',
];

Some files were not shown because too many files have changed in this diff Show More