Christopher Ahern
2758be8680
Fix/pylint cleanup ( #8 )
...
CI / build (3.10) (push) Waiting to run
CI / build (3.8) (push) Waiting to run
CI / build (3.9) (push) Waiting to run
* Fix pylint warnings across all 24 Python files in web_server
- Add module, class, and function docstrings (C0114, C0115, C0116)
- Fix import ordering: stdlib before third-party before local (C0411)
- Replace wildcard imports with explicit named imports (W0401)
- Remove trailing whitespace and add missing final newlines (C0303, C0304)
- Replace dict() with dict literals (R1735)
- Remove unused imports and variables (W0611, W0612)
- Narrow broad Exception catches to specific exceptions (W0718)
- Replace f-string logging with lazy % formatting (W1203)
- Fix variable naming: UPPER_CASE for constants, snake_case for locals (C0103)
- Add pylint disable comments for necessary global statements (W0603)
- Fix no-else-return, simplifiable-if-expression, singleton-comparison
- Fix bad indentation in stripe.py (W0311)
- Add encoding="utf-8" to open() calls (W1514)
- Add check=True to subprocess.run() calls (W1510)
- Register Celery task modules via conf.include
* Update `package-lock.json` add peer dependencies
2026-02-07 20:57:28 +00:00
4141fcd428
UPDATE: VoD Thumbnails now take a screenshot from exactly halfway through the stream, instead of the beginning
2025-03-06 18:26:29 +00:00
cf7e6afe0b
UPDATE: Thumbnail generation for VoDs implemented at /vods/<username>/<vod_id>.png
2025-03-05 12:19:24 +00:00
b6b7d5643d
PATCH: Fixed VoDs not generating after stream end
2025-03-04 13:56:05 +00:00
43f3b54e22
PATCH: Fixed old .ts files still being present after stream end
2025-03-03 21:41:50 +00:00
Chris-1010
45a0f364a0
UPDATE/REFACTOR: Rework of UserPage;
...
FIX: Fallback for profile pictures;
REFACTOR: Removal of unnecessary files & routes;
REFACTOR: Improve documentation for flask routes;
FIX: Correct data to return when fetching vods;
2025-03-03 11:05:10 +00:00
Chris-1010
c7d443d8b6
FEAT: Add ability to download one's VODs from dashboard
2025-03-03 01:55:56 +00:00
11c2d67a43
PATCH: Fixed incorrect SQL query
2025-03-02 21:41:35 +00:00
Chris-1010
0a4bbc73e5
MAJOR UPDATE/FEAT: Overhaul of DashboardPage to include VODs;
...
REFACTOR: General formatting;
UPDATE: Shrink Logo upon opening sidebar on certain pages
2025-03-02 17:46:51 +00:00
a6f89e7e6f
UPDATE: Added custom thumbnail functions and checks in stream utils
2025-03-02 16:52:36 +00:00
f49a0c20db
REFACTOR: Removed unnecessary functions
2025-03-02 16:27:31 +00:00
EvanLin3141
a101716a2d
Merge branch 'main' of https://github.com/john-david3/cs3305-team11
2025-03-01 00:44:34 +00:00
EvanLin3141
8fcba8a030
UPDATE: Get All Vods
2025-03-01 00:44:33 +00:00
bd3b39da89
REFACTOR: Path manager now creates directories
2025-02-28 20:15:21 +00:00
cefd88f525
UPDATE: Changed stream access URL to use streamer_name instead of streamer_key, to hide streamer key.
2025-02-26 15:07:09 +00:00
Chris-1010
9cc5b40b25
UPDATE: Change to how streams are accessed, detected and published to the application
2025-02-22 12:19:08 +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
62d83aa4eb
PATCH: Thumbnails not stop generating after stream ends
2025-02-17 19:07:25 +00:00
white
3528b6517a
FIX: fixed issues loading content on new accounts
2025-02-17 12:18:23 +00:00
55fed8a778
PATCH: Refactored underlying file system for streams, seperated vods, streams and thumbnails
2025-02-12 01:29:54 +00:00
899764eaf8
FEAT: Streams now save to mp4 after a stream is stopped, instead of discarded
2025-02-11 20:57:27 +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
Chris-1010
45208a51be
FEAT: CategoryPage updated to display streams;
...
General fixes and cleanup of unecessary logging;
Update to 404 (NotFound) Page;
2025-02-07 03:57:54 +00:00
Chris-1010
1499e042cb
FIX: General fixes and update to HomePage
2025-02-06 20:23:44 +00:00
JustIceO7
eb83fd297a
FEAT: Added feature to return streamers data given their username
2025-02-06 14:52:23 +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
a8af24e256
UPDATE: Refactored backend routes to improve readability
2025-02-05 21:04:05 +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
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
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
4396d71c2d
FEAT: Implemented auto-updating thumbnails (includes the addition of Redis and Celery)
2025-01-31 00:12:28 +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
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
Chris-1010
83b458ed99
Refactor: Improve database queries and fix formatting issues in stream utilities
2025-01-29 15:52:53 +00:00
5b96ccb377
PATCH: Closed database connections in util to avoid data leaks
2025-01-29 12:47:35 +00:00
white
e2070be9f9
PATCH: fixed issues with authentication
2025-01-29 11:31:43 +00:00
440063bbd0
UPDATE: Revamped database class, and implemented some routes in streams.py
2025-01-28 20:36:13 +00:00
Chris-1010
25235c5c26
PATCH: Fix to Database Changes
2025-01-28 15:14:33 +00:00
ThisBirchWood
13d7351588
UPDATE: Began on removing streamers table, and replacing the corresponding code, NOT TESTED (if it's too messy to work with then rollback)
2025-01-28 11:01:06 +00:00
JustIceO7
ff9feaacec
Created utils folder which holds funcs to be called within the flask routes, added pseudo code to streams.py and user.py which are untested, data still needs to be jsonified to be sent to React
2025-01-26 06:51:24 +00:00