diff --git a/README.md b/README.md
index bbfdd79..5a1f5fc 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,12 @@
-
+
-# Better Canvas
+# Betterer Canvas
-Enhancements to Canvas like dark mode, better todo list, GPA calculator, and more!
+The developer got greedy and decided to make things paid and ruin the UI so I am taking this into my own hands.
+
+They tried to change license but forgot to wipe the codebase for thier MIT licensed version, so this is a fully legal fork.
+
+Enhancements to Canvas AND bettercanvas like dark mode, better todo list, GPA calculator, and more!
### Supported on
@@ -12,12 +16,14 @@ Enhancements to Canvas like dark mode, better todo list, GPA calculator, and mor
## Inquiries
-To contact me, please email ksucpea@gmail.com, or you can open an issue within the "Issues" tab on GitHub.
+To contact me, please email sandlerguy5@gmail.com, or you can open an issue within the "Issues" tab on GitHub.
+
+If you are ksucpea and want to take this down, you can't, and I have [proof of legality](#proof-of-legality)
## Table of Contents
- [Features](#features)
-- [Installation](#installation)
+- [Dev Installation](#dev-installation)
- [Usage](#usage)
- [Version Notes](#version-notes)
- [Color Reference](#color-reference)
@@ -31,7 +37,7 @@ Better Canvas introduces improvements to the Canvas user interface:
- Fully customizable dark mode (choose from premade options or manually edit dark mode)
- Automatic scheduling for dark mode
- Dashboard card color palletes
-- Themes created by users
+- Themes created by users (broken due to fork)
- Assignments due list
- Dashboard notes
- Better todo list
@@ -46,24 +52,24 @@ Better Canvas introduces improvements to the Canvas user interface:
- Browser wide popup assignment reminder
- Preview assignments and announcements from the dashboard
-## Installation
+## Dev Installation
-To install, run, and build with this repository,
+To install, run, and build with this repository locally,
- Clone the repository locally with
```bash
- git clone https://github.com/ksucpea/bettercanvas.git
+ git clone https://github.com/GuySandler/betterercanvas
```
-- Visit `chrome://extensions` in your browser.
+- Visit `chrome://extensions` in your browser. (replace chrome with your version of chromium)
- Enable developer mode by toggling the switch in the upper right corner of the viewport.
- Click the "Load upacked" button in the header.
- When prompted to open a file, select the root directory of this repository.
## Usage
-To use Better Canvas, select your browser below to install the extension.
+To use Better Canvas, select your browser below to install the extension from a store.
[Chrome](https://chrome.google.com/webstore/detail/better-canvas/cndibmoanboadcifjkjbdpjgfedanolh)
@@ -115,8 +121,6 @@ To use Better Canvas, select your browser below to install the extension.
To add a new feature, please follow these guidelines.
-Note: I will probably make this automated in the future but it's a bit of work right now.
-
#### Identifier
- Should be a unqiue one/two word storage identifier to indicate its status. (ie "dark_mode" or "dashboard_grades")
@@ -266,13 +270,24 @@ Learn more about tree commands for Linux/Unix [here](https://www.geeksforgeeks.o
Learn more about tree commands for Windows [here](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/tree).
+## proof of legality
+
+This is the version right before the monetization of bettercanvas, original license and all.
+here is some proof the lisence was changed and this is based on the reverted MIT version 5.12.6
+
+
+
## Authors
-#### Owner
+#### Fork Owner
+
+- [Guy](https://github.com/guysandler)
+
+#### Original Owner
- [ksucpea](https://github.com/ksucpea)
-#### Contributors
+#### Original Contributors
- [fudgeu](https://github.com/fudgeu)
- [Tibo Geeraerts](https://github.com/tibogeeraerts)
diff --git a/crowdin.yml b/crowdin.yml
deleted file mode 100644
index 7ad5e5c..0000000
--- a/crowdin.yml
+++ /dev/null
@@ -1,3 +0,0 @@
-files:
- - source: /_locales/en/*.json
- translation: /_locales/%locale%/%original_file_name%
diff --git a/html/options.html b/html/options.html
index 1cccbbb..e6d0734 100644
--- a/html/options.html
+++ b/html/options.html
@@ -18,7 +18,8 @@
-
Welcome to Better Canvas!
+
-er
+
Welcome to Better Canvas!
Refresh your Canvas page to setup
👈
@@ -43,7 +44,7 @@
-
My email is ksucpea@gmail.com if you
+
My email is sandlerguy5@gmail.com if you
have any issues/suggestions - any feedback is appreciated!
diff --git a/html/popup.html b/html/popup.html
index dccb9da..49aeac3 100644
--- a/html/popup.html
+++ b/html/popup.html
@@ -696,7 +696,10 @@
The letter grade will be calculated as greater than or equal to the percentage given.
If your school doesn't use the +/- system, you can enter 101 for those grades to remove them from the
calculation. (for example A+ = 101, A = 90, A- = 101)
+
+
+
diff --git a/icon/NEWtitle.png b/icon/NEWtitle.png
new file mode 100644
index 0000000..164ab3a
Binary files /dev/null and b/icon/NEWtitle.png differ
diff --git a/icon/NEWtitle.svg b/icon/NEWtitle.svg
new file mode 100644
index 0000000..f173649
--- /dev/null
+++ b/icon/NEWtitle.svg
@@ -0,0 +1,99 @@
+
+
+
+
diff --git a/js/popup.js b/js/popup.js
index 306ceca..8d7132c 100644
--- a/js/popup.js
+++ b/js/popup.js
@@ -496,7 +496,7 @@ function setup() {
document.getElementById("save-theme").addEventListener("click", saveCurrentTheme);
// activate submit theme button
- document.getElementById("submit-theme-btn").addEventListener("click", submitTheme);
+ // document.getElementById("submit-theme-btn").addEventListener("click", submitTheme);
document.getElementById("submit-theme-btn-1").addEventListener("click", () => {
document.getElementById("submit-popup").classList.add("open");
@@ -537,7 +537,7 @@ function setup() {
});
// activate theme browser opt in
- document.getElementById("new_browser_in").addEventListener("click", registerUser);
+ // document.getElementById("new_browser_in").addEventListener("click", registerUser);
document.querySelectorAll(".theme-sort-btn").forEach(btn => {
btn.addEventListener("click", (e) => {
@@ -560,7 +560,7 @@ function setup() {
document.getElementById("opt-in").style.display = "block";
});
- document.getElementById("view-submissions-btn").addEventListener("click", displayMySubmissions);
+ // document.getElementById("view-submissions-btn").addEventListener("click", displayMySubmissions);
document.getElementById("submit-form-btn").addEventListener("click", displayThemeSubmissionForm);
}
@@ -581,7 +581,7 @@ function displayThemeSubmissionForm() {
document.getElementById("view-submissions-btn").classList.remove("active");
}
-async function displayMySubmissions() {
+async function displayMySubmissions() { //TODO: remake
const sync = await chrome.storage.sync.get("id");
const res = await fetch(`${apiurl}/api/themes/submissions?id=${sync["id"]}`);
const data = await res.json();
@@ -768,7 +768,7 @@ function shortScore(score) {
let fallback = false;
-async function submitTheme() {
+async function submitTheme() { //TODO: remake
const sync = await chrome.storage.sync.get(null);
@@ -797,7 +797,7 @@ async function submitTheme() {
"theme": JSON.stringify(theme)
});
- fetch(`${apiurl}/api/themes/submit`, {
+ fetch(`${apiurl}/api/themes/submit`, { //
"method": "POST",
"body": body,
"headers": {
@@ -815,7 +815,7 @@ async function submitTheme() {
});
}
-async function registerUser() {
+async function registerUser() { // TODO: remake
try {
let id;
@@ -919,7 +919,7 @@ function setLikeTimeout() {
}, 1000);
}
-async function likeTheme(location, code, score) {
+async function likeTheme(location, code, score) { // TODO: remake
if (likeThemeTimeout === true) return;
@@ -966,7 +966,7 @@ async function likeTheme(location, code, score) {
}
}
-async function getAndLoadTheme(code) {
+async function getAndLoadTheme(code) { // todo: remake
const key = `themes/${code}`;
let output = {};
if (cache[key]) {
@@ -981,7 +981,7 @@ async function getAndLoadTheme(code) {
importTheme(output);
}
-async function displayThemeListNew(direction) {
+async function displayThemeListNew(direction) { // TODO: remake
document.getElementById("theme-current-sort").textContent = current_sort;
if (direction === -1 && current_page_num > 1) current_page_num--;
@@ -1041,12 +1041,13 @@ async function displayThemeListNew(direction) {
const themeBtn = createThemeButton(container, theme);
themeBtn.addEventListener("click", (e) => {
if (!e.target.classList.contains("clickable")) return;
- getAndLoadTheme(theme.code)
+ // getAndLoadTheme(theme.code)
});
const liked = local["liked_themes"].includes(theme.code);
+ // TODO: remake
const likeBtn = createThemeLikeBtn(themeBtn, liked, theme.score, sync["browser_show_likes"]);
- likeBtn.addEventListener("click" , (e) => likeTheme(likeBtn, theme.code, theme.score));
+ // likeBtn.addEventListener("click" , (e) => likeTheme(likeBtn, theme.code, theme.score));
});
diff --git a/proof-of-legality/case1.png b/proof-of-legality/case1.png
new file mode 100644
index 0000000..a020659
Binary files /dev/null and b/proof-of-legality/case1.png differ
diff --git a/proof-of-legality/case2.png b/proof-of-legality/case2.png
new file mode 100644
index 0000000..b226101
Binary files /dev/null and b/proof-of-legality/case2.png differ