Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
6f30969
Create TeamProductivityLog.md
hehjunlim Mar 26, 2023
ee23380
Update TeamProductivityLog.md
hehjunlim Mar 26, 2023
0c4819d
Update TeamProductivityLog.md
hehjunlim Mar 26, 2023
80040ee
Update TeamProductivityLog.md
MikeMassotto Mar 26, 2023
b926d52
Created privacy.md and included its contents from the Wiki
MikeMassotto Mar 27, 2023
b240794
created scrum-docs brnach and directory, and added privacy_scrum.md
MikeMassotto Mar 27, 2023
98989e5
Merge pull request #1 from mp299/privacy_policy
MikeMassotto Mar 27, 2023
4314787
Merge pull request #2 from mp299/scrum-docs
MikeMassotto Mar 27, 2023
4315a4c
Converted privacy policy into HTML and replaced it with the template …
MikeMassotto Mar 27, 2023
4c29497
Converted privacy policy into HTML and replaced it with the template …
MikeMassotto Mar 27, 2023
4f38b41
Update privacy.html
MikeMassotto Mar 27, 2023
44e7b3d
already having merge problems, kill me
MikeMassotto Mar 27, 2023
f6aa2f8
Merge pull request #3 from mp299/privacy_policy
MikeMassotto Mar 27, 2023
2221e71
created template siteMetrics.js playwright script
MikeMassotto Mar 27, 2023
dbd73d0
Update publish.yml
mp299 Mar 27, 2023
45f28e1
building pages
mp299 Mar 27, 2023
7a8e98d
Added playwright-tests.yml template
MikeMassotto Mar 27, 2023
44147f0
added HTML and CSS page called FrontPage>
hehjunlim Mar 27, 2023
2155467
added CSS and HTML page called FrontPage
hehjunlim Mar 27, 2023
d3cf153
Merge pull request #4 from mp299/responsepage
hehjunlim Mar 27, 2023
005d123
40 tests in siteMetrics.js! Not sure what he expects, with how small …
MikeMassotto Mar 27, 2023
810abdb
Merge pull request #5 from mp299/playwright-tests
MikeMassotto Mar 27, 2023
bbfbd7d
updated errors on Front Page
hehjunlim Mar 27, 2023
f256f62
Merge pull request #6 from mp299/updatepage
hehjunlim Mar 27, 2023
177ee86
basic home page
mp299 Mar 27, 2023
3872ceb
Merge pull request #8 from mp299/7-homepage-basic
mp299 Mar 27, 2023
dc77ede
Update index.html
mp299 Mar 27, 2023
de460d2
Update TeamProductivityLog.md
mp299 Mar 27, 2023
06f1c51
Update TeamProductivityLog.md
mp299 Mar 27, 2023
db71e51
trying to delete old files
mp299 Mar 27, 2023
0e043d2
Delete Front Page.html
mp299 Mar 27, 2023
20c80f5
Delete FrontPage.css
mp299 Mar 27, 2023
6a49b44
included web accessibility features
hehjunlim Mar 27, 2023
608ca69
Merge pull request #10 from mp299/9-web-accessibility-concerns
hehjunlim Mar 27, 2023
da2f598
Merge pull request #11 from mp299/deletingBranch
mp299 Mar 27, 2023
4758375
included responsive design concerns
hehjunlim Mar 27, 2023
20b5c9d
Merge pull request #15 from mp299/14-responsive-design-concerns
hehjunlim Mar 27, 2023
4d847c1
made some changes to dockerfile, accidentally did it on the wrong bra…
mp299 Mar 27, 2023
733b18e
Merge pull request #16 from mp299/deletingBranch
mp299 Mar 27, 2023
8b7fa4a
Update mywebclass_title.spec.js
mp299 Mar 27, 2023
f784ed1
included SEO features
hehjunlim Mar 27, 2023
5a40c3a
Merge pull request #17 from mp299/13-seo-concerns
hehjunlim Mar 27, 2023
7e8c5a4
more gutting for testing
mp299 Mar 27, 2023
a825a4c
Merge pull request #18 from mp299/deletingBranch
mp299 Mar 27, 2023
443e9fe
Update TeamProductivityLog.md
mp299 Mar 27, 2023
282a499
Update TeamProductivityLog.md
mp299 Mar 27, 2023
20e4cf5
first test for title
mp299 Mar 27, 2023
cc7ee20
fixing playwright issues
mp299 Mar 27, 2023
f7f4446
Add node_modules folder
mp299 Mar 27, 2023
5eaf6a1
wrote a bunch of tests in their own files
mp299 Mar 27, 2023
61b2e53
wrote all tests and what they do in a md file
mp299 Mar 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
26 changes: 26 additions & 0 deletions .github/workflows/playwright-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Playwright Tests

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y xvfb libgtk-3-0 libgconf-2-4
npm install

- name: Run Playwright tests
env:
MY_APP_URL: http://localhost:3000
run: |
xvfb-run npm run test
9 changes: 6 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ on:
- 'v*'

env:
DOCKER_REPO_NAME: kaw393939/mywebclass
DOCKER_REPO_NAME: mp299/webclass_simulation

Public View


jobs:
build:
Expand Down Expand Up @@ -49,8 +52,8 @@ jobs:
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
tests/__pycache__
grade/__pycache__
.pytest_cache
node_modules
.idea
venv
/test-results/
Expand Down
18 changes: 7 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,27 +1,23 @@
# syntax=docker/dockerfile:1.3
# Use a multiarch Node.js runtime as a parent image
FROM --platform=$BUILDPLATFORM node:latest AS builder
# Use an official web server as a parent image
FROM nginx:alpine

# Set the working directory to /app
WORKDIR /app

# Copy the package.json and package-lock.json files to the container
COPY package*.json ./
# Copy the content of the website into the container
COPY . /usr/share/nginx/html

# Install dependencies
RUN npm install
RUN apk add --no-cache nodejs npm

# Copy the rest of the application code to the container
COPY . .

# Build the webpack site and output it to the docs directory
RUN npm run build

# Use a multiarch Nginx runtime as a parent image
FROM --platform=$TARGETPLATFORM nginx:latest

# Copy the output of the webpack build from the builder stage to the nginx image
COPY --from=builder /app/docs /usr/share/nginx/html
# Copy the output of the webpack build to the nginx image
COPY /app/docs /usr/share/nginx/html

# Expose port 80 for HTTP traffic
EXPOSE 80
Expand Down
6 changes: 6 additions & 0 deletions TeamProductivityLog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
| Issue Title | Story Points | Issue Link | Status | Assigned To | Assigned On | Completed On | Category | Status Notes |
| GDPR Compliant Privacy Policy | 8 | https://github.com/mp299/mywebclass-simulation/wiki/GDPR-Privacy-Policy | Done | Mike Massotto | 3/20/2023 | 3/26/20230 | Legal | ---|
|Homepage Basic | 5|(https://github.com/mp299/mywebclass-simulation/issues/7) |Done| | Mithil Patel| 3/20/2023| 3/26/2023| initial|
|Docker containerization | 2 |(https://github.com/mp299/mywebclass-simulation/pull/16) | Done| Mithil Patel| 3/20/2023| 3/27/2023| webdesign and run | --- |
|--- | ---|--- | ---| ---| ---| ---| --- | --- |
|--- | ---|--- | ---| ---| ---| ---| --- | --- |
1 change: 1 addition & 0 deletions node_modules/.bin/acorn

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/ansi-html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/atob

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/autoprefixer

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/browserslist

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/browserslist-lint

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/cssesc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/cwebp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/envinfo

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/eslint

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/esparse

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/esvalidate

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/gifsicle

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/he

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/html-minifier-terser

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/import-local-fixture

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/is-docker

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/jpegtran

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/js-yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/jsesc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/json5

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/loose-envify

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/lpad-align

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/mime

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/mkdirp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/mozjpeg

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/multicast-dns

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/nanoid

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/optipng

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/parser

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/playwright

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/pngquant

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/purgecss

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/resolve

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/rimraf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/sass

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/seek-bunzip

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/seek-table

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/semver

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/standard

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/strip-indent

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/svgo

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/terser

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/uuid

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/webpack

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/webpack-cli

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/webpack-dev-server

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/which

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/xml2js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading