inginious.frontend.webapp package¶
Package that implements a webapp for INGInious
Subpackages¶
- inginious.frontend.webapp.pages package
- Subpackages
- inginious.frontend.webapp.pages.api package
- inginious.frontend.webapp.pages.course_admin package
- Submodules
- inginious.frontend.webapp.pages.course_admin.aggregation_edit module
- inginious.frontend.webapp.pages.course_admin.aggregation_info module
- inginious.frontend.webapp.pages.course_admin.aggregation_list module
- inginious.frontend.webapp.pages.course_admin.aggregation_task module
- inginious.frontend.webapp.pages.course_admin.batch module
- inginious.frontend.webapp.pages.course_admin.classroom_edit module
- inginious.frontend.webapp.pages.course_admin.danger_zone module
- inginious.frontend.webapp.pages.course_admin.download module
- inginious.frontend.webapp.pages.course_admin.settings module
- inginious.frontend.webapp.pages.course_admin.student_info module
- inginious.frontend.webapp.pages.course_admin.student_list module
- inginious.frontend.webapp.pages.course_admin.student_task module
- inginious.frontend.webapp.pages.course_admin.submission module
- inginious.frontend.webapp.pages.course_admin.task_edit module
- inginious.frontend.webapp.pages.course_admin.task_edit_file module
- inginious.frontend.webapp.pages.course_admin.task_info module
- inginious.frontend.webapp.pages.course_admin.task_list module
- inginious.frontend.webapp.pages.course_admin.utils module
- Submodules
- inginious.frontend.webapp.pages.aggregation module
- inginious.frontend.webapp.pages.course module
- inginious.frontend.webapp.pages.index module
- inginious.frontend.webapp.pages.maintenance module
- inginious.frontend.webapp.pages.tasks module
- inginious.frontend.webapp.pages.utils module
- Subpackages
- inginious.frontend.webapp.plugins package
- Subpackages
- Submodules
- inginious.frontend.webapp.plugins.client_test module
- inginious.frontend.webapp.plugins.demo_page module
- inginious.frontend.webapp.plugins.edx module
- inginious.frontend.webapp.plugins.git_repo module
- inginious.frontend.webapp.plugins.simple_grader module
- inginious.frontend.webapp.tests package
Submodules¶
inginious.frontend.webapp.accessible_time module¶
Contains AccessibleTime, class that represents the period of time when a course/task is accessible
-
class
inginious.frontend.webapp.accessible_time.AccessibleTime(val=None)[source]¶ Bases:
objectrepresents the period of time when a course/task is accessible
-
after_start(when=None)[source]¶ Returns True if the task/course is or have been accessible in the past
-
get_start_date()[source]¶ Return a datetime object, representing the date when the task/course become accessible
-
get_std_end_date()[source]¶ If the date is custom, return the end datetime with the format %Y-%m-%d %H:%M:%S. Else, returns “”.
-
inginious.frontend.webapp.app module¶
inginious.frontend.webapp.batch_manager module¶
inginious.frontend.webapp.courses module¶
A course class with some modification for users
-
class
inginious.frontend.webapp.courses.WebAppCourse(courseid, content, task_factory, hook_manager)[source]¶ Bases:
inginious.frontend.common.courses.FrontendCourseA course with some modification for users
-
get_access_control_method()[source]¶ Returns either None, “username”, “realname”, or “email”, depending on the method used to verify that users can register to the course
-
get_accessibility(plugin_override=True)[source]¶ Return the AccessibleTime object associated with the accessibility of this course
-
get_registration_accessibility()[source]¶ Return the AccessibleTime object associated with the registration
-
get_registration_password()[source]¶ Returns the password needed for registration (None if there is no password)
-
is_open_to_non_staff()[source]¶ Returns true if the course is accessible by users that are not administrator of this course
-
is_password_needed_for_registration()[source]¶ Returns true if a password is needed for registration
-
is_registration_possible(username, realname, email)[source]¶ Returns true if users can register for this course
-