Migrate BitBucket links to GitLab; Use GitLab CI; Update copyright date
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..3273998
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,17 @@
+default:
+  image: node:lts
+  before_script: 
+    - npm ci --cache .npm --prefer-offline
+  cache:
+    key: ${CI_COMMIT_REF_SLUG}
+    paths:
+      - .npm/
+
+stages:
+  - deploy
+
+job-deploy:
+  stage: deploy
+  script:
+    - npm run build
+    - npm run deploy
\ No newline at end of file
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index eb4a70e..33dbd0a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,10 +1,10 @@
 # Contributing

 

-Before adding new features or making major changes, please open an issue or contact me at [[email protected]](mailto:[email protected]).

+Before adding new features or making major changes, please open an issue or contact me at [[email protected]](mailto:[email protected]).

 

 ## Documentation

 

-You can read the Power+ docs at [powerplus.app/docs](https://powerplus.app/docs). 

+You can read the Power+ docs at [powerplus.app/docs/](https://powerplus.app/docs/). 

 

 ## Code Organization

 

@@ -20,7 +20,7 @@
 To get Power+ up and running locally, you'll need git and node installed on your system.

 

 ```bash

-git clone https://bitbucket.org/jottocraft/dtps.git

+git clone https://gitlab.com/jottocraft/dtps.git

 cd dtps

 npm install

 npm start

@@ -31,4 +31,4 @@
 ## NPM scripts

 - `start` Starts an HTTP server for testing Power+ locally

 - `build` Minifies Power+ and generates docs into the build folder for deployment

-- `deploy` Runs the build script, then deploys Power+ to the gh-pages branch for hosting

+- `deploy` Runs the build script, then deploys Power+ to the gh-pages branch for hosting
\ No newline at end of file
diff --git a/LICENSE b/LICENSE
index 60b9932..fe39316 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
 MIT License

 

-Copyright (c) 2018-2022 jottocraft

+Copyright (c) 2018-2023 jottocraft

 

 Permission is hereby granted, free of charge, to any person obtaining a copy

 of this software and associated documentation files (the "Software"), to deal

diff --git a/README.md b/README.md
index 6eb8346..99fb954 100644
--- a/README.md
+++ b/README.md
@@ -2,19 +2,19 @@
 

 <br />

 

-<a href="https://github.com/jottocraft/dtps/releases/latest"><img src="https://img.shields.io/github/release/jottocraft/dtps.svg" /></a>

+<a href="https://bugs.jottocraft.com/issues?q=project:%20RRS%20product:%20dtps%20rollout:%20released%20sort%20by:%20%7Bversion%20code%7D%20desc&fields=summary,description,idReadable,customFields(projectCustomField(field(name)),value(name))&$top=1"><img src="https://img.shields.io/badge/releases-view%20at%20bugs.jottocraft.com-blue" /></a>

 <a href="https://powerplus.app"><img src="https://img.shields.io/website/https/powerplus.app.svg?label=server%20status" /></a>

 

-For users looking to install Power+, visit the Power+ website by clicking <a href="https://powerplus.app/?install=true">here</a>

+For users looking to install Power+, visit the Power+ website by clicking <a href="https://powerplus.app">here</a>

 

 <br /><br />

 

 ## Resources

 

-- [Source code](https://bitbucket.org/jottocraft/dtps)

+- [Source code](https://gitlab.com/jottocraft/dtps)

 - [Issue tracker](https://bugs.jottocraft.com)

-- [Developer documentation](https://powerplus.app/docs)

+- [Developer documentation](https://powerplus.app/docs/)

 

 <br /><br /><br /><br /><br /><br />

 

-(c) 2018-2022 jottocraft &nbsp;&nbsp; [license](https://bitbucket.org/jottocraft/dtps/src/main/LICENSE)

+(c) 2018-2023 jottocraft &nbsp;&nbsp; [license](https://gitlab.com/jottocraft/dtps/-/blob/main/LICENSE)

diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml
deleted file mode 100644
index 8aba4e2..0000000
--- a/bitbucket-pipelines.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-pipelines:
-  branches:
-    main:
-      - parallel:
-        - step:
-            name: Mirror to GitHub
-            clone:
-              depth: full
-            script:
-              - git push --mirror [email protected]:jottocraft/dtps.git
-        - step:
-            name: Deploy to production
-            deployment: production
-            image: node:16
-            script:
-              - npm ci
-              - npm run build
-              - npm run deploy
\ No newline at end of file
diff --git a/build.js b/build.js
index 38aaeb2..15b6ff5 100644
--- a/build.js
+++ b/build.js
@@ -2,7 +2,7 @@
  * @file DTPS predeploy script

  * @author jottocraft

  * 

- * @copyright Copyright (c) 2018-2022 jottocraft

+ * @copyright Copyright (c) 2018-2023 jottocraft

  * @license MIT

  * 

  * This script file minifies DTPS and generates docs

diff --git a/dev.js b/dev.js
index 8c9ca26..d0a7201 100644
--- a/dev.js
+++ b/dev.js
@@ -2,7 +2,7 @@
  * @file DTPS development server
  * @author jottocraft
  *
- * @copyright Copyright (c) 2018-2022 jottocraft
+ * @copyright Copyright (c) 2018-2023 jottocraft
  * @license MIT
  */
 
diff --git a/docs/README.md b/docs/README.md
index 7b3b4ad..bf83bc2 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -1,5 +1,5 @@
 This website includes reference documentation for the latest version of Power+

 

 ### Resources

-- [Source code](https://bitbucket.org/jottocraft/dtps)

+- [Source code](https://gitlab.com/jottocraft/dtps)

 - [Issue tracker](https://bugs.jottocraft.com)
\ No newline at end of file
diff --git a/docs/jsdoc.conf.json b/docs/jsdoc.conf.json
index 5915287..233d266 100644
--- a/docs/jsdoc.conf.json
+++ b/docs/jsdoc.conf.json
@@ -5,7 +5,7 @@
         "systemSummary": "Reference documentation for the latest version of Power+",

         "systemLogo": "./www/favicon.png",

         "systemColor": "#c5982f",

-        "copyright": "(c) 2018-2022 jottocraft",

+        "copyright": "(c) 2018-2023 jottocraft",

         "favicon": "./www/favicon.png",

         "collapseSymbols": false,

         "footer": "<img style='height: 32px; margin: 10px 0px;' src='https://cdn.jottocraft.com/images/footerImage.png' />"

diff --git a/docs/jsdoc.dev.conf.json b/docs/jsdoc.dev.conf.json
index 5fe3dfd..243104b 100644
--- a/docs/jsdoc.dev.conf.json
+++ b/docs/jsdoc.dev.conf.json
@@ -5,7 +5,7 @@
         "systemSummary": "Reference documentation for the latest version of Power+ (dev)",

         "systemLogo": "./www/dev/favicon.png",

         "systemColor": "#c5982f",

-        "copyright": "(c) 2018-2022 jottocraft",

+        "copyright": "(c) 2018-2023 jottocraft",

         "favicon": "./www/dev/favicon.png",

         "collapseSymbols": false,

         "footer": "<img style='height: 32px; margin: 10px 0px;' src='https://cdn.jottocraft.com/images/footerImage.png' />"

diff --git a/init.js b/init.js
index c0910bd..76c5fbc 100644
--- a/init.js
+++ b/init.js
@@ -2,7 +2,7 @@
  * @file DTPS loader

  * @author jottocraft

  * 

- * @copyright Copyright (c) 2018-2022 jottocraft

+ * @copyright Copyright (c) 2018-2023 jottocraft

  * @license MIT

  */

 

diff --git a/package.json b/package.json
index 426100a..ef7cd67 100644
--- a/package.json
+++ b/package.json
@@ -10,7 +10,7 @@
   },

   "repository": {

     "type": "git",

-    "url": "git+https://bitbucket.org/jottocraft/dtps.git"

+    "url": "git+https://gitlab.com/jottocraft/dtps.git"

   },

   "keywords": [

     "canvas-lms",

diff --git a/scripts/assignments.js b/scripts/assignments.js
index 5d1ce69..9c8230f 100644
--- a/scripts/assignments.js
+++ b/scripts/assignments.js
@@ -2,7 +2,7 @@
  * @file DTPS assignment functions

  * @author jottocraft

  * 

- * @copyright Copyright (c) 2018-2022 jottocraft

+ * @copyright Copyright (c) 2018-2023 jottocraft

  * @license MIT

  */

 

diff --git a/scripts/core.js b/scripts/core.js
index e4c5c7c..f413058 100644
--- a/scripts/core.js
+++ b/scripts/core.js
@@ -3,7 +3,7 @@
  * @author jottocraft

  * @version v3.8.0

  * 

- * @copyright Copyright (c) 2018-2022 jottocraft

+ * @copyright Copyright (c) 2018-2023 jottocraft

  * @license MIT

  */

 

@@ -761,7 +761,7 @@
         if (dtps.popup == "firstrun") {

             dtps.firstrun();

         } else if (dtps.popup == "changelog") {

-            //Changelog will only show if the release notes are on GitHub

+            //Changelog will only show if the release notes are on bugs.jottocraft.com

             dtps.changelog(Number(window.localStorage.dtps));

         }

 

@@ -2212,7 +2212,7 @@
                         <img style="height: 38px; margin-right: 10px; vertical-align: middle;" src="https://cdn.jottocraft.com/images/footerImage.png" />

                         <h5 style="display: inline-block; vertical-align: middle; color: var(--text);">jottocraft</h5>

                     </a>

-                    <p>(c) jottocraft 2018-2022. This project is <a href="https://jottocraft.com/oss">open source</a>.

+                    <p>(c) jottocraft 2018-2023. This project is <a href="https://jottocraft.com/oss">open source</a>.

                 </div>

             </div>

         </div>

diff --git a/scripts/lms/canvas.js b/scripts/lms/canvas.js
index a06a443..0442f32 100644
--- a/scripts/lms/canvas.js
+++ b/scripts/lms/canvas.js
@@ -2,7 +2,7 @@
  * @file DTPS Canvas LMS Integration

  * @author jottocraft

  * 

- * @copyright Copyright (c) 2018-2022 jottocraft

+ * @copyright Copyright (c) 2018-2023 jottocraft

  * @license MIT

  * 

  * JSDoc documentation for these LMS functions can be found near the end of core.js

@@ -17,7 +17,7 @@
     url: "https://www.instructure.com/canvas/",

     inboxURL: "/conversations",

     logo: "https://i.imgur.com/rGjNVoc.png",

-    source: "https://bitbucket.org/jottocraft/dtps/src/main/scripts/lms/canvas.js",

+    source: "https://gitlab.com/jottocraft/dtps/-/blob/main/scripts/lms/canvas.js",

     genericGradebook: true

 };

 

diff --git a/scripts/lms/demo.js b/scripts/lms/demo.js
index 83953b8..bc50e88 100644
--- a/scripts/lms/demo.js
+++ b/scripts/lms/demo.js
@@ -2,7 +2,7 @@
  * @file DTPS Demo LMS

  * @author jottocraft

  * 

- * @copyright Copyright (c) 2018-2022 jottocraft

+ * @copyright Copyright (c) 2018-2023 jottocraft

  * @license MIT

  * 

  * This LMS script is for demonstrating Power+ and doesn't fetch actual data

@@ -16,7 +16,7 @@
     description: "All content in this LMS is not real and is for demonstration purposes only",

     url: "https://powerplus.app",

     logo: "https://powerplus.app/logo.png",

-    source: "https://bitbucket.org/jottocraft/dtps/src/main/scripts/lms/demo.js",

+    source: "https://gitlab.com/jottocraft/dtps/-/blob/main/scripts/lms/demo.js",

     genericGradebook: false,

     useRubricGrades: true,

     isDemoLMS: true

diff --git a/scripts/lms/dtech.js b/scripts/lms/dtech.js
index bcf7e84..b82a8b1 100644
--- a/scripts/lms/dtech.js
+++ b/scripts/lms/dtech.js
@@ -2,7 +2,7 @@
  * @file d.tech-specific features, CBL & grade calculation

  * @author jottocraft

  * 

- * @copyright Copyright (c) 2018-2022 jottocraft

+ * @copyright Copyright (c) 2018-2023 jottocraft

  * @license MIT

  * 

  * JSDoc documentation for these LMS functions can be found near the end of core.js

@@ -22,7 +22,7 @@
     dtpsLMS.legalName = "Canvas LMS, Design Tech High School, or Instructure Inc";

     dtpsLMS.description = "CBL features for Power+. No longer actively maintained.";

     dtpsLMS.logo = "https://i.imgur.com/efGrLq3.png";

-    dtpsLMS.source = "https://bitbucket.org/jottocraft/dtps/src/main/scripts/lms/dtech.js";

+    dtpsLMS.source = "https://gitlab.com/jottocraft/dtps/-/blob/main/scripts/lms/dtech.js";

     dtpsLMS.useRubricGrades = consentedCBLCourses;

     dtpsLMS.gradeCalculationAllowlist = consentedCBLCourses;

     dtpsLMS.lmsGradebookAllowlist = consentedCBLCourses;

diff --git a/scripts/pages-discussions.js b/scripts/pages-discussions.js
index 26fe8f0..53b6934 100644
--- a/scripts/pages-discussions.js
+++ b/scripts/pages-discussions.js
@@ -2,7 +2,7 @@
  * @file DTPS pages & discussion functions

  * @author jottocraft

  * 

- * @copyright Copyright (c) 2018-2022 jottocraft

+ * @copyright Copyright (c) 2018-2023 jottocraft

  * @license MIT

  */

 

diff --git a/scripts/people.js b/scripts/people.js
index 87e46b3..ced02d5 100644
--- a/scripts/people.js
+++ b/scripts/people.js
@@ -2,7 +2,7 @@
  * @file DTPS course user list screen

  * @author jottocraft

  * 

- * @copyright Copyright (c) 2018-2022 jottocraft

+ * @copyright Copyright (c) 2018-2023 jottocraft

  * @license MIT

  */

 

diff --git a/scripts/search.js b/scripts/search.js
index b7634dc..a702b25 100644
--- a/scripts/search.js
+++ b/scripts/search.js
@@ -2,7 +2,7 @@
  * @file DTPS global search

  * @author jottocraft

  * 

- * @copyright Copyright (c) 2018-2022 jottocraft

+ * @copyright Copyright (c) 2018-2023 jottocraft

  * @license MIT

  */

 

diff --git a/ui/dtps.css b/ui/dtps.css
index 9debc04..a6e60ca 100644
--- a/ui/dtps.css
+++ b/ui/dtps.css
@@ -1,6 +1,6 @@
 /*
 Power+ CSS
-(c) jottocraft 2018-2022
+(c) jottocraft 2018-2023
 */
 
 #changelogStyles {
diff --git a/www/dev/index.html b/www/dev/index.html
index da51dc7..4c8d9ea 100644
--- a/www/dev/index.html
+++ b/www/dev/index.html
@@ -156,7 +156,7 @@
         <img style="height: 45px; margin-right: 20px; vertical-align: middle;"

             src="https://cdn.jottocraft.com/images/footerImage.png" />

         <h5 style="display: inline-block; vertical-align: middle;">jottocraft</h5>

-        <p>(c) jottocraft 2018-2022 &nbsp;&nbsp;<a href="https://github.com/jottocraft/dtps">source

+        <p>(c) jottocraft 2018-2023 &nbsp;&nbsp;<a href="https://github.com/jottocraft/dtps">source

                 code</a>&nbsp;&nbsp;<a href="https://github.com/jottocraft/dtps/blob/main/LICENSE">license</a></p>

     </div>