MCPcopy Create free account

hub / github.com/simple-login/app / functions

Functions4,520 in github.com/simple-login/app

↓ 492 callersMethodcreate
(cls, email, name="", password=None, from_partner=False, **kwargs)
app/models.py:693
↓ 338 callersFunctioncreate_new_user
( email: Optional[str] = None, name: Optional[str] = None, alias_delete_action: UserAliasDeleteAct
tests/utils.py:18
↓ 325 callersMethodget
(cls, id)
app/models.py:83
↓ 261 callersMethodget_by
(cls, **kw)
app/models.py:87
↓ 184 callersMethodfilter
(cls, *args, **kw)
app/models.py:95
↓ 183 callersMethodfilter_by
(cls, **kw)
app/models.py:91
↓ 168 callersMethodget
()
app/events/event_dispatcher.py:29
↓ 158 callersFunctionrandom_email
()
tests/utils.py:97
↓ 156 callersFunctionlogin
(flask_client, user: Optional[User] = None)
tests/utils.py:53
↓ 149 callersMethodall
(cls)
app/models.py:103
↓ 137 callersMethodcreate_new_random
create a new random alias
app/models.py:1920
↓ 118 callersFunctionrandom_string
Generate a random string of fixed length
app/utils.py:41
↓ 112 callersMethodquery
(cls)
app/models.py:74
↓ 109 callersFunctionrandom_token
(length: int = 10)
tests/utils.py:73
↓ 107 callersMethoddelete
(cls, obj_id, commit=False)
app/models.py:771
↓ 100 callersMethodfirst
(cls)
app/models.py:147
↓ 92 callersMethodcount
(cls)
app/models.py:107
↓ 87 callersFunctionrandom_domain
()
tests/utils.py:69
↓ 79 callersFunctionget_proton_partner
()
app/proton/proton_partner.py:12
↓ 76 callersMethodorder_by
(cls, *args, **kw)
app/models.py:99
↓ 75 callersMethodencode
( action: UnsubscribeAction, data: Union[int, UnsubscribeOriginalData], force_web: boo
app/handler/unsubscribe_encoder.py:44
↓ 67 callersFunctionh
(t)
static/assets/plugins/charts-c3/js/c3.min.js:1
↓ 54 callersFunction$
(a,b)
static/assets/plugins/datatables/DataTables-1.10.16/js/jquery.dataTables.min.js:13
↓ 53 callersFunctionrender
(template_name: str, user: Optional[User], **kwargs)
app/email_utils.py:94
↓ 46 callersMethodcreate_new
(cls, user, prefix, note=None, mailbox_id=None)
app/models.py:1894
↓ 46 callersMethodget_stored_emails
(self)
app/mail_sender.py:112
↓ 44 callersFunctionlogin_admin
Login as an admin user.
tests/admin/test_email_search.py:42
↓ 43 callersFunctionsend_email
( to_email, subject, plaintext, html=None, unsubscribe_link=None, unsubscribe_via_emai
app/email_utils.py:338
↓ 42 callersFunctionsanitize_email
(email_address: str, not_lower=False)
app/utils.py:103
↓ 41 callersFunction$
(a,b)
static/assets/plugins/datatables/datatables.min.js:25
↓ 39 callersFunctionemit_user_audit_log
( user: User, action: UserAuditLogAction, message: str, commit: bool = False )
app/user_audit_log_utils.py:40
↓ 36 callersMethodcan_send_or_receive
(self)
app/models.py:991
↓ 34 callersFunctionget_new_user_and_api_key
()
tests/api/utils.py:7
↓ 34 callersFunctionload_eml_file
( filename: str, template_values: Optional[Dict[str, str]] = None )
tests/utils.py:82
↓ 31 callersFunctioncreate_custom_domain
(domain: str, ownership_verified: bool = False)
tests/test_custom_domain_validation.py:25
↓ 27 callersFunctioncanonicalize_email
(email_address: str)
app/utils.py:78
↓ 26 callersFunction$
(t)
static/assets/js/vendors/chart.bundle.min.js:10
↓ 26 callersMethodsearch
Search for custom domains by exact match or POSIX regex. - Numeric query: search by domain ID - Query with '@': search by user email
app/admin/custom_domain_search.py:51
↓ 24 callersFunctionn
(n)
static/assets/plugins/charts-c3/js/d3.v3.min.js:1
↓ 24 callersFunctiont
(n)
static/assets/plugins/charts-c3/js/d3.v3.min.js:1
↓ 23 callersMethodempty
Delete all recovery codes for user
app/models.py:3360
↓ 23 callersMethodis_admin_disabled
Check if mailbox has been disabled by admin.
app/models.py:3031
↓ 22 callersFunctioni
(n)
static/assets/plugins/charts-c3/js/d3.v3.min.js:1
↓ 22 callersMethodjson
(self)
tests/auth/test_oidc.py:451
↓ 20 callersFunctione
(n,t)
static/assets/plugins/charts-c3/js/d3.v3.min.js:1
↓ 20 callersFunctionget_email_domain_part
Get the domain part from email ab@cd.com -> cd.com
app/email_utils.py:509
↓ 19 callersMethodcan_create_new_alias
Whether user can create a new alias. User can't create a new alias if - has more than user.max_alias_for_free_account() aliases in th
app/models.py:967
↓ 19 callersMethodclear
(self)
tests/events/event_test_utils.py:16
↓ 19 callersMethodis_premium
user is premium if they: - have a lifetime deal or - in trial period or - active subscription
app/models.py:887
↓ 19 callersFunctionrandom_link_request
( external_user_id: str = None, name: str = None, email: str = None, plan: SLPlan = None,
tests/test_account_linking.py:44
↓ 19 callersMethodsend_event
( user: User, content: event_pb2.EventContent, dispatcher: Optional[Dispatcher] = None
app/events/event_dispatcher.py:49
↓ 18 callersFunctiona
(o,s)
static/assets/js/vendors/chart.bundle.min.js:10
↓ 17 callersFunction_find
(entries, ignore_window: bool = False)
tests/payments/test_check_paddle_passthrough_abuse.py:32
↓ 17 callersFunctionadd_or_replace_header
Remove all occurrences of `header` and add `header` with `value`.
app/email_utils.py:566
↓ 17 callersFunctionemit_alias_audit_log
( alias: Alias, action: AliasAuditLogAction, message: str, user_id: Optional[int] = None,
app/alias_audit_log_utils.py:26
↓ 17 callersMethodis_active
(self)
app/models.py:866
↓ 17 callersFunctionmessage_to_bytes
replace Message.as_bytes() method by trying different policies
app/message_utils.py:12
↓ 17 callersFunctionr
(n)
static/assets/plugins/charts-c3/js/d3.v3.min.js:1
↓ 17 callersMethodrender
(template_name, **kwargs)
app/models.py:3378
↓ 16 callersFunction_extended
(day: int, sub_id: str = None)
tests/payments/test_check_paddle_passthrough_abuse.py:24
↓ 16 callersFunction_fnCallbackFire
* Fire callback functions and trigger events. Note that the loop over the * callback array store is done backwards! Further note that you do not wan
static/assets/plugins/datatables/datatables.js:6627
↓ 16 callersFunction_fnCallbackFire
* Fire callback functions and trigger events. Note that the loop over the * callback array store is done backwards! Further note that you do not wan
static/assets/plugins/datatables/DataTables-1.10.16/js/jquery.dataTables.js:6615
↓ 16 callersFunction_upgrade
(day: int, sub_id: str = None)
tests/payments/test_check_paddle_passthrough_abuse.py:20
↓ 16 callersFunctionr
(a,b,c,d)
static/assets/plugins/datatables/datatables.min.js:87
↓ 16 callersFunctionr
(a,b,c,d)
static/assets/plugins/datatables/DataTables-1.10.16/js/jquery.dataTables.min.js:75
↓ 16 callersFunctionsend_email_with_rate_control
Same as send_email with rate control over alert_type. Make sure no more than `max_nb_alert` emails are sent over the period of `nb_day` days
app/email_utils.py:415
↓ 16 callersFunctionstore_abuse_data
Archive the given abusive user's data and update blocklist/lookup tables.
app/abuser_utils.py:54
↓ 15 callersMethod_handle
(self, envelope: Envelope, msg: Message)
email_handler.py:2438
↓ 15 callersFunctionget_alias_suffixes
Similar to as get_available_suffixes() but also return custom domain that doesn't have MX set up.
app/alias_suffix.py:94
↓ 15 callersFunctionu
(n)
static/assets/plugins/charts-c3/js/d3.v3.min.js:1
↓ 14 callersFunction_create_linked_user
()
tests/events/event_test_utils.py:24
↓ 14 callersFunctionb
(a,d,e)
static/assets/plugins/datatables/DataTables-1.10.16/js/jquery.dataTables.min.js:20
↓ 14 callersFunctione
(t,e)
static/assets/js/vendors/chart.bundle.min.js:10
↓ 14 callersMethodencode_subject
( cls, action: UnsubscribeAction, data: Union[int, UnsubscribeOriginalData] )
app/handler/unsubscribe_encoder.py:54
↓ 14 callersFunctionget_alias_infos_with_pagination_v3
( user, page_id=0, query=None, sort=None, alias_filter=None, mailbox_id=None, dire
app/api/serializer.py:140
↓ 14 callersFunctionmove_alias_to_trash
( alias: Alias, user: User, reason: AliasDeleteReason = AliasDeleteReason.Unspecified, commit:
app/alias_delete.py:111
↓ 14 callersFunctionsanitize_next_url
(url: Optional[str])
app/utils.py:131
↓ 13 callersFunctiond
(t)
static/assets/js/vendors/chart.bundle.min.js:10
↓ 13 callersFunctiondelete_alias
Determine if the alias is meant to be sent to the user trash or to the global trash, depending on: - alias.delete_on - user.alias_delete_
app/alias_delete.py:65
↓ 13 callersFunctionfn
(n,t,e)
static/assets/plugins/charts-c3/js/d3.v3.min.js:1
↓ 13 callersFunctiongenerate_verp_email
Generates an email address with the verp type, object_id and domain encoded in the address and signed with hmac to prevent tampering
app/email_utils.py:1665
↓ 13 callersMethodget_paddle_subscription
return *active* Paddle subscription Return None if the subscription is already expired TODO: support user unsubscribe and re-subscribe
app/models.py:1038
↓ 13 callersFunctionload_public_key
Load a public key into keyring and return the fingerprint. If error, raise Exception
app/pgp_utils.py:62
↓ 13 callersFunctionparse_full_address
parse the email address full format and return the display name and address For ex: ab <cd@xy.com> -> (ab, cd@xy.com) '=?UTF-8?B?TmjGoW4g
app/email_utils.py:1610
↓ 13 callersFunctionverify_passthrough
Return the user_id carried by a passthrough we signed, None otherwise
app/payments/paddle_passthrough.py:76
↓ 12 callersFunctionc
(e)
static/assets/plugins/fullcalendar/js/moment.min.js:1
↓ 12 callersFunctioncreate_contact
( email: str, alias: Alias, name: Optional[str] = None, mail_from: Optional[str] = None, a
app/contact_utils.py:43
↓ 12 callersFunctiong
(t)
static/assets/js/vendors/chart.bundle.min.js:10
↓ 12 callersMethodget_sl_domains
( self, alias_options: Optional[AliasOptions] = None )
app/models.py:1190
↓ 12 callersFunctioni
(t)
static/assets/js/vendors/chart.bundle.min.js:10
↓ 12 callersFunctionlogin_admin
Login as an admin user.
tests/admin/test_custom_domain_search.py:27
↓ 12 callersFunctionm
(t)
static/assets/js/vendors/chart.bundle.min.js:10
↓ 12 callersFunctionset_plan_for_partner_user
(partner_user: PartnerUser, plan: SLPlan)
app/account_linking.py:81
↓ 11 callersFunctioncreate_custom_domain
Create a custom domain for testing.
tests/admin/test_custom_domain_search.py:41
↓ 11 callersMethodextract_from_headers
( cls, msg: Message, phase: Phase = Phase.unknown )
app/handler/spamd_result.py:76
↓ 11 callersFunctionget_abuser_bundles_for_address
Given a target address (email, alias, or mailbox address), return all decrypted bundle_json's that reference this address.
app/abuser_utils.py:166
↓ 11 callersFunctionget_header_unicode
Convert a header to unicode Should be used to handle headers like From:, To:, CC:, Subject:
app/email_utils.py:968
↓ 11 callersFunctionh
(t)
static/assets/js/vendors/chart.bundle.min.js:10
↓ 11 callersMethodindex
(self)
app/admin/base.py:212
↓ 11 callersFunctionl
(t,e)
static/assets/js/vendors/chart.bundle.min.js:10
next →1–100 of 4,520, ranked by callers