Commit Graph

12 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
white
e9599e7b68 FIX: fixed sanitiser default not including whitespace 2025-03-05 15:45:01 +00:00
JustIceO7
f192518382 UPDATE: Added user follow category routes 2025-02-23 16:53:11 +00:00
white
1a572cc172 FEAT: Implemented working search bar using FTS and Ranking 2025-02-11 16:38:46 +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
91aa8f0fc5 UPDATE: removed two utils files and migrated then to utils in blueprints 2025-02-07 14:35:46 +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
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
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