MCPcopy Create free account

hub / github.com/Seedstars/django-react-redux-base / functions

Functions92 in github.com/Seedstars/django-react-redux-base

↓ 17 callersMethoddispatch
Atomic transaction.
src/lib/utils.py:34
↓ 14 callersFunctionconfigureStore
(initialState, history)
src/static/store/configureStore.dev.js:12
↓ 14 callersMethodpost
User login with username and password.
src/accounts/views.py:31
↓ 11 callersMethodget
Return html for main application page.
src/base/views.py:16
↓ 8 callersMethodcreate
Create the object. :param validated_data: string
src/accounts/serializers.py:20
↓ 6 callersFunctionauthLoginUserFailure
(error, message)
src/static/actions/auth.js:25
↓ 5 callersFunctionget_basic_auth_header
(username, password)
tests/python/accounts/test_views.py:13
↓ 4 callersMethodassert_fields_required
Check if a list of fields and required or not required in a form. :param required: True|False :param form: form to be checke
src/lib/testutils.py:5
↓ 4 callersFunctionauthReducer
(state = initialState, action)
src/static/reducers/auth.js:17
↓ 4 callersFunctionvalidate_email
Validate a single email.
src/lib/utils.py:7
↓ 3 callersFunctionencodeLoader
(loader)
src/static/styles/font-awesome-helper.js:3
↓ 2 callersMethod_create_user
Create and save an User with the given email, password, name and phone number. :param email: string :param password: string
src/accounts/models.py:12
↓ 2 callersMethodassert_invalid_data
Check invalid data errors in a form. :param form: :param invalid_data_dicts: :return:
src/lib/testutils.py:19
↓ 2 callersMethodassert_invalid_data_response
Check invalid data response status. :param url: :param invalid_data_dicts: :return:
src/lib/testutils.py:45
↓ 2 callersMethodassert_valid_data
Check valid data in a form. :param form: :param valid_data_dicts: :return:
src/lib/testutils.py:33
↓ 2 callersFunctionauthLoginUserSuccess
(token, user)
src/static/actions/auth.js:13
↓ 2 callersMethodcheckAuth
()
src/static/utils/requireAuthentication.js:24
↓ 2 callersFunctiondataReducer
(state = initialState, action)
src/static/reducers/data.js:11
↓ 2 callersFunctionmockStorage
()
tests/require.js:29
↓ 1 callersMethodactivation_expired
Check if user's activation has expired. :return: boolean
src/accounts/models.py:132
↓ 1 callersFunctionauthLoginUserRequest
()
src/static/actions/auth.js:36
↓ 1 callersFunctionauthLogout
()
src/static/actions/auth.js:42
↓ 1 callersFunctionauthLogoutAndRedirect
()
src/static/actions/auth.js:50
↓ 1 callersMethodconfirm_email
Confirm email. :return: boolean
src/accounts/models.py:140
↓ 1 callersFunctioncopyProps
(src, target)
tests/require.js:11
↓ 1 callersMethodcreate_superuser
Create a super user. :param email: string :param first_name: string :param last_name: string :param password
src/accounts/models.py:55
↓ 1 callersMethodcreate_user
Create and save an User with the given email, password and name. :param email: string :param first_name: string :par
src/accounts/models.py:40
↓ 1 callersFunctiondataFetchProtectedDataRequest
()
src/static/actions/data.js:19
↓ 1 callersFunctiondataReceiveProtectedData
(data)
src/static/actions/data.js:10
↓ 1 callersMethodget_full_name
Return the first_name plus the last_name, with a space in between. :return: string
src/accounts/models.py:116
↓ 1 callersMethodget_short_name
Return the first_name. :return: string
src/accounts/models.py:124
↓ 1 callersMethodrender
()
src/static/app.js:40
Method__str__
Unicode representation for an user model. :return: string
src/accounts/models.py:108
FunctionauthLoginUser
(email, password, redirect = '/')
src/static/actions/auth.js:58
FunctioncheckHttpStatus
(response)
src/static/utils/index.js:1
FunctioncomponentWillMount
()
src/static/containers/Protected/index.js:25
MethodcomponentWillMount
()
src/static/utils/requireAuthentication.js:16
MethodcomponentWillMount
()
src/static/containers/Login/index.js:60
MethodcomponentWillReceiveProps
(nextProps)
src/static/utils/requireAuthentication.js:20
FunctionconfigureStore
(initialState, history)
src/static/store/configureStore.prod.js:7
Methodconstructor
(props)
src/static/containers/Login/index.js:47
FunctiondataFetchProtectedData
(token)
src/static/actions/data.js:25
Methodget
View for confirm email. Receive an activation key as parameter and confirm email.
src/accounts/views.py:44
Methodget
Retrieve user current confirmed_email status.
src/accounts/views.py:64
Methodget
Process GET request and return protected data.
src/base/views.py:29
FunctiongetItem
(key)
tests/require.js:35
Methodhandle_exception
Handle exception with transaction rollback.
src/lib/utils.py:38
Functionkey
(i)
tests/require.js:44
Functionlength
()
tests/require.js:41
FunctionmapDispatchToProps
(dispatch)
src/static/containers/Login/index.js:136
FunctionmapStateToProps
(state, ownProps)
src/static/app.js:116
FunctionmapStateToProps
(state)
src/static/utils/requireAuthentication.js:43
FunctionmapStateToProps
(state)
src/static/containers/Login/index.js:128
FunctionmapStateToProps
(state)
src/static/containers/Home/index.js:60
FunctionparseJSON
(response)
src/static/utils/index.js:11
Methodpost
User registration view.
src/accounts/views.py:21
FunctionremoveItem
(key)
tests/require.js:38
Methodrender
()
src/static/utils/requireAuthentication.js:31
Methodrender
()
src/static/containers/Login/index.js:83
Methodrender
()
src/static/containers/Home/index.js:26
Methodrender
()
src/static/containers/NotFound/index.js:4
Methodrender
()
src/static/containers/Root/Root.dev.js:17
Methodrender
()
src/static/containers/Root/Root.prod.js:15
FunctionrequireAuthentication
(Component)
src/static/utils/requireAuthentication.js:6
FunctionsetItem
(key, value)
tests/require.js:32
MethodsetUp
(self)
tests/python/accounts/test_models.py:18
MethodsetUp
(self)
tests/python/accounts/test_serializers.py:38
MethodsetUp
(self)
tests/python/accounts/test_serializers.py:72
MethodsetUp
(self)
tests/python/accounts/test_views.py:31
MethodsetUp
(self)
tests/python/base/test_views.py:12
Methodtest_account_confirm_email_successful
(self)
tests/python/accounts/test_views.py:116
Methodtest_account_confirm_email_unsuccessful
(self)
tests/python/accounts/test_views.py:110
Methodtest_account_login_successful_and_perform_actions
(self)
tests/python/accounts/test_views.py:96
Methodtest_account_login_unsuccessful
(self)
tests/python/accounts/test_views.py:43
Methodtest_account_register_email_already_exists
(self)
tests/python/accounts/test_views.py:67
Methodtest_account_register_successful
(self)
tests/python/accounts/test_views.py:48
Methodtest_account_register_unsuccessful
(self)
tests/python/accounts/test_views.py:39
Methodtest_fields
(self)
tests/python/accounts/test_serializers.py:43
Methodtest_fields
(self)
tests/python/accounts/test_serializers.py:76
Methodtest_get_full_name
(self)
tests/python/accounts/test_models.py:35
Methodtest_get_main_page
(self)
tests/python/base/test_views.py:33
Methodtest_get_protected_page
(self)
tests/python/base/test_views.py:19
Methodtest_get_short_name
(self)
tests/python/accounts/test_models.py:38
Methodtest_invalid_data
(self)
tests/python/accounts/test_serializers.py:49
Methodtest_invalid_data
(self)
tests/python/accounts/test_serializers.py:82
Methodtest_super_user
(self)
tests/python/accounts/test_models.py:24
Methodtest_unicode
(self)
tests/python/accounts/test_models.py:21
Methodtest_user
(self)
tests/python/accounts/test_models.py:28
Methodtest_validate_email
(self)
tests/python/utils/test_utils.py:7
Methodtest_validate_success
(self)
tests/python/accounts/test_serializers.py:53
Methodtest_validate_success
(self)
tests/python/accounts/test_serializers.py:86
Methodvalidate_email
Validate if email is valid or there is an user using the email. :param value: string :return: string
src/accounts/serializers.py:31