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

Milestone 5, 6 and 7 #43

Merged
merged 233 commits into from
Nov 9, 2024
Merged

Milestone 5, 6 and 7 #43

merged 233 commits into from
Nov 9, 2024

Conversation

delishad21
Copy link
Collaborator

Merging Collaboration service implementation, along with substantial updates to frontend, user and matching service.

#23
#24
#25
#26
#27
#28
#29
#30
#31
#32
#33
#34
#35
#36
#37
#38
#39
#40
#41
#42

jayllo-c and others added 30 commits October 6, 2024 12:08
Additions:
- session interface for mongoose to store session information
- session routes to make use of http requests and responses
- code for creation of session, joining, and session deletion
- implemented jwt validation into joining and deletion requests
small notes on future changes
##Changes
- Created test script for session service room creation
- Minor change to session model to enable UUID API to create unique session IDs for all sessions
updated controller to prevent users from joining active rooms
Now correctly checks if individuals are in an active session or not. Also added cron job that checks every hour if rooms are 4 hours old, and sets those rooms to inactive.
include cron job in server.ts
Minor changes made to test termination and status checks
TODO:
- Add frontend socket related stuff to sessionService.ts
- Dump frontend into @application/sercvice/[id]

Assumptions made:
- session info is extractable
- token is passed to socket initialization
Some changes and cleanup of the UI
dloh2236 and others added 26 commits November 8, 2024 10:05
Change the response structure to display the response code and explanation more clearly
…9-ay2425s1-project-g38 into development_branch
* Poor contrast for (i) icon in light mode
* Password validity is not checked if user does not input anything.
Enhance security by repacking JWT with extra fields and signed by frontend
Fix UI bug - wrong error message,
does not redirect if token has expired. Include password requirements.

Fix session bug -  destroys session so link is no longer valid after succesful password reset

Email format tells user to use the same browser (else it would not work)
update error message of details endpoint
Now terminates room if only one user is in the session
@delishad21 delishad21 closed this Nov 9, 2024
@delishad21 delishad21 reopened this Nov 9, 2024
@delishad21 delishad21 merged commit 85cba67 into main Nov 9, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants