inginious.frontend.common package
Submodules
inginious.frontend.common.arch_helper module
inginious.frontend.common.courses module
Classes modifying basic tasks, problems and boxes classes
-
class
inginious.frontend.common.courses.FrontendCourse(courseid, content, task_factory, hook_manager)[source]
Bases: inginious.common.courses.Course
A basic course extension that stores the name of the course
-
get_name()[source]
Return the name of this course
inginious.frontend.common.installer module
inginious.frontend.common.parsable_text module
inginious.frontend.common.plugin_manager module
Plugin Manager
-
class
inginious.frontend.common.plugin_manager.PluginManager[source]
Bases: inginious.common.hook_manager.HookManager
Registers an manage plugins. The init method inits only the Hook Manager; you have to call the method load() to start the plugins
-
add_page(pattern, classname)[source]
Add a new page to the web application. Only available after that the Plugin Manager is loaded
-
add_task_file_manager(task_file_manager)[source]
Add a task file manager. Only available after that the Plugin Manager is loaded
-
get_database()[source]
Returns the frontend database
-
get_submission_manager()[source]
Returns the submission manager
-
get_user_manager()[source]
Returns the user manager
-
load(client, webpy_app, course_factory, task_factory, database, user_manager, submission_manager, config)[source]
Loads the plugin manager. Must be done after the initialisation of the client
-
register_auth_method(auth_method)[source]
Register a new authentication method
- name
- the name of the authentication method, typically displayed by the webapp
input_to_display
Only available after that the Plugin Manager is loaded
-
exception
inginious.frontend.common.plugin_manager.PluginManagerNotLoadedException[source]
Bases: exceptions.Exception
inginious.frontend.common.session_mongodb module
inginious.frontend.common.static_middleware module
inginious.frontend.common.submission_manager module
inginious.frontend.common.task_page_helpers module
inginious.frontend.common.task_problems module
inginious.frontend.common.tasks module
inginious.frontend.common.tasks_code_boxes module
inginious.frontend.common.template_helper module
inginious.frontend.common.user_manager module