Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/benediktkr/lokun-record
/ functions
Functions
621 in github.com/benediktkr/lokun-record
⨍
Functions
621
◇
Types & classes
94
↳
Endpoints
28
↓ 2 callers
Function
view
Decorator: renders a template for a handler. The handler can control its behavior like that: - return a dict of template vars to f
record/bottle.py:3224
↓ 1 callers
Method
__eq__
(self, other)
record/status.py:16
↓ 1 callers
Method
__get__
(self, obj, cls)
record/bottle.py:157
↓ 1 callers
Method
__setattr__
(self, key, value)
record/bottle.py:1965
↓ 1 callers
Method
_cast
Try to convert the parameter into something WSGI compatible and set correct HTTP headers when possible. Support: False, str, unicode,
record/bottle.py:798
↓ 1 callers
Function
_file_iter_range
Yield chunks from a range in a file. No chunk is bigger than maxread.
record/bottle.py:2196
↓ 1 callers
Method
_itertokens
(self, rule)
record/bottle.py:259
↓ 1 callers
Function
_lscmp
Compares two strings in a cryptographically safe way: Runtime is not affected by length of common prefix.
record/bottle.py:2327
↓ 1 callers
Method
_make_callback
(self)
record/bottle.py:495
↓ 1 callers
Function
_raise
(*a)
record/bottle.py:92
↓ 1 callers
Function
abort
Aborts execution and causes a HTTP error.
record/bottle.py:2182
↓ 1 callers
Method
add_invite_key
(self, key)
record/model.py:797
↓ 1 callers
Function
aes_decrypt
AES decrypts ciphertext created with aes_encrypt and verifies nonce
record/encryption.py:35
↓ 1 callers
Function
aes_encrypt
AES encrypts plain with hex-encoded key as input and returns a string [ciphertext]$[nonce]$[IV]
record/encryption.py:22
↓ 1 callers
Method
alive
(self)
record/model.py:182
↓ 1 callers
Method
all_plugins
Yield all Plugins affecting this route.
record/bottle.py:484
↓ 1 callers
Method
arion_parse
Non-multipart but with the plaintext in HTML comment
record/Bankmail.py:68
↓ 1 callers
Function
arion_parser
Non-multipart but with the plaintext in HTML comment
record/paymentbot.py:46
↓ 1 callers
Method
assign
(cls, username)
record/model.py:623
↓ 1 callers
Function
bitcoinmonitor
()
record/restapi.py:414
↓ 1 callers
Function
btc_to_eur
(btc=1.0)
record/exchanges.py:54
↓ 1 callers
Method
buy_sub_btc
(self)
record/model.py:456
↓ 1 callers
Method
buy_sub_isk
(self)
record/model.py:450
↓ 1 callers
Function
calculate_fees
(cardtype, amount=2000)
record/restapi.py:374
↓ 1 callers
Function
check
(user, passwd)
record/mailchecker.py:20
↓ 1 callers
Function
compare
(str1, str2)
record/sec.py:6
↓ 1 callers
Method
compare
(self, exit1, exit2)
test/test_model.py:249
↓ 1 callers
Method
compare
(self, dep1, dep2)
test/test_model.py:356
↓ 1 callers
Method
compare
(self, key1, key2)
test/test_model.py:456
↓ 1 callers
Function
compare_const2
(str1, str2)
record/sec.py:9
↓ 1 callers
Function
compare_passwd
Return True if hashed_passwd is plain_passwd hashed, False othervise.
record/model.py:738
↓ 1 callers
Function
cookie_decode
Verify and decode an encoded string. Return an object or None.
record/bottle.py:2340
↓ 1 callers
Function
cookie_encode
Encode and sign a pickle-able object. Return a (byte) string
record/bottle.py:2333
↓ 1 callers
Function
cookie_is_encoded
Return True if the argument looks like a encoded cookie.
record/bottle.py:2350
↓ 1 callers
Function
creategraphs
()
record/monitor.py:27
↓ 1 callers
Function
decorator
(func)
record/bottle.py:2422
↓ 1 callers
Function
decrypt_and_mac
(key, message)
record/encryption.py:57
↓ 1 callers
Method
deposit
(self, amount)
record/model.py:431
↓ 1 callers
Method
disabled
(cls)
record/model.py:54
↓ 1 callers
Method
enabled
(cls)
record/model.py:59
↓ 1 callers
Function
encrypt_then_mac
(key, plain)
record/encryption.py:52
↓ 1 callers
Function
eur_to_btc
(eur=1.0)
record/exchanges.py:50
↓ 1 callers
Function
eur_to_isk
(eur=1.0)
record/exchanges.py:33
↓ 1 callers
Function
exits
()
record/restapi.py:337
↓ 1 callers
Function
gen_nonce
(bits = 32)
record/encryption.py:12
↓ 1 callers
Function
gen_salt
Generates a base64 encoded pseudo-random string, secure enough for crypto use. Length is in bytes. Intended for generating salts, hence
record/hashing.py:28
↓ 1 callers
Method
get_all_exit_supplements
(self)
record/model.py:917
↓ 1 callers
Method
get_api_key
(self, key)
record/model.py:781
↓ 1 callers
Method
get_api_key_by_name
(self, name)
record/model.py:787
↓ 1 callers
Method
get_btc_addr_tag
(self, addr)
record/model.py:843
↓ 1 callers
Function
get_btc_price
()
record/exchanges.py:64
↓ 1 callers
Method
get_btc_price
(self)
record/model.py:853
↓ 1 callers
Function
get_btc_price_cached
Fetch the current BTC price for Lokun from the DB.
record/exchanges.py:72
↓ 1 callers
Method
get_by_name
(cls, name)
record/model.py:677
↓ 1 callers
Method
get_exit_supplement
(self, name)
record/model.py:912
↓ 1 callers
Method
get_status_age
(cls)
record/status.py:82
↓ 1 callers
Function
getsender
(frm)
record/Bankmail.py:94
↓ 1 callers
Function
gettimestamp
(date)
rrd/monitorparser.py:10
↓ 1 callers
Method
getunicode
Return the value as a unicode string, or the default.
record/bottle.py:1860
↓ 1 callers
Function
good_username
Return True if name is good enough to be allowed in our system.
record/model.py:692
↓ 1 callers
Function
int2hex
(integer)
record/encryption.py:15
↓ 1 callers
Method
isb_parse
Base64 encoded and missing the plaintext part of the message
record/Bankmail.py:51
↓ 1 callers
Function
isb_parser
Base64 encoded and missing the plaintext part of the message
record/paymentbot.py:28
↓ 1 callers
Function
isk_to_btc
(isk=1)
record/exchanges.py:58
↓ 1 callers
Function
isk_to_eur
(isk=1.0)
record/exchanges.py:29
↓ 1 callers
Method
keys
(self)
record/bottle.py:1942
↓ 1 callers
Method
landsbanki_parse
Multipart message that is base64 encoded. Select line and hope the best
record/Bankmail.py:59
↓ 1 callers
Function
landsbanki_parser
Multipart message that is base64 encoded. Select line and hope the best
record/paymentbot.py:37
↓ 1 callers
Method
lb_get
(self, name)
record/model.py:870
↓ 1 callers
Method
lb_save
(self, name, ip, userc, heartb, score, selfc, throughp, cpu, uptime, total, maxt, enabled, is_exit)
record/model.py:861
↓ 1 callers
Function
load_app
Load a bottle application from a module and make sure that the import does not affect the current default application, but returns a separate
record/bottle.py:2733
↓ 1 callers
Method
lookup
Search for a resource and return an absolute file path, or `None`. The :attr:`path` list is searched in order. The first match is
record/bottle.py:2088
↓ 1 callers
Function
main
()
record/monitor.py:33
↓ 1 callers
Function
main
()
record/update_btcprices.py:12
↓ 1 callers
Function
main
()
record/newdb.py:14
↓ 1 callers
Function
main
()
utils/mkinvkey.py:17
↓ 1 callers
Function
main
()
utils/mkapikey.py:18
↓ 1 callers
Function
main
()
utils/checkapikey.py:19
↓ 1 callers
Function
main
()
utils/enablenode.py:20
↓ 1 callers
Function
main
()
utils/deposit.py:30
↓ 1 callers
Function
main
()
utils/mkloadbalancer.py:17
↓ 1 callers
Function
main
()
utils/addserver.py:19
↓ 1 callers
Method
mkinstaller
Creates a /srv/clients/<name>/Lokun-install.exe for this user. /srv/clients/<name>/config.zip must exist. This method returning witho
record/model.py:469
↓ 1 callers
Method
mkinvoice
(self)
record/model.py:328
↓ 1 callers
Method
mkkeys
Creates the user's /srv/clients/<name>/config.zip
record/model.py:484
↓ 1 callers
Function
mktables
Populates the db conn points at with tables.
record/model.py:950
↓ 1 callers
Method
new_btc_isk
(self, btc_isk, btc_price)
record/model.py:812
↓ 1 callers
Method
parse
(self)
record/Bankmail.py:28
↓ 1 callers
Function
parse_auth
Parse rfc2617 HTTP authentication header string (basic) and return (user,pass) tuple or None
record/bottle.py:2288
↓ 1 callers
Function
parse_date
Parse rfc1123, rfc850 and asctime timestamps and return UTC epoch.
record/bottle.py:2279
↓ 1 callers
Function
parse_range_header
Yield (start, end) ranges parsed from a HTTP Range header. Skip unsatisfiable ranges. The end index is non-inclusive.
record/bottle.py:2298
↓ 1 callers
Function
path_shift
Shift path fragments from PATH_INFO to SCRIPT_NAME and vice versa. :return: The modified paths. :param script_name: The SCRIPT_NAME
record/bottle.py:2388
↓ 1 callers
Method
prepare
Run preparations (parsing, caching, ...). It should be possible to call this again to refresh a template or to update settings.
record/bottle.py:2955
↓ 1 callers
Function
process
(message)
record/paymentbot.py:92
↓ 1 callers
Function
putuser
(name)
record/restapi.py:78
↓ 1 callers
Function
redirect
Aborts execution and causes a 303 or 302 redirect, depending on the HTTP protocol version.
record/bottle.py:2187
↓ 1 callers
Method
rm
(self)
record/model.py:636
↓ 1 callers
Method
rm_btc_addr
(self, addr)
record/model.py:849
↓ 1 callers
Function
rrdupdate
(ts, usercount, bw)
record/monitor.py:20
↓ 1 callers
Function
rrdupdate
(ts, usercount, bw)
rrd/monitorparser.py:14
← previous
next →
101–200 of 621, ranked by callers