Commit Graph

32 Commits

Author SHA1 Message Date
Christopher Ahern
2758be8680 Fix/pylint cleanup (#8)
Some checks are pending
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
JustIceO7
cc62cf400f BUGFIX: Google OAuth accounts password now cannot be reset 2025-03-07 02:47:47 +00:00
JustIceO7
633776dfe9 FEAT: Users can now edit their own user bios 2025-03-05 02:54:50 +00:00
Chris-1010
3857d8d767 UPDATE/REFACTOR: Change how followed content is obtained for Sidebar 2025-03-02 17:46:50 +00:00
JustIceO7
f192518382 UPDATE: Added user follow category routes 2025-02-23 16:53:11 +00:00
JustIceO7
4ddcb3e139 FEAT: Added Stripe webhook to handle user subscriptions
UPDATE: Improved the chat look
2025-02-16 03:53:04 +00:00
JustIceO7
a8ed15f3a4 UPDATE: Added more routes for subscriptions 2025-02-11 02:49:36 +00:00
JustIceO7
0984271a11 FEAT: Added Google OAuth login feature to sign up as well as login 2025-02-11 02:22: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
16dc8f1ea2 FEAT: Added more info & functionality to UserPage & Added ability to follow streamers on both UserPage and VideoPage;
Added shortcut to toggle chat;
2025-02-07 02:11:22 +00:00
Chris-1010
1499e042cb FIX: General fixes and update to HomePage 2025-02-06 20:23:44 +00:00
JustIceO7
a922036408 Merge branch 'main' of https://github.com/john-david3/cs3305-team11 into dev 2025-02-06 19:32:49 +00:00
JustIceO7
bb67f13417 UPDATE: Almost fully implemented forget email feature 2025-02-06 19:30:37 +00:00
c0ddca85ba PATCH: Fixed a load of broken user routes 2025-02-06 17:25:25 +00:00
JustIceO7
1f952b172f UPDATE: Added util function to get session data via email, added session update in OAuth 2025-02-06 14:07:53 +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
Oscar
0a92f00c69 FEAT: Changed email to take in email to send to, added follow user function 2025-02-05 14:55:24 +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
908870f751 FEAT UPDATE: Updated Utils to use new database. Changed route arguments. Added unfollow feature 2025-01-31 02:00:31 +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
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
95827ccf95 UPDATE: Added util functions for handling streaming routes 2025-01-29 03:04:56 +00:00
440063bbd0 UPDATE: Revamped database class, and implemented some routes in streams.py 2025-01-28 20:36:13 +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
ed438e6c2f FEAT: Got started on the user forgot password feature as well as added error handling 2025-01-27 19:32:46 +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