diff --git a/CZ-dupe-ids.csv b/CZ-dupe-ids.csv new file mode 100644 index 00000000..3f10cfc3 --- /dev/null +++ b/CZ-dupe-ids.csv @@ -0,0 +1,34 @@ +Name,Id,ExternalId +Amdocs - APAC,20589,65763 +Luxoft,27527,276171 +Banco de Reservas,308019,281880 +Ernst & Young - APAC - India Practice,40938,174951 +Adevinta,26492,121499 +Infostretch,9006,227887 +PepsiCo,21909,250252 +Salt River Project,14158,265506 +Salt River Project- Sub-,1,326935 +Eargo Inc,2384,111677 +NumericTech,79,189463 +Catalyte,11290,274699 +Anheuser-Busch InBev (AB INBev) - APAC,18243,247523 +GE HEALTHCARE, India,28519,281925 +Geneva Trading,14413,250261 +CNSI,31330,217295 +RS21,8100,280328 +Peloton Interactive, Inc.,1301,47528 +Scoot Tigerair Pte Ltd,21151,263425 +Nubank Brasil,1553,73907 +Hewlett Packard Enterprise,1660,278151 +Toshiba Software India Pvt. Ltd.,39918,245342 +Stellantis,301334,274976 +Oracle,1914,146325 +Salesforce, Inc.,680,26581 +HT Digital,34188,23763 +Singapore Telecommunications Ltd. (Singtel),6178,247115 +Qualcomm,5547,79801 +Boston Consulting Group - GAMMA,791,82341 +Boston Consulting Group - Platinion,5158,209228 +Capgemini Technology Services India Limited,37744,62787 +HackerRank,1632,25227 +Equinix - APAC,39561,191973 diff --git a/Custom_Templates/customer_templates/G2/homepage.html.liquid b/Custom_Templates/customer_templates/G2/homepage.html.liquid index 5620702d..48cea96d 100644 --- a/Custom_Templates/customer_templates/G2/homepage.html.liquid +++ b/Custom_Templates/customer_templates/G2/homepage.html.liquid @@ -116,10 +116,6 @@ max-width: 760px; } } - a { - text-deocration:none; - color:white; - } diff --git a/Custom_Templates/customer_templates/Mizuno Running/dashboard.html.liquid b/Custom_Templates/customer_templates/Mizuno Running/dashboard.html.liquid index a6530894..41899749 100644 --- a/Custom_Templates/customer_templates/Mizuno Running/dashboard.html.liquid +++ b/Custom_Templates/customer_templates/Mizuno Running/dashboard.html.liquid @@ -4,83 +4,10 @@
Hi {{current_person.first_name}}!
-
Welcome to Mizuno Golf Academy
+
Welcome to Mizuno Running Academy
-
- {% if features.learning_paths? %} -
-
- {% t shared.learning_paths %} -
- {% include "learning_paths_index", items: learning_paths.enrolled %} -
-
-
Course Progress
- {% include "widget_course_progress" %} - - {%- comment -%}
Recent Achievements
- {% include "widget_achievements" %} {%- endcomment -%} -
- {% else %} -
-
Course Progress
- {% include "widget_course_progress" %} -
- {%- comment -%}
-
Recent Achievements
- {% include "widget_achievements" %} -
{%- endcomment -%} - {% endif %} -
- -
- Courses -
-
- {% if courses.enrolled.any? %} - {% for course in courses.enrolled %} - {% assign course_status = "" %} - - {% if course.started? == false %} - {% assign course_status = "not-started" %} - {% elsif course.completed? %} - {% assign course_status = "completed" %} - {% elsif course.started? %} - {% assign course_status = "in-progress" %} - {% endif %} - - - {% endfor %} - {% else %} - {% capture message %} - {% t shared.zero_state.courses.index, - key: current_school.course_vocabulary - %} - {% endcapture %} -
- {% include "courses_zero_state", message: message %} -
- {% endif %} -
-. - - {% comment %}
-
-
- {% t .upcoming_events %} -
- {% if training_events.enrolled.any? %} - {% - include "carousel_events", - items: training_events.enrolled, - %} - {% else %} -
- {% include "training_events_zero_state" %} -
- - {% endif %} -
-
{% endcomment %}
{% include "footer" %} + diff --git a/Scripts/API_Tests/accredible-create.py b/Scripts/API_Tests/accredible-create.py index 14c94797..1c831ae6 100644 --- a/Scripts/API_Tests/accredible-create.py +++ b/Scripts/API_Tests/accredible-create.py @@ -14,12 +14,12 @@ def create_cred(): "email": "norm+accredtest2@northpass.com", # "id": "TEST21234", }, - "name": "Skuid Test Credential", + # "name": "Skuid Test Credential", "group_id": 461982, - "issued_on": "07/08/2023", - "expired_on": "07/08/2024", + # "issued_on": "07/08/2023", + # "expired_on": "07/08/2024", "complete": True, - "private": True, + "private": False, }, } try: diff --git a/Scripts/API_Tests/qm-log.txt b/Scripts/API_Tests/qm-log.txt new file mode 100644 index 00000000..8c80d6d7 --- /dev/null +++ b/Scripts/API_Tests/qm-log.txt @@ -0,0 +1,80 @@ +No Data - 11:45:09 +No Data - 11:45:14 +No Data - 11:45:19 +No Data - 11:45:24 +No Data - 11:45:29 +No Data - 11:45:34 +No Data - 11:45:39 +No Data - 11:45:44 +No Data - 11:45:49 +No Data - 11:45:54 +No Data - 11:45:59 +No Data - 11:46:04 +No Data - 11:46:09 +No Data - 11:46:14 +No Data - 11:46:19 +No Data - 11:46:24 +No Data - 11:46:29 +No Data - 11:46:34 +No Data - 11:46:39 +No Data - 11:46:44 +No Data - 11:46:49 +No Data - 11:46:54 +No Data - 11:46:59 +No Data - 11:47:04 +No Data - 11:47:09 +No Data - 11:47:14 +No Data - 11:47:19 +No Data - 11:47:24 +No Data - 11:47:29 +No Data - 11:47:34 +No Data - 11:47:39 +No Data - 11:47:44 +No Data - 11:47:49 +No Data - 11:47:54 +No Data - 11:47:59 +No Data - 11:48:04 +No Data - 11:48:09 +No Data - 11:48:14 +No Data - 11:48:19 +No Data - 11:48:24 +No Data - 11:48:29 +No Data - 11:48:34 +No Data - 11:48:39 +No Data - 11:48:44 +No Data - 11:48:49 +No Data - 11:48:54 +No Data - 11:48:59 +No Data - 11:49:04 +No Data - 11:49:09 +No Data - 11:49:14 +No Data - 11:49:19 +No Data - 11:49:24 +No Data - 11:49:29 +No Data - 11:49:34 +No Data - 11:49:39 +No Data - 11:49:44 +No Data - 11:49:49 +No Data - 11:49:54 +No Data - 11:49:59 +No Data - 11:50:04 +No Data - 11:50:09 +No Data - 11:50:14 +No Data - 11:50:19 +No Data - 11:50:24 +No Data - 11:50:29 +No Data - 11:50:34 +No Data - 11:50:39 +No Data - 11:50:44 +No Data - 11:50:49 +No Data - 11:50:54 +No Data - 11:50:59 +No Data - 11:51:04 +No Data - 11:51:09 +No Data - 11:51:14 +No Data - 11:51:19 +No Data - 11:51:24 +['norm@northpass.com', '352630000352630', 0, None, None] - 11:51:29 +['norm@northpass.com', '352630000352630', 100, 'Pass', '2023-06-09T15:51:30.133Z'] - 11:51:34 +['norm@northpass.com', '352630000352630', 100, 'Pass', '2023-06-09T15:51:30.133Z'] - 11:51:39 +['norm@northpass.com', '352630000352630', 100, 'Pass', '2023-06-09T15:51:30.133Z'] - 11:51:44 diff --git a/Scripts/API_Tests/questionmark_results.py b/Scripts/API_Tests/questionmark_results.py index a4b9819d..b61009be 100644 --- a/Scripts/API_Tests/questionmark_results.py +++ b/Scripts/API_Tests/questionmark_results.py @@ -1,10 +1,14 @@ +import threading import requests - +from datetime import datetime def get_results(): + threading.Timer(5.0, get_results).start() url = "https://ondemand.questionmark.com/deliveryodata/406287/Results" - params = "?$filter=ParticipantName eq tom.leggett%40questionmark.com" + params = "?$filter=ParticipantName eq 'norm@northpass.com'" + # params = "?$filter=ParticipantName eq 'tom.leggett@questionmark.com'" # params = "?$filter=AssessmentID eq 352630000352630L" + # Alexa Test 1 AssesmentID = 0346128000346128 url_params = f"{url}{params}" headers = { @@ -15,8 +19,31 @@ def get_results(): # response = requests.get(url, headers=headers) response = requests.get(url_params, headers=headers) - print(response) - print(response.text) + data = response.json() + data = data["value"] + + now = datetime.now() + current_time = now.strftime("%H:%M:%S") + + if data == []: + logfile = open("qm-log.txt", "a") # append mode + logfile.write(f"No Data - {current_time} \n") + logfile.close() + else: + datalist = [] + for item in data: + email = item["ParticipantName"] + passval = item["ScoreBandTitle"] + score = item["PercentageScore"] + assesmentid = item["AssessmentID"] + finished = item["WhenFinished"] + + datalist = [email, assesmentid, score, passval, finished] + print(datalist) + logfile = open("qm-log.txt", "a") # append mode + logfile.write(str(datalist)) + logfile.write(f" - {current_time} \n") + logfile.close() if __name__ == "__main__":