Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stable #215

Merged
merged 27 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
d874e86
fix auth error bug
ProkingK Aug 15, 2024
f672e1f
removal of former backend
bukhosi-eugene-mpande Aug 15, 2024
84da298
chore: Update .gitignore and .eslintignore files
bukhosi-eugene-mpande Aug 15, 2024
51dac56
chore: Update tests workflow name
bukhosi-eugene-mpande Aug 15, 2024
8f25148
chore: Update tests workflow name
bukhosi-eugene-mpande Aug 16, 2024
25be684
Update boot.sh script to fix frontend startup directory
bukhosi-eugene-mpande Aug 16, 2024
6c5ec49
comment out email
ProkingK Aug 17, 2024
2571c9b
update ignore files
ProkingK Aug 17, 2024
98a8e30
Merge branch 'update/nest-removal' into update/auth
ProkingK Aug 17, 2024
f3cf3b5
fix email error
ProkingK Aug 17, 2024
353669b
add forget password ui
ProkingK Aug 18, 2024
30cebf2
add forget password server side code
ProkingK Aug 18, 2024
fc50f93
complete forget password flow
ProkingK Aug 18, 2024
466a804
Merge pull request #198 from COS301-SE-2024/update/nest-removal
bukhosi-eugene-mpande Aug 20, 2024
1bad115
add force password change
ProkingK Aug 21, 2024
ff3e366
fix password change error
ProkingK Aug 21, 2024
ce430cc
add new email templates
ProkingK Aug 21, 2024
b1599b1
update dark mode styling
ProkingK Aug 21, 2024
e6a4b4c
move page and server tests to test folder
ProkingK Aug 22, 2024
2e268c7
add ui tests for forgot and reset password
ProkingK Aug 22, 2024
eb993a5
add server tests for forgot and reset password
ProkingK Aug 22, 2024
31bfec3
fix formating errors
ProkingK Aug 22, 2024
a9fb413
delete vite temp file
ProkingK Aug 22, 2024
ad97d18
Merge pull request #209 from COS301-SE-2024/update/auth
Ashley-Kapaso Aug 23, 2024
3f06712
add better password error handling
ProkingK Aug 23, 2024
fb3c32d
Merge pull request #210 from COS301-SE-2024/update/auth
Ashley-Kapaso Aug 23, 2024
d3cb4f0
Merge pull request #214 from COS301-SE-2024/develop
bukhosi-eugene-mpande Aug 23, 2024
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
  •  
  •  
  •  
31 changes: 0 additions & 31 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

31 changes: 0 additions & 31 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

15 changes: 4 additions & 11 deletions .github/ISSUE_TEMPLATE/working_on.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,15 @@ about: Indicate a feature or bug that you will be working towards implementing
title: ''
labels: ''
assignees: ''

---

---
name: Stand-up
about: Indicate a feature or bug that you will be working towards implementing
labels: enhancement
---

# Working-On

## Description

- [ ] item 1
- [ ] item 2
[Write a description of what you will be working on]

## Additional Information
## Checklist

[Any additional details or context that might be helpful.]
- [ ] item 1
- [ ] item 2
4 changes: 0 additions & 4 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
- [ ] Refactoring
- [ ] Documentation Update

**Testing Instructions:**

[Provide clear and concise instructions on how to test your changes.]

**Additional Notes:**

[Any additional information that may be helpful for reviewers.]
33 changes: 0 additions & 33 deletions .github/workflows/backend-tests.yml

This file was deleted.

14 changes: 4 additions & 10 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run ESLint on Push and Pull Requests
name: Run Linter
on:
push:
branches:
Expand All @@ -11,7 +11,7 @@ on:

jobs:
build:
name: Run ESLint
name: ESLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -23,13 +23,7 @@ jobs:
bun-version: latest
- name: Install dependencies for the frontend
run: bun install
working-directory: src/client
- name: Install dependencies for the backend
run: bun install
working-directory: src/server/workspace
working-directory: src
- name: Run Frontend Linters
run: bun run lint
working-directory: src/client
- name: Run Backend Linters
run: bun run lint
working-directory: src/server/workspace
working-directory: src
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run Frontend Tests
name: Run Tests
on:
push:
branches:
Expand All @@ -10,7 +10,7 @@ on:
- develop
jobs:
build:
name: Frontend tests
name: Unit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -22,17 +22,17 @@ jobs:
bun-version: latest
- name: Create .env file
run: |
echo AUTH_SECRET=${{ secrets.AUTH_SECRET }} >> src/client/.env
echo TEST_PASSWORD=${{ secrets.TEST_PASSWORD }} >> src/client/.env
echo SENDGRID_RECOVERY=${{ secrets.SENDGRID_RECOVERY }} >> src/client/.env
echo SENDGRID_API_KEY=${{ secrets.SENDGRID_API_KEY }} >> src/client/.env
echo FROM_EMAIL=${{ secrets.FROM_EMAIL }} >> src/client/.env
echo AUTH_SECRET=${{ secrets.AUTH_SECRET }} >> src/.env
echo TEST_PASSWORD=${{ secrets.TEST_PASSWORD }} >> src/.env
echo SENDGRID_RECOVERY=${{ secrets.SENDGRID_RECOVERY }} >> src/.env
echo SENDGRID_API_KEY=${{ secrets.SENDGRID_API_KEY }} >> src/.env
echo FROM_EMAIL=${{ secrets.FROM_EMAIL }} >> src/.env
- name: Install dependencies for the frontend
run: bun install
working-directory: src/client
working-directory: src
- name: Run Frontend Tests
run: npm run test
working-directory: src/client
run: bun run test:coverage
working-directory: src
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
Expand Down
34 changes: 7 additions & 27 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,30 +1,10 @@
# Node.js
node_modules/
npm-debug.log
yarn-error.log

# SvelteKit
/build

# NestJS
# Files
.env
.env.*

.aws.*
.aws

.npm

.amplify-hosting

# IDEs and editors
/.vscode
.idea
*.swp
*.swo

# Directories
build
.vscode
.vercel

# OS generated files
.DS_Store
Thumbs.db
coverage
.svelte-kit
node_modules
97 changes: 0 additions & 97 deletions CONTRIBUTING.MD

This file was deleted.

14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div align="center">
<h1>ClassConnect</h1>
<img src="./resources/images/class-connect-logo.png" alt="class-connect logo"/>
<img src="./images/class-connect-logo.png" alt="class-connect logo"/>

[![Issue Tracking](https://img.shields.io/badge/Issue_Tracking-GitHub_Issues-yellow)](https://github.com/COS301-SE-2024/ClassConnect/issues)
[![Build Status](https://img.shields.io/badge/Build_Status-GitHub_Actions-brightgreen)](https://github.com/COS301-SE-2024/ClassConnect/actions/workflows/linter.yml)
Expand Down Expand Up @@ -92,17 +92,17 @@ For any additional documentation please have look at our [Wiki](https://github.c

| Name | Profile Picture | Role | Socials |
| -------------- | ------------------------------------------------------------------------------------------------------------------ | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Joshua Wereley** | <img src="./resources/images/joshua.jpeg" alt="Joshua's Profile Picture" width="200"> | Project Manager | <a href="#" target="_blank"><img src="https://skillicons.dev/icons?i=github" alt="GitHub"></a> <a href="#" target="_blank"><img src="https://skillicons.dev/icons?i=linkedin" alt="LinkedIn"></a> |
| **Ashley Kapaso** | <img src="./resources/images/ashley.jpeg" alt="Ashley's Profile Picture" width="200"> | Architect | <a href="#" target="_blank"><img src="https://skillicons.dev/icons?i=github" alt="GitHub"></a> <a href="#" target="_blank"><img src="https://skillicons.dev/icons?i=linkedin" alt="LinkedIn"></a> |
| **Eugene Mpande** | <img src="./resources/images/eugene.jpeg" alt="Eugene's Profile Picture" width="200"> | DevOps Engineer | <a href="#" target="_blank"><img src="https://skillicons.dev/icons?i=github" alt="GitHub"></a> <a href="#" target="_blank"><img src="https://skillicons.dev/icons?i=linkedin" alt="LinkedIn"></a> |
| **Lunga Ndlovu** | <img src="./resources/images/lunga.jpeg" alt="Lunga's Profile Picture" width="200"> | Frontend Engineer | <a href="#" target="_blank"><img src="https://skillicons.dev/icons?i=github" alt="GitHub"></a> <a href="#" target="_blank"><img src="https://skillicons.dev/icons?i=linkedin" alt="LinkedIn"></a> |
| **Ayanda Juqu** | <img src="./resources/images/ayanda.jpeg" alt="Ayanda's Profile Picture" width="200"> | Backend Engineer | <a href="#" target="_blank"><img src="https://skillicons.dev/icons?i=github" alt="GitHub"></a> <a href="#" target="_blank"><img src="https://skillicons.dev/icons?i=linkedin" alt="LinkedIn"></a> |
| **Joshua Wereley** | <img src="./images/joshua.jpeg" alt="Joshua's Profile Picture" width="200"> | Project Manager | <a href="#" target="_blank"><img src="https://skillicons.dev/icons?i=github" alt="GitHub"></a> <a href="#" target="_blank"><img src="https://skillicons.dev/icons?i=linkedin" alt="LinkedIn"></a> |
| **Ashley Kapaso** | <img src="./images/ashley.jpeg" alt="Ashley's Profile Picture" width="200"> | Architect | <a href="#" target="_blank"><img src="https://skillicons.dev/icons?i=github" alt="GitHub"></a> <a href="#" target="_blank"><img src="https://skillicons.dev/icons?i=linkedin" alt="LinkedIn"></a> |
| **Eugene Mpande** | <img src="./images/eugene.jpeg" alt="Eugene's Profile Picture" width="200"> | DevOps Engineer | <a href="#" target="_blank"><img src="https://skillicons.dev/icons?i=github" alt="GitHub"></a> <a href="#" target="_blank"><img src="https://skillicons.dev/icons?i=linkedin" alt="LinkedIn"></a> |
| **Lunga Ndlovu** | <img src="./images/lunga.jpeg" alt="Lunga's Profile Picture" width="200"> | Frontend Engineer | <a href="#" target="_blank"><img src="https://skillicons.dev/icons?i=github" alt="GitHub"></a> <a href="#" target="_blank"><img src="https://skillicons.dev/icons?i=linkedin" alt="LinkedIn"></a> |
| **Ayanda Juqu** | <img src="./images/ayanda.jpeg" alt="Ayanda's Profile Picture" width="200"> | Backend Engineer | <a href="#" target="_blank"><img src="https://skillicons.dev/icons?i=github" alt="GitHub"></a> <a href="#" target="_blank"><img src="https://skillicons.dev/icons?i=linkedin" alt="LinkedIn"></a> |

<h2>✉️ Contact</h2>

<div align="center">
<h3>[email protected]</h3>
<br>
<img src="./resources/images/phantom-works-logo.jpg" alt="phantom-works logo" height="300" width="300" />
<img src="./images/phantom-works-logo.jpg" alt="phantom-works logo" height="300" width="300" />
</div>

File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file removed resources/images/admin/workspace-creation.jpg
Binary file not shown.
2 changes: 1 addition & 1 deletion scripts/boot.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Start up the frontend
cd ../src/client || exit
cd ../src || exit
bun run dev &

# Store the process ID (PID) of the server
Expand Down
4 changes: 3 additions & 1 deletion src/client/.gitignore → src/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

# Directories
build
coverage
static
.vercel
.vscode
coverage
.svelte-kit
node_modules
File renamed without changes.
File renamed without changes.
Loading
Loading