MCPcopy Index your code

hub / github.com/liberapay/liberapay.com / functions

Functions1,698 in github.com/liberapay/liberapay.com

↓ 974 callersFunctionEUR
(amount)
liberapay/testing/__init__.py:37
↓ 497 callersMethodmake_participant
(self, username, **kw)
liberapay/testing/__init__.py:250
↓ 327 callersMethodget
(self, k, default=None)
liberapay/wireup.py:547
↓ 285 callersMethodrun
This is the starting point for payday. It is structured such that it can be run again safely (with a newly-instantiated Payday object
liberapay/billing/payday.py:80
↓ 274 callersMethodset_tip_to
Given a Participant or username, and amount as str, returns a dict. We INSERT instead of UPDATE, so that we have history to explore. The
liberapay/models/participant.py:2489
↓ 160 callersMethodmake_payin_and_transfer
( self, route, tippee, amount, status='succeeded', error=None, payer_country=None, fee=None,
liberapay/testing/__init__.py:299
↓ 152 callersFunction_
(a,b)
www/assets/jquery.min.js:3
↓ 135 callersMethodformat
(self, s, *a, **kw)
liberapay/i18n/base.py:186
↓ 128 callersFunctiona
()
www/assets/fine-uploader/all.fine-uploader.min.js:2
↓ 119 callersMethodadd_payment_account
(self, participant, provider, country='FR', **data)
liberapay/testing/__init__.py:388
↓ 99 callersFunctionUSD
(amount)
liberapay/testing/__init__.py:49
↓ 98 callersFunctionqq
(e)
www/assets/fine-uploader/all.fine-uploader.min.js:2
↓ 96 callersFunction$
(e)
www/assets/fine-uploader/all.fine-uploader.min.js:6
↓ 91 callersMethodset_take_for
Sets member's take from the team pool.
liberapay/models/_mixin_team.py:105
↓ 84 callersMethodupsert_route
(self, participant, network, status='chargeable', one_off=False, address='x', remote_user
liberapay/testing/__init__.py:425
↓ 80 callersFunctionaddSpecification
(IBAN)
js/iban.js:195
↓ 78 callersFunctiont
()
www/assets/fine-uploader/all.fine-uploader.min.js:2
↓ 77 callersMethodGxT
(self, path)
tests/py/test_utils.py:34
↓ 76 callersMethoditems
(self)
liberapay/i18n/currencies.py:357
↓ 74 callersMethodstart
(self)
liberapay/cron.py:143
↓ 71 callersMethodpop
(self)
liberapay/i18n/currencies.py:546
↓ 70 callersMethodget_emails
(self)
liberapay/testing/emails.py:22
↓ 68 callersFunctioni
()
www/assets/fine-uploader/all.fine-uploader.min.js:2
↓ 58 callersFunctionkey
(k, clean=lambda a: a)
liberapay/elsewhere/_extractors.py:54
↓ 53 callersMethodget_tip_to
Given a participant (or their id), returns an `Object`.
liberapay/models/participant.py:3135
↓ 46 callersFunctionn
(e)
www/assets/fine-uploader/all.fine-uploader.min.js:2
↓ 44 callersFunctionn
(a,b)
www/assets/jquery.min.js:2
↓ 42 callersFunctiono
()
www/assets/fine-uploader/all.fine-uploader.min.js:2
↓ 41 callersMethodschedule_renewals
(Re)schedule this donor's future payments.
liberapay/models/participant.py:2693
↓ 39 callersMethodrender
(t, context)
liberapay/models/participant.py:1230
↓ 38 callersFunctionJPY
(amount)
liberapay/testing/__init__.py:45
↓ 38 callersMethodadd_email
This is called when 1) Adding a new email address 2) Resending the verification email for an unverified email add
liberapay/models/participant.py:978
↓ 38 callersMethodfrom_username
Return an existing participant based on username.
liberapay/models/participant.py:210
↓ 37 callersMethodconvert
(self, c, rounding=ROUND_HALF_UP)
liberapay/i18n/currencies.py:269
↓ 37 callersMethodnotify
(self, event, force_email=False, email=True, web=True, idem_key=None, email_unverified_address=
liberapay/models/participant.py:1378
↓ 36 callersMethodget_email
(self, email, cursor=None)
liberapay/models/participant.py:1161
↓ 33 callersFunctionr
(e,t)
www/assets/fine-uploader/all.fine-uploader.min.js:2
↓ 33 callersMethodrefetch
(self)
liberapay/models/participant.py:243
↓ 32 callersMethodresolve
(self, team, provider, payer, payer_country, payment_amount, sepa_only=False)
tests/py/test_payins.py:138
↓ 31 callersMethodadd_member
Add a member to this team.
liberapay/models/_mixin_team.py:33
↓ 30 callersMethodfrom_id
Return an existing participant based on id.
liberapay/models/participant.py:201
↓ 30 callersMethodvalues
(self)
liberapay/i18n/currencies.py:360
↓ 29 callersMethodcreate
(cls, name, creator, lang='mul')
liberapay/models/community.py:39
↓ 29 callersFunctions
()
www/assets/fine-uploader/all.fine-uploader.min.js:2
↓ 28 callersMethodhit_email_spt
(self, action, address, auth_as='alice', expected_code=200)
tests/py/test_email.py:26
↓ 28 callersMethodsign_in
(self, custom={}, extra={}, url='/sign-in', **kw)
tests/py/test_sessions.py:589
↓ 26 callersFunctionG
(e,t)
www/assets/fine-uploader/all.fine-uploader.min.js:6
↓ 24 callersMethodcompile
(self, filepath, src)
liberapay/renderers/scss.py:35
↓ 23 callersMethodadd_event
(self, c, type, payload, recorder=None)
liberapay/models/participant.py:1631
↓ 23 callersMethodmake_elsewhere
(self, platform, user_id, user_name, domain='', **kw)
liberapay/testing/__init__.py:244
↓ 23 callersMethodround
(self, rounding=ROUND_HALF_UP, allow_zero=True)
liberapay/i18n/currencies.py:306
↓ 22 callersFunctionD
(e)
www/assets/fine-uploader/all.fine-uploader.min.js:5
↓ 22 callersMethodget_taken_sums
(self)
tests/py/test_payday.py:443
↓ 21 callersMethodchange_username
(self, new_username, auth_as='alice')
tests/py/test_settings.py:82
↓ 21 callersMethoddequeue_emails
(cls)
liberapay/models/participant.py:1302
↓ 21 callersMethodparse
(cls, amount_str, default_currency='EUR')
liberapay/i18n/currencies.py:297
↓ 21 callersMethodparse_money_amount
(self, string, currency, maximum=D_MAX)
liberapay/i18n/base.py:315
↓ 21 callersMethodtake_last_week
(self, team, member, amount, actual_amount=None)
tests/py/test_take.py:39
↓ 21 callersMethodupdate
(self)
liberapay/i18n/currencies.py:552
↓ 20 callersFunctionW
(e)
www/assets/fine-uploader/all.fine-uploader.min.js:6
↓ 20 callersFunctionresolve_amounts
Compute transfer amounts. Args: available_amount (Money): the payin amount to split into transfer amounts base_amount
liberapay/payin/common.py:538
↓ 20 callersMethodstart_session
Start a new session for the user. Args: suffix (str): the session type, preceded by a dot: '.
liberapay/models/participant.py:524
↓ 19 callersFunctionH
(e)
www/assets/fine-uploader/all.fine-uploader.min.js:6
↓ 19 callersFunctiondate
(payday)
tests/py/test_charts_json.py:7
↓ 18 callersMethod__init__
(self, url)
liberapay/exceptions.py:12
↓ 18 callersMethodmember_of
Given a Participant object, return a boolean.
liberapay/models/_mixin_team.py:51
↓ 18 callersMethodtip
(self, tipper, tippee, amount, period='weekly', raise_immediately=True)
tests/py/test_tip_json.py:8
↓ 18 callersFunctionupdate_payin_transfer
Update the status and other attributes of a payment. Args: pt_id (int): the ID of the payment in our database remote_id (str): th
liberapay/payin/common.py:742
↓ 17 callersFunctionl
()
www/assets/fine-uploader/all.fine-uploader.min.js:2
↓ 17 callersFunctionm
(e)
www/assets/fine-uploader/all.fine-uploader.min.js:3
↓ 17 callersFunctionsend_donation_reminder_notifications
This function reminds donors to renew their donations. The notifications are sent two weeks before the due date.
liberapay/payin/cron.py:102
↓ 16 callersFunctionf
(e)
www/assets/fine-uploader/all.fine-uploader.min.js:3
↓ 16 callersMethodtake_over
Given an AccountElsewhere or a tuple (platform_name, domain, user_id), associate an elsewhere account. Returns None or raises NeedCon
liberapay/models/participant.py:3478
↓ 16 callersFunctionte
(e)
www/assets/fine-uploader/all.fine-uploader.min.js:6
↓ 15 callersFunctionb64encode_s
(s)
liberapay/utils/__init__.py:228
↓ 15 callersFunctionsend_upcoming_debit_notifications
This daily cron job notifies donors who are about to be debited. The notifications are sent at most once a month, 14 days before the first pa
liberapay/payin/cron.py:184
↓ 14 callersFunctione
()
www/assets/fine-uploader/all.fine-uploader.min.js:2
↓ 14 callersMethodfuzzy_sum
(self, currency, rounding=ROUND_UP)
liberapay/i18n/currencies.py:460
↓ 14 callersMethodget_email_address
Get the participant's "primary" email address, even if it hasn't been confirmed yet.
liberapay/models/participant.py:1182
↓ 14 callersFunctionp
(e)
www/assets/fine-uploader/all.fine-uploader.min.js:3
↓ 14 callersMethodrun_payday
(self)
tests/py/test_charts_json.py:28
↓ 13 callersFunctionMoney_to_int
(m)
liberapay/payin/stripe.py:35
↓ 13 callersFunctionc
(e,t,n)
www/assets/fine-uploader/all.fine-uploader.min.js:3
↓ 13 callersMethodclose
Close the participant's account.
liberapay/models/participant.py:813
↓ 13 callersFunctionint_to_Money
(amount, currency)
liberapay/payin/stripe.py:28
↓ 13 callersMethodverify_email
(self, email)
tests/py/test_email.py:52
↓ 12 callersFunctioncompute_next_payday_date
()
liberapay/billing/payday.py:1085
↓ 12 callersMethodget_last_email
(self)
liberapay/testing/emails.py:19
↓ 12 callersFunctionia
(a)
www/assets/jquery.min.js:2
↓ 12 callersMethodround_up
(self)
liberapay/i18n/currencies.py:318
↓ 12 callersFunctionu
()
www/assets/fine-uploader/all.fine-uploader.min.js:2
↓ 12 callersMethodupdate_avatar
(self, src=None, cursor=None, avatar_email=None, check=True)
liberapay/models/participant.py:2185
↓ 12 callersFunctionupdate_payin
Update the status and other attributes of a charge. Args: payin_id (int): the ID of the charge in our database remote_id (str): t
liberapay/payin/common.py:97
↓ 11 callersFunctionb
(c,e)
www/assets/jquery.min.js:2
↓ 11 callersFunctiond
(e)
www/assets/fine-uploader/all.fine-uploader.min.js:3
↓ 11 callersMethodlog_in
(self, username, password, url='/sign-in', extra={}, **kw)
tests/py/test_sessions.py:30
↓ 11 callersMethodself_check
(self)
liberapay/models/__init__.py:43
↓ 11 callersMethodupdate_password
(self, password, cursor=None, checked=True)
liberapay/models/participant.py:319
↓ 11 callersMethodupsert_statement
(self, lang, statement, type='profile')
liberapay/models/participant.py:772
↓ 10 callersMethodapi_get
Given a `path` (e.g. /users/foo), this function sends a GET request to the platform's API (e.g. https://api.github.com/users/foo).
liberapay/elsewhere/_base.py:164
next →1–100 of 1,698, ranked by callers