quivr/backend
Stan Girard ec58935d9b
feat: Add premium user check in celery task (#2668)
"This pull request adds a new celery task called
`check_if_is_premium_user` that checks if a user is a premium user based
on their subscription status. The task retrieves the list of active
subscriptions and the list of customers from the Supabase database. It
then matches the subscriptions with the customers and updates the user
settings with the corresponding premium features if a match is found. If
a user is not found or their subscription is expired, the user settings
are deleted. This task will run periodically to keep the user settings
up to date with the subscription status.

---------

Co-authored-by: Stan Girard <stan@quivr.app>
2024-06-13 01:14:12 -07:00
..
.vscode feat: ⚙️🐞 configure debugger for the backend (#1345) 2023-10-09 15:23:13 +02:00
middlewares feat: add init to create packages (#2606) 2024-05-21 13:42:07 -07:00
models feat: Add premium user check in celery task (#2668) 2024-06-13 01:14:12 -07:00
modules fix: name passed in sync authorize (#2665) 2024-06-12 05:20:10 -07:00
packages feat: telemetry improved (#2651) 2024-06-10 06:28:14 -07:00
playground Feat/auth-playground (#2605) 2024-05-21 13:20:35 -07:00
routes feat: add init to create packages (#2606) 2024-05-21 13:42:07 -07:00
supabase feat: Add force_sync option to SyncsActiveUpdateInput (#2652) 2024-06-10 07:17:09 -07:00
tests feat: Update QuivrRAG and run_evaluation.py files (#2615) 2024-05-28 07:47:31 -07:00
vectorstore feat: Update QuivrRAG and run_evaluation.py files (#2615) 2024-05-28 07:47:31 -07:00
__init__.py refactor: Refacto code #1 (#2458) 2024-04-20 02:22:05 -07:00
.dockerignore feat(notion): added custom integration (#2268) 2024-02-27 21:30:25 -08:00
celery_config.py feat(upload): async improved (#2544) 2024-06-04 06:29:27 -07:00
celery_worker.py feat: Add premium user check in celery task (#2668) 2024-06-13 01:14:12 -07:00
ci-migration.sh Update supabase token setting in ci-migration.sh 2024-05-02 00:04:01 +02:00
Dockerfile feat(crawler): Add Playwright for web crawling (#2562) 2024-05-08 07:20:35 -07:00
Dockerfile.dev fix: sync creation fixed (#2637) 2024-06-06 10:06:21 -07:00
logger.py Refactor logging configuration and remove unused imports 2024-04-28 13:35:07 +02:00
main.py feat(upload): async improved (#2544) 2024-06-04 06:29:27 -07:00
manage_services.sh feat(integration): implementation (#2191) 2024-02-14 20:07:53 -08:00
Porter.yaml feat(porter): Add Porter.yaml files for backend and frontend services 2024-04-25 10:51:10 +02:00
pyrightconfig.json feat(refacto): changed a bit of things to make better dx (#984) 2023-08-19 13:32:16 +02:00
requirements.txt fix: sync creation fixed (#2637) 2024-06-06 10:06:21 -07:00
tach.yml fix: integrations (#2642) 2024-06-08 02:55:11 -07:00