MCPcopy Create free account

hub / github.com/ChatSecure/ChatSecure-Push-Server / functions

Functions66 in github.com/ChatSecure/ChatSecure-Push-Server

↓ 52 callersMethodget
(self, request, *args, **kwargs)
push/api/routers.py:39
↓ 5 callersFunctionget_verified_account_from_post_data
(post_data)
push/api/old.py:104
↓ 4 callersFunctionlog_message_sent
(exception=None, priority=None, enqueue_date_str=None)
push/messages/messenger.py:128
↓ 3 callersMethodcheck_account_resp
(self, request_data, response)
push/accounts/tests.py:61
↓ 2 callersFunction_send_apns
Send a message to one or more APNS recipients :param registration_ids: a single or iterable collection of registration ids (APNS tokens)
push/messages/messenger.py:48
↓ 2 callersFunction_send_gcm
Send a message to one or more GCM recipients :param registration_ids: a single or iterable collection of registraion ids (GCM tokens) :p
push/messages/messenger.py:81
↓ 2 callersMethodcheck_signup_then_login
Test whether account creation then login return expected responses :param request_data: create account request data including a 'user
push/accounts/tests.py:49
↓ 2 callersMethodcreate_account
(self, username, password)
push/api/tests.py:42
↓ 2 callersMethodcreate_device
(self, name, registration_id, auth_token, apns=True)
push/api/tests.py:48
↓ 2 callersMethodcreate_token
(self, name, device_id, auth_token, apns=True)
push/api/tests.py:55
↓ 2 callersFunctioncreate_user_response_data
(user, token=None)
push/accounts/views.py:93
↓ 2 callersFunctionget_account_from_account_id
(account_id)
push/api/old.py:115
↓ 2 callersFunctionhash_password
(account, password)
push/api/old.py:77
↓ 2 callersFunctionsend_apns
(registration_ids, message, priority, **kwargs)
push/messages/messenger.py:23
↓ 2 callersFunctionsend_gcm
(registration_ids, message, **kwargs)
push/messages/messenger.py:41
↓ 2 callersFunctionsetup_rollbar
Setup Rollbar uncaught exception handling. The Django application is automatically setup via Rollbar's middleware, but worker processes need
push/messages/messenger.py:117
↓ 1 callersMethodcreate
(self, request)
push/accounts/views.py:47
↓ 1 callersFunctionfind_account_by_hashed_transaction_id
(hashed_original_transaction_id)
push/api/old.py:128
↓ 1 callersMethodget_devices
(self, auth_token, apns=True)
push/api/tests.py:62
↓ 1 callersMethodget_tokens
(self, auth_token)
push/api/tests.py:68
↓ 1 callersFunctionhash_original_transaction_id
(original_transaction_id)
push/api/old.py:120
↓ 1 callersFunctionmaybe_is_auth_token
(potential_uuid)
push/accounts/tests.py:10
↓ 1 callersFunctionmaybe_is_uuid
(potential_uuid)
push/accounts/tests.py:6
↓ 1 callersMethodretrieve
(self, request, pk=None)
push/accounts/views.py:34
↓ 1 callersFunctionsend_message
Send a push message containing to the owner of the provided token. data is packaged within a 'message' dictionary as below: { ... APNS
push/messages/views.py:50
↓ 1 callersFunctionverify_password
(account, password)
push/api/old.py:81
↓ 1 callersFunctionverify_receipt
(receipt_data)
push/api/old.py:87
Method__init__
(self, *args, **kwargs)
push/tokens/serializers.py:25
Method__unicode__
(self)
push/devices/models.py:31
Method__unicode__
(self)
push/tokens/models.py:19
Function_task_send_apns
(registration_ids, message, **kwargs)
push/messages/messenger.py:106
Function_task_send_gcm
(registration_ids, message, **kwargs)
push/messages/messenger.py:112
Methodadd_arguments
(self, parser)
push/tokens/management/commands/delete_expired_tokens.py:13
Functionadd_dpt
()
push/api/old.py:191
Functionblock_pat
()
push/api/old.py:253
Functionchange_password
()
push/api/old.py:226
Methodclean_username
(self)
push/accounts/admin.py:11
Methodcreate
(self, request)
push/messages/views.py:31
Functioncreate_auth_token_for_user
Create an auth token for Django Rest Framework's TokenAuthentication for this user. This token is required for SDK API access.
push/accounts/models.py:15
Functiondebug_task
(self)
push/push/celery.py:27
Methoddestroy
(self, request, pk=None)
push/accounts/views.py:80
Functionevent
Log an event to the analytics backend
push/analytics/analytics.py:11
Functionexception
Log an exception to the logging backend
push/analytics/analytics.py:18
Methodget_api_root_view
Return a view to use as the API root.
push/api/routers.py:12
Methodget_expiry_date
(self)
push/tokens/models.py:24
Methodget_queryset
(self)
push/devices/views.py:15
Methodget_queryset
This view should return a list of all the devices for the currently authenticated user.
push/tokens/views.py:32
Methodhandle
(self, *args, **options)
push/tokens/management/commands/delete_expired_tokens.py:20
Methodhas_object_permission
(self, request, view, obj)
push/api/permissions.py:10
Functionknock
()
push/api/old.py:269
Methodlist
(self, request)
push/accounts/views.py:44
Methodlist
(self, request, *args, **kwargs)
push/api/views.py:35
Functionlist_pat
()
push/api/old.py:241
Methodperform_create
(self, serializer)
push/devices/views.py:11
Methodperform_create
(self, serializer)
push/tokens/views.py:42
Functionregister
()
push/api/old.py:140
Functionrequest_pat
()
push/api/old.py:210
Functionrequest_product_identifiers
()
push/api/old.py:134
Methodtest_create_account_no_email
Ensure we can create a new account and subsequently login without email
push/accounts/tests.py:15
Methodtest_create_account_with_email
Ensure we can create a new account and subsequently login with email
push/accounts/tests.py:24
Methodtest_device_and_token_visibility
Ensure that ownership permissions are respected for tokens and devices e.g: Alice's Devices and Tokens are not visible to Bob
push/api/tests.py:11
Methodtest_password_auth
(self)
push/accounts/tests.py:33
Methodto_internal_value
(self, data)
push/devices/serializers.py:17
Methodto_representation
(self, obj)
push/devices/serializers.py:14
Methodto_representation
Object instance -> Dict of primitive datatypes.
push/api/serializers.py:13
Methodvalidate
Check that an APNS or a GCM device was specified
push/tokens/serializers.py:40