Commit Graph

243 Commits

Author SHA1 Message Date
JustIceO7
3b075c1015 UPDATE: Added salt_recorder table to record the salts used to generate token to reset password 2025-02-06 02:59:12 +00:00
JustIceO7
89d53d31fc UPDATE: Started implementing the email for reset password 2025-02-06 02:10:28 +00:00
6a8509ca42 REFACTOR: Moved user routes into user blueprint, and grouped them, fixed some (not all) routes 2025-02-06 01:00:46 +00:00
4b0bbb12ae UPDATE: Removed unnecessary imports 2025-02-06 00:21:53 +00:00
2cc969c2c9 REFACTOR: Organised routes into groups, may still move user routes into user blueprint 2025-02-06 00:17:40 +00:00
bd7a44ed3c Merge branch 'main' of https://github.com/john-david3/cs3305-team11 2025-02-05 21:04:11 +00:00
a8af24e256 UPDATE: Refactored backend routes to improve readability 2025-02-05 21:04:05 +00:00
Oscar
0a92f00c69 FEAT: Changed email to take in email to send to, added follow user function 2025-02-05 14:55:24 +00:00
4c79c80f3d UPDATE: Added VOD table and moved is_live to the users table 2025-02-05 13:48:42 +00:00
white
76852152ad FEAT: sent live viewers to react to be displayed 2025-02-05 12:45:18 +00:00
white
a6bbf696f4 FEAT: Added automated email bot after authentication 2025-02-05 10:41:52 +00:00
Chris-1010
595190b0a0 REFACTOR: Separated Navbar and ChatPanel components; Updated VideoPage layout and toggle chat functionality 2025-02-04 17:43:31 +00:00
Chris-1010
60c19b3052 UPDATE: Fix to stream/userpage routing, Added UserPage and Tidy to code;
Added ability to visit a user's profile page from their stream;
Cleaned up code formatting, primarily changing from single quotes to double quotes;
Removed unused SignupForm component;
2025-02-04 14:59:18 +00:00
JustIceO7
36af1efe73 FEAT: Added get_email util
UPDATE: Updated forgot password email route, changed send_email from a route to an internal function
2025-02-01 23:56:50 +00:00
JustIceO7
80609eceff UPDATE: Removed deprecated routes 2025-02-01 23:15:21 +00:00
Chris-1010
2020b854f2 MULTI-UPDATE: Big Error Cleanup:
Enhanced Docker and Nginx configurations - Can now run frontend either on local dev version OR the docker version;
Improved socket connection handling;
Refactored stream data fetching in VideoPage to properly display stream data;
Chat-Visibility Button moved to ChatPanel so that chat's socket persists when hiding/showing chat;
2025-02-01 14:21:46 +00:00
Chris-1010
9784ef8c67 PATCH: Username was not being accessed in chat.py:
The WebSockets used for chat do not maintain the same session context as regular HTTP routes and so, the username in Flask's session could not be accessed.
2025-02-01 03:14:24 +00:00
JustIceO7
b5d9756766 UPDATE: Added user_id into session
BUGFIX: Fixed typo
2025-01-31 03:58:11 +00:00
JustIceO7
1036494b7d UPDATE: Added recommended categories as well as streamer data
BUGFIX: Fixed wrong datatypes
2025-01-31 03:52:25 +00:00
JustIceO7
908870f751 FEAT UPDATE: Updated Utils to use new database. Changed route arguments. Added unfollow feature 2025-01-31 02:00:31 +00:00
be53d4072e PATCH: Thumbnails update every 180 seconds, instead of the test value of 5 2025-01-31 00:16:50 +00:00
7c2c70ac84 Merge branch 'main' of https://github.com/john-david3/cs3305-team11 2025-01-31 00:13:08 +00:00
4396d71c2d FEAT: Implemented auto-updating thumbnails (includes the addition of Redis and Celery) 2025-01-31 00:12:28 +00:00
JustIceO7
088675785c FEAT: Added blueprints for Google OAuth 2025-01-30 22:12:35 +00:00
21a45e5538 UPDATE: Added FFMPEG to Flask dockerfile 2025-01-30 20:35:48 +00:00
Chris-1010
3c0d9d3131 UPDATE: Updated chat message structure;
Bug: Session seems to be empty when chat.py routes are called.
2025-01-30 17:57:38 +00:00
white
5d3479e726 UPDATE: Added more complete test queries, fixed recommendations queries 2025-01-30 11:24:52 +00:00
white
f981b69c94 PATCH: Fixed database not returning data in recommendations
UPDATE: Decreased polling time to 1 second for later use
2025-01-30 10:24:26 +00:00
Chris-1010
6586506c97 MAJOR Fix: Resolved API Request Delays;
Feat: Added a dev test account to users for expedited login;
Refactor: Improve socket connection handling and add logging for API request duration & update to ListRow key generation for improved uniqueness;
Feat: Made it so streams with no set thumbnail use their category's thumbnail;
Minor Fix: Corrections to db recommendation methods;
2025-01-30 03:53:33 +00:00
Chris-1010
6cfac0d78f MAJOR FIX: Chat Latency Fixed 2025-01-30 03:50:58 +00:00
JustIceO7
79598f0e0d Merge branch 'main' of https://github.com/john-david3/cs3305-team11 2025-01-30 01:22:35 +00:00
JustIceO7
dfdbe4a7d4 MAJOR: Reworked database to be easier to use and close automatically to prevent resource leaks 2025-01-29 17:47:29 +00:00
white
4d9e819b39 UPDATE: Improved chat tranmission speed by 3seconds 2025-01-29 16:50:26 +00:00
Chris-1010
83b458ed99 Refactor: Improve database queries and fix formatting issues in stream utilities 2025-01-29 15:52:53 +00:00
Chris-1010
c0a110c76d Patch: Fix to StreamerRoute to correctly send user to UserPage/VideoPage;
Update: Display Category Thumbnails
2025-01-29 14:53:22 +00:00
Chris-1010
a4f66ba321 Feat: Update to VideoPage to display stream data; 2025-01-29 14:51:36 +00:00
white
e384976686 FEAT: Added email bot (not connected)
UPDATE: fixed recommended categories
2025-01-29 14:12:01 +00:00
5b96ccb377 PATCH: Closed database connections in util to avoid data leaks 2025-01-29 12:47:35 +00:00
white
f63dc4a368 PATCH: removed commit_data method from database as it is no longer necessary 2025-01-29 11:59:12 +00:00
white
e2070be9f9 PATCH: fixed issues with authentication 2025-01-29 11:31:43 +00:00
JustIceO7
cd1a246483 PATCH UPDATE: Updated routes to query stream information from backend database 2025-01-29 03:05:33 +00:00
JustIceO7
95827ccf95 UPDATE: Added util functions for handling streaming routes 2025-01-29 03:04:56 +00:00
JustIceO7
46c7ca3f10 UPDATE: Added followed_categories to db to track users following stream categories 2025-01-29 03:02:52 +00:00
JustIceO7
e4a8ba9900 FEAT: Added errorhandling for status codes 2025-01-29 03:02:09 +00:00
6964234231 UPDATE: Added functionality that updates database on stream start and on stream end. Adds new stream to database 2025-01-29 00:59:05 +00:00
bc1a48a571 UPDATE: Added stream title and selected category to users table 2025-01-29 00:38:10 +00:00
01d7be2d4b UPDATE: Adjusted NGINX config to not display stream key in URL and added stream key auth in Flask 2025-01-28 22:04:09 +00:00
440063bbd0 UPDATE: Revamped database class, and implemented some routes in streams.py 2025-01-28 20:36:13 +00:00
cbef531b3e PATCH: Fixed jsonifying the SQL output 2025-01-28 19:02:36 +00:00
white
12c576de2f UPDATE: Improved chat transmission speed by ~50% 2025-01-28 17:23:40 +00:00