Commit Graph

85 Commits

Author SHA1 Message Date
Patrick Arminio
30832076f5 🎨 Move prefix and tags to routers (#1439) 2024-12-02 12:04:03 +00:00
Patrick Arminio
14129f7a50 Add private, local only, API for usage in E2E tests (#1429)
Co-authored-by: github-actions <github-actions@github.com>
2024-12-02 12:57:53 +01:00
Muhammad Sameer Amin
172bfd9349 ♻️ Refactored code to use encryption algorithm name from settings for consistency (#1160)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-09-27 18:42:36 +02:00
Hmily
ddb4235bfe 🔊 Enable logging for email utils by default (#1374)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-09-27 16:39:40 +00:00
Sebastián Ramírez
fe7f4f7949 🔧 Add ENV PYTHONUNBUFFERED=1 to log output directly to Docker (#1378) 2024-09-27 16:10:59 +00:00
Hani Sabsoob
08dd87d0f2 💡 Remove unnecessary comment (#1260)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-09-27 17:41:17 +02:00
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
4fc9610175 💡 Add comments to Dockerfile with uv references (#1357) 2024-09-23 16:53:08 +00:00
Sebastián Ramírez
81048277c7 ⬆️ Migrate from Poetry to uv (#1356) 2024-09-23 16:10:46 +02:00
Sebastián Ramírez
c8104d8ced 🔥 Remove logic for development dependencies and Jupyter, it was never documented, and I no longer use that trick (#1355) 2024-09-23 13:39:54 +02:00
Sebastián Ramírez
4cd67f3483 ♻️ Use Docker Compose watch (#1354) 2024-09-23 00:29:23 +02:00
Sebastián Ramírez
651643982b 🔧 Use plain base official Python Docker image (#1351) 2024-09-22 18:25:29 +02:00
Sebastián Ramírez
87254dd79e 🚚 Move location of scripts to simplify file structure (#1352) 2024-09-22 18:19:57 +02:00
Sebastián Ramírez
8fe66c1cc1 ♻️ Refactor prestart (migrations), move that to its own container (#1350) 2024-09-20 17:12:40 +02:00
Sebastián Ramírez
889a9bf5bf ⬆️ Upgrade FastAPI (#1349) 2024-09-20 14:52:45 +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
Alejandra
77040adf86 📝 Add Email Templates to backend/README.md (#1311) 2024-08-17 13:59:22 -05: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
dependabot[bot]
c6457cb8e1 ⬆️ Bump setuptools from 69.1.1 to 70.0.0 in /backend (#1255)
Bumps [setuptools](https://github.com/pypa/setuptools) from 69.1.1 to 70.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v69.1.1...v70.0.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-21 19:56:48 -05:00
dependabot[bot]
e31537c430 ⬆️ Bump certifi from 2024.2.2 to 2024.7.4 in /backend (#1250)
Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.2.2 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.02.02...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-21 19:56:19 -05:00
dependabot[bot]
53849188fe ⬆️ Bump urllib3 from 2.2.1 to 2.2.2 in /backend (#1235)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.2.1...2.2.2)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-21 19:55:45 -05: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
dependabot[bot]
df51c2ee6d ⬆️ Bump requests from 2.31.0 to 2.32.0 in /backend (#1211)
updated-dependencies:
- dependency-name: requests
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-23 14:05:55 -07:00
Esteban Maya
ef1f64b8f5 🔒️ Refactor migrate from python-jose to PyJWT (#1203) 2024-05-15 08:48:57 -07:00
dependabot[bot]
a7202bf3ea ⬆️ Bump jinja2 from 3.1.3 to 3.1.4 in /backend (#1196)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-14 15:43:04 -07:00
Alejandra
88a5c6448a 📝 Add Enabling Open User Registration to backend docs (#1191) 2024-05-03 15:29:03 -07:00
dependabot[bot]
91062a1f8d Bump gunicorn from 21.2.0 to 22.0.0 in /backend (#1176)
Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 21.2.0 to 22.0.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](https://github.com/benoitc/gunicorn/compare/21.2.0...22.0.0)

---
updated-dependencies:
- dependency-name: gunicorn
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-27 19:23:14 -05:00
dependabot[bot]
d31245d53a Bump idna from 3.6 to 3.7 in /backend (#1168)
Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.6...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-27 19:22:03 -05: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
Sebastián Ramírez
8a008f0bc8 🔧 Update mypy config to ignore .venv directories (#1155) 2024-04-05 20:15:34 +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
Esteban Maya
2b0701e870 🎨 Ignore alembic from ruff lint and format (#1131) 2024-03-27 02:35:14 +00:00
Leon Lowitzki
ac25e154ad ✏️ Fix file path in backend/README.md when not wanting to use migrations #1116 2024-03-22 09:21:32 -05:00