diff --git a/.gitignore b/.gitignore index d379a34..ac01a04 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,12 @@ +# Python __pycache__ *.pyc + +# VSCodium .vscode +# Database db/ + +# Server setup documentation server_setup.adoc \ No newline at end of file diff --git a/README.adoc b/README.adoc index 50a1825..5634d7c 100644 --- a/README.adoc +++ b/README.adoc @@ -72,7 +72,7 @@ This URL leads to the home page where you can login with this testing admin acco * email: \admin@advlabdb.de * password: admin -NOTE: Obeviously, the email address is fake. +NOTE: Obviously, the email address is fake. == To-Do @@ -84,5 +84,5 @@ NOTE: Obeviously, the email address is fake. * Logging * Email integration + assistant reminder? * Students code for getting information and giving feedback -* Licence (GNU AGPLv3?) +* License (GNU AGPLv3?) * Privacy policy diff --git a/advlabdb/customClasses.py b/advlabdb/customClasses.py index a822562..560969e 100644 --- a/advlabdb/customClasses.py +++ b/advlabdb/customClasses.py @@ -128,7 +128,7 @@ class SecureAssistantModelView(CustomModelView): """ This method is NOT ALLOWED TO BE (completely) OVERWRITTEN! This method uses the filter returned by queryFilter (which has to be implemented!) to prevent assistants - from modifing models not listed on their view by sending a POST request with a different id. + from modifying models not listed on their view by sending a POST request with a different id. You can extend this method by implementing a custom on_model_change and then calling super().on_model_change within it. """ if is_created: diff --git a/database_import.md b/database_import.md index 6a1fc87..bbf65e7 100644 --- a/database_import.md +++ b/database_import.md @@ -34,7 +34,7 @@ The type of the attributes can be seen in "DB.drawio". Some attributes have cons ### Part - id - number -> 1 / 2 / ... -- program_label -> BS / MS / BE / ... (for bachelor of science, master of sience, bachelor of education, etc.) +- program_label -> BS / MS / BE / ... (for bachelor of science, master of science, bachelor of education, etc.) ### Student - student_number diff --git a/docs/README.adoc b/docs/README.adoc index 2050342..c91d2b1 100644 --- a/docs/README.adoc +++ b/docs/README.adoc @@ -2,7 +2,7 @@ After changing the documentation files with the `.adoc` extension in this directory, the script `update_docs.sh` has to be run to update the related html files in the directory `advlabdb/advlabdb/templates/docs`. -IMPORTANT: You have to `cd` into the `advlabdb/docs` directory where the script, this README and the documentation files with the `.adoc` extenstion are located before running the script! +IMPORTANT: You have to `cd` into the `advlabdb/docs` directory where the script, this README and the documentation files with the `.adoc` extension are located before running the script! IMPORTANT: The packages `fd` (`find` alternative) and `asciidoctor` have to be installed! diff --git a/pyproject.toml b/pyproject.toml index fb274a5..3a30b1b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ Flask = ">=2.0.2" Flask-SQLAlchemy = ">=2.5.1" Flask-WTF = ">=1.0.0" Flask-Security-Too = ">=4.1.2" -Flask-Admin = ">=1.5.8" +Flask-Admin = ">=1.6.0" [tool.poetry.dev-dependencies] flake8 = "*"