Methods¶
Summary¶
method |
class parent |
truncated documentation |
---|---|---|
AuthMount |
Checks the user is authenticated, falls back in the previous behavior, otherwise redirect to the authentification … |
|
AuthStaticFiles |
The ASGI entry point. |
|
|
Activity |
Returns the value associated to a field. |
ActivityGroup |
Retrieves the question. |
|
Base |
Returns the value associated to a field. |
|
|
Display |
Returns the value associated to a field. |
|
LanguageBase |
Returns the value associated to a field. |
|
Notion |
Returns the value associated to a field. |
QuestionChoice |
||
Activity |
||
ActivityGroup |
||
Base |
||
Display |
||
LanguageBase |
||
Notion |
||
AuthentificationAnswers |
||
LogApp |
||
DisplayQuestionChoiceHTML |
constructor |
|
QCMApp |
||
ServerHypercorn |
||
AuthMount |
||
StaticApp |
||
ActivityGroup |
To iterate on activities. |
|
ActivityGroup |
Returns the number of activities. |
|
|
Activity |
Usual |
|
ActivityGroup |
Usual |
Base |
Usual |
|
|
Display |
Usual |
|
LanguageBase |
Usual |
|
Notion |
Usual |
QCMApp |
Captures an answer. |
|
AuthentificationAnswers |
Authentification. |
|
AuthentificationAnswers |
Overwrites this method to allow or reject users. |
|
QCMApp |
Cleans up. |
|
StaticApp |
Cleans up. |
|
QCMApp |
This route does not return anything interesting except a blank page, but it logs |
|
StaticApp |
This route does not return anything interesting except a blank page, but it logs |
|
ActivityGroup |
Returns the expected answers aliases. |
|
|
AuthMount |
Retrieves the starlette application and the session. |
|
AuthStaticFiles |
Retrieves the starlette application and the session. |
_CommonMethods |
Retrieves the starlette application and the session. |
|
DisplayQuestionChoiceHTML |
Renders a question specified as QCM. |
|
ActivityGroup |
Returns a displayable number. |
|
ActivityGroup |
Computes the next question or returns None if does not exist. |
|
ActivityGroup |
Computes the previous question or returns None if does not exist. |
|
AuthentificationAnswers |
Retrieves the session. |
|
AuthentificationAnswers |
Hashes a password. |
|
AuthentificationAnswers |
Checks that a user is allowed. Returns None if it is allowed, otherwise an page with an error message. |
|
QCMApp |
Defines the last page. |
|
LogApp |
Logs information. |
|
LogApp |
Logs information about events. |
|
AuthentificationAnswers |
Login page. If paramater returnto is specified in the url, the user will go to this page after being logged. |
|
AuthentificationAnswers |
Logout page. |
|
QCMApp |
Defines the main page. |
|
StaticApp |
Defines the main page. |
|
QCMApp |
Returns an HTTP 404 page. |
|
StaticApp |
Returns an HTTP 404 page. |
|
QCMApp |
An example error. |
|
StaticApp |
An example error. |
|
QCMApp |
Returns the page context before applying any template. |
|
StaticApp |
Returns the page context before applying any template. |
|
QCMApp |
Defines the main page. |
|
ServerHypercorn |
Starts the server. |
|
AuthentificationAnswers |
Saves the session to the response in a secure cookie. |
|
QCMApp |
Returns an HTTP 500 page. |
|
StaticApp |
Returns an HTTP 500 page. |
|
QCMApp |
Startups. |
|
StaticApp |
Startups. |
|
|
Activity |
Returns all values as a dictionary. |
|
ActivityGroup |
Returns all values as a dictionary. |
Base |
Returns all values as a dictionary. |
|
|
Display |
Returns all values as a dictionary. |
|
LanguageBase |
Returns all values as a dictionary. |
|
Notion |
Returns all values as a dictionary. |
QCMApp |
Returns an answer for somebody looking to access the questions without being authentified. |
|
QCMApp |
Returns an answer for somebody looking to access the questions without being authentified. |
|
StaticApp |
Returns an answer for somebody looking to access the questions without being authentified. |