Commit Graph

33 Commits

Author SHA1 Message Date
Chris-1010
9c44dfe598 UPDATE: Display altered message in chat when sent by streamer;
FIX: Chat order;
FIX: `num_viewers` display on `HomePage`;
FIX: Remove ability for streamer to follow themselves;
2025-03-06 22:53:22 +00:00
e0f36cfb0e PATCH: Retrieving last 50 chats now 2025-03-05 22:41:31 +00:00
cf798eb984 Merge branch 'main' of https://github.com/john-david3/cs3305-team11 2025-03-05 22:35:56 +00:00
9873cea39b PATCH: Last 50 chats, instead of first 50 2025-03-05 22:35:53 +00:00
JustIceO7
b51c321f4a UPDATE: User no longer needs to reload VideoPage after subscribing to update subscription status 2025-03-05 22:07:19 +00:00
Chris-1010
9e665318c0 FIX: Celery preferences task using Redis
Co-authored-by: JustIceO7 <oscarcao777@gmail.com>
2025-03-05 17:36:04 +00:00
Chris-1010
854ebc6029 FEAT: Add crown icon to messages by users who are subscribed 2025-03-02 17:46:49 +00:00
white
fc934a57ff UPDATE: Improved chat functionality and cleaned up code 2025-03-02 15:58:25 +00:00
JustIceO7
5ad416393e BUGFIX: Fixed database not storing the num_viewers for each stream
UI: Changed styling for components
2025-02-27 17:15:17 +00:00
JustIceO7
76de1b7d9d FEAT: Added Celery Beat
FEAT: Added preferences Celery task to automatically record what categories users watched
2025-02-18 02:02:34 +00:00
white
ca4bb76996 UPDATE: added live viewer display on home and category pages (need to remove dummy values) 2025-02-17 12:23:32 +00:00
white
3528b6517a FIX: fixed issues loading content on new accounts 2025-02-17 12:18:23 +00:00
JustIceO7
e6b8ad9b9e MAJOR: Restructured backend Flask application moved all non-routes into utils, renamed routes to not prefix get, created middleware.py to replace utils.py within blueprints 2025-02-08 14:35:46 +00:00
white
43edc52c25 UPDATE: migrated one time util methods to blueprints 2025-02-07 17:18:46 +00:00
white
76852152ad FEAT: sent live viewers to react to be displayed 2025-02-05 12:45:18 +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
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
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
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
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
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
white
12c576de2f UPDATE: Improved chat transmission speed by ~50% 2025-01-28 17:23:40 +00:00
Chris-1010
93b3ffbc0b Patch: Tidy up of style code and fix to authentication logic
Feat: Added ability to access user's username through AuthContext
2025-01-27 16:18:01 +00:00
white
4e9fa011fa Update: remove unused imports, added better comments and refactored for all blueprints 2025-01-27 12:49:42 +00:00
white
3dc44da69a UPDATE: fixed signup method and added input sanitisation 2025-01-27 11:21:55 +00:00
white
f4aed8b0cc Added Websockets to chat 2025-01-25 12:45:09 +00:00
white
ae9cd96333 Improved chat.py and created a temporary chat.html to be transferred to react later 2025-01-24 17:02:56 +00:00
Oscar Cao
ced77e718a merged and resolved database conflicts 2025-01-23 23:47:54 +00:00
white
33111ea077 Created new chat table in scheme.sql, Added chat.py with 3 methods (incomplete) 2025-01-23 13:10:22 +00:00