From 1c173489ede97ea10ff5a8b5a66cda7a0bfea800 Mon Sep 17 00:00:00 2001 From: rushilwiz Date: Tue, 16 Jun 2020 21:36:33 -0400 Subject: [PATCH 1/3] added chromedriver --- requirements.txt | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/requirements.txt b/requirements.txt index 27546fe..c1f72f4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ appdirs==1.4.3 cachecontrol==0.12.6 +chromedriver==2.24.1 click==7.1.2 colorama==0.4.3 contextlib2==0.6.0 @@ -52,20 +53,20 @@ yapf==0.30.0 # lazy-object-proxy==1.4.3 # Installed as dependency for astroid # markupsafe==1.1.1 # Installed as dependency for jinja2 # mccabe==0.6.1 # Installed as dependency for pylint -# msgpack==0.6.2 # Installed as dependency for pynvim, cachecontrol -# oauthlib==3.1.0 # Installed as dependency for requests-oauthlib, django-oauth-toolkit +# msgpack==0.6.2 # Installed as dependency for cachecontrol, pynvim +# oauthlib==3.1.0 # Installed as dependency for django-oauth-toolkit, requests-oauthlib # packaging==20.1 # Installed as dependency for sphinx # pillow==7.1.2 # Installed as dependency for wpgtk # prompt-toolkit==1.0.14 # Installed as dependency for pyinquirer # psycopg2-binary==2.8.5 # Installed as dependency for django-request-token -# pygments==2.6.1 # Installed as dependency for sphinx, pyinquirer +# pygments==2.6.1 # Installed as dependency for pyinquirer, sphinx # pyjwt==1.7.1 # Installed as dependency for django-request-token # pyparsing==2.4.6 # Installed as dependency for packaging -# pytz==2020.1 # Installed as dependency for django, babel +# pytz==2020.1 # Installed as dependency for babel, django # pywal==3.3.0 # Installed as dependency for wpgtk # regex==2020.5.14 # Installed as dependency for pyinquirer -# requests==2.23.0 # Installed as dependency for cachecontrol, requests-oauth, django-oauth-toolkit, sphinx, requests-oauthlib -# six==1.15.0 # Installed as dependency for astroid, prompt-toolkit, html5lib, retrying, packaging +# requests==2.23.0 # Installed as dependency for cachecontrol, requests-oauthlib, django-oauth-toolkit, sphinx, requests-oauth +# six==1.15.0 # Installed as dependency for prompt-toolkit, astroid, retrying, html5lib, packaging # snowballstemmer==2.0.0 # Installed as dependency for sphinx # sphinxcontrib-applehelp==1.0.2 # Installed as dependency for sphinx # sphinxcontrib-devhelp==1.0.2 # Installed as dependency for sphinx @@ -73,9 +74,9 @@ yapf==0.30.0 # sphinxcontrib-jsmath==1.0.1 # Installed as dependency for sphinx # sphinxcontrib-qthelp==1.0.3 # Installed as dependency for sphinx # sphinxcontrib-serializinghtml==1.1.4 # Installed as dependency for sphinx -# sqlparse==0.3.1 # Installed as dependency for django, django-request-token +# sqlparse==0.3.1 # Installed as dependency for django-request-token, django # toml==0.10.0 # Installed as dependency for pylint, pep517 -# urllib3==1.25.9 # Installed as dependency for selenium, requests +# urllib3==1.25.9 # Installed as dependency for requests, selenium # wcwidth==0.2.3 # Installed as dependency for prompt-toolkit # webencodings==0.5.1 # Installed as dependency for html5lib # wrapt==1.12.1 # Installed as dependency for astroid From 2b84dd24f64ded63893249e5059eaae415e129b5 Mon Sep 17 00:00:00 2001 From: rushilwiz Date: Tue, 16 Jun 2020 21:37:21 -0400 Subject: [PATCH 2/3] commit only to merge --- .rushilwizprofile | 1 + 2023rumareti | 1 + rushilwiz | 1 + sstern1/Students/wow4_sstern1/2023rumareti | 1 + 4 files changed, 4 insertions(+) create mode 100644 .rushilwizprofile create mode 160000 2023rumareti create mode 160000 rushilwiz create mode 160000 sstern1/Students/wow4_sstern1/2023rumareti diff --git a/.rushilwizprofile b/.rushilwizprofile new file mode 100644 index 0000000..303651c --- /dev/null +++ b/.rushilwizprofile @@ -0,0 +1 @@ +{"username": "rushilwiz", "grade": 69, "is_student": true, "password": "a"} \ No newline at end of file diff --git a/2023rumareti b/2023rumareti new file mode 160000 index 0000000..ca356ef --- /dev/null +++ b/2023rumareti @@ -0,0 +1 @@ +Subproject commit ca356ef8532873bf52ec67a647fbb91a25ca1cb7 diff --git a/rushilwiz b/rushilwiz new file mode 160000 index 0000000..b80d7ed --- /dev/null +++ b/rushilwiz @@ -0,0 +1 @@ +Subproject commit b80d7ed56b7d649a74be4e7f906d26e7be43702d diff --git a/sstern1/Students/wow4_sstern1/2023rumareti b/sstern1/Students/wow4_sstern1/2023rumareti new file mode 160000 index 0000000..ca356ef --- /dev/null +++ b/sstern1/Students/wow4_sstern1/2023rumareti @@ -0,0 +1 @@ +Subproject commit ca356ef8532873bf52ec67a647fbb91a25ca1cb7 From e28cd56f5379ebaa59b53d065b9675ead6df6c26 Mon Sep 17 00:00:00 2001 From: Raffu Khondaker <2022rkhondak@tjhsst.edu> Date: Tue, 16 Jun 2020 21:41:48 -0400 Subject: [PATCH 3/3] make dir --- CLI/teacher.py | 2 ++ docs/source/cli.rst | 16 +++++++++++++++- eharris1/Civ_eharris1/README.md | 0 eharris1/Random_eharris1/README.md | 0 students.txt | 3 ++- 5 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 eharris1/Civ_eharris1/README.md create mode 100644 eharris1/Random_eharris1/README.md diff --git a/CLI/teacher.py b/CLI/teacher.py index 5330ded..0bbd7f3 100644 --- a/CLI/teacher.py +++ b/CLI/teacher.py @@ -164,6 +164,7 @@ class Teacher: os.mkdir(self.username + "/" + c) print("Updated: " + c) command("touch " + self.username + "/" + c + "/README.md") + os.makedirs(self.username + "/Students/" + c) else: os.makedirs(self.username + "/Students") @@ -298,6 +299,7 @@ class Teacher: os.mkdir(path) f = open(path + "/README.md", "w") f.close() + os.makedirs(self.username + "/Students/" + cname) # push to remote repo # os.chdir(path) # for a in assignments: diff --git a/docs/source/cli.rst b/docs/source/cli.rst index 60d948e..23c9ed8 100644 --- a/docs/source/cli.rst +++ b/docs/source/cli.rst @@ -38,7 +38,10 @@ You will then be given the choice to select an existing class, Make a new class, 1. Making a new class: ------- -Select 'Make a New Class'. You will then be prompted to enter a class name. The format for every class must be _ (Example: Art12_eharris1). +Select 'Make a New Class'. You will then be prompted to enter a class name. The format for every class must be _ (Example: Art12_eharris1). +Enter Period (must be a positive integer). You will then be prompted to add students. If you have a list of students, enter the relative path of a text file with the student usernames. +The file must be a .txt file and have one student username per line. If you add an individual student, simply enter their ion username. +one username per line. ? Select class: (Use arrow keys) Art12_eharris1 @@ -47,6 +50,17 @@ Select 'Make a New Class'. You will then be prompted to enter a class name. The ❯ Make New Class Exit SkoolOS +? Add Students): (Use arrow keys) + ❯ 1) Add individual student + 2) Add list of students through path + 3) Exit + +? Add Students): 2) Add list of students through path +File must be .txt and have 1 student username per line +Relative Path: students.txt + + + diff --git a/eharris1/Civ_eharris1/README.md b/eharris1/Civ_eharris1/README.md new file mode 100644 index 0000000..e69de29 diff --git a/eharris1/Random_eharris1/README.md b/eharris1/Random_eharris1/README.md new file mode 100644 index 0000000..e69de29 diff --git a/students.txt b/students.txt index 80bb6da..60898ab 100644 --- a/students.txt +++ b/students.txt @@ -1 +1,2 @@ -2022rkhondak \ No newline at end of file +2022rkhondak +2023rmama \ No newline at end of file