Compare commits
30 Commits
6b30a2a506
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f5e66035c3 | ||
|
|
3e642d3f12 | ||
|
|
c8a8f6f584 | ||
|
|
6529d9bf44 | ||
|
|
fef25179d0 | ||
|
|
9872cd1291 | ||
| c5bf71cb26 | |||
| f598c34566 | |||
|
|
659de25f93 | ||
|
|
1a8237ea23 | ||
|
|
fd807dee6d | ||
|
|
9d83ce9ad7 | ||
|
|
d88f8746e2 | ||
|
|
20b9074755 | ||
|
|
47d63a4171 | ||
| 0521dde81b | |||
| aa3e5d4e31 | |||
| 25caf3e591 | |||
| 93e790895a | |||
| 963514c371 | |||
| 041942b90c | |||
| 65ba554c0d | |||
| e26a57c744 | |||
| 67030dc870 | |||
| 2628cc8b80 | |||
| 9a073edded | |||
| 53d2ff7547 | |||
| a491c4b921 | |||
| b5aaafd494 | |||
| 1c927a643b |
BIN
Bibliography.pdf
Normal file
BIN
Bibliography.pdf
Normal file
Binary file not shown.
BIN
CSE 435 - Project Requirements Definition.pdf
Normal file
BIN
CSE 435 - Project Requirements Definition.pdf
Normal file
Binary file not shown.
BIN
CSE 435 - SRS V1.docx
Normal file
BIN
CSE 435 - SRS V1.docx
Normal file
Binary file not shown.
BIN
CSE 435 - SRS V1.pdf
Normal file
BIN
CSE 435 - SRS V1.pdf
Normal file
Binary file not shown.
BIN
CSE 435 - SRS V2.docx
Normal file
BIN
CSE 435 - SRS V2.docx
Normal file
Binary file not shown.
BIN
CSE 435 - SRS V2.pdf
Normal file
BIN
CSE 435 - SRS V2.pdf
Normal file
Binary file not shown.
BIN
Domain Research.pdf
Normal file
BIN
Domain Research.pdf
Normal file
Binary file not shown.
BIN
Presentation.pdf
Normal file
BIN
Presentation.pdf
Normal file
Binary file not shown.
23
about.php
Normal file
23
about.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* About team page.
|
||||
*/
|
||||
require_once "lib/AboutView.php";
|
||||
$view = new AboutView();
|
||||
$view->setTitle("Meet the Team");
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<?php
|
||||
echo $view->head();
|
||||
?>
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
echo $view->header();
|
||||
echo $view->page();
|
||||
echo $view->footer();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
BIN
assets/CSE 435 - Project Requirements Definition.pdf
Normal file
BIN
assets/CSE 435 - Project Requirements Definition.pdf
Normal file
Binary file not shown.
BIN
assets/CSE 435 - SRS V1.pdf
Normal file
BIN
assets/CSE 435 - SRS V1.pdf
Normal file
Binary file not shown.
BIN
assets/colin_coppersmith.jpg
Normal file
BIN
assets/colin_coppersmith.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 58 KiB |
0
assets/images-here.txt
Normal file
0
assets/images-here.txt
Normal file
BIN
assets/james_murray.jpg
Normal file
BIN
assets/james_murray.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 156 KiB |
BIN
assets/logan_arent.jpg
Normal file
BIN
assets/logan_arent.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 114 KiB |
BIN
assets/sean_joseph.jpg
Normal file
BIN
assets/sean_joseph.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 248 KiB |
BIN
assets/stephen_alfa.jpg
Normal file
BIN
assets/stephen_alfa.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
require_once 'lib/View.php';
|
||||
$view = new View();
|
||||
require_once 'lib/LandingView.php';
|
||||
$view = new LandingView();
|
||||
$view->setTitle("CSE 435 Group 6")
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
|
||||
66
lib/AboutView.php
Normal file
66
lib/AboutView.php
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
require_once "View.php";
|
||||
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: sean
|
||||
* Date: 10/26/17
|
||||
* Time: 7:50 PM
|
||||
*/
|
||||
class AboutView extends View
|
||||
{
|
||||
|
||||
public function page()
|
||||
{
|
||||
$body = <<<HTML
|
||||
<div class="content">
|
||||
<div class="card">
|
||||
<h2>James Murray - Project Manager</h2>
|
||||
<img src="assets/james_murray.jpg" height="1365" width="1372" alt="James Murray">
|
||||
<p>
|
||||
A senior at Michigan State University majoring in Computer Science,
|
||||
James has a strong love for software development,
|
||||
especially the creation of desktop applications.</br>
|
||||
<a href="mailto:murra203@msu.edu">Email James</a>
|
||||
</p> </div>
|
||||
<div class="card">
|
||||
<h2>Sean Joseph - Artifacts Manager</h2>
|
||||
<img src="assets/sean_joseph.jpg" height="960" width="952" alt="Sean Joseph">
|
||||
<p>
|
||||
Senior Computer Science Major at Michigan State University.
|
||||
I enjoy long walks on the beach and casual conversation about
|
||||
vimrc files. <a href="https://www.egr.msu.edu/~joseph62">Homepage Here</a></br>
|
||||
<a href="mailto:joseph62@msu.edu">Email Sean</a>
|
||||
</p> </div>
|
||||
<div class="card">
|
||||
<h2>Stephen Alfa - Project Facilitator</h2>
|
||||
<img src="assets/stephen_alfa.jpg" width="960" height="959" alt="Stephen Alfa">
|
||||
<p>22 years old, from Washington D.C. Graduating in May 2018
|
||||
with a Bachelor's of Science in Computer Science. I currently
|
||||
work as a web developer at SNWorks in East Lansing, MI.
|
||||
Check out my <a href="https://alfastep.github.io/">portfolio</a>.</br>
|
||||
<a href="mailto:alfastep@msu.edu">Email Stephen</a>
|
||||
</p> </div>
|
||||
<div class="card">
|
||||
<h2>Logan Arent - Safety/Security Engineer</h2>
|
||||
<img src="assets/logan_arent.jpg" height="696" width="696" alt="Logan Arent">
|
||||
<p>
|
||||
Senior in Computer Science at Michigan State University.
|
||||
Working to gain as much knowledge as possible about software development.</br>
|
||||
<a href="mailto:arentlog@msu.edu">Email Logan</a>
|
||||
</p> </div>
|
||||
<div class="card">
|
||||
<h2>Colin Coppersmith - Domain Expert/Customer Liaison</h2>
|
||||
<img src="assets/colin_coppersmith.jpg" height="999" width="693" alt="Colin Coppersmith">
|
||||
<p>
|
||||
20 years old, from Clarkston, MI.
|
||||
Graduating in May of 2018 with a B.S. in Computer Science.
|
||||
Currently in a web development internship for Jackson National Life supporting the Mobile Technologies department.</br>
|
||||
<a href="mailto:coppers4@msu.edu">Email Colin</a>
|
||||
</p> </div>
|
||||
</div>
|
||||
HTML;
|
||||
return $body;
|
||||
}
|
||||
|
||||
}
|
||||
35
lib/DraftsView.php
Normal file
35
lib/DraftsView.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
require_once "SecureView.php";
|
||||
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: sean
|
||||
* Date: 10/30/17
|
||||
* Time: 11:14 AM
|
||||
*/
|
||||
class DraftsView extends SecureView
|
||||
{
|
||||
|
||||
public function page(){
|
||||
$body = <<<HTML
|
||||
<div class="card">
|
||||
<h2>Questions and Risks for the Customer</h2>
|
||||
<ul>
|
||||
<li><a href="./Questions.pdf">Collated Submission</a></li>
|
||||
<li><a href="./James_Questions.pdf">Questions and Risks from James</a></li>
|
||||
<li><a href="./Stephen_Questions.pdf">Questions and Risks from Stephen</a></li>
|
||||
<li><a href="./Sean_Questions.pdf">Questions and Risks from Sean</a></li>
|
||||
<li><a href="./Colin_Questions.pdf">Questions and Risks from Colin</a></li>
|
||||
<li><a href="./Logan_Questions.pdf">Questions and Risks from Logan</a></li>
|
||||
<ul>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>Prototype Source</h2>
|
||||
<p>Source can be found in <a href="https://git.cse.msu.edu/cse-435-team-6/automotive-paint-defect-analysis/">this git repository</a>.</p>
|
||||
</div>
|
||||
HTML;
|
||||
return $body;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,86 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: sean
|
||||
* Date: 5/26/17
|
||||
* Time: 8:57 PM
|
||||
*/
|
||||
class View
|
||||
{
|
||||
|
||||
public function __construct() {
|
||||
$this->addNav("Home", "./");
|
||||
$this->addNav("About Me", "aboutme.php");
|
||||
$this->addNav("Experience", "experience.php");
|
||||
$this->addNav("Game", "game.php");
|
||||
}
|
||||
|
||||
public function head(){
|
||||
|
||||
$html = <<<HTML
|
||||
<meta charset="utf-8">
|
||||
<title>$this->title</title>
|
||||
<link href="style/default.css" rel="stylesheet" type="text/css">
|
||||
HTML;
|
||||
|
||||
return $html;
|
||||
|
||||
}
|
||||
|
||||
public function header(){
|
||||
|
||||
$html = <<<HTML
|
||||
<header>
|
||||
<h1>$this->title</h1>
|
||||
<nav><p class="nav-bar">|
|
||||
HTML;
|
||||
foreach($this->links as $link){
|
||||
$name = $link['name'];
|
||||
$to = $link['link'];
|
||||
$html .= " <a href='$to'>$name</a> |";
|
||||
}
|
||||
$html .= <<<HTML
|
||||
</p></nav>
|
||||
</header>
|
||||
HTML;
|
||||
|
||||
return $html;
|
||||
|
||||
}
|
||||
|
||||
public function page(){
|
||||
|
||||
$html = <<<HTML
|
||||
<div class="card">
|
||||
<p>CONTENT COMING SOON!</p>
|
||||
</div>
|
||||
HTML;
|
||||
|
||||
return $html;
|
||||
|
||||
}
|
||||
|
||||
public function addNav($name, $link){
|
||||
$this->links[] = array("name" => $name, "link" => $link);
|
||||
}
|
||||
|
||||
public function footer(){
|
||||
|
||||
$html = <<<HTML
|
||||
<footer>
|
||||
</footer>
|
||||
HTML;
|
||||
|
||||
return $html;
|
||||
|
||||
}
|
||||
|
||||
public function setTitle($title){
|
||||
$this->title = $title;
|
||||
}
|
||||
|
||||
private $links = array();
|
||||
private $title = "Not Set!";
|
||||
|
||||
}
|
||||
68
lib/LandingView.php
Normal file
68
lib/LandingView.php
Normal file
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
require_once "View.php";
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: sean
|
||||
* Date: 10/26/17
|
||||
* Time: 7:52 PM
|
||||
*/
|
||||
class LandingView extends View
|
||||
{
|
||||
public function page()
|
||||
{
|
||||
$body = <<<HTML
|
||||
<div class="card">
|
||||
<h2>Project Description</h2>
|
||||
<p>
|
||||
Our project is to automate the recording of paint defects and the creation of reports.
|
||||
Analysts will use the system instead of paper diagrams to record paint defects.
|
||||
It will automatically create daily reports and allow for easy creation of the reports for larger time periods.
|
||||
The system will be safe, reliable, and secure.
|
||||
It will be used at the following GM plants: Lansing Delta Township, Lansing Grand River, and Lake Orion Assembly.
|
||||
</p>
|
||||
<p><a href="http://www.cse.msu.edu/~cse435/Projects/F2017/Project-Description.pdf">Reference</a></p>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>Project Background</h2>
|
||||
<p>
|
||||
General Motors automotive plants check for paint defects at points along the assembly line so that the defects can be fixed and so sources of defects can be found and eliminated.
|
||||
Currently, analysts examine the cars and record defects on paper diagrams.
|
||||
Later the analyst will compile the data and create daily reports and summary reports for larger time periods.
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>Other Resources</h2>
|
||||
<h3>Project Info</h3>
|
||||
<ul>
|
||||
<li><a href="https://cse.msu.edu/~cse435/Projects/F2017/Project-Description-Assignment.pdf">Project Description Slides</a></li>
|
||||
<li><a href="http://www.cse.msu.edu/~cse435/Projects/F2017/Project-Description.pdf">Project Description Document</a></li>
|
||||
<li><a href="./Domain Research.pdf">Domain Research</a></li>
|
||||
<li><a href="http://www.cse.msu.edu/~cse435/Projects/F2017/IntermediateAssignments/Questions%20and%20Answers.pdf">Questions for Customer and Customer Responses</a></li>
|
||||
</ul>
|
||||
<h3>Specifications</h3>
|
||||
<ul>
|
||||
<li><a href="./CSE 435 - SRS V1.pdf">Software Reqirement Specs V1 PDF</a></li>
|
||||
<li><a href="./CSE 435 - SRS V1.docx">Software Reqirement Specs V1 DOCX</a></li>
|
||||
<li><a href="./CSE 435 - SRS V2.pdf">Software Reqirement Specs V2 PDF</a></li>
|
||||
<li><a href="./CSE 435 - SRS V2.docx">Software Reqirement Specs V2 DOCX</a></li>
|
||||
<li><a href="./CSE 435 - Project Requirements Definition.pdf">Project Requirements Definition</a></li>
|
||||
</ul>
|
||||
<h3>Prototypes</h3>
|
||||
<p>Prototypes Instructions: Visit the linked sites. They are live web-app implementations.</p>
|
||||
<ul>
|
||||
<li><a href="./prototype/login.html">Prototype V1</a></li>
|
||||
<li><a href="https://www.cse.msu.edu/~joseph62/prototype/login.html">Prototype V2</a></li>
|
||||
</ul>
|
||||
<h3>Miscellaneous</h3>
|
||||
<ul>
|
||||
<li><a href="./Presentation.pdf">Presentation</a></li>
|
||||
<li><a href="./Bibliography.pdf">Bibliography</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
HTML;
|
||||
return $body;
|
||||
}
|
||||
}
|
||||
54
lib/MilestonesView.php
Normal file
54
lib/MilestonesView.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
|
||||
require_once "SecureView.php";
|
||||
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: sean
|
||||
* Date: 10/30/17
|
||||
* Time: 10:37 AM
|
||||
*/
|
||||
class MilestonesView extends SecureView
|
||||
{
|
||||
|
||||
public function page(){
|
||||
$body = <<<HTML
|
||||
|
||||
<div class="card">
|
||||
<h2>Important Deadlines</h2>
|
||||
<ul>
|
||||
<li>
|
||||
Oct. 24: Submit Questions and Risks Regarding the Project
|
||||
</li>
|
||||
<li>
|
||||
Oct. 30: Develop Skeletal Website and Submit Info
|
||||
</li>
|
||||
<li>
|
||||
Nov. 1: Submit Project Requirements Definition Document
|
||||
</li>
|
||||
<li>
|
||||
Nov. 13: Submit Software Requirements Specification Document V1
|
||||
</li>
|
||||
<li>
|
||||
Nov. 15: Submit Peer Review of the First Set of Deliverables
|
||||
</li>
|
||||
<li>
|
||||
Nov. 20: Complete Prototype 1 and Submit Review of SRS
|
||||
</li>
|
||||
<li>
|
||||
Nov. 29: Submit Software Requirements Specification Document V2
|
||||
</li>
|
||||
<li>
|
||||
Dec. 4: Complete Prototype 2
|
||||
</li>
|
||||
<li>
|
||||
Dec. 6: Present the Project and Submit Peer Review of the Second Set of Deliverables
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
HTML;
|
||||
|
||||
return $body;
|
||||
}
|
||||
|
||||
}
|
||||
165
lib/MinutesView.php
Normal file
165
lib/MinutesView.php
Normal file
@@ -0,0 +1,165 @@
|
||||
<?php
|
||||
|
||||
require_once "SecureView.php";
|
||||
|
||||
class MinutesView extends SecureView
|
||||
{
|
||||
|
||||
public function page(){
|
||||
$body = <<<HTML
|
||||
|
||||
<div class="card">
|
||||
<h2>Meeting 1</h2>
|
||||
<p>
|
||||
<h3>10/16/2017 1:20PM – 1:50PM</h3>
|
||||
<p>Agenda – Assign roles to each member. Discuss the best times to having meetings during the duration of the projects.
|
||||
</p>
|
||||
<p>
|
||||
Overview – Assigned roles for each group member, discussed times and days when we would all be available to meet, and assigned tasks that were due by the next meeting.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Domain Expert/Customer Liaison – Colin
|
||||
</li>
|
||||
<li>
|
||||
Safety/Security Engineer – Logan
|
||||
</li>
|
||||
<li>
|
||||
Project Facilitator – Stephen
|
||||
</li>
|
||||
<li>
|
||||
Artifacts Manager – Sean
|
||||
</li>
|
||||
<li>
|
||||
Project Manager – James
|
||||
</li>
|
||||
</ul>
|
||||
<p>Next Meeting – 10/25/17 @ 12:00PM, CSE 435 Classroom</p>
|
||||
<h3>Tasks to be completed:</h3>
|
||||
<ul>
|
||||
<li>
|
||||
Email questions to James by 10/23
|
||||
</li>
|
||||
<li>
|
||||
Pictures sent to Sean by 10/24
|
||||
</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>Meeting 2</h2>
|
||||
<h3>10/25/2017 12:00PM – 12:30PM</h3>
|
||||
<p>Agenda – Go over how we are going to make the website for our project. Talk about requirements for project.
|
||||
</p>
|
||||
<p>
|
||||
Overview – Discussed the best way to go about making the website in a way that would give us all access (including the professor).
|
||||
</p>
|
||||
<p>Next Meeting – 10/30 @ 7:30Pm, 3rd Floor Engineering Building
|
||||
</p>
|
||||
<h3>Tasks to be completed: </h3>
|
||||
<ul>
|
||||
<li> Start to go over and think of requirements for project by 10/30 </li>
|
||||
<li> Set up website and notify professor by 10/30 </li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>Meeting 3</h2>
|
||||
<h3>10/30/2017 7:00PM - 8:00PM</h3>
|
||||
<p>Agenda – Go over preliminary requirements together and make sure everyone understands each section of requirements. Plan next meeting time.
|
||||
</p>
|
||||
<p>Overview – Divided preliminary requirements tasks amongst ourselves. Got most of the requirements done at the meeting. Figured out next meeting time to start going over SRS Requirements.
|
||||
</p>
|
||||
<p>Next Meeting – 11/09/2017 @ 5:00PM, 3211 Anthony Hall</p>
|
||||
<h3>Tasks to be completed:</h3>
|
||||
<ul>
|
||||
<li>
|
||||
Colin – Requirements #4 by 10PM on 10/31
|
||||
</li>
|
||||
<li>
|
||||
James – Requirements #1 and #2 by 10PM on 10/31
|
||||
</li>
|
||||
<li>
|
||||
Logan – Requirements #3 by 10PM on 10/31
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>Meeting 4</h2>
|
||||
<h3>11/09/2017 5:00PM – 6:00PM</h3>
|
||||
<p>Agenda – Go over what needs to be done so that we can complete the SRS.</p>
|
||||
<p>Overview – Went over what tasks need to be completed in order for us to complete the SRS. Divided up tasks amongst ourselves</p>
|
||||
<p>Next Meeting – 11/09/2017 @ 5:00PM, International Center Food Court</p>
|
||||
<h3>Tasks to be completed:</h3>
|
||||
<ul>
|
||||
<li>Colin – Introduction, Purpose, Use Case, State Diagram by 10PM on 11/12</li>
|
||||
<li>Stephen – Scope, Definitions, Terms, and Abbreviations, Organization by 10PM on 11/12</li>
|
||||
<li>James – Product perspective, Product Functions, User Characteristics, Representative Scenarios of System by 10PM on 11/12</li>
|
||||
<li>Sean – Constraints, Assumptions and Dependencies, Approportioning of Requirements by 10PM on 11/12</li>
|
||||
<li>Logan – Specific Requirements by 10PM on 11/12</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>Meeting 5</h2>
|
||||
<h3>11/16/2017 5:00PM – 6:00PM</h3>
|
||||
<p>Agenda – Go over how we are going to make the prototype.</p>
|
||||
<p>Overview – Divided up tasks amongst ourselves, for making prototype. Set up git repository for the prototype web app.</p>
|
||||
<p>Next Meeting – 11/27/2017 @ 11:30AM in CSE 435 classroom</p>
|
||||
<h3>Tasks to be completed:</h3>
|
||||
<ul>
|
||||
<li>Login Page – Sean by 10PM on 11/19</li>
|
||||
<li>Car/Session Page – Stephen by 10PM on 11/19</li>
|
||||
<li>Sessions Page – James by 10PM on 11/19</li>
|
||||
<li>Index – Sean by 10PM on 11/19</li>
|
||||
<li>Car Page - Colin by 10PM on 11/19</li>
|
||||
<li>Reports Page – Logan by 10PM on 11/19</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>Meeting 6</h2>
|
||||
<h3>11/27/2017 11:30AM – 12:30PM</h3>
|
||||
<p>Agenda – Go over feedback on SRSv1 and discusses what needs to be changed or added. </p>
|
||||
<p>Overview – Successfully went over feedback given on SRSv1. Divided up tasks for completion of SRSv2.</p>
|
||||
<p>Next Meeting – 11/29/2017 @ 8:30PM online using Discord</p>
|
||||
<h3>Tasks to be completed:</h3>
|
||||
<ul>
|
||||
<li>Colin – Introduction, Purpose, Use Case, State Diagram by 10PM on 11/28
|
||||
</li>
|
||||
<li>Stephen – Scope, Definitions, Terms, and Abbreviations, Organization, How to Run Prototype by 10PM on 11/28
|
||||
</li>
|
||||
<li>James – Product perspective, Product Functions, User Characteristics, Representative Scenarios of System by 10PM on 11/28
|
||||
</li>
|
||||
<li>Sean – Constraints, Assumptions and Dependencies, Approportioning of Requirements by 10PM on 11/28
|
||||
</li>
|
||||
<li>Logan – Specific Requirements, Sample Scenarios by 10PM on 11/28
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>Meeting 7</h2>
|
||||
<h3>11/29/2017 8:30PM – 9:30PM</h3>
|
||||
<p>Agenda – Go over feedback for prototype v1 and go over what needs to be completed by the time we give our presentation.
|
||||
</p>
|
||||
<p>Overview – Went over feedback for prototype v1 and assigned tasks for everyone to complete so that we improve the prototype and make sure we are prepared for our presentation on 12/06/2017.
|
||||
</p>
|
||||
<h3>Tasks to be completed:</h3>
|
||||
<ul>
|
||||
<li>Stephen and James – Ensure website has everything needed. Make sure to check against website rubric as well by 11:30 PM on 12/03
|
||||
</li>
|
||||
<li>Sean and Logan – Implementation of prototype functionality by 11:30PM on 12/03
|
||||
</li>
|
||||
<li>Colin – Validate functionality of prototype by 11:30PM on 12/03
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
HTML;
|
||||
|
||||
return $body;
|
||||
}
|
||||
|
||||
}
|
||||
59
lib/SecureLoginController.php
Normal file
59
lib/SecureLoginController.php
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: sean
|
||||
* Date: 10/29/17
|
||||
* Time: 6:59 PM
|
||||
*/
|
||||
class SecureLoginController
|
||||
{
|
||||
public function __construct($get, $post, $logins)
|
||||
{
|
||||
|
||||
$this->get = $get;
|
||||
$this->post = $post;
|
||||
$this->logins = $logins;
|
||||
|
||||
if(isset($post['username'])){
|
||||
$username = $post['username'];
|
||||
if(array_key_exists($username,$logins)){
|
||||
if(isset($post['password'])) {
|
||||
$hash = hash("sha256", $post['password']);
|
||||
if ($hash == $logins[$username]) {
|
||||
$this->success = true;
|
||||
$this->redirect = "secure/minutes.php";
|
||||
}
|
||||
else{
|
||||
$this->redirect = "secure/index.php";
|
||||
}
|
||||
}
|
||||
else{
|
||||
$this->redirect = "secure/index.php";
|
||||
}
|
||||
|
||||
}
|
||||
else{
|
||||
$this->redirect = "secure/index.php";
|
||||
}
|
||||
}
|
||||
else{
|
||||
$this->redirect = "secure/index.php";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public function getRedirect(){
|
||||
return $this->redirect;
|
||||
}
|
||||
|
||||
public function validLogin(){
|
||||
return $this->success;
|
||||
}
|
||||
|
||||
private $get; //Get data
|
||||
private $post; //Post data
|
||||
private $logins; //Login data
|
||||
private $success = false; // successful login flag
|
||||
private $redirect; //Redirect location
|
||||
}
|
||||
33
lib/SecureLoginView.php
Normal file
33
lib/SecureLoginView.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
require_once "SecureView.php";
|
||||
|
||||
class SecureLoginView extends SecureView
|
||||
{
|
||||
|
||||
|
||||
public function page()
|
||||
{
|
||||
$body = <<<HTML
|
||||
<div class="content">
|
||||
<div class="card">
|
||||
<form action="../post/login.php" method="post">
|
||||
<fieldset>
|
||||
<p>
|
||||
<label for="username">Username:</label>
|
||||
<input type="text" id="username" name="username" placeholder="Username">
|
||||
</p>
|
||||
<p>
|
||||
<label for="password">Password:</label>
|
||||
<input type="password" id="password" name="password" placeholder="Password">
|
||||
</p>
|
||||
<p><input type="submit" name="Submit" value="Submit"></p>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
HTML;
|
||||
|
||||
return $body;
|
||||
}
|
||||
|
||||
}
|
||||
22
lib/SecureView.php
Normal file
22
lib/SecureView.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
require_once "View.php";
|
||||
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: sean
|
||||
* Date: 10/30/17
|
||||
* Time: 11:07 AM
|
||||
*/
|
||||
class SecureView extends View
|
||||
{
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->addNav("Home", ROOT);
|
||||
$this->addNav("Minutes", ROOT . "secure/minutes.php");
|
||||
$this->addNav("Milestones", ROOT . "secure/milestones.php");
|
||||
$this->addNav("Drafts", ROOT . "secure/drafts.php");
|
||||
$this->addNav("Logoff", ROOT . "secure/");
|
||||
}
|
||||
|
||||
}
|
||||
26
lib/View.php
26
lib/View.php
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
require_once "prelude.inc.php";
|
||||
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
@@ -10,18 +11,18 @@ class View
|
||||
{
|
||||
|
||||
public function __construct() {
|
||||
$this->addNav("Home", "./");
|
||||
$this->addNav("Progress", "./");
|
||||
$this->addNav("Meet The Team", "./");
|
||||
$this->addNav("Home", ROOT);
|
||||
$this->addNav("Meet The Team", ROOT . "about.php");
|
||||
$this->addNav("Secure", ROOT ."secure");
|
||||
$this->addNav("Course Site", "https://cse.msu.edu/~cse435/");
|
||||
}
|
||||
|
||||
public function head(){
|
||||
|
||||
$root = ROOT;
|
||||
$html = <<<HTML
|
||||
<meta charset="utf-8">
|
||||
<meta charset="UTF-8">
|
||||
<title>$this->title</title>
|
||||
<link href="./style/default.css" rel="stylesheet" type="text/css">
|
||||
<link href="{$root}style/default.css" rel="stylesheet" type="text/css">
|
||||
HTML;
|
||||
|
||||
return $html;
|
||||
@@ -52,16 +53,7 @@ HTML;
|
||||
public function page(){
|
||||
|
||||
$html = <<<HTML
|
||||
<div class="card">
|
||||
<h2>Roster:</h2>
|
||||
<ul>
|
||||
<li>Project Manager - James</li>
|
||||
<li>Artifacts Manager - Sean</li>
|
||||
<li>Project Facilitator- Stephen</li>
|
||||
<li>Safety/Security Engineer - Logan</li>
|
||||
<li>Domain Expert/Customer Liaison - Colin</li>
|
||||
</ul>
|
||||
</div>
|
||||
<p>Content coming soon...</p>
|
||||
HTML;
|
||||
|
||||
return $html;
|
||||
@@ -88,6 +80,6 @@ HTML;
|
||||
}
|
||||
|
||||
private $links = array();
|
||||
private $title = "Not Set!";
|
||||
protected $title = "Not Set!";
|
||||
|
||||
}
|
||||
|
||||
13
lib/logins.inc.php
Normal file
13
lib/logins.inc.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: sean
|
||||
* Date: 10/29/17
|
||||
* Time: 7:22 PM
|
||||
*/
|
||||
|
||||
//Login credentials for the protected pages
|
||||
$logins = array(
|
||||
"team6" => "1b598bb7f24d7d258a6bd2264177fb88896744e43214f86daa9f4738e5e8b5be",
|
||||
"cse435" => "0f0484da86e5949eb820290270ab76e5fc63f1c4c06b0bb412cd3c551623069f",
|
||||
);
|
||||
10
lib/prelude.inc.php
Normal file
10
lib/prelude.inc.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* This file should be included for any entry point.
|
||||
* Constants and session stuff will be saved here.
|
||||
*/
|
||||
|
||||
session_start();
|
||||
define("LOGIN","login");//login session constant
|
||||
//define("ROOT", "/./");
|
||||
define("ROOT", "/~joseph62/cse435/");
|
||||
16
lib/protected.inc.php
Normal file
16
lib/protected.inc.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: sean
|
||||
* Date: 10/29/17
|
||||
* Time: 6:49 PM
|
||||
*/
|
||||
require_once "prelude.inc.php";
|
||||
|
||||
|
||||
if(!$open){
|
||||
if(!isset($_SESSION[LOGIN])){
|
||||
header("Location: " . ROOT . "secure/index.php");
|
||||
}
|
||||
}
|
||||
|
||||
20
post/login.php
Normal file
20
post/login.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: sean
|
||||
* Date: 10/29/17
|
||||
* Time: 6:59 PM
|
||||
*/
|
||||
require_once "../lib/prelude.inc.php";
|
||||
require_once "../lib/logins.inc.php";
|
||||
require_once "../lib/SecureLoginController.php";
|
||||
|
||||
$controller = new SecureLoginController($_GET,$_POST,$logins);
|
||||
|
||||
if($controller->validLogin()){
|
||||
|
||||
$_SESSION[LOGIN] = "We really out here.";
|
||||
}
|
||||
|
||||
header("Location: " . ROOT . $controller->getRedirect());
|
||||
|
||||
BIN
secure/Colin_Questions.pdf
Normal file
BIN
secure/Colin_Questions.pdf
Normal file
Binary file not shown.
BIN
secure/James_Questions.pdf
Normal file
BIN
secure/James_Questions.pdf
Normal file
Binary file not shown.
BIN
secure/Logan_Questions.pdf
Normal file
BIN
secure/Logan_Questions.pdf
Normal file
Binary file not shown.
BIN
secure/Questions.pdf
Normal file
BIN
secure/Questions.pdf
Normal file
Binary file not shown.
BIN
secure/Sean_Questions.pdf
Normal file
BIN
secure/Sean_Questions.pdf
Normal file
Binary file not shown.
BIN
secure/Stephen_Questions.pdf
Normal file
BIN
secure/Stephen_Questions.pdf
Normal file
Binary file not shown.
22
secure/drafts.php
Normal file
22
secure/drafts.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<?php
|
||||
require_once "../lib/prelude.inc.php";
|
||||
require_once "../lib/protected.inc.php";
|
||||
require_once "../lib/DraftsView.php";
|
||||
$view = new DraftsView();
|
||||
$view->setTitle("Drafts");
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<?php
|
||||
echo $view->head();
|
||||
?>
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
echo $view->header();
|
||||
echo $view->page();
|
||||
echo $view->footer();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
21
secure/index.php
Normal file
21
secure/index.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<?php
|
||||
require_once "../lib/prelude.inc.php";
|
||||
require_once "../lib/SecureLoginView.php";
|
||||
$view = new SecureLoginView();
|
||||
$view->setTitle("Secure Pages Login");
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<?php
|
||||
echo $view->head();
|
||||
?>
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
echo $view->header();
|
||||
echo $view->page();
|
||||
echo $view->footer();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
22
secure/milestones.php
Normal file
22
secure/milestones.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<?php
|
||||
require_once "../lib/prelude.inc.php";
|
||||
require_once "../lib/protected.inc.php";
|
||||
require_once "../lib/MilestonesView.php";
|
||||
$view = new MilestonesView();
|
||||
$view->setTitle("Milestones and Deadlines");
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<?php
|
||||
echo $view->head();
|
||||
?>
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
echo $view->header();
|
||||
echo $view->page();
|
||||
echo $view->footer();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
22
secure/minutes.php
Normal file
22
secure/minutes.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<?php
|
||||
require_once "../lib/prelude.inc.php";
|
||||
require_once "../lib/protected.inc.php";
|
||||
require_once "../lib/MinutesView.php";
|
||||
$view = new MinutesView();
|
||||
$view->setTitle("Meeting Minutes");
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<?php
|
||||
echo $view->head();
|
||||
?>
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
echo $view->header();
|
||||
echo $view->page();
|
||||
echo $view->footer();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -21,35 +21,108 @@ time, mark, audio, video
|
||||
background:transparent;
|
||||
}
|
||||
|
||||
/*
|
||||
body {
|
||||
background : lightgrey;
|
||||
background-image: url("../assets/redcedarbackground.jpg");
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
}
|
||||
*/
|
||||
|
||||
h2{
|
||||
font-size: 1.25em;
|
||||
}
|
||||
|
||||
h3{
|
||||
font-size: 1em;
|
||||
}
|
||||
body{
|
||||
background: darkgreen;
|
||||
font-family: Serif;
|
||||
}
|
||||
|
||||
header {
|
||||
padding-top: 1em;
|
||||
background : white;
|
||||
background : rgba(255,255,255,1);
|
||||
text-align: center;
|
||||
line-height: 3em;
|
||||
border-bottom: 20px solid gray;
|
||||
}
|
||||
|
||||
header h1 {
|
||||
font-size : 2em;
|
||||
}
|
||||
|
||||
nav a{
|
||||
color : darkgray;
|
||||
a{
|
||||
color : rgba(100,100,100,1);
|
||||
font-style: normal;
|
||||
text-decoration : none;
|
||||
background : inherit;
|
||||
}
|
||||
|
||||
nav a:hover{
|
||||
color : black;
|
||||
background: lightgrey;
|
||||
font-size:1.1em;
|
||||
a:hover{
|
||||
color : rgba(0,0,0,1);
|
||||
}
|
||||
|
||||
div.card{
|
||||
border:thick black;
|
||||
display:inline-block;
|
||||
text-align: left;
|
||||
margin: 1em auto;
|
||||
border: medium solid black;
|
||||
border-radius: 10px;
|
||||
/*height: 550px;*/
|
||||
width: 700px;
|
||||
background: rgba(255,255,255,1);
|
||||
}
|
||||
|
||||
div.card h2{
|
||||
margin-top: 0.75em;
|
||||
margin-bottom: 0.75em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.card img{
|
||||
height:400px;
|
||||
width:300px;
|
||||
border:thick solid black;
|
||||
border-radius: 10px;
|
||||
display:block;
|
||||
padding: 5px;
|
||||
margin: auto;
|
||||
|
||||
}
|
||||
|
||||
div.card p{
|
||||
width: 400px;
|
||||
margin: 0.75em auto;
|
||||
}
|
||||
|
||||
div.card ul{
|
||||
display: block;
|
||||
margin: auto;
|
||||
width: 400px;
|
||||
list-style-type: square;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
div.content h1{
|
||||
font-size: 3em;
|
||||
text-align: center;
|
||||
margin: 0.75em 0;
|
||||
color: white;
|
||||
}
|
||||
|
||||
div.card h3{
|
||||
margin-top: 0.75em;
|
||||
margin-bottom: 0.75em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.card form{
|
||||
padding: 25px;
|
||||
|
||||
}
|
||||
|
||||
div.card form fieldset{
|
||||
border: thin solid black;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user