MCPcopy Create free account

hub / github.com/benediktkr/lokun-record / functions

Functions621 in github.com/benediktkr/lokun-record

↓ 112 callersMethodget
(cls)
record/model.py:764
↓ 75 callersMethodappend
Add a new value to the list of values for this key.
record/bottle.py:1810
↓ 62 callersMethodnew
(cls, name, ip, is_exit=False,max_throughput=0)
record/model.py:108
↓ 46 callersMethodget
Equals :meth:`route`.
record/bottle.py:725
↓ 38 callersMethodexecute
(self, _stdout, *args, **kwargs)
record/bottle.py:3170
↓ 35 callersMethodsave
(self)
record/model.py:210
↓ 30 callersMethodupdate
(self, usercount=0, selfcheck=False, throughput=0, total_throughput=0, uptime='0d 0h', cpu=0.0)
record/model.py:200
↓ 21 callersFunctionlog
(msg)
record/restapi.py:22
↓ 21 callersMethodreplace
Replace the list of values with a single value.
record/bottle.py:1814
↓ 20 callersFunctionabort
Like bottle.abort but json.
record/restapi.py:44
↓ 16 callersFunction_hkey
(s)
record/bottle.py:1290
↓ 13 callersMethodcommit
(self)
record/model.py:768
↓ 12 callersMethoddecode
Returns a copy with all keys and values de- or recoded to match :attr:`input_encoding`. Some libraries (e.g. WTForms) want a
record/bottle.py:1849
↓ 11 callersFunctiondepr
(message, hard=False)
record/bottle.py:138
↓ 11 callersMethoditems
(self)
record/bottle.py:1773
↓ 11 callersFunctionmake_default_app_wrapper
Return a callable that relays calls to the current default app.
record/bottle.py:2437
↓ 11 callersMethodput
Equals :meth:`route` with a ``PUT`` method parameter.
record/bottle.py:733
↓ 11 callersFunctiontob
(s, enc='utf8')
record/bottle.py:114
↓ 10 callersMethodauth
(cls, name, key)
record/model.py:99
↓ 10 callersMethodread
(cls, message, **kwargs)
record/dalpay.py:30
↓ 10 callersMethodremove
Remove a callback from a hook.
record/bottle.py:1676
↓ 10 callersMethodrun
Calls :func:`run` with the same parameters.
record/bottle.py:642
↓ 9 callersMethodclose
Close the application and all installed plugins.
record/bottle.py:658
↓ 9 callersMethodexists
(cls, name)
record/model.py:121
↓ 8 callersFunction_e
()
record/bottle.py:66
↓ 8 callersMethodcompare
(self, node1, node2)
test/test_model.py:48
↓ 8 callersFunctionlog
(message)
record/paymentbot.py:22
↓ 7 callersMethodcopy
Return a new :class:`Request` with a shallow :attr:`environ` copy.
record/bottle.py:1243
↓ 7 callersFunctionerrstatus
(e, alternative=400)
record/restapi.py:29
↓ 6 callersFunctionlocal_property
(name)
record/bottle.py:1545
↓ 6 callersMethodroute
A decorator to bind a function to a request URL. Example:: @app.route('/hello/:name') def hello(name):
record/bottle.py:683
↓ 6 callersFunctiontouni
(s, enc='utf8', err='strict')
record/bottle.py:116
↓ 6 callersMethodverify_userjson
(self, json, name, email=None, dl_left=0, credit=0)
test/test_restapi.py:32
↓ 5 callersMethod_empty
(self)
record/bottle.py:1664
↓ 5 callersMethodallitems
(self)
record/bottle.py:1774
↓ 5 callersFunctionauth
(name)
record/restapi.py:52
↓ 5 callersMethodjson
If the ``Content-Type`` header is ``application/json``, this property holds the parsed content of the request body. Only requests
record/bottle.py:1038
↓ 5 callersFunctionkey_auth
Authenticates a API key.
record/restapi.py:60
↓ 5 callersFunctionmakelist
(data)
record/bottle.py:141
↓ 5 callersMethodverify
(self, testuser, username, passwd, email='', dl_left=0, credit_isk=0)
test/test_model.py:279
↓ 4 callersMethod__init__
(self, app, rule, method, callback, name=None, plugins=None, skiplist=None, **config)
record/bottle.py:435
↓ 4 callersMethodadd_header
Add an additional response header, not removing duplicates.
record/bottle.py:1424
↓ 4 callersMethodcheck
(cls)
record/status.py:90
↓ 4 callersFunctionhtml_escape
Escape HTML special characters ``&<>`` and quotes ``'"``.
record/bottle.py:2355
↓ 4 callersMethodinstall
Add a plugin to the list of plugins and prepare it for being applied to all routes of this application. A plugin may be a simple
record/bottle.py:615
↓ 4 callersMethodmatch
Return an url-argument dictionary.
record/bottle.py:371
↓ 4 callersMethodpost
Equals :meth:`route` with a ``POST`` method parameter.
record/bottle.py:729
↓ 4 callersMethodreset
Forget any cached values. The next time :attr:`call` is accessed, all plugins are re-applied.
record/bottle.py:468
↓ 4 callersFunctionrun
Start a server instance. This method blocks until the server terminates. :param app: WSGI application or target string supported by
record/bottle.py:2747
↓ 4 callersMethodsearch
Search name in all directories specified in lookup. First without, then with common extensions. Return first hit.
record/bottle.py:2926
↓ 4 callersMethodverify
(self, testkey, key, name, status)
test/test_model.py:448
↓ 3 callersMethod_ekey
Translate header field name to CGI/WSGI environ key.
record/bottle.py:1915
↓ 3 callersMethod_fix
(self, s, encoding=None)
record/bottle.py:1842
↓ 3 callersMethod_handle
(self, environ)
record/bottle.py:775
↓ 3 callersMethodadd
Add a new route or replace the target for an existing route.
record/bottle.py:325
↓ 3 callersMethodapply
(self, callback, route)
record/bottle.py:1631
↓ 3 callersMethodbest
(cls, n=3)
record/model.py:36
↓ 3 callersMethoddown
(self)
record/model.py:191
↓ 3 callersMethodgetall
(cls)
record/model.py:125
↓ 3 callersFunctionhashed
Takes in a plaintext password and returns a hash. The hash is a string in the format "<method>$<salt>$<hash>" where method is the hashing alg
record/model.py:723
↓ 3 callersMethodkeys
(self)
record/bottle.py:1769
↓ 3 callersFunctionload
Import a module or fetch an object from a module. * ``package.module`` returns `module` as a module object. * ``pack.mod:name`` retu
record/bottle.py:2713
↓ 3 callersMethodprepare
Do all on-demand work immediately (useful for debugging).
record/bottle.py:473
↓ 3 callersMethodrender
Render the template with the specified local variables and return a single byte or unicode string. If it is a byte string, the encoding
record/bottle.py:2962
↓ 3 callersFunctionstatic_file
Open a file in a safe way and return :exc:`HTTPResponse` with status code 200, 305, 401 or 404. Set Content-Type, Content-Encoding, C
record/bottle.py:2206
↓ 3 callersFunctiontemplate
Get a rendered template as a string iterator. You can use a name, a filename or a template string as first parameter. Template rendering
record/bottle.py:3194
↓ 3 callersMethodtrigger
Trigger a hook and return a list of results.
record/bottle.py:1683
↓ 3 callersMethodvalues
(self)
record/bottle.py:1772
↓ 3 callersMethodverify
(self, testnode, name, ip, heartbeat=0, selfcheck=False, uptime='0d 0h', usercount=0, cpu=0.0, enabled=False,
test/test_model.py:25
↓ 2 callersMethod_copy_file
(self, fp, chunk_size=2**16)
record/bottle.py:2145
↓ 2 callersMethod_get_body_string
read body until content-length or MEMFILE_MAX into a string. Raise HTTPError(413) on requests that are to large.
record/bottle.py:1061
↓ 2 callersFunction_parse_qsl
(qs)
record/bottle.py:2316
↓ 2 callersMethodadd_btc_addr
(self, addr, usertag="")
record/model.py:823
↓ 2 callersMethodadd_mailid
(self, mailid)
record/model.py:902
↓ 2 callersMethodadd_route
Add a route object, but do not change the :data:`Route.app` attribute.
record/bottle.py:676
↓ 2 callersMethodapp
Bottle application handling this request.
record/bottle.py:933
↓ 2 callersMethodbuild
Build an URL by filling the wildcards in a rule.
record/bottle.py:390
↓ 2 callersMethodbuy_sub
Attempts to buy the user some subscription. First tries to use credit_btc, then credit_isk. Raises NotEnoughFundsException
record/model.py:434
↓ 2 callersMethodcall
The route callback with all plugins applied. This property is created on demand and then cached to speed up subsequent requests.
record/bottle.py:463
↓ 2 callersFunctioncheck
(user, passwd)
record/paymentbot.py:68
↓ 2 callersMethodcheck_invite_key
(self, key)
record/model.py:801
↓ 2 callersMethodget_btc_addr
(self, tag)
record/model.py:837
↓ 2 callersFunctionget_btc_value
in EUR
record/exchanges.py:37
↓ 2 callersFunctionget_eur_value
()
record/exchanges.py:23
↓ 2 callersFunctiongood_password
Return True if password is good enough to be allowed in our system.
record/model.py:713
↓ 2 callersFunctionhmac_sha512
(key, message)
record/encryption.py:47
↓ 2 callersMethoditeritems
(self)
record/bottle.py:1786
↓ 2 callersMethodlb_get_all
(self)
record/model.py:884
↓ 2 callersFunctionlog
(msg)
record/mailchecker.py:16
↓ 2 callersMethodmax_mailid
(self)
record/model.py:894
↓ 2 callersFunctionnext
(it)
record/bottle.py:106
↓ 2 callersFunctionnode_auth
Authorizes and _Authenticates_ a VPN node. Used when a node reports its health Used for correctness, a VPN node can only report its own healt
record/restapi.py:219
↓ 2 callersFunctionparseline
(line)
rrd/monitorparser.py:23
↓ 2 callersMethodpath_shift
Shift path segments from :attr:`path` to :attr:`script_name` and vice versa. :param shift: The number of path segments to shi
record/bottle.py:1176
↓ 2 callersMethodpush
Add a new :class:`Bottle` instance to the stack
record/bottle.py:1987
↓ 2 callersMethodreset
Reset all routes (force plugins to be re-applied) and clear all caches. If an ID or route object is given, only that specific route
record/bottle.py:646
↓ 2 callersMethodselect_user
(self, username)
record/model.py:776
↓ 2 callersFunctionsend_report
(state, email_on_green=False)
record/monitor.py:61
↓ 2 callersMethodset_header
Create a new response header, replacing any previously defined headers with the same name.
record/bottle.py:1419
↓ 2 callersMethoduse
(self)
record/model.py:582
next →1–100 of 621, ranked by callers