From fdb6923ace408b3b055f8c069411c07ccd50b636 Mon Sep 17 00:00:00 2001 From: DamianDhesi Date: Mon, 15 Apr 2024 16:11:43 -0700 Subject: [PATCH 01/47] Set up empty pages --- _layouts/other.html | 51 +++++++++++++++++++++++++++++++++++++++++++++ contact_issue.md | 7 +++++++ demo.md | 7 +++++++ installation.md | 7 +++++++ licensing.md | 7 +++++++ 5 files changed, 79 insertions(+) create mode 100644 _layouts/other.html create mode 100644 contact_issue.md create mode 100644 demo.md create mode 100644 installation.md create mode 100644 licensing.md diff --git a/_layouts/other.html b/_layouts/other.html new file mode 100644 index 0000000..af6d722 --- /dev/null +++ b/_layouts/other.html @@ -0,0 +1,51 @@ + + + + + + + + + +{% seo %} + {% include head-custom.html %} + + + + + +
+
+ {% if site.github.is_project_page %} + View on GitHub + {% endif %} + +

{{ page.title | default: site.github.repository_name }}

+ + {% if site.show_downloads %} +
+ Download this project as a .zip file + Download this project as a tar.gz file +
+ {% endif %} +
+
+ + +
+
+ {{ content }} +
+
+ + + + + \ No newline at end of file diff --git a/contact_issue.md b/contact_issue.md new file mode 100644 index 0000000..832a9ea --- /dev/null +++ b/contact_issue.md @@ -0,0 +1,7 @@ +--- +layout: other +title: Contact/Issue Reporting +permalink: /contact_issue_reporting/ +--- + +

Please report any issues found to the following survey

\ No newline at end of file diff --git a/demo.md b/demo.md new file mode 100644 index 0000000..92c2c36 --- /dev/null +++ b/demo.md @@ -0,0 +1,7 @@ +--- +layout: other +title: Demo +permalink: /demo/ +--- + +... \ No newline at end of file diff --git a/installation.md b/installation.md new file mode 100644 index 0000000..9ac1f58 --- /dev/null +++ b/installation.md @@ -0,0 +1,7 @@ +--- +layout: other +title: Install +permalink: /install/ +--- + +... \ No newline at end of file diff --git a/licensing.md b/licensing.md new file mode 100644 index 0000000..7711b2f --- /dev/null +++ b/licensing.md @@ -0,0 +1,7 @@ +--- +layout: other +title: Licensing +permalink: /licensing/ +--- + +... \ No newline at end of file From f207567fc6dd7eb6a1dbc218601ea44f7a80ba05 Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 01:26:20 +0200 Subject: [PATCH 02/47] Update README.md to see if changes will be made on site --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6fdf5a8..742fabe 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # MicroPolyPages -Since the MicroPoly repo is private, we need a separate repo for the Alpha Release +Since the MicroPoly repo is private, we need a separate repo for the Alpha Release. This is that repo. The site can be accessed at https://cpsecapstone.github.io/MicroPolyPages/ From 5ae5effb8bc2db66be32f6ec9e743b0ef79ca2a8 Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 01:33:14 +0200 Subject: [PATCH 03/47] Update _config.yml --- _config.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/_config.yml b/_config.yml index d5a9856..856ea46 100644 --- a/_config.yml +++ b/_config.yml @@ -18,6 +18,14 @@ description: >- # this means to ignore newlines until "baseurl:" A machine learning based update scheduler for the windows operating system that adapts to the varying schedules of users to ensure updates are as unintrusive as possible. +# this should add a nav bar? +header_pages: + - index.html + - contact_issue.md + - demo.md + - installation.md + - licensing.md + - about.md # Build settings markdown: kramdown remote_theme: pages-themes/slate@v0.2.0 From ad5ff190d8ace52bd2de09f692098b56ff14744b Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 01:36:20 +0200 Subject: [PATCH 04/47] Update _config.yml (navbar didnt work) --- _config.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/_config.yml b/_config.yml index 856ea46..2e7bc53 100644 --- a/_config.yml +++ b/_config.yml @@ -18,14 +18,14 @@ description: >- # this means to ignore newlines until "baseurl:" A machine learning based update scheduler for the windows operating system that adapts to the varying schedules of users to ensure updates are as unintrusive as possible. -# this should add a nav bar? -header_pages: - - index.html - - contact_issue.md - - demo.md - - installation.md - - licensing.md - - about.md +# this should add a nav bar? Didnt work. +# header_pages: +# - index.html +# - contact_issue.md +# - demo.md +# - installation.md +# - licensing.md +# - about.md # Build settings markdown: kramdown remote_theme: pages-themes/slate@v0.2.0 From d34a34e6b5f8469182207be1ec1d138da15f0886 Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 01:39:01 +0200 Subject: [PATCH 05/47] Update home.html (add navbar?) --- _layouts/home.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_layouts/home.html b/_layouts/home.html index b97e840..497d5ed 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -29,6 +29,8 @@

{{ site.description | default: site.github.project_tagl Download this project as a tar.gz file {% endif %} + {% include nav.html %} + @@ -49,4 +51,4 @@

{{ site.description | default: site.github.project_tagl - \ No newline at end of file + From d7fa4bb841f95b58a9becf410f961440d03a223b Mon Sep 17 00:00:00 2001 From: DamianDhesi Date: Mon, 15 Apr 2024 16:43:29 -0700 Subject: [PATCH 06/47] Basic info for licensing page --- licensing.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/licensing.md b/licensing.md index 7711b2f..3bab5a7 100644 --- a/licensing.md +++ b/licensing.md @@ -4,4 +4,10 @@ title: Licensing permalink: /licensing/ --- -... \ No newline at end of file +

EULA

+

Refer to the licensing agreement for the relevant operating system

+Windows 10 +Windows 11 + +

Privacy Policy

+

Refer to Microsoft's Privacy Policy for more information

\ No newline at end of file From 9d4bbcdc0a6949c035d3c1f2f4a432a0b3be23c6 Mon Sep 17 00:00:00 2001 From: JackWalton1 Date: Mon, 15 Apr 2024 16:44:39 -0700 Subject: [PATCH 07/47] adding includes for navbar --- _includes/nav.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 _includes/nav.html diff --git a/_includes/nav.html b/_includes/nav.html new file mode 100644 index 0000000..8272598 --- /dev/null +++ b/_includes/nav.html @@ -0,0 +1,8 @@ +

+ Home | + Admin | + Week 1 | + Week 2 | + Week 3 | + Misc +

From 961118ba291bf981a14cef5fbceca3b6d7dfc3f9 Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 01:49:03 +0200 Subject: [PATCH 08/47] Update nav.html --- _includes/nav.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/_includes/nav.html b/_includes/nav.html index 8272598..22732c0 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,8 +1,8 @@

Home | - Admin | - Week 1 | - Week 2 | - Week 3 | - Misc + About | + Issue Contact | + Demo | + Installation | + Licensing

From 6165b60b6a32a1451a608c45097272fb2460c347 Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 01:52:14 +0200 Subject: [PATCH 09/47] Update home.html --- _layouts/home.html | 1 - 1 file changed, 1 deletion(-) diff --git a/_layouts/home.html b/_layouts/home.html index 497d5ed..6e2983d 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -30,7 +30,6 @@

{{ site.description | default: site.github.project_tagl {% endif %} {% include nav.html %} - From 889d317292234f100c2aa86251a17506744ba73c Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 01:52:44 +0200 Subject: [PATCH 10/47] Update other.html (add nav bar to these pages?) --- _layouts/other.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_layouts/other.html b/_layouts/other.html index af6d722..5593660 100644 --- a/_layouts/other.html +++ b/_layouts/other.html @@ -28,6 +28,7 @@

{{ page.title | default: site.github.repository_name }}Download this project as a tar.gz file {% endif %} + {% include nav.html %} @@ -48,4 +49,4 @@

{{ page.title | default: site.github.repository_name }} - \ No newline at end of file + From a1befd8e563f5e95f9845fb6a6383f47f75554d8 Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 01:55:21 +0200 Subject: [PATCH 11/47] Update nav.html Should be good. Color probably bad --- _includes/nav.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/nav.html b/_includes/nav.html index 22732c0..dab3c2b 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,8 +1,8 @@

Home | About | - Issue Contact | + Issue Contact | Demo | - Installation | + Installation | Licensing

From 05c5e82563e0d77d3fb83fb4ce678dcd50bb2bca Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 02:00:46 +0200 Subject: [PATCH 12/47] Update nav.html --- _includes/nav.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/nav.html b/_includes/nav.html index dab3c2b..25870fc 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,4 +1,4 @@ -

+

Home | About | Issue Contact | From 9f9695a07e861f56952d08dfe1348a42b6f2fd70 Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 02:01:17 +0200 Subject: [PATCH 13/47] Update home.html force website to update --- _layouts/home.html | 1 - 1 file changed, 1 deletion(-) diff --git a/_layouts/home.html b/_layouts/home.html index 6e2983d..7674dee 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -12,7 +12,6 @@ -

From 677da3828ee5a44557744d5f5bb34b1b4174b592 Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 02:06:52 +0200 Subject: [PATCH 14/47] Update nav.html changing bg color --- _includes/nav.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/nav.html b/_includes/nav.html index 25870fc..77b9ca3 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,4 +1,4 @@ -

+

Home | About | Issue Contact | From 6957234c78b50711b09c9e4ce55e1ecd1a14f120 Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 02:10:31 +0200 Subject: [PATCH 15/47] Update nav.html --- _includes/nav.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/nav.html b/_includes/nav.html index 77b9ca3..571481d 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,4 +1,4 @@ -

+

Home | About | Issue Contact | From a1e4fcd85f3157bd77e12bc46caba828ba557fc5 Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 02:13:01 +0200 Subject: [PATCH 16/47] Update nav.html --- _includes/nav.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/nav.html b/_includes/nav.html index 571481d..3da753d 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,4 +1,4 @@ -

+

Home | About | Issue Contact | From c05fed3671e69db5bb5bc488c71c227065094cec Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 02:18:19 +0200 Subject: [PATCH 17/47] Update nav.html because text color did not update --- _includes/nav.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/nav.html b/_includes/nav.html index 3da753d..39743a3 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,4 +1,4 @@ -

+

Home | About | Issue Contact | From 9984b79e400b5d626543934894f969203ebfd16d Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 02:20:12 +0200 Subject: [PATCH 18/47] Update nav.html wrong element --- _includes/nav.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/nav.html b/_includes/nav.html index 39743a3..6357803 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,4 +1,4 @@ -

+

Home | About | Issue Contact | From a4fd2d9fe2014c94089aecd0e2dead5bd4da0271 Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 02:24:50 +0200 Subject: [PATCH 19/47] Update nav.html testing lots of color edits --- _includes/nav.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/_includes/nav.html b/_includes/nav.html index 6357803..f28b1e2 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,8 +1,8 @@ -

- Home | - About | - Issue Contact | - Demo | +

+ Home | + About | + Issue Contact | + Demo | Installation | Licensing

From bd4d38eb2fe0bf477cc96614fca1021de4e466f1 Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 02:40:37 +0200 Subject: [PATCH 20/47] Update nav.html --- _includes/nav.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/_includes/nav.html b/_includes/nav.html index f28b1e2..03e3777 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,8 +1,8 @@

- Home | - About | - Issue Contact | - Demo | - Installation | - Licensing + Home | + About | + Issue Contact | + Demo | + Installation | + Licensing

From b20b267949a25f2e75b94cd010d7862529db3a77 Mon Sep 17 00:00:00 2001 From: DamianDhesi Date: Mon, 15 Apr 2024 17:43:03 -0700 Subject: [PATCH 21/47] Filled out home page. Very basic navigation --- _includes/nav.html | 0 _includes/navigation.html | 7 +++++++ _layouts/home.html | 1 + _layouts/other.html | 1 + about.md | 18 ------------------ index.md | 9 ++++++++- 6 files changed, 17 insertions(+), 19 deletions(-) create mode 100644 _includes/nav.html create mode 100644 _includes/navigation.html delete mode 100644 about.md diff --git a/_includes/nav.html b/_includes/nav.html new file mode 100644 index 0000000..e69de29 diff --git a/_includes/navigation.html b/_includes/navigation.html new file mode 100644 index 0000000..81476f7 --- /dev/null +++ b/_includes/navigation.html @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/_layouts/home.html b/_layouts/home.html index 497d5ed..4487480 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -20,6 +20,7 @@ View on GitHub {% endif %} + {% include navigation.html %}

{{ site.title | default: site.github.repository_name }}

{{ site.description | default: site.github.project_tagline }}

diff --git a/_layouts/other.html b/_layouts/other.html index af6d722..5ebb6dd 100644 --- a/_layouts/other.html +++ b/_layouts/other.html @@ -20,6 +20,7 @@ View on GitHub {% endif %} + {% include navigation.html %}

{{ page.title | default: site.github.repository_name }}

{% if site.show_downloads %} diff --git a/about.md b/about.md deleted file mode 100644 index ae97249..0000000 --- a/about.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -layout: home -title: About -permalink: /about/ ---- - -This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/) - -You can find the source code for Minima at GitHub: -[jekyll][jekyll-organization] / -[minima](https://github.com/jekyll/minima) - -You can find the source code for Jekyll at GitHub: -[jekyll][jekyll-organization] / -[jekyll](https://github.com/jekyll/jekyll) - - -[jekyll-organization]: https://github.com/jekyll diff --git a/index.md b/index.md index baf41cc..ada8618 100644 --- a/index.md +++ b/index.md @@ -2,4 +2,11 @@ layout: home --- -

{{ "Hello World!" | downcase }}

\ No newline at end of file + +Features: +* Improves update timing by adapting to user device use over time using ML +* Supports retraining of the ML model +* Utilizes a scheduled task to collect user data + * System Logs + * Device State + * etc \ No newline at end of file From c442e230a63d426c29bdae670b21f3e05013b86f Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 02:49:38 +0200 Subject: [PATCH 22/47] Update nav.html --- _includes/nav.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/_includes/nav.html b/_includes/nav.html index 03e3777..d4dd288 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,7 +1,6 @@

Home | - About | - Issue Contact | + Contact About Issues | Demo | Installation | Licensing From fc2cd67d49e90bdae2210b2432d3c99c4f9e9a7d Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 02:52:15 +0200 Subject: [PATCH 23/47] Update other.html commiting to one nav --- _layouts/other.html | 1 - 1 file changed, 1 deletion(-) diff --git a/_layouts/other.html b/_layouts/other.html index 72784f7..5593660 100644 --- a/_layouts/other.html +++ b/_layouts/other.html @@ -20,7 +20,6 @@ View on GitHub {% endif %} - {% include navigation.html %}

{{ page.title | default: site.github.repository_name }}

{% if site.show_downloads %} From ed8a943d687343b52910e263762b4e532bf67dbd Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 02:52:56 +0200 Subject: [PATCH 24/47] Update home.html moving nav up --- _layouts/home.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/_layouts/home.html b/_layouts/home.html index 83aa6d4..9265932 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -19,8 +19,8 @@ View on GitHub {% endif %} - {% include navigation.html %}

{{ site.title | default: site.github.repository_name }}

+ {% include nav.html %}

{{ site.description | default: site.github.project_tagline }}

{% if site.show_downloads %} @@ -29,7 +29,6 @@

{{ site.description | default: site.github.project_tagl Download this project as a tar.gz file {% endif %} - {% include nav.html %}

From 07ba04c05bb229fd8366b6406fc182026f581b4b Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 02:54:42 +0200 Subject: [PATCH 25/47] Update home.html moving navbar above section names --- _layouts/home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/home.html b/_layouts/home.html index 9265932..7e983bd 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -18,9 +18,9 @@ {% if site.github.is_project_page %} View on GitHub {% endif %} + {% include nav.html %}

{{ site.title | default: site.github.repository_name }}

- {% include nav.html %}

{{ site.description | default: site.github.project_tagline }}

{% if site.show_downloads %} From 19a57607e217373878ac7d2f2e5ce6d2d16a7aad Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 02:55:09 +0200 Subject: [PATCH 26/47] Update other.html moving navbar up again --- _layouts/other.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/other.html b/_layouts/other.html index 5593660..c6f74af 100644 --- a/_layouts/other.html +++ b/_layouts/other.html @@ -19,6 +19,7 @@ {% if site.github.is_project_page %} View on GitHub {% endif %} + {% include nav.html %}

{{ page.title | default: site.github.repository_name }}

@@ -28,7 +29,6 @@

{{ page.title | default: site.github.repository_name }}Download this project as a tar.gz file {% endif %} - {% include nav.html %} From 8a86a8a36d9ac217b0625023e4eb915ff25b1114 Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Tue, 16 Apr 2024 03:03:02 +0200 Subject: [PATCH 27/47] Update other.html nav bar didnt move?! --- _layouts/other.html | 1 + 1 file changed, 1 insertion(+) diff --git a/_layouts/other.html b/_layouts/other.html index c6f74af..1ca8516 100644 --- a/_layouts/other.html +++ b/_layouts/other.html @@ -19,6 +19,7 @@ {% if site.github.is_project_page %} View on GitHub {% endif %} + {% include nav.html %}

{{ page.title | default: site.github.repository_name }}

From 496220ada1a36eb685e5fa598e6602fbe786bdc2 Mon Sep 17 00:00:00 2001 From: DamianDhesi Date: Mon, 15 Apr 2024 18:39:06 -0700 Subject: [PATCH 28/47] Setup demo and installation pages. Reformatted home page --- demo.md | 2 +- index.md | 5 +++-- installation.md | 15 ++++++++++++++- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/demo.md b/demo.md index 92c2c36..04dbccd 100644 --- a/demo.md +++ b/demo.md @@ -4,4 +4,4 @@ title: Demo permalink: /demo/ --- -... \ No newline at end of file +

View the demo here. Requires repository access

\ No newline at end of file diff --git a/index.md b/index.md index ada8618..13d7399 100644 --- a/index.md +++ b/index.md @@ -3,10 +3,11 @@ layout: home --- -Features: -* Improves update timing by adapting to user device use over time using ML +

Features:

+* Improves update timing by adapting to device use over time using ML * Supports retraining of the ML model * Utilizes a scheduled task to collect user data * System Logs * Device State + * CPU utility * etc \ No newline at end of file diff --git a/installation.md b/installation.md index 9ac1f58..7a578c5 100644 --- a/installation.md +++ b/installation.md @@ -4,4 +4,17 @@ title: Install permalink: /install/ --- -... \ No newline at end of file +

{{"1. Download Repository"}}

+

Can be found here

+ +

{{"2. Enter the root folder of the project directory"}}

+ +

{{"3. Install required dependencies"}}

+* Use: pip install -r requirements.txt + +

{{"4. Start data collection and ML server"}}

+* Use: python mp-build.py + * creates and starts the data collection task + * setups up a server to request "good times" to update + +

If any issues are found, report them here

\ No newline at end of file From b6a2f3be176ffe6f81f581cefb9565ee02576ed4 Mon Sep 17 00:00:00 2001 From: DamianDhesi Date: Mon, 15 Apr 2024 18:59:09 -0700 Subject: [PATCH 29/47] link fix in installation --- installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installation.md b/installation.md index 7a578c5..2f2f3c9 100644 --- a/installation.md +++ b/installation.md @@ -17,4 +17,4 @@ permalink: /install/ * creates and starts the data collection task * setups up a server to request "good times" to update -

If any issues are found, report them here

\ No newline at end of file +

If any issues are found, report them here

\ No newline at end of file From 416c66ec989020eb4eca2ead5a75da3349c4b09f Mon Sep 17 00:00:00 2001 From: DamianDhesi Date: Tue, 16 Apr 2024 13:41:59 -0700 Subject: [PATCH 30/47] Added further steps to installation --- installation.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/installation.md b/installation.md index 2f2f3c9..f790e48 100644 --- a/installation.md +++ b/installation.md @@ -17,4 +17,7 @@ permalink: /install/ * creates and starts the data collection task * setups up a server to request "good times" to update +

5. Utilize HTTP requests to recieve "good times"

+* Refer to the demo for example requests and how to interpret responses +

If any issues are found, report them here

\ No newline at end of file From 011f371de8971d7b48ab3d007c02700b57e7903b Mon Sep 17 00:00:00 2001 From: Calista Kerins <71235670+calistakerins@users.noreply.github.com> Date: Thu, 18 Apr 2024 11:48:25 -0700 Subject: [PATCH 31/47] Update installation.md --- installation.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/installation.md b/installation.md index f790e48..73cf33a 100644 --- a/installation.md +++ b/installation.md @@ -20,4 +20,7 @@ permalink: /install/

5. Utilize HTTP requests to recieve "good times"

* Refer to the demo for example requests and how to interpret responses -

If any issues are found, report them here

\ No newline at end of file +

6. Changing the file path from test data to rolling data

+* Add instructions + +

If any issues are found, report them here

From 73da16925bfa0d0bc6f98654725e9b69bd2bb298 Mon Sep 17 00:00:00 2001 From: Calista Kerins <71235670+calistakerins@users.noreply.github.com> Date: Thu, 18 Apr 2024 12:08:52 -0700 Subject: [PATCH 32/47] Update installation.md --- installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installation.md b/installation.md index 73cf33a..4074751 100644 --- a/installation.md +++ b/installation.md @@ -21,6 +21,6 @@ permalink: /install/ * Refer to the demo for example requests and how to interpret responses

6. Changing the file path from test data to rolling data

-* Add instructions +* Change line 9 in 'apiServer.py' from "app = create_app(config.ApiDevelopmentConfig)" to "app = create_app(config.ApiProductionConfig)"

If any issues are found, report them here

From 83a1d723bd9dc592a9d1a6048c4c0d55b4e23780 Mon Sep 17 00:00:00 2001 From: Calista Kerins <71235670+calistakerins@users.noreply.github.com> Date: Thu, 18 Apr 2024 12:09:33 -0700 Subject: [PATCH 33/47] Update installation.md --- installation.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/installation.md b/installation.md index 4074751..85e8f6f 100644 --- a/installation.md +++ b/installation.md @@ -21,6 +21,8 @@ permalink: /install/ * Refer to the demo for example requests and how to interpret responses

6. Changing the file path from test data to rolling data

-* Change line 9 in 'apiServer.py' from "app = create_app(config.ApiDevelopmentConfig)" to "app = create_app(config.ApiProductionConfig)" - +* Change line 9 in 'apiServer.py': +- from "app = create_app(config.ApiDevelopmentConfig)" +- to "app = create_app(config.ApiProductionConfig)" +

If any issues are found, report them here

From dda96c723887abc2d90e1f16a321050771398196 Mon Sep 17 00:00:00 2001 From: Calista Kerins <71235670+calistakerins@users.noreply.github.com> Date: Thu, 18 Apr 2024 12:10:08 -0700 Subject: [PATCH 34/47] Update installation.md --- installation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installation.md b/installation.md index 85e8f6f..ffa4037 100644 --- a/installation.md +++ b/installation.md @@ -22,7 +22,7 @@ permalink: /install/

6. Changing the file path from test data to rolling data

* Change line 9 in 'apiServer.py': -- from "app = create_app(config.ApiDevelopmentConfig)" -- to "app = create_app(config.ApiProductionConfig)" +* from "app = create_app(config.ApiDevelopmentConfig)" +* to "app = create_app(config.ApiProductionConfig)"

If any issues are found, report them here

From d3606a45ace385f12cbfeaddb9c8bf0ef14c492a Mon Sep 17 00:00:00 2001 From: Calista Kerins <71235670+calistakerins@users.noreply.github.com> Date: Thu, 18 Apr 2024 12:13:01 -0700 Subject: [PATCH 35/47] Update installation.md --- installation.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/installation.md b/installation.md index ffa4037..87fa262 100644 --- a/installation.md +++ b/installation.md @@ -21,8 +21,6 @@ permalink: /install/ * Refer to the demo for example requests and how to interpret responses

6. Changing the file path from test data to rolling data

-* Change line 9 in 'apiServer.py': -* from "app = create_app(config.ApiDevelopmentConfig)" -* to "app = create_app(config.ApiProductionConfig)" +* Change line 9 in 'apiServer.py' from "app = create_app(config.ApiDevelopmentConfig)" to "app = create_app(config.ApiProductionConfig)"

If any issues are found, report them here

From 373beae50a569741ed38608fea357c241e2f6270 Mon Sep 17 00:00:00 2001 From: Calista Kerins <71235670+calistakerins@users.noreply.github.com> Date: Thu, 18 Apr 2024 12:14:09 -0700 Subject: [PATCH 36/47] Update installation.md --- installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installation.md b/installation.md index 87fa262..b008b1b 100644 --- a/installation.md +++ b/installation.md @@ -21,6 +21,6 @@ permalink: /install/ * Refer to the demo for example requests and how to interpret responses

6. Changing the file path from test data to rolling data

-* Change line 9 in 'apiServer.py' from "app = create_app(config.ApiDevelopmentConfig)" to "app = create_app(config.ApiProductionConfig)" +* Change line 9 in 'apiServer.py' * from "app = create_app(config.ApiDevelopmentConfig)" * to "app = create_app(config.ApiProductionConfig)"

If any issues are found, report them here

From d7f8a13e7abb0257c352ea42c315b784fe3a988b Mon Sep 17 00:00:00 2001 From: DamianDhesi Date: Tue, 30 Apr 2024 14:06:05 -0700 Subject: [PATCH 37/47] Updated isntallation instructions --- installation.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/installation.md b/installation.md index b008b1b..95f6d76 100644 --- a/installation.md +++ b/installation.md @@ -8,19 +8,22 @@ permalink: /install/

Can be found here

{{"2. Enter the root folder of the project directory"}}

+* Using Powershell

{{"3. Install required dependencies"}}

-* Use: pip install -r requirements.txt +* Run: pip install -r requirements.txt + +

3.5. Changing the file path from test data to rolling data

+* Run: $env:PRODUCTION_TESTING="true" + * sets use of production/rolling data file

{{"4. Start data collection and ML server"}}

-* Use: python mp-build.py +* Run: python mp-build.py * creates and starts the data collection task * setups up a server to request "good times" to update

5. Utilize HTTP requests to recieve "good times"

* Refer to the demo for example requests and how to interpret responses -

6. Changing the file path from test data to rolling data

-* Change line 9 in 'apiServer.py' * from "app = create_app(config.ApiDevelopmentConfig)" * to "app = create_app(config.ApiProductionConfig)"

If any issues are found, report them here

From d23ee26b6fb59f9483736c868220bf6f2cbfc4db Mon Sep 17 00:00:00 2001 From: DamianDhesi Date: Thu, 9 May 2024 12:22:40 -0700 Subject: [PATCH 38/47] Updated installation instructions --- installation.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/installation.md b/installation.md index 95f6d76..2765492 100644 --- a/installation.md +++ b/installation.md @@ -13,9 +13,11 @@ permalink: /install/

{{"3. Install required dependencies"}}

* Run: pip install -r requirements.txt -

3.5. Changing the file path from test data to rolling data

+

3.5. Set MicroPoly to run in production mode

* Run: $env:PRODUCTION_TESTING="true" * sets use of production/rolling data file +* Run: $env:PREPROCESS="true" + * sets MicroPoly to preprocess collected data before the model uses it

{{"4. Start data collection and ML server"}}

* Run: python mp-build.py From fa4f07cd980329473b9e45331a068fd5035f6022 Mon Sep 17 00:00:00 2001 From: DamianDhesi Date: Thu, 9 May 2024 12:23:42 -0700 Subject: [PATCH 39/47] Preprocessing done automatically --- installation.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/installation.md b/installation.md index 2765492..4e0027f 100644 --- a/installation.md +++ b/installation.md @@ -16,8 +16,6 @@ permalink: /install/

3.5. Set MicroPoly to run in production mode

* Run: $env:PRODUCTION_TESTING="true" * sets use of production/rolling data file -* Run: $env:PREPROCESS="true" - * sets MicroPoly to preprocess collected data before the model uses it

{{"4. Start data collection and ML server"}}

* Run: python mp-build.py From 3877ed71020d49e8b2370535d8c3f12f835f30a1 Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Mon, 3 Jun 2024 21:21:57 +0200 Subject: [PATCH 40/47] Update install instructions (.NET SDK, pip, python installs and versions) --- installation.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/installation.md b/installation.md index 4e0027f..27f327f 100644 --- a/installation.md +++ b/installation.md @@ -8,10 +8,12 @@ permalink: /install/

Can be found here

{{"2. Enter the root folder of the project directory"}}

-* Using Powershell +* Using Powershell (cd MicroPoly)

{{"3. Install required dependencies"}}

-* Run: pip install -r requirements.txt +* Run: python --version (Should be Python 3.11+; Else upgrade) +* Run: winget install Microsoft.DotNet.SDK.8 +* Run: curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py | python get-pip.py

3.5. Set MicroPoly to run in production mode

* Run: $env:PRODUCTION_TESTING="true" @@ -19,8 +21,10 @@ permalink: /install/

{{"4. Start data collection and ML server"}}

* Run: python mp-build.py + * installs all the python requirements * creates and starts the data collection task * setups up a server to request "good times" to update + * creates and starts the validation caching task(s).

5. Utilize HTTP requests to recieve "good times"

* Refer to the demo for example requests and how to interpret responses From 66bdee23f1d53c54f63c6a5435a1d38ccffdcbf1 Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Mon, 3 Jun 2024 22:00:27 +0200 Subject: [PATCH 41/47] Update installation.md --- installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installation.md b/installation.md index 27f327f..d9d18b7 100644 --- a/installation.md +++ b/installation.md @@ -13,7 +13,7 @@ permalink: /install/

{{"3. Install required dependencies"}}

* Run: python --version (Should be Python 3.11+; Else upgrade) * Run: winget install Microsoft.DotNet.SDK.8 -* Run: curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py | python get-pip.py +* Run: curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \| python get-pip.py

3.5. Set MicroPoly to run in production mode

* Run: $env:PRODUCTION_TESTING="true" From 28951d6d13aa7577e947a74791de24b4a8d28542 Mon Sep 17 00:00:00 2001 From: DamianDhesi Date: Tue, 4 Jun 2024 19:28:46 -0700 Subject: [PATCH 42/47] Updated installation instructions as added uninstall instructions --- installation.md | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/installation.md b/installation.md index 4e0027f..dd386d5 100644 --- a/installation.md +++ b/installation.md @@ -7,23 +7,25 @@ permalink: /install/

{{"1. Download Repository"}}

Can be found here

-

{{"2. Enter the root folder of the project directory"}}

+

{{"2. Enter the Root Folder of the Project Directory"}}

* Using Powershell -

{{"3. Install required dependencies"}}

-* Run: pip install -r requirements.txt - -

3.5. Set MicroPoly to run in production mode

-* Run: $env:PRODUCTION_TESTING="true" - * sets use of production/rolling data file - -

{{"4. Start data collection and ML server"}}

+

{{"4. Start Data Collection, ML validation, and ML Server"}}

* Run: python mp-build.py - * creates and starts the data collection task - * setups up a server to request "good times" to update + * May need to update/install dotnet and python + * Creates and starts the data collection task + * Creates and starts the validation task and associated sub tasks + * Setups up a server to request "good times" to update + * Also adds a task to restart server if it goes down -

5. Utilize HTTP requests to recieve "good times"

+

5. Utilize HTTP Requests to Recieve "Good Times"

* Refer to the demo for example requests and how to interpret responses +

{{"[OPTIONAL] Uninstall MicroPoly"}}

+* Run: python mp-uninstall.py + * Will remove all created tasks + * Can choose to remove all required python libraries +* On completion, can delete the root folder to fully uninstall +

If any issues are found, report them here

From 457aee232207dff741fe05500be1685fada4544b Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Mon, 10 Jun 2024 03:04:05 +0200 Subject: [PATCH 43/47] Update installation.md --- installation.md | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/installation.md b/installation.md index 63969aa..0dabed4 100644 --- a/installation.md +++ b/installation.md @@ -8,15 +8,24 @@ permalink: /install/

Can be found here

{{"2. Enter the Root Folder of the Project Directory"}}

-* Using Powershell +* Using Powershell or an IDE of your choice. -

{{"3. Start Data Collection, ML validation, and ML Server"}}

+

{{"3. Start Data Collection, API server, and ML validation"}}

+

Alpha Release (Development Mode)

* Run: python mp-build.py * May need to update/install dotnet and python (refer to part 3.5 then return to part 3) * Creates and starts the data collection task + * Sets up a local HTTP server to request "good times" to update * Creates and starts the validation task and associated sub tasks - * Setups up a server to request "good times" to update - * Also adds a task to restart server if it goes down + * Gives very meaningful error messages/logs in case the application does not run as expected. + +

Beta Release (Production Mode)

+* Run: start ./production-install.exe + * Creates and starts the data collection task + * Sets up a local HTTP server to request "good times" to update + * Sets up a task to restart the server on login (Server does not persist after a shutdown) + * Creates and starts the validation task and associated sub tasks + * Will ask for administrator priviledges.

{{"3.5. Install Required Dependencies (If Needed)"}}

* Run: python --version (Should be Python 3.12+; Else upgrade) @@ -28,8 +37,9 @@ permalink: /install/

{{"[OPTIONAL] Uninstall MicroPoly"}}

* Run: python mp-uninstall.py - * Will remove all created tasks - * Can choose to remove all required python libraries + * Will remove all created tasks, whether you chose to run the dev or production release. + * Can choose to remove all required python libraries installed at build time + * Can choose to remove all data created at runtime (In out folder) * On completion, can delete the root folder to fully uninstall
From 558c83b258c05c3003ff4207c47572c32faf03e7 Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Mon, 10 Jun 2024 03:16:13 +0200 Subject: [PATCH 44/47] Update index.md --- index.md | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/index.md b/index.md index 13d7399..98faad2 100644 --- a/index.md +++ b/index.md @@ -2,12 +2,42 @@ layout: home --- +

The Problem:

+* Many Windows background updates can disrupt user activities +* Taking computer resources at inopportune times can be frustrating +* For example: + * Some Operating System updates might affect a user’s game experience, as the update takes some CPU away from the game. + * A sound driver update in the middle of a user’s Zoom call could drastically affect their meeting. +

The Current Solution:

+* Windows Active Hours + * Can tell your computer when you are actively using it (Static period for everyday) + * Informs update orchestrator and schedules update, install, reboot. +* Limitations: + * A user may have an inconsistent schedule + * Students/Teachers use devices more during school year + * Use device more/less on weekends + * Health conditions interfere (Sleeping problems) + * There is a need for scheduler to determine a “good time” to update for each user + +

Proposed Solution:

Features:

-* Improves update timing by adapting to device use over time using ML +* Improves update timing by adapting to device use over time using a machine learning model, XGBoost. * Supports retraining of the ML model -* Utilizes a scheduled task to collect user data +* Utilizes a scheduled task to collect user data (Runs every 5 minutes) * System Logs * Device State * CPU utility - * etc \ No newline at end of file + * etc +* Provides an API for the Windows Update Orchestrator to hit the endpoints and determine when to schedule an update, and whether or not right now is a good time to update. +* Tracks the accuracy of the model's performance over time. + +

MicroPoly API

+* A RESTful API hosted on the local machine that can be queried to provide a list of good times to install an update, OR to check if the device has the capacity to install the current update now. +* The API references several XGBoost models that uses time series forecasting to predict the device’s resource usage for the next day, and uses heuristics from the thresholds provided in the request to determine “good times”. + +

Technical Requirements:

+* The system shall run on machines with a supported version of Windows (10 and 11 as of date) as an executable +* The ML model shall not exceed 150 MB in size +* The ML model shall evaluate in 2 seconds or less +* The system shall support Win32 calls or other standard query calls From fb02a68e23f761c0837033550aa8cf4be9fd90ba Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Mon, 10 Jun 2024 03:22:54 +0200 Subject: [PATCH 45/47] Update index.md --- index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.md b/index.md index 98faad2..5e293d5 100644 --- a/index.md +++ b/index.md @@ -41,3 +41,6 @@ layout: home * The ML model shall not exceed 150 MB in size * The ML model shall evaluate in 2 seconds or less * The system shall support Win32 calls or other standard query calls + +

Docs

+* You can find our final presentations from every quarter, final project architectures, and the MicroPoly Technical Specification in the README of the GitHub Repo. There is also information on recompiling the production executable. From b26b25c2e4e86fb30415731e0366fb826f2c2d8e Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Mon, 10 Jun 2024 03:27:30 +0200 Subject: [PATCH 46/47] Update index.md --- index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.md b/index.md index 5e293d5..acecc6e 100644 --- a/index.md +++ b/index.md @@ -43,4 +43,4 @@ layout: home * The system shall support Win32 calls or other standard query calls

Docs

-* You can find our final presentations from every quarter, final project architectures, and the MicroPoly Technical Specification in the README of the GitHub Repo. There is also information on recompiling the production executable. +* You can find our final presentations from every quarter, final project architectures, and the MicroPoly Technical Specification in the (README of the GitHub Repo)[https://github.com/CPSECapstone/MicroPoly/blob/update-docs/README.md]. There is also information on recompiling the production executable. From 66467b2b2e023688e8b0642870eeba47c0767c44 Mon Sep 17 00:00:00 2001 From: Jack Walton <81585486+JackWalton1@users.noreply.github.com> Date: Mon, 10 Jun 2024 03:29:41 +0200 Subject: [PATCH 47/47] Update index.md --- index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.md b/index.md index acecc6e..63910b9 100644 --- a/index.md +++ b/index.md @@ -43,4 +43,4 @@ layout: home * The system shall support Win32 calls or other standard query calls

Docs

-* You can find our final presentations from every quarter, final project architectures, and the MicroPoly Technical Specification in the (README of the GitHub Repo)[https://github.com/CPSECapstone/MicroPoly/blob/update-docs/README.md]. There is also information on recompiling the production executable. +* You can find our final presentations from every quarter, final project architectures, and the MicroPoly Technical Specification in the README of the [GitHub Repo](https://github.com/CPSECapstone/MicroPoly). There is also information on recompiling the production executable.