Commit graph

62 commits

Author SHA1 Message Date
db6f26df5d Merge pull request 'feat(api): add full signup/login flow with email & profile, ENV support, and port fix' (#18) from refactor/username into main
Reviewed-on: #18
2025-09-09 13:35:02 +00:00
Cipher Vance
ac0b09ad0e feat(db): added migration 2025-09-09 08:33:04 -05:00
Cipher Vance
0698ba5c1f refactor(service): enrich UserService.create_user 2025-09-09 08:32:49 -05:00
Cipher Vance
f5f86a2bc7 refactor(api): unify auth endpoints under /api, enhance signup 2025-09-09 08:32:15 -05:00
Cipher Vance
52bb003980 feat(models): add email to User and normalize UserProfile 2025-09-09 08:31:55 -05:00
Cipher Vance
f396c98cbe chore(docker): include .env, fix port, install dotenv 2025-09-09 08:31:16 -05:00
Cipher Vance
6c994db855 refactor: change from 3 chars in username to 5 2025-09-08 21:08:40 -05:00
Cipher Vance
a8bcd5e249 removed the HEAD changes 2025-08-28 20:32:26 -05:00
Cipher Vance
ad1ec15523 fixed some db connections and added some dev stuff 2025-08-28 20:32:17 -05:00
Cipher Vance
8698a0f875 init: first migrations 2025-08-28 20:31:48 -05:00
Cipher Vance
cb664a284c add flask migrate and flask.cli as well as got rid of db create all 2025-08-28 20:31:33 -05:00
Cipher Vance
0ac0e03e7a added flask-migrate 2025-08-28 20:31:08 -05:00
Cipher Vance
b7a2f2ed4f feat: updated gitignore for migrations 2025-08-28 20:30:58 -05:00
Cipher Vance
7cd0cb2377 fix(dockerfile): correct env vars, install gunicorn in builder, and improve runtime setup 2025-08-28 20:16:02 -05:00
Cipher
572a0fe686 ci: add docker ignore 2025-08-26 10:39:00 -05:00
Cipher
4e5531be7c refactor: build out dockerfile for production use 2025-08-26 10:22:21 -05:00
Cipher
ab7bdeb7ee docs(todo): merge RideAware feature blurbs into TODO and fill gaps 2025-08-26 10:07:58 -05:00
Blake Ridgway
ff67ec4cdc fix merge) 2025-04-03 14:52:34 -05:00
Blake Ridgway
81d7a80758 Merge branch 'v0.1.0-user-login' 2025-04-03 14:49:24 -05:00
Blake Ridgway
dc36b21dcc (refactor): Implement robust logging and database error handling
Introduced logging for user operations
Added database rollback on user creation failure
Enhanced exception handling and error reporting
2025-04-03 10:42:01 -05:00
Blake Ridgway
de5bff5935 (refactor): Enhance error handling and route structure
Added url_prefix to auth blueprint
Implemented comprehensive exception handling with 500 errors
Improved code clarity and structure
2025-04-03 10:39:56 -05:00
Blake Ridgway
afac3b6281 refactor: Improve server setup and add health check
Added /health endpoint for monitoring
Improved readability and config setup
Imported auth_bp directly
2025-04-03 10:38:51 -05:00
Blake Ridgway
545b31a15f feat: Added user profile and creation of profile 2025-02-17 19:46:36 -06:00
blake
3ab162d8b8 fix: removed print line with user/pass that was used in debugging. 2025-02-16 16:26:23 +01:00
blake
de9438b2a0 Merge pull request 'fix: resolve AttributeError in User model and ensure consistent password handling' (#17) from v0.1.0-user-login into main
Reviewed-on: https://brew.bsd.cafe/RideAware/rideaware-api/pulls/17
2025-02-16 05:44:19 +01:00
Blake Ridgway
4a4d693d72 fix: resolve AttributeError in User model and ensure consistent password handling
- Fixed the `AttributeError: 'User' object has no attribute '_password'` by properly mapping the `_password` attribute to the `password` column in the database.
- Updated the `User` model to ensure passwords are only hashed once during creation and not re-hashed when retrieved or updated.
- Improved the `check_password` method to correctly compare hashed passwords.
- Verified the signup and login flow to ensure consistent behavior
2025-02-15 22:42:50 -06:00
blake
49684e163d Merge pull request '(refactor) boilerplate .gitignore, cleaned up folders' (#16) from v0.1.0-user-login into main
Reviewed-on: https://brew.bsd.cafe/RideAware/rideaware-api/pulls/16
2025-02-16 04:55:29 +01:00
Blake Ridgway
d13c5885d8 (refactor) boilerplate .gitignore, cleaned up folders 2025-02-15 21:54:25 -06:00
blake
3af3b548ca Merge pull request 'v0.1.0-user-login: Refactor auth routes to use UserService for user creation and verification' (#15) from v0.1.0-user-login into main
Reviewed-on: https://brew.bsd.cafe/RideAware/rideaware-api/pulls/15
2025-02-16 04:40:56 +01:00
Blake Ridgway
356058e1f9 (feaet): Refactor auth routes to use UserService 2025-02-15 21:30:23 -06:00
Blake Ridgway
f624792a2f (feat): input validation, improved error handling, and additional security measures. 2025-02-15 21:15:58 -06:00
blake
d12f933534 Merge pull request 'v0.1.0-database: Improve Scalability - Migrate to PostgreSQL' (#14) from v0.1.0-database into main
Reviewed-on: https://brew.bsd.cafe/RideAware/rideaware-api/pulls/14
2025-02-16 02:05:02 +01:00
Blake Ridgway
1652079874 (remove): Removed temp comments 2025-02-15 19:00:00 -06:00
Blake Ridgway
51f154ab73 (feat): Added PostgreSQL connection string encoding. 2025-02-15 18:58:48 -06:00
Blake Ridgway
32dcace985 (lib): added psycopg2-binary 2025-02-15 18:57:53 -06:00
Blake Ridgway
73512d46ad (refactor): change from .venv to venv 2025-02-15 18:57:28 -06:00
Blake Ridgway
f2ba6332fd (fix): Hopefully fix the .venv file 2025-02-14 12:13:08 -06:00
Blake Ridgway
c2561e5fa3 (delete): Deleted .idea folder 2025-02-14 12:12:43 -06:00
Blake Ridgway
6695d33d64
Merge pull request #2 from VeloInnovate/doc-update
PR-2: Added TODO
2025-01-31 19:25:13 -06:00
Blake Ridgway
2a75fe111f
Fixed feedback about the Virtual Training Rides section 2025-01-31 19:22:16 -06:00
Blake Ridgway
98fdca55ff
Create TODO.md 2025-01-31 16:53:05 -06:00
9d15076cb9 Merge branch 'main' of github.com:VeloInnovate/rideaware-api 2025-01-27 20:46:15 -06:00
f400c0ba79 pycharm stuff 2025-01-27 20:45:58 -06:00
Blake Ridgway
0c571516db
Merge pull request #1 from VeloInnovate/docker
Dockerfile
2025-01-05 17:30:18 -06:00
Blake Ridgway
3749e54595
Merge branch 'main' into docker 2025-01-05 17:30:11 -06:00
819fb04785 (feat): Updated requirements.txt 2025-01-05 17:24:00 -06:00
4a0d3b3fdf (misc): .idea file init 2025-01-05 17:22:35 -06:00
8d76d8c259 (feat): Cleaened up and added CORS 2025-01-05 16:33:46 -06:00
81d9dbd902 (feat): Updated requirements.txt 2025-01-05 16:33:34 -06:00
Blake Ridgway
ecbbd83005 (docs): working on readme 2024-12-20 06:56:09 -06:00