From 5120b5b9b392192810e4b4b20e2bb6bed669c33b Mon Sep 17 00:00:00 2001 From: rushilwiz Date: Tue, 16 Jun 2020 14:14:12 -0400 Subject: [PATCH 1/5] moved --- skoolos.py => CLI/skoolos.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename skoolos.py => CLI/skoolos.py (100%) diff --git a/skoolos.py b/CLI/skoolos.py similarity index 100% rename from skoolos.py rename to CLI/skoolos.py From cbd3ddb4e756a0f20a218e5e12e9c0474f8ec793 Mon Sep 17 00:00:00 2001 From: rushilwiz Date: Tue, 16 Jun 2020 14:16:03 -0400 Subject: [PATCH 2/5] moved chromedrivers and fixed usages --- CLI/skoolos.py | 4 ++-- .../chromedriver-linux | Bin chromedriver-mac => chromedriver/chromedriver-mac | Bin chromedriver.exe => chromedriver/chromedriver.exe | Bin 4 files changed, 2 insertions(+), 2 deletions(-) rename chromedriver-linux => chromedriver/chromedriver-linux (100%) rename chromedriver-mac => chromedriver/chromedriver-mac (100%) rename chromedriver.exe => chromedriver/chromedriver.exe (100%) diff --git a/CLI/skoolos.py b/CLI/skoolos.py index f335dfe..881cce4 100644 --- a/CLI/skoolos.py +++ b/CLI/skoolos.py @@ -315,9 +315,9 @@ def authenticate(): #Macos: chromdriver-mac #Windows: chromdriver.exe if('CLI' in os.getcwd()): - path = os.path.join(os.getcwd(), '../','chromedriver-mac') + path = os.path.join(os.getcwd(), '../','chromedriver/chromedriver-mac') else: - path = os.path.join(os.getcwd(), 'chromedriver-mac') + path = os.path.join(os.getcwd(), 'chromedriver/chromedriver-mac') browser = webdriver.Chrome(path) diff --git a/chromedriver-linux b/chromedriver/chromedriver-linux similarity index 100% rename from chromedriver-linux rename to chromedriver/chromedriver-linux diff --git a/chromedriver-mac b/chromedriver/chromedriver-mac similarity index 100% rename from chromedriver-mac rename to chromedriver/chromedriver-mac diff --git a/chromedriver.exe b/chromedriver/chromedriver.exe similarity index 100% rename from chromedriver.exe rename to chromedriver/chromedriver.exe From 4be9377145039c785f99e180611b7080b6ae3962 Mon Sep 17 00:00:00 2001 From: Raffu Khondaker <2022rkhondak@tjhsst.edu> Date: Tue, 16 Jun 2020 14:17:12 -0400 Subject: [PATCH 3/5] new assignment in cli --- skoolos.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/skoolos.py b/skoolos.py index f335dfe..2003e6b 100644 --- a/skoolos.py +++ b/skoolos.py @@ -230,7 +230,9 @@ def teacherCLI(user, password): ] ass = prompt(questions)['assignment'] apath = teacher.username + "/" + course + "/" + ass - + due = input("Enter due date (Example: 2020-08-11 16:58): ") + due = due + ":00.000000" + due = due.strip() teacher.addAssignment(apath, course, due) From ea5bf7c071c912090e912f927c2f279e3dd53044 Mon Sep 17 00:00:00 2001 From: Raffu Khondaker <2022rkhondak@tjhsst.edu> Date: Tue, 16 Jun 2020 14:18:39 -0400 Subject: [PATCH 4/5] skoolos.py in cli --- CLI/skoolos.py => skoolos.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) rename CLI/skoolos.py => skoolos.py (98%) diff --git a/CLI/skoolos.py b/skoolos.py similarity index 98% rename from CLI/skoolos.py rename to skoolos.py index 881cce4..2003e6b 100644 --- a/CLI/skoolos.py +++ b/skoolos.py @@ -230,7 +230,9 @@ def teacherCLI(user, password): ] ass = prompt(questions)['assignment'] apath = teacher.username + "/" + course + "/" + ass - + due = input("Enter due date (Example: 2020-08-11 16:58): ") + due = due + ":00.000000" + due = due.strip() teacher.addAssignment(apath, course, due) @@ -315,9 +317,9 @@ def authenticate(): #Macos: chromdriver-mac #Windows: chromdriver.exe if('CLI' in os.getcwd()): - path = os.path.join(os.getcwd(), '../','chromedriver/chromedriver-mac') + path = os.path.join(os.getcwd(), '../','chromedriver-mac') else: - path = os.path.join(os.getcwd(), 'chromedriver/chromedriver-mac') + path = os.path.join(os.getcwd(), 'chromedriver-mac') browser = webdriver.Chrome(path) From db8cd88668289fcf8211570d22f0eb177eba3326 Mon Sep 17 00:00:00 2001 From: Rushil Umaretiya Date: Tue, 16 Jun 2020 14:36:05 -0400 Subject: [PATCH 5/5] RAINBOW BADGES --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1e19d1e..d1e3560 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ # SkoolOS Revolutionizing the interface between students and teachers through one easy service -[![Documentation Status](https://readthedocs.org/projects/skoolos/badge/?version=latest)](https://skoolos.readthedocs.io/en/latest/?badge=latest) + +![Read the Docs](https://img.shields.io/readthedocs/skoolos?color=FF6663) +![GitHub language count](https://img.shields.io/github/languages/count/rushilwiz/SkoolOS?color=FEB144) +![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/rushilwiz/SkoolOS?color=FAFD7B) +![GitHub repo size](https://img.shields.io/github/repo-size/rushilwiz/SkooloS?color=9EE09E) +![GitHub](https://img.shields.io/github/license/rushilwiz/SkoolOS?color=9EC1CF) +![GitHub last commit](https://img.shields.io/github/last-commit/rushilwiz/SkoolOS?color=CC99C9)