Commit Graph

49 Commits

Author SHA1 Message Date
Sebastián Ramírez
d2020c1a37 ♻️ Update settings to use top level .env file (#1359) 2024-09-23 22:09:11 +02:00
Sebastián Ramírez
e64c9100ec ♻️ Include FRONTEND_HOST in CORS origins by default (#1348) 2024-09-20 14:43:32 +02:00
Sebastián Ramírez
79d240f5b7 ♻️ Simplify domains with api.example.com for API and dashboard.example.com for frontend, improve local development with localhost (#1344) 2024-09-19 18:11:33 +00:00
Patrick Arminio
97d04cd7ff 👷 Improve playwright CI job (#1335) 2024-09-12 15:21:24 +02:00
jjaakko
974340c8ff ♻️ Remove duplicated information in the ItemCreate model (#1287) 2024-08-12 22:58:31 -05:00
Sebastián Ramírez
8ce3ce5903 📝 Update links from tiangolo repo to fastapi org repo (#1285) 2024-08-02 14:34:32 -05:00
Alejandra
269040d670 ♻️ Refactor models to use cascade delete relationships (#1276) 2024-08-01 11:44:00 -05:00
Alejandra
684256adbe ⬆️ Update SQLModel to version >=0.0.21 (#1275) 2024-07-31 22:14:04 +00:00
Alejandra
1f686689f1 🔥 Remove USERS_OPEN_REGISTRATION config, make registration enabled by default (#1274) 2024-07-31 17:08:26 -05:00
Patrick Arminio
b5b2929104 🔧 Reuse database url from config in alembic setup (#1229) 2024-07-30 12:46:41 -05:00
Esteban Maya
e65b427ab1 ♻️ Edit refactor db models to use UUID's instead of integer ID's (#1259)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-07-22 22:49:02 +00:00
Javier Álvarez
6e1c888af3 ♻️ Replace deprecated utcnow() with now(timezone.utc) in utils module (#1247) 2024-07-21 19:36:05 -05:00
Esteban Maya
d421c90af2 🗃️ Add max_length validation for database models and input data (#1233) 2024-06-18 19:20:39 -05:00
Esteban Maya
ef1f64b8f5 🔒️ Refactor migrate from python-jose to PyJWT (#1203) 2024-05-15 08:48:57 -07:00
Alejandra
f11bec6aa6 🔥 Remove duplicated code (#1185) 2024-04-26 15:55:59 -07:00
Alejandra
b81cec8ea5 ♻️ Add delete_user_me endpoint and corresponding test cases (#1179)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-04-26 12:35:12 -07:00
Esteban Maya
933419e79c Update test to add verification database records (#1178) 2024-04-22 22:18:41 -04:00
Bill Zhong
3bd0d98f51 ♻️ Fix tests when first superuser password is changed in .env (#1165)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-04-15 21:28:29 +00:00
Esteban Maya
ad72c4d3fd ♻️ Refactor rename ModelsOut to ModelsPublic (#1154)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-04-06 21:53:49 +00:00
Patrick Arminio
dcebccadba 🚨 Enable ARG001 to prevent unused arguments (#1152) 2024-04-05 15:05:28 -05:00
Patrick Arminio
e9b2f9f480 🔥 Remove isort configuration, since we use Ruff now (#1144)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-04-05 14:59:40 -05:00
Esteban Maya
fa9541fb0d 🔧 Update sentry dns initialization following the environment settings (#1145) 2024-04-02 22:29:32 -05:00
Alejandra
4239d93ea6 ♻️ Refactor and tweaks, rename UserCreateOpen to UserRegister and others (#1143) 2024-04-01 22:53:33 -05:00
Esteban Maya
c8b3ccce39 🥅 Set up Sentry for FastAPI applications (#1136)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-03-28 23:04:20 +00:00
Δ̷̨̧̡̭̺̙̞͖̖͕̰̥̙̯͙̞̯̗̔͌͐̿͊̌́̄̑̿̓̉̈̀͘͠λ̶͔͓̘̘̳͇̻̍̏͌̅̓̓͂̍̾̔͜λ̶̛̯̖̯̲̱͎̙͎̎̐͆͂̽̓̇́͌́̀̏̎̅͋̏̊͘λ̶̨̨̰̟̯̫̲̲̫̯̭̤̳̼̫͉̹̞́̐̒Δ̷̡̛̥̖͇͚͍͍̄̏̂͛̅̌͗̂̽̅̀͆̿̔̚͜
a32cb74edd 🔥 Delete leftover celery file (#727) 2024-03-16 14:02:34 +01:00
Esteban Maya
85b7d6bc63 ♻️ Replace pytest-mock with unittest.mock and remove pytest-cov (#717) 2024-03-14 00:57:19 +01:00
Salomon Popp
e13d120fd1 ✏ Fix typo in variable names in backend/app/api/routes/items.py and backend/app/api/routes/users.py (#711)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-03-13 18:06:22 +00:00
Sebastián Ramírez
b32dea360c 🚚 Rename project to Full Stack FastAPI Template (#699) 2024-03-12 19:23:20 +00:00
Sebastián Ramírez
c2555c363f 🔒️ Ensure the default values of "changethis" are not deployed (#698) 2024-03-12 18:57:02 +00:00
Alejandra
03eb49aa4d 🐛 Fix allowing a user to update the email to the same email they already have (#696) 2024-03-12 19:24:35 +01:00
Esteban Maya
98c78e4683 🐛 Fixed items count when retrieving data for all items by user (#695) 2024-03-12 18:23:33 +00:00
Sebastián Ramírez
1e256bce5d 🔥 Remove Celery and Flower, they are currently not used nor recommended (#694) 2024-03-12 19:19:03 +01:00
Alejandra
a62b1682e0 Add test for deleting user without privileges (#690) 2024-03-12 17:01:51 +00:00
Alejandra
f67af697eb ♻️ Refactor user update (#689) 2024-03-12 17:29:49 +01:00
Martin
5ad33845c9 Add support for setting POSTGRES_PORT (#333)
Co-authored-by: Martin Conraux <rhodes@protonmail.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-03-12 14:39:53 +01:00
Chandler Rosenthal
2f027567c6 🔧 Add SMTP_SSL option for older SMTP servers (#365)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-03-12 13:03:04 +00:00
Sebastián Ramírez
4e2c6bd6ba ♻️ Refactor logic to allow running pytest tests locally (#683) 2024-03-12 12:31:31 +00:00
Dong-hyeon Shin
11fe2a00ed ♻ Update error messages (#417)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-03-12 12:25:03 +00:00
Sebastián Ramírez
ed9958bc1e ♻️ Refactor code structure for tests (#674) 2024-03-11 16:49:35 +00:00
Sebastián Ramírez
6851eea1fe 🐛 Set up Sentry only when used (#671) 2024-03-11 15:47:51 +00:00
Sebastián Ramírez
b9cbb4f8f4 👷 Add continuous deployment and refactors needed for it (#667) 2024-03-11 15:34:18 +00:00
Esteban Maya
a230f4fb2c 🏷️ Add mypy to the GitHub Action for tests and fixed types in the whole project (#655)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-03-10 19:47:21 +00:00
Alejandra
f5ccd4a59c Create endpoint to show password recovery email content and update email template (#664) 2024-03-09 23:53:46 +00:00
Sebastián Ramírez
d4e35a0dfd ♻️ Refactor email logic to allow re-using util functions for testing and development (#663) 2024-03-09 23:02:36 +00:00
Alejandra
4de4777e4b ♻️ Refactor email templates (#659) 2024-03-09 00:41:58 +00:00
Sebastián Ramírez
07064ae5e0 📝 Update deployment files and docs (#660) 2024-03-09 00:41:13 +00:00
Alejandra
7f87c0f5d5 🔥 Remove unused schemas (#656) 2024-03-08 19:45:49 +00:00
Esteban Maya
541dd75ce9 Add tests to raise coverage to at least 90% and fix recover password logic (#632)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-03-07 23:21:46 +00:00
Esteban Maya
8558cf00a2 ♻ Move project source files to top level from src, update Sentry dependency (#630)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-03-07 16:35:33 +00:00