Luminate Sandbox updates. Todos. Updated cloning courses for Anthology. New Bulk Delete script. Just need to add some functions.
This commit is contained in:
@ -28,21 +28,27 @@
|
||||
<div class="course-length">{{course.properties.course_length}}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
||||
{% else %}
|
||||
<div></div>
|
||||
{% endif %}
|
||||
<div class="np-card-content-footer">
|
||||
<div class="np-card-content-footer">
|
||||
<div class="np-card-content-progress np-button-color">
|
||||
{% t shared.progress, count: course.progress %}
|
||||
{% if course.enrolled? == false and course.properties.course_cost > 0 %}
|
||||
Course for Purchase
|
||||
{% else %}
|
||||
{% t shared.progress, count: course.progress %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% capture course_path %}{% route course, id: course.id %}{% endcapture %}
|
||||
{% if course.has_to_restart? %}
|
||||
{% include "course_version_outdated_popup", path: course_path %}
|
||||
{% endif %}
|
||||
<a class="np-button np-button-wide" href="{{ course_path }}">
|
||||
{% if course.progress > 0 and course.progress < 100 %}
|
||||
Continue
|
||||
{% if course.enrolled? == false and course.properties.course_cost > 0 %}
|
||||
${{ course.properties.course_cost }}
|
||||
{% elsif course.progress > 0 and course.progress < 100 %}
|
||||
Continue
|
||||
{% elsif course.progress == 100 %}
|
||||
Retake
|
||||
{% else %}
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
<div class="np-top-cta">
|
||||
{% include "course_progress_and_cta" %}
|
||||
</div>
|
||||
<div class="np-alert" id="fiveserv-alert" style="background-color: red; color: white; display:none;">
|
||||
<div class="np-alert" id="fiveserv-alert" style="background-color: red; color: white; display:none; font-weight: 500;">
|
||||
</div>
|
||||
{% include "course_outline" %}
|
||||
</div>
|
||||
|
||||
@ -111,14 +111,12 @@
|
||||
|
||||
var error_code = JSON.parse(sessionStorage.getItem('stringside')).pgreturncode
|
||||
var error_desc = JSON.parse(sessionStorage.getItem('stringside')).pgreturndescription
|
||||
console.log(error_code)
|
||||
console.log(error_desc)
|
||||
if(error_code != 000 ) {
|
||||
console.log("If statement has run")
|
||||
var alert = document.getElementById("fiveserv-alert")
|
||||
document.getElementById("fiveserv-alert").style.display = 'grid';
|
||||
var error_text = document.createTextNode(error_desc);
|
||||
var error_text = document.createTextNode(error_desc + ". Please try again.");
|
||||
alert.appendChild(error_text)
|
||||
sessionStorage.clear()
|
||||
} else {
|
||||
window.location.replace('https://luminatesandbox.northpass.com/c/{{ course.enrollment_code }}')
|
||||
sessionStorage.clear()
|
||||
|
||||
@ -50,7 +50,7 @@
|
||||
|
||||
{% assign survey_courses = "" %}
|
||||
{% assign survey_course_completed = false %}
|
||||
{% if current_school.id == "10183441-2254-4b1e-a9f7-9549ca773257" %}
|
||||
{% if current_school.id == "10183441-2254-4b1e-a9f7-9549ca773257" %}
|
||||
{% comment %} LIVE SCHOOL {% endcomment %}
|
||||
{% assign survey_course = catalog_courses | where: "id", "b3225a47-448d-4988-962a-18d37d6616d0" %}
|
||||
{% elsif current_school.id == "804edb32-c300-42f3-82b7-e5d55fcbc2a6" %}
|
||||
@ -86,7 +86,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{% include "sub_navigation" %}
|
||||
|
||||
|
||||
{% include "homepage_featured", items: catalog_courses %}
|
||||
|
||||
<div class="np-max-width np-homepage-row-wrapper">
|
||||
@ -105,11 +105,11 @@
|
||||
<div class="col-xs-12 col-md-4">
|
||||
{% include "cards_learning_path_progress" %}
|
||||
</div>
|
||||
|
||||
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
{% if lps_in_progress > 0 %}
|
||||
<div class="see-more-wrapper">
|
||||
<a href="/app/dashboard" style="margin-top:24px;">See more</a>
|
||||
@ -124,10 +124,10 @@
|
||||
<img class="np-zero-state-learning-paths" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% comment %} {% if features.training_events? %}
|
||||
@ -153,7 +153,7 @@
|
||||
</div>
|
||||
|
||||
{% include "homepage_ongoing_training", items: catalog_courses %}
|
||||
|
||||
|
||||
{% include "homepage_topics" %}
|
||||
<button
|
||||
type="button"
|
||||
@ -190,14 +190,14 @@
|
||||
<div class="modal-links">
|
||||
<a href="javascript:setPopupSeenProperty('/app/dashboard')" class="secondary" data-toggle-trigger-off>No thanks! I can figure it out.</a>
|
||||
|
||||
{% if current_school.id == "10183441-2254-4b1e-a9f7-9549ca773257" %}
|
||||
{% if current_school.id == "10183441-2254-4b1e-a9f7-9549ca773257" %}
|
||||
{% comment %} LIVE SCHOOL {% endcomment %}
|
||||
<a href="javascript:setPopupSeenProperty('/app')" data-redirect="/app">Sure! Show me around.</a>
|
||||
{% elsif current_school.id == "804edb32-c300-42f3-82b7-e5d55fcbc2a6" %}
|
||||
{% comment %} SANDBOX SCHOOL {% endcomment %}
|
||||
<a href="javascript:setPopupSeenProperty('https://luminatesandbox.northpass.com/c/0e61b8e5ced6f6093816fed850226ac828853eaf')" data-redirect="/app">Sure! Show me around.</a>
|
||||
{% endif %}
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@ -214,7 +214,7 @@
|
||||
<div id="dialogContent" class="survey-popup-content">
|
||||
<div class="modal-headline">Please take a moment to tell us more about you!</div>
|
||||
<div class="modal-links">
|
||||
{% if current_school.id == "10183441-2254-4b1e-a9f7-9549ca773257" %}
|
||||
{% if current_school.id == "10183441-2254-4b1e-a9f7-9549ca773257" %}
|
||||
{% comment %} LIVE SCHOOL {% endcomment %}
|
||||
{% comment %} <a href="javascript:setPopupSeenProperty('/app')" data-redirect="/app">Sure! Show me around.</a> {% endcomment %}
|
||||
{% elsif current_school.id == "804edb32-c300-42f3-82b7-e5d55fcbc2a6" %}
|
||||
@ -295,11 +295,11 @@
|
||||
|
||||
if (currentDateSeconds > (popupSeenSeconds + 1209600) && currentDateSeconds) {
|
||||
console.log("more than 2 weeks after first popup")
|
||||
|
||||
|
||||
const surveyCourseCompleted = {{survey_course_completed}}
|
||||
|
||||
if (surveyCourseCompleted == false) {
|
||||
if (localStorage.getItem("survey_modal_clicked") == null) {
|
||||
if (localStorage.getItem("survey_modal_clicked") == null) {
|
||||
showSurveyPopup()
|
||||
} else {
|
||||
const lastClickedDateSeconds = new Date(localStorage.getItem("survey_modal_clicked")).getTime() / 1000
|
||||
@ -307,7 +307,7 @@
|
||||
showSurveyPopup()
|
||||
} else {
|
||||
console.log(`dont show survey popup again until 2 weeks after ${localStorage.getItem("survey_modal_clicked")} or course completed`)
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
localStorage.removeItem("survey_modal_clicked");
|
||||
@ -351,13 +351,13 @@
|
||||
console.log("percent: ", percent)
|
||||
setProgress(percent, circle)
|
||||
}
|
||||
|
||||
|
||||
function setProgress(percent, circle) {
|
||||
const offset = circumference - percent * circumference;
|
||||
circle.style.strokeDashoffset = offset;
|
||||
}
|
||||
|
||||
})
|
||||
})
|
||||
|
||||
function setPopupSeenProperty(redirectUrl) {
|
||||
localStorage.setItem("modal_clicked", true);
|
||||
@ -384,7 +384,7 @@
|
||||
setTimeout(function() {
|
||||
window.location.href = redirectUrl;
|
||||
}, 250)
|
||||
|
||||
|
||||
}).catch(error => {
|
||||
console.log(error)
|
||||
setTimeout(function() {
|
||||
|
||||
55
Scripts/API_Tests/bulk_delete.py
Normal file
55
Scripts/API_Tests/bulk_delete.py
Normal file
@ -0,0 +1,55 @@
|
||||
import requests
|
||||
|
||||
UUIDS = [
|
||||
"4d55519e-23e4-4e85-8031-e68e52f77a46",
|
||||
"704fea02-273e-4453-a7fe-71a8dc5f1031",
|
||||
"ef9081d3-df4c-4f55-b3ee-dd20bdc2d1a6",
|
||||
"5f652fd5-a1f2-4e07-9073-b80b3dfcb9ca",
|
||||
"bdc88e35-c833-451b-bc67-3ebcd7202ebd",
|
||||
"47339b19-8299-46f0-b031-b8d45a871b08",
|
||||
"e1b67f48-2088-460b-9839-ccfb2e115402",
|
||||
"921b9793-1be8-4fe2-85a3-f36537ae5454",
|
||||
"bedee723-7265-4c5b-adab-54dc81b436e1",
|
||||
"5784e5ee-2b18-4aba-8ec1-e72da136c659",
|
||||
"306659a4-68ff-48b5-b65b-f8159974295c",
|
||||
"d1f0801a-0f00-4f35-8946-a775e04d039c",
|
||||
"a57ac5f5-7cb7-4e16-8af9-95f2788909f6",
|
||||
"3a12eb0f-52f4-481a-9240-7d2c510006a6",
|
||||
"a74c091f-54b0-4cdb-a798-e22a9547da11",
|
||||
"9bcfc758-1bb9-427d-bc86-e126b531df90",
|
||||
"af17da78-8bc8-4965-b178-5834154275bd",
|
||||
"826190c9-f0e4-4902-b50b-652ba02053b6",
|
||||
"871d664d-2b2d-4f15-bc6a-bc331f3d1070",
|
||||
"e615db94-9702-47d5-a22e-9ba7d673da98",
|
||||
"1ee0f203-1e42-46b4-a119-49fbfa0b5d2b",
|
||||
"6504557f-12de-4238-a5fd-e18c502bc425",
|
||||
"c994aec1-81a7-40c7-a340-ab25c9d1bfa4",
|
||||
"d8c32ae1-4969-4f7f-a1fd-2a394d773d1d",
|
||||
"cf6ab7e2-1406-4750-992a-220eacdeb747",
|
||||
"82bf7893-f819-4cc2-b6fc-61d22effed3f",
|
||||
"f1aab995-fc36-409b-a767-c7c4e1fa5cf1",
|
||||
"b46f49b3-eee5-4ccb-a749-b2f52dff1c58",
|
||||
"3e276d00-964a-466d-ad11-ed92b8bc0184",
|
||||
"2e52dab4-8564-48b7-b720-a7fed15e83d2",
|
||||
"451333e2-2714-4c25-a915-589594567b39",
|
||||
"76e09686-56c7-45a1-b804-6941dad72b4a",
|
||||
"9e5cf6a6-cc03-4c3c-bbee-8e2c60914d1d",
|
||||
"c42d6024-a2be-4806-a476-a82723b26b6b",
|
||||
"5f39aa12-94ba-4c9d-8aa4-2e9aff2003ba",
|
||||
"d14b4156-6f02-4f80-ad86-d6cc62b51d80",
|
||||
"ccd8a392-e274-4f69-90fc-6f27ca2d5ad2",
|
||||
"c5a3b866-bf3e-4af2-9b34-d82780b817ee",
|
||||
"684937da-0672-459b-9d22-c4f350750c80",
|
||||
"430b5be3-6dff-4798-9faa-4cb134ca3251",
|
||||
]
|
||||
URL = "https://api.northpass.com/v2/bulk/people/delete"
|
||||
HEADERS = {
|
||||
"accept": "application/json",
|
||||
"content-type": "application/json",
|
||||
"X-Api-Key": "L93lGMSugtpmsBhSAkx3tei6B"
|
||||
}
|
||||
PAYLOAD = { "payload": UUIDS }
|
||||
response = requests.post(URL, headers=HEADERS, json=PAYLOAD)
|
||||
print(response.status_code)
|
||||
print(response.text)
|
||||
|
||||
@ -8,130 +8,26 @@ const rl =
|
||||
})
|
||||
var userEmail= 'nrasmussen@northpass.com';
|
||||
var userPassword= 'ecx5pmy!MAN2vgh2knc';
|
||||
var otp = '645926';
|
||||
var schoolUUID = '10183441-2254-4b1e-a9f7-9549ca773257'
|
||||
var otp = '528686';
|
||||
var schoolUUID = '52d19519-103f-45e3-9fa8-d21baa0f8aaa'
|
||||
var courseUUIDs = [
|
||||
"a978f04f-c5d6-46e3-bc28-de4597c43f99",
|
||||
"aab97526-9327-426b-993f-6f44c6efb377",
|
||||
"f8c2c89d-ba0e-4e6c-8804-798656d002e1",
|
||||
"bde3d9c8-90b6-4acb-9e69-b1242bc1d497",
|
||||
"cfe77bfa-a813-45ff-b4ff-7e3fa0849125",
|
||||
"ac4fbf2e-ed8f-404d-b995-f0ef73481466",
|
||||
"76b31e1e-b95f-4d6d-b7c2-3b7922f284d2",
|
||||
"5fc53f4b-e958-45f8-8538-c6157179149e",
|
||||
"3ee9994c-2adb-4ed6-b1b1-dfec691f7735",
|
||||
"d22e589f-bd2d-4eca-b862-f52777f8db50",
|
||||
"a8cfe0a3-bb11-4023-a7ce-a8e6c8ebcdf5",
|
||||
"b4268e28-c76f-4278-9ad5-e60f470e388c",
|
||||
"3f8caa12-77a7-4631-9e3b-928d6fe49bbe",
|
||||
"aeb99114-9ee6-450f-8621-6da17ebf6a4a",
|
||||
"02b3e6d6-a01a-4e8c-8a15-587b204e2984",
|
||||
"88a247d6-3abd-4ea6-aeef-4165552854f0",
|
||||
"526ee3a8-882a-4fd4-8ff6-6ae29086b206",
|
||||
"43b1698e-8ee8-43f6-bcf8-86b638547c39",
|
||||
"f6888fd6-8a68-40b2-8892-02cd8f4e1b19",
|
||||
"b6e74090-0a63-4195-b705-0890ef494796",
|
||||
"9e20cffc-3371-47ca-841b-0bdcbee4e98c",
|
||||
"a10f7795-cac0-4992-9af7-03c9914ec994",
|
||||
"cc3518f3-3f09-44ea-a907-7c7b98e9d756",
|
||||
"d6bb33f2-fb6c-424d-b0e4-a42f6f46d240",
|
||||
"3559bae6-4c88-4c9b-84db-1c444a632e91",
|
||||
"37349bf5-13ce-4f7d-8672-7da448233325",
|
||||
"b3225a47-448d-4988-962a-18d37d6616d0",
|
||||
"0a6ca3bd-9838-4a29-b451-d5d02c525d85",
|
||||
"3c969988-4641-4877-9d9d-87aeadc171c4",
|
||||
"27a247c7-eeaa-4233-a081-d224b15d9040",
|
||||
"fef7be46-530c-4374-8737-7450fa864ed5",
|
||||
"8c84727d-4aa1-42c0-8170-9b3e2be81d66",
|
||||
"ea901457-bb1c-4818-8379-dd1f21ad94fb",
|
||||
"e2e6e38b-228d-40dc-9d0c-dc55cabb8c16",
|
||||
"69fe4069-8011-40be-846f-3f3956dfdc8a",
|
||||
"4fa058ed-8499-462e-b978-9918675de110",
|
||||
"1358a1d2-5d20-4a7b-ab5e-1aaabd8d571f",
|
||||
"ee2d4f3f-ca7a-49e1-9886-9b67752c5e63",
|
||||
"9029e20c-bc63-4cc1-b188-d2dc361fa4eb",
|
||||
"4a79d955-fe02-4075-9146-8dd1975f0a18",
|
||||
"0a125f9f-6af3-4029-853d-8efc15aefbe5",
|
||||
"f65031ec-96ba-452f-9a8a-bffe2eca7e85",
|
||||
"fbd6bff8-bc65-4f17-abe4-567997dee41d",
|
||||
"ce731ff0-a828-4024-b86b-f6ca4f783102",
|
||||
"ea9d09d0-2731-446d-b653-2c68ead7cb71",
|
||||
"2c43fa5a-e443-4762-abd7-e2e284240493",
|
||||
"3b6dba80-accf-49f3-b193-6cae75f0e944",
|
||||
"9de38fa7-e178-4c86-af3b-9ca3cc00a967",
|
||||
"ef650352-9671-487c-b2f3-f2d5459a630f",
|
||||
"0d7739fb-f4c8-4b72-a007-89d2afa4819c",
|
||||
"bcdc40ae-c5d4-40c9-acb5-61cf679b5c4f",
|
||||
"34de9e33-b4a9-4393-bb53-e0a4e421bf73",
|
||||
"9b95db0c-8537-4578-9b82-bd75f2491c93",
|
||||
"bd549bd0-7f56-4fee-9e76-463b133effe8",
|
||||
"8991d47f-4868-4d72-8226-436f39913d77",
|
||||
"d23c5a9c-9eab-43c7-911c-a4c1ffcf8e8c",
|
||||
"aeadc2b3-b6c6-427f-89f0-64df35502e5b",
|
||||
"d0326543-bff6-4dd3-b4d4-351e0761dad7",
|
||||
"891f4347-abd5-4e41-852e-d3533750315e",
|
||||
"8922b625-5e07-4bb6-a484-abcb3ce0a266",
|
||||
"f6ace929-8332-4e4f-b551-abb841e9351a",
|
||||
"34739495-4376-4019-8a9b-c01e6a0fde48",
|
||||
"7dfd28f5-86e7-4b79-bcb3-be45567633d6",
|
||||
"8373757f-2470-4aa1-9605-1d1f184efd19",
|
||||
"f05feaaf-871d-4b3b-b5ed-a18a16dada4e",
|
||||
"00aaa9cd-4050-4933-86df-8d717f10ae98",
|
||||
"7ad9e103-8704-4c7a-b677-d700f15cc18b",
|
||||
"8ae0812a-8b58-40ac-adf8-5ea774bb9df7",
|
||||
"38f3fef6-ed0f-4b57-855e-c8e13a71a09b",
|
||||
"90a6df4b-eb86-4f50-ae4c-a9d6bca619af",
|
||||
"e870b099-1a10-48f6-9dd3-b94d554dced8",
|
||||
"cbe8e2c3-d739-4d53-b153-dd7e289b8df3",
|
||||
"e6ebdb67-98b7-4f08-a8fb-192f9365775c",
|
||||
"81e5710c-c9a0-44b7-be09-ca27a8139781",
|
||||
"415ffa35-0e96-4f10-afdc-586f91372aa9",
|
||||
"b5668f9f-fb0f-49fe-9474-97fb6745b8e2",
|
||||
"666a7394-a12c-4895-958e-f5e6e1af1687",
|
||||
"59a3bdda-f269-428d-9a07-5a49fc46b076",
|
||||
"598d27b2-e675-4b49-bf8a-0ea6f850c12b",
|
||||
"d5b78f04-3575-4c82-8e75-4e447a109551",
|
||||
"67276754-8c13-4a4b-839a-a47e8311956a",
|
||||
"6f98d346-fcce-4d2d-9eb2-526415d44e13",
|
||||
"fa178f98-05c7-4f65-8e45-d7eb437c5712",
|
||||
"17fa89d2-c726-4fce-bfde-cf72a92bdeae",
|
||||
"ecc595ed-8ba6-4790-8222-1b9f1c23f525",
|
||||
"b303b8ca-281e-400a-982b-04f0868f8199",
|
||||
"ccf16af6-faaf-403c-8ebf-fbfc5ed4f559",
|
||||
"c19b07d0-2602-42cc-9c2a-fc291d46af0e",
|
||||
"c510126e-4152-4369-a26d-8613d829da71",
|
||||
"2dbd7b86-2be1-44ac-9537-f5bb87d93dd5",
|
||||
"d1a9086d-4820-4bae-913e-ae1b2af0636b",
|
||||
"f94334aa-4b0d-4728-853a-7d16a6a20c35",
|
||||
"00fc99cc-ba92-4d50-9c3a-7591f4ae7ae8",
|
||||
"a2f17e5d-c958-4fdd-bdbc-49e7a3ef7bd5",
|
||||
"18dd3b8a-0a28-49fb-9702-11a8dccaddc7",
|
||||
"b2eadf91-7083-49d5-a3ea-458edff48a40",
|
||||
"9c8eda62-ae4b-48dd-bafd-696300cdb9b8",
|
||||
"d741b455-dae0-42c4-9d9f-d04c89cb35f1",
|
||||
"27665cd0-ecc0-41a8-beaa-db680d836792",
|
||||
"89f6848b-80a8-4d46-a9fd-9c7bf1c0d923",
|
||||
"631d621a-5e6d-4ccf-a56e-206fc579e54b",
|
||||
"8442beb2-6007-4fa2-b37d-816f1e9b741c",
|
||||
"168df92c-9703-4568-ab56-b17b0dbfc973",
|
||||
"1cd9c660-de96-4206-a9cf-20f24528f2d5",
|
||||
"0e2abd4f-6254-4e15-b9a0-e57741f6b3a5",
|
||||
"29354a1b-501a-4063-96d7-99a179d4ec4d",
|
||||
"01bbb2af-1079-4359-816f-0265df0c5069",
|
||||
"872aff52-15d0-4981-aa34-dbc77a7d190c",
|
||||
"cea30827-8991-460d-b572-6573226cfee3",
|
||||
"ea0354e7-8ba0-4271-925a-517a3dcc3966",
|
||||
"9b7febdb-35ea-4709-b4d2-6eca9dbab30e",
|
||||
"536c6a98-238c-4338-b052-2584614a38d1",
|
||||
"047052af-07d9-4872-be17-0e78004a6ef3",
|
||||
"d2fc5758-acb2-4cb6-a8b9-26d4b0e7b9ec",
|
||||
"144a50f3-ded3-46a8-a269-49e31a396f20",
|
||||
"32311dd3-e952-422b-aa40-e13607d886c6",
|
||||
"254c9eaa-cdbf-4361-a937-86a67ea32e52",
|
||||
"388c18be-2602-4e99-a1f2-fbfd0f89f04c",
|
||||
|
||||
"e78fffce-0e95-4f55-a419-05be0015a2cf",
|
||||
"ab16655f-3e99-4d37-82c6-8ea3f100f184",
|
||||
"925a0380-cdf2-45ce-9f67-0183eb881fb7",
|
||||
"22c1831f-6e12-423b-9959-6afb62fa06a9",
|
||||
"21494afa-787a-4522-88ce-b556ddbb28ef",
|
||||
"0fb94072-4119-455e-8f08-4f08cf113b67",
|
||||
"ba9437f8-78bc-4a83-9b62-b91a312b2a9b",
|
||||
"3070d735-894f-46f7-b0b5-a095f740e114",
|
||||
"c6f90043-674f-4077-b4a0-cb0a15fb5283",
|
||||
"b4e8ed8d-baaf-494f-a108-34a2a83967cf",
|
||||
"1a071eb6-fc22-4bdd-bdd8-14742cebfdfa",
|
||||
"e752059a-ff8c-47f4-9a7c-b5a335bb2bed",
|
||||
"bec96106-adb3-4224-a561-415bd7c70073",
|
||||
"6af6e861-3e4b-47ac-b804-3f0e8b24e0da",
|
||||
"88f3dd64-9382-4929-aa65-57e7fadf40eb",
|
||||
]
|
||||
var schoolNameToCloneTo = "Luminate Mexico";
|
||||
var schoolNameToCloneTo = "Anthology U";
|
||||
|
||||
function wait(ms) {
|
||||
return new Promise(r => setTimeout(r, ms));
|
||||
@ -140,7 +36,7 @@ function wait(ms) {
|
||||
pt.launch({ headless: false }).then(async browser => {
|
||||
var p = await browser.newPage();
|
||||
await p.setViewport({ width: 1000, height: 500 })
|
||||
await p.goto('https://app2.northpass.com/admin/sign_in')
|
||||
await p.goto('https://app.northpass.com/admin/sign_in')
|
||||
await wait(500)
|
||||
console.log("First Wait")
|
||||
await p.type('#administrator_email', userEmail)
|
||||
@ -148,13 +44,13 @@ pt.launch({ headless: false }).then(async browser => {
|
||||
await p.click('input.button');
|
||||
await wait(500)
|
||||
console.log("Second Wait")
|
||||
await p.goto('https://app2.northpass.com/admin/twofactorauth/edit')
|
||||
await p.goto('https://app.northpass.com/admin/twofactorauth/edit')
|
||||
await wait(500)
|
||||
await p.type('#otp_otp_attempt',otp)
|
||||
await p.click('input.button');
|
||||
await wait(500)
|
||||
for (var i = 0; i < courseUUIDs.length;i++) {
|
||||
await p.goto('https://app2.northpass.com/admin/schools/'+ schoolUUID +'/courses/'+ courseUUIDs[i] +'/clone/new')
|
||||
await p.goto('https://app.northpass.com/admin/schools/'+ schoolUUID +'/courses/'+ courseUUIDs[i] +'/clone/new')
|
||||
await p.type('#react-select-2-input',schoolNameToCloneTo)
|
||||
await p.keyboard.press('Enter');
|
||||
await wait(100)
|
||||
|
||||
23
Todos.md
23
Todos.md
@ -293,7 +293,7 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th
|
||||
|
||||
## 05-20-2024
|
||||
|
||||
- [ ] Datasnipper - send Dirk list of needs for next week
|
||||
- [X] Datasnipper - send Dirk list of needs for next week
|
||||
- [X] Update Notes for Glassdoor, tell Tracy to email thank you
|
||||
- [X] Scheduled time with Oli for Slido
|
||||
- [X] Enter Slido notes
|
||||
@ -316,9 +316,9 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th
|
||||
|
||||
## 05-28-2024
|
||||
|
||||
- [ ] Pipedrive - Follow up on Optimizely and Segment in a week or two
|
||||
- [ ] Pipedrive - Send follow ups
|
||||
- [ ] Kaisa - Steps & Process for redesign
|
||||
- [X] Pipedrive - Follow up on Optimizely and Segment in a week or two
|
||||
- [-] Pipedrive - Send follow ups
|
||||
- [X] Kaisa - Steps & Process for redesign
|
||||
- [ ] Chloe - What we need to implement SEO - examples of why FAQ is working.
|
||||
- [ ] Cin7 - Employee Catalog Filters - show ALL categories, no matter what
|
||||
- [X] Cin7 - Badges - still showing duplicate badges.
|
||||
@ -332,3 +332,18 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th
|
||||
|
||||
- [ ] Cin7 - Catalog Filters showing both Core and Omni despite learner only in one group
|
||||
- [ ] Cin7 - Badges still duplicating
|
||||
|
||||
## 06-06-2024
|
||||
|
||||
- [ ] DataSnipper - People & Groups Report
|
||||
- [ ] Sandata - If someone selects Caregiver role, place them in the caregiver group according to their state
|
||||
- [ ] Sandata - Do not place a user in the Admin group if they select the state: Ohio.
|
||||
- [ ] Walmart Luminate - Mass delete from file.
|
||||
- [X] Chubb - Add props to all users from file.
|
||||
|
||||
## 06-10-2024
|
||||
|
||||
- [ ] DataSnipper - Course Overview page, click enroll and auto-click start. Bring to LX
|
||||
- [ ] DataSnipper - Order My Courses section by not started/in-progress, completed at bottom.
|
||||
- [ ] DataSnipper - On dashboard can we ignore courses enrolled via learning path
|
||||
- [ ] Blacklane - Mass Delete Internal Users
|
||||
|
||||
Reference in New Issue
Block a user