Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/simple-login/app
/ functions
Functions
4,520 in github.com/simple-login/app
⨍
Functions
4,520
◇
Types & classes
324
↳
Endpoints
185
↓ 492 callers
Method
create
(cls, email, name="", password=None, from_partner=False, **kwargs)
app/models.py:693
↓ 338 callers
Function
create_new_user
( email: Optional[str] = None, name: Optional[str] = None, alias_delete_action: UserAliasDeleteAct
tests/utils.py:18
↓ 325 callers
Method
get
(cls, id)
app/models.py:83
↓ 261 callers
Method
get_by
(cls, **kw)
app/models.py:87
↓ 184 callers
Method
filter
(cls, *args, **kw)
app/models.py:95
↓ 183 callers
Method
filter_by
(cls, **kw)
app/models.py:91
↓ 168 callers
Method
get
()
app/events/event_dispatcher.py:29
↓ 158 callers
Function
random_email
()
tests/utils.py:97
↓ 156 callers
Function
login
(flask_client, user: Optional[User] = None)
tests/utils.py:53
↓ 149 callers
Method
all
(cls)
app/models.py:103
↓ 137 callers
Method
create_new_random
create a new random alias
app/models.py:1920
↓ 118 callers
Function
random_string
Generate a random string of fixed length
app/utils.py:41
↓ 112 callers
Method
query
(cls)
app/models.py:74
↓ 109 callers
Function
random_token
(length: int = 10)
tests/utils.py:73
↓ 107 callers
Method
delete
(cls, obj_id, commit=False)
app/models.py:771
↓ 100 callers
Method
first
(cls)
app/models.py:147
↓ 92 callers
Method
count
(cls)
app/models.py:107
↓ 87 callers
Function
random_domain
()
tests/utils.py:69
↓ 79 callers
Function
get_proton_partner
()
app/proton/proton_partner.py:12
↓ 76 callers
Method
order_by
(cls, *args, **kw)
app/models.py:99
↓ 75 callers
Method
encode
( action: UnsubscribeAction, data: Union[int, UnsubscribeOriginalData], force_web: boo
app/handler/unsubscribe_encoder.py:44
↓ 67 callers
Function
h
(t)
static/assets/plugins/charts-c3/js/c3.min.js:1
↓ 54 callers
Function
$
(a,b)
static/assets/plugins/datatables/DataTables-1.10.16/js/jquery.dataTables.min.js:13
↓ 53 callers
Function
render
(template_name: str, user: Optional[User], **kwargs)
app/email_utils.py:94
↓ 46 callers
Method
create_new
(cls, user, prefix, note=None, mailbox_id=None)
app/models.py:1894
↓ 46 callers
Method
get_stored_emails
(self)
app/mail_sender.py:112
↓ 44 callers
Function
login_admin
Login as an admin user.
tests/admin/test_email_search.py:42
↓ 43 callers
Function
send_email
( to_email, subject, plaintext, html=None, unsubscribe_link=None, unsubscribe_via_emai
app/email_utils.py:338
↓ 42 callers
Function
sanitize_email
(email_address: str, not_lower=False)
app/utils.py:103
↓ 41 callers
Function
$
(a,b)
static/assets/plugins/datatables/datatables.min.js:25
↓ 39 callers
Function
emit_user_audit_log
( user: User, action: UserAuditLogAction, message: str, commit: bool = False )
app/user_audit_log_utils.py:40
↓ 36 callers
Method
can_send_or_receive
(self)
app/models.py:991
↓ 34 callers
Function
get_new_user_and_api_key
()
tests/api/utils.py:7
↓ 34 callers
Function
load_eml_file
( filename: str, template_values: Optional[Dict[str, str]] = None )
tests/utils.py:82
↓ 31 callers
Function
create_custom_domain
(domain: str, ownership_verified: bool = False)
tests/test_custom_domain_validation.py:25
↓ 27 callers
Function
canonicalize_email
(email_address: str)
app/utils.py:78
↓ 26 callers
Function
$
(t)
static/assets/js/vendors/chart.bundle.min.js:10
↓ 26 callers
Method
search
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 callers
Function
n
(n)
static/assets/plugins/charts-c3/js/d3.v3.min.js:1
↓ 24 callers
Function
t
(n)
static/assets/plugins/charts-c3/js/d3.v3.min.js:1
↓ 23 callers
Method
empty
Delete all recovery codes for user
app/models.py:3360
↓ 23 callers
Method
is_admin_disabled
Check if mailbox has been disabled by admin.
app/models.py:3031
↓ 22 callers
Function
i
(n)
static/assets/plugins/charts-c3/js/d3.v3.min.js:1
↓ 22 callers
Method
json
(self)
tests/auth/test_oidc.py:451
↓ 20 callers
Function
e
(n,t)
static/assets/plugins/charts-c3/js/d3.v3.min.js:1
↓ 20 callers
Function
get_email_domain_part
Get the domain part from email ab@cd.com -> cd.com
app/email_utils.py:509
↓ 19 callers
Method
can_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 callers
Method
clear
(self)
tests/events/event_test_utils.py:16
↓ 19 callers
Method
is_premium
user is premium if they: - have a lifetime deal or - in trial period or - active subscription
app/models.py:887
↓ 19 callers
Function
random_link_request
( external_user_id: str = None, name: str = None, email: str = None, plan: SLPlan = None,
tests/test_account_linking.py:44
↓ 19 callers
Method
send_event
( user: User, content: event_pb2.EventContent, dispatcher: Optional[Dispatcher] = None
app/events/event_dispatcher.py:49
↓ 18 callers
Function
a
(o,s)
static/assets/js/vendors/chart.bundle.min.js:10
↓ 17 callers
Function
_find
(entries, ignore_window: bool = False)
tests/payments/test_check_paddle_passthrough_abuse.py:32
↓ 17 callers
Function
add_or_replace_header
Remove all occurrences of `header` and add `header` with `value`.
app/email_utils.py:566
↓ 17 callers
Function
emit_alias_audit_log
( alias: Alias, action: AliasAuditLogAction, message: str, user_id: Optional[int] = None,
app/alias_audit_log_utils.py:26
↓ 17 callers
Method
is_active
(self)
app/models.py:866
↓ 17 callers
Function
message_to_bytes
replace Message.as_bytes() method by trying different policies
app/message_utils.py:12
↓ 17 callers
Function
r
(n)
static/assets/plugins/charts-c3/js/d3.v3.min.js:1
↓ 17 callers
Method
render
(template_name, **kwargs)
app/models.py:3378
↓ 16 callers
Function
_extended
(day: int, sub_id: str = None)
tests/payments/test_check_paddle_passthrough_abuse.py:24
↓ 16 callers
Function
_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 callers
Function
_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 callers
Function
_upgrade
(day: int, sub_id: str = None)
tests/payments/test_check_paddle_passthrough_abuse.py:20
↓ 16 callers
Function
r
(a,b,c,d)
static/assets/plugins/datatables/datatables.min.js:87
↓ 16 callers
Function
r
(a,b,c,d)
static/assets/plugins/datatables/DataTables-1.10.16/js/jquery.dataTables.min.js:75
↓ 16 callers
Function
send_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 callers
Function
store_abuse_data
Archive the given abusive user's data and update blocklist/lookup tables.
app/abuser_utils.py:54
↓ 15 callers
Method
_handle
(self, envelope: Envelope, msg: Message)
email_handler.py:2438
↓ 15 callers
Function
get_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 callers
Function
u
(n)
static/assets/plugins/charts-c3/js/d3.v3.min.js:1
↓ 14 callers
Function
_create_linked_user
()
tests/events/event_test_utils.py:24
↓ 14 callers
Function
b
(a,d,e)
static/assets/plugins/datatables/DataTables-1.10.16/js/jquery.dataTables.min.js:20
↓ 14 callers
Function
e
(t,e)
static/assets/js/vendors/chart.bundle.min.js:10
↓ 14 callers
Method
encode_subject
( cls, action: UnsubscribeAction, data: Union[int, UnsubscribeOriginalData] )
app/handler/unsubscribe_encoder.py:54
↓ 14 callers
Function
get_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 callers
Function
move_alias_to_trash
( alias: Alias, user: User, reason: AliasDeleteReason = AliasDeleteReason.Unspecified, commit:
app/alias_delete.py:111
↓ 14 callers
Function
sanitize_next_url
(url: Optional[str])
app/utils.py:131
↓ 13 callers
Function
d
(t)
static/assets/js/vendors/chart.bundle.min.js:10
↓ 13 callers
Function
delete_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 callers
Function
fn
(n,t,e)
static/assets/plugins/charts-c3/js/d3.v3.min.js:1
↓ 13 callers
Function
generate_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 callers
Method
get_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 callers
Function
load_public_key
Load a public key into keyring and return the fingerprint. If error, raise Exception
app/pgp_utils.py:62
↓ 13 callers
Function
parse_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 callers
Function
verify_passthrough
Return the user_id carried by a passthrough we signed, None otherwise
app/payments/paddle_passthrough.py:76
↓ 12 callers
Function
c
(e)
static/assets/plugins/fullcalendar/js/moment.min.js:1
↓ 12 callers
Function
create_contact
( email: str, alias: Alias, name: Optional[str] = None, mail_from: Optional[str] = None, a
app/contact_utils.py:43
↓ 12 callers
Function
g
(t)
static/assets/js/vendors/chart.bundle.min.js:10
↓ 12 callers
Method
get_sl_domains
( self, alias_options: Optional[AliasOptions] = None )
app/models.py:1190
↓ 12 callers
Function
i
(t)
static/assets/js/vendors/chart.bundle.min.js:10
↓ 12 callers
Function
login_admin
Login as an admin user.
tests/admin/test_custom_domain_search.py:27
↓ 12 callers
Function
m
(t)
static/assets/js/vendors/chart.bundle.min.js:10
↓ 12 callers
Function
set_plan_for_partner_user
(partner_user: PartnerUser, plan: SLPlan)
app/account_linking.py:81
↓ 11 callers
Function
create_custom_domain
Create a custom domain for testing.
tests/admin/test_custom_domain_search.py:41
↓ 11 callers
Method
extract_from_headers
( cls, msg: Message, phase: Phase = Phase.unknown )
app/handler/spamd_result.py:76
↓ 11 callers
Function
get_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 callers
Function
get_header_unicode
Convert a header to unicode Should be used to handle headers like From:, To:, CC:, Subject:
app/email_utils.py:968
↓ 11 callers
Function
h
(t)
static/assets/js/vendors/chart.bundle.min.js:10
↓ 11 callers
Method
index
(self)
app/admin/base.py:212
↓ 11 callers
Function
l
(t,e)
static/assets/js/vendors/chart.bundle.min.js:10
next →
1–100 of 4,520, ranked by callers