e2xauthoring 0.3.0.dev0__tar.gz → 0.3.0.dev2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/PKG-INFO +1 -1
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/conf.py +1 -1
- e2xauthoring-0.3.0.dev2/e2xauthoring/__version__.py +1 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/app/handlers/apihandlers.py +1 -1
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/app/handlers/base.py +5 -5
- e2xauthoring-0.3.0.dev2/e2xauthoring/app/templates/authoring/asset-manifest.json +10 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/app/templates/authoring/index.html +1 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/app/templates/authoring/static/favicon.ico +0 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/app/templates/authoring/static/js/main.5bf82181.js +3 -0
- e2xauthoring-0.3.0.dev0/e2xauthoring/app/templates/authoring/static/js/main.4c8c48b6.js.LICENSE.txt → e2xauthoring-0.3.0.dev2/e2xauthoring/app/templates/authoring/static/js/main.5bf82181.js.LICENSE.txt +6 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/app/templates/authoring/static/js/main.5bf82181.js.map +1 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/dataclasses/__init__.py +18 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/dataclasses/gitstatus.py +12 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/dataclasses/jsondataclass.py +7 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/dataclasses/messages.py +17 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/dataclasses/pool.py +19 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/dataclasses/task.py +13 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/dataclasses/template.py +15 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/git/__init__.py +6 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/git/base.py +243 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/git/factory.py +34 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/git/gitrepo.py +67 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/git/utils.py +36 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/managers/taskmanager.py +55 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/managers/taskpoolmanager.py +38 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/managers/templatemanager.py +29 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/models/__init__.py +13 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/models/pool.py +177 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/models/poolcollection.py +134 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/models/task.py +204 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/models/template.py +82 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/models/templatecollection.py +93 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/patterns/__init__.py +3 -0
- e2xauthoring-0.3.0.dev2/e2xauthoring/patterns/observer.py +23 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/utils/notebookvariableextractor.py +2 -1
- e2xauthoring-0.3.0.dev2/e2xauthoring/utils/pathutils.py +37 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/package-lock.json +59 -6
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/package.json +1 -1
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/pyproject.toml +1 -1
- e2xauthoring-0.3.0.dev0/e2xauthoring/__version__.py +0 -1
- e2xauthoring-0.3.0.dev0/e2xauthoring/app/templates/authoring/asset-manifest.json +0 -10
- e2xauthoring-0.3.0.dev0/e2xauthoring/app/templates/authoring/index.html +0 -1
- e2xauthoring-0.3.0.dev0/e2xauthoring/app/templates/authoring/static/js/main.4c8c48b6.js +0 -3
- e2xauthoring-0.3.0.dev0/e2xauthoring/app/templates/authoring/static/js/main.4c8c48b6.js.map +0 -1
- e2xauthoring-0.3.0.dev0/e2xauthoring/managers/dataclasses/__init__.py +0 -49
- e2xauthoring-0.3.0.dev0/e2xauthoring/managers/taskmanager.py +0 -176
- e2xauthoring-0.3.0.dev0/e2xauthoring/managers/taskpoolmanager.py +0 -78
- e2xauthoring-0.3.0.dev0/e2xauthoring/managers/templatemanager.py +0 -71
- e2xauthoring-0.3.0.dev0/e2xauthoring/utils/gitutils.py +0 -188
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/.github/workflows/black.yml +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/.github/workflows/ruff.yml +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/.github/workflows/sonarcloud.yml +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/.gitignore +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/.pre-commit-config.yaml +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/.readthedocs.yaml +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/LICENSE +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/MANIFEST.in +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/README.md +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/Makefile +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/make.bat +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/requirements.txt +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/index.rst +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/setup/index.rst +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/setup/installation.rst +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/add_files.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/add_question.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/add_tasks.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/assignment_worksheets.drawio +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/assignment_worksheets.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/assignments.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/attachment_editor.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/autograded_code_question.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/choose_tasks_1.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/diagram_question.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/diagram_question_rendered.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/freetext_question.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/make_worksheet.drawio +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/make_worksheet.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/manual_code_question.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/multiple_choice_question.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/multiple_choice_question_rendered.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/new_task.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/sample_template.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/sample_template_variables.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/single_choice_question.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/single_choice_question_rendered.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/tasks.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/templates.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/upload_question_rendered.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/worksheet.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/worksheet_options.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/worksheets.drawio +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/img/worksheets.png +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/index.rst +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/pool.rst +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/questions.rst +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/task.rst +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/template.rst +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/docs/source/user_docs/worksheet.rst +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/__init__.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/app/__init__.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/app/authoring.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/app/handlers/handlers.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/assets/.gitignore +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/converters/__init__.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/converters/converter.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/converters/generateexercise.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/managers/__init__.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/managers/assignmentmanager.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/managers/base.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/managers/presetmanager.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/managers/presets/questions/Code (Autograded).ipynb +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/managers/presets/questions/Code (Manual).ipynb +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/managers/presets/questions/Diagram.ipynb +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/managers/presets/questions/Freetext.ipynb +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/managers/presets/questions/Multiple Choice.ipynb +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/managers/presets/questions/Single Choice.ipynb +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/managers/presets/questions/Upload Files.ipynb +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/managers/presets/template/Footer.ipynb +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/managers/presets/template/Group Info.ipynb +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/managers/presets/template/Header.ipynb +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/managers/presets/template/Student Info.ipynb +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/managers/worksheetmanager.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/preprocessors/__init__.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/preprocessors/addtaskheader.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/preprocessors/copyfiles.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/preprocessors/copynotebooks.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/preprocessors/filltemplate.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/preprocessors/generatetaskids.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/preprocessors/makeexercise.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/preprocessors/preprocessor.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/preprocessors/removeexercise.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/utils/__init__.py +0 -0
- {e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/lerna.json +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: e2xauthoring
|
|
3
|
-
Version: 0.3.0.
|
|
3
|
+
Version: 0.3.0.dev2
|
|
4
4
|
Summary: Authoring app for e2xgrader
|
|
5
5
|
Project-URL: Source, https://github.com/Digiklausur/e2xauthoring
|
|
6
6
|
Project-URL: Documentation, https://e2xauthoring.readthedocs.io/en/latest/
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
project = "e2xauthoring"
|
|
10
10
|
copyright = "2023, Tim Metzler"
|
|
11
11
|
author = "Tim Metzler"
|
|
12
|
-
release = "0.3.0-
|
|
12
|
+
release = "0.3.0-dev2"
|
|
13
13
|
github_project_url = "https://github.com/Digiklausur/e2xauthoring"
|
|
14
14
|
|
|
15
15
|
# -- General configuration ---------------------------------------------------
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.3.0-dev2"
|
{e2xauthoring-0.3.0.dev0 → e2xauthoring-0.3.0.dev2}/e2xauthoring/app/handlers/apihandlers.py
RENAMED
|
@@ -6,6 +6,7 @@ from jupyter_client.kernelspec import KernelSpecManager
|
|
|
6
6
|
from nbgrader.server_extensions.formgrader.base import check_xsrf
|
|
7
7
|
from tornado import web
|
|
8
8
|
|
|
9
|
+
from ...git import get_author, set_author
|
|
9
10
|
from ...managers import (
|
|
10
11
|
AssignmentManager,
|
|
11
12
|
PresetManager,
|
|
@@ -14,7 +15,6 @@ from ...managers import (
|
|
|
14
15
|
TemplateManager,
|
|
15
16
|
WorksheetManager,
|
|
16
17
|
)
|
|
17
|
-
from ...utils.gitutils import get_author, set_author
|
|
18
18
|
from .base import ApiManageHandler
|
|
19
19
|
|
|
20
20
|
|
|
@@ -6,7 +6,7 @@ from e2xcore.handlers import E2xApiHandler
|
|
|
6
6
|
from nbgrader.server_extensions.formgrader.base import check_xsrf
|
|
7
7
|
from tornado import web
|
|
8
8
|
|
|
9
|
-
from
|
|
9
|
+
from ...dataclasses import ErrorMessage, SuccessMessage
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
def status_msg(method):
|
|
@@ -103,22 +103,22 @@ class ApiManageHandler(E2xApiHandler):
|
|
|
103
103
|
@check_xsrf
|
|
104
104
|
async def get(self):
|
|
105
105
|
result = await self.handle_request("get")
|
|
106
|
-
self.finish(result.
|
|
106
|
+
self.finish(result.to_json())
|
|
107
107
|
|
|
108
108
|
@web.authenticated
|
|
109
109
|
@check_xsrf
|
|
110
110
|
async def delete(self):
|
|
111
111
|
result = await self.handle_request("delete")
|
|
112
|
-
self.finish(result.
|
|
112
|
+
self.finish(result.to_json())
|
|
113
113
|
|
|
114
114
|
@web.authenticated
|
|
115
115
|
@check_xsrf
|
|
116
116
|
async def put(self):
|
|
117
117
|
result = await self.handle_request("put")
|
|
118
|
-
self.finish(result.
|
|
118
|
+
self.finish(result.to_json())
|
|
119
119
|
|
|
120
120
|
@web.authenticated
|
|
121
121
|
@check_xsrf
|
|
122
122
|
async def post(self):
|
|
123
123
|
result = await self.handle_request("post")
|
|
124
|
-
self.finish(result.
|
|
124
|
+
self.finish(result.to_json())
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="{{base_url}}/e2x/authoring/static/favicon.ico"><title>e²xauthoring</title><script type="text/javascript">window.base_url="{{ base_url }}",window.url_prefix="{{ url_prefix }}",window.webpackstuff="/e2x/authoring/static/js/main.5bf82181.js"</script><script defer="defer" src="{{base_url}}/e2x/authoring/static/js/main.5bf82181.js"></script>{%- block head -%} {%- endblock -%}</head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|