data collection update
diff --git a/scripts/assignments.js b/scripts/assignments.js
index 1295f82..e7800ca 100644
--- a/scripts/assignments.js
+++ b/scripts/assignments.js
@@ -355,14 +355,13 @@
var updatesHTML = "";
if (dtps.remoteConfig.remoteUpdate.active) {
- markdown = new showdown.Converter();
updatesHTML += /*html*/`
<div style="cursor: auto; padding: 20px; --classColor: var(--secText);" class="announcement card open">
<div class="className">
<img src="${dtps.baseURL + "/icon.svg"}" style="vertical-align: middle;width: 22px;margin-right: 5px;" />
<span style="font-weight: bold; vertical-align: middle; color: var(--text); font-size: 18px;">${dtps.remoteConfig.remoteUpdate.title}</span>
</div>
- ${markdown.makeHtml(dtps.remoteConfig.remoteUpdate.md)}
+ ${dtps.remoteConfig.remoteUpdate.html}
</div>
`;
}
diff --git a/scripts/core.js b/scripts/core.js
index a3683cd..11023c1 100644
--- a/scripts/core.js
+++ b/scripts/core.js
@@ -1,7 +1,7 @@
/**
* @file DTPS Core functions and module loader
* @author jottocraft
- * @version v3.1.0
+ * @version v3.1.1
*
* @copyright Copyright (c) 2018-2021 jottocraft. All rights reserved.
* @license GPL-2.0-only
@@ -36,8 +36,8 @@
* @property {boolean} searchScrollListener True if the search scroll listener has been added
*/
var dtps = {
- ver: 310,
- readableVer: "v3.1.0",
+ ver: 311,
+ readableVer: "v3.1.1",
env: new URL(window.dtpsBaseURL || "https://powerplus.app").hostname == "localhost" ? "dev" : window.jottocraftSatEnv || "prod",
classes: [],
baseURL: window.dtpsBaseURL || "https://powerplus.app",
@@ -86,7 +86,7 @@
loadingAlert: null,
remoteUpdate: {
title: null,
- md: null,
+ html: null,
active: false
}
}
diff --git a/www/dev/index.html b/www/dev/index.html
index 2154af4..5ddd60b 100644
--- a/www/dev/index.html
+++ b/www/dev/index.html
@@ -142,7 +142,7 @@
<img src="assets/dev.svg" />
<div class="description">
<h3>Development Status</h3>
- <p>v3.1.0 - New fixes and improvements will be released to the dev version first</p>
+ <p>v3.1.1 - New fixes and improvements will be released to the dev version first</p>
<span>To start using the dev version of Power+, visit Settings -> About -> Advanced Options and
select "Test prerelease versions". Then, navigate to Settings -> Prerelease testing and select
"Dev". Once you've done that, just reload Power+ to load the dev version. Keep in mind that the
diff --git a/www/index.html b/www/index.html
index d4d0571..45625ec 100644
--- a/www/index.html
+++ b/www/index.html
@@ -169,14 +169,44 @@
<img src="assets/server.svg" />
<div class="description">
<h3>Privacy</h3>
+ <p>Privacy summary</p>
<ul>
- <li>Power+ does not collect any personal information</li>
- <li>Power+ gets data directly from Canvas to your computer without being processed by a Power+
- server or a 3rd party</li>
- <li>Grades are calculated on-device</li>
- <li>Prefrences and grade history are stored on-device</li>
- <li>Power+'s code is open-source and hosted directly from <a
- href="https://github.com/jottocraft/dtps">GitHub</a></li>
+ <li>Power+ does <b>not</b> collect any personal information. All personal information shown in
+ Power+ is fetched directly from Canvas to your device. All processing of personal information
+ (such as grade calculation) is done on-device.</li>
+ <li>Prefrences and grade history are stored on-device.</li>
+ <li>Power+'s code is fully open-source on <a href="https://github.com/jottocraft/dtps">GitHub</a>.
+ </li>
+ </ul>
+ <p>Data collection</p>
+ <ul>
+ <li>Power+ collects basic non-personally identifiable information to understand how people use
+ Power+. This helps determine how Power+ can be improved to meet its user's needs and to make
+ sure Power+ works as intended across a variety of users and use cases.</li>
+ <li>Starting Febuary 1st, 2021, Power+ will collect the information listed below:
+ <ul>
+ <li>Basic device/session information (including, but not limited to):
+ <ul>
+ <li>Operating system</li>
+ <li>Browser</li>
+ <li>IP Address</li>
+ <li>Session data (including how often and how long you use Power+)</li>
+ <li>How you access Power+ (e.g. Canvas sidebar, bookmarklet, URL, etc.)</li>
+ <li>The URL and LMS that you use Power+ with</li>
+ </ul>
+ </li>
+ <li>Basic user information:
+ <ul>
+ <li>User ID hash (the user ID collected by Power+ is a hash of your LTI ID and cannot be
+ traced back to you)</li>
+ <li>User role (e.g. student, parent, etc.)</li>
+ <li>Usage data (including what features you use)</li>
+ <li>The number of classes you use Power+ with</li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ <li>If you have any questions or concerns about your privacy on Power+ please contact me at <a href="mailto:[email protected]">[email protected]</a>.</li>
</ul>
</div>
</div>