Commit Graph

1835 Commits

Author SHA1 Message Date
Stan Girard
d8956e55bb
fix: Update email sender parameters in backend code (#2755)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):

Co-authored-by: Stan Girard <stan@quivr.app>
2024-06-26 05:21:46 -07:00
AmineDiro
cb3b795a92
closes #2756 (#2757)
# Description

closes #2756 

- Fixed torchvision cpu version in poetry
- Moved test dependencies to dev group

Co-authored-by: aminediro <aminediro@github.com>
2024-06-26 05:04:06 -07:00
AmineDiro
ca93cb9062
refacto(backend): poetry package manager and chat route refactoring (#2684)
# Description
- Added package manager
- Added precommit checks
- Rewrote dependency injection of Services and Repositories
- Integrate async SQL alchemy engine
- Migrate Chat  repository to SQLModel 
- Migrated ChatHistory repository to SQLModel
- User SQLModel
- Unit test methodology with db rollback
- Unit tests ChatRepository
- Test ChatService get_history
- Brain entity SQL Model
- Promp SQLModel
- Rewrite chat/{chat_id}/question route
- updated docker files and docker compose in dev and production

Added `quivr_core` subpackages:
- Refactored KnowledgebrainQa
- Added Rag service to interface with non-rag dependencies

---------

Co-authored-by: aminediro <aminediro@github.com>
2024-06-26 00:58:55 -07:00
Stan Girard
1751504d30
chore(main): release 0.0.273 (#2733)
🤖 I have created a release *beep* *boop*
---


## 0.0.273 (2024-06-25)

## What's Changed
* feat(frontend): new ui ux for knowledge by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2732
* fix(frontend): small issues with scss by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2734


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.272...v0.0.273

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-06-25 09:54:49 -07:00
Antoine Dewez
c036029936
fix(frontend): small issues with scss (#2734)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-06-25 16:22:05 +02:00
Antoine Dewez
fe41b36788
feat(frontend): new ui ux for knowledge (#2732)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-06-25 16:02:53 +02:00
Stan Girard
cb2442d76b
chore(main): release 0.0.272 (#2717)
🤖 I have created a release *beep* *boop*
---


## 0.0.272 (2024-06-24)

## What's Changed
* fix(frontend): send empty sync is not allowed by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2716
* feat: Improve efficiency of syncing stripe by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2719


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.271...v0.0.272

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-06-24 13:26:16 -07:00
Stan Girard
036201d844
feat: Improve efficiency of syncing stripe (#2719)
Fixes #2718

# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):

---------

Co-authored-by: Stan Girard <stan@quivr.app>
2024-06-24 13:17:48 -07:00
Antoine Dewez
18d594493a
fix(frontend): send empty sync is not allowed (#2716)
…d files

The syncFiles function in multiple files has been updated to only sync
connections that have selected files. This change improves the
efficiency of the syncing process and ensures that only relevant
connections are synced.

# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-06-24 18:30:42 +02:00
Stan Girard
76918202fa
chore(main): release 0.0.271 (#2715)
🤖 I have created a release *beep* *boop*
---


## 0.0.271 (2024-06-24)

## What's Changed
* fix: check user premium upsert by @AmineDiro in
https://github.com/QuivrHQ/quivr/pull/2714


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.270...v0.0.271

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-06-24 08:40:06 -07:00
AmineDiro
28cb0ba7e6
fix: check user premium upsert (#2714)
# Description

closes #2713. Quick fix to upsert in `user_settings`

Co-authored-by: aminediro <aminediro@github.com>
2024-06-24 08:38:14 -07:00
Stan Girard
192d0420b6
chore(main): release 0.0.270 (#2700)
🤖 I have created a release *beep* *boop*
---


## 0.0.270 (2024-06-24)

## What's Changed
* fix(frontend): small rephrase by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2699
* feat(frontend): table markdown by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2702
* Enable Porter Application raise by @porter-deployment-app in
https://github.com/QuivrHQ/quivr/pull/2705
* Enable Porter Application raise-frontend by @porter-deployment-app in
https://github.com/QuivrHQ/quivr/pull/2706
* chore: Remove Porter stack deployment workflows for
cherry-pick-backend and cherry-pick-frontend by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2707
* fix(frontend): 25 instead of 100 by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2708
* fix(frontend): remove double scss class by @elazarnaaman in
https://github.com/QuivrHQ/quivr/pull/2704
* fix(frontend): documents before connections by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2711
* feat(frontend): brain studio interface by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2712


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.269...v0.0.270

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-06-24 08:03:31 -07:00
Antoine Dewez
a4ce869d75
feat(frontend): brain studio interface (#2712)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-06-24 16:38:58 +02:00
Antoine Dewez
131eef7498
fix(frontend): documents before connections (#2711)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-06-24 16:34:06 +02:00
Elazar Naaman
546c44c5f0
fix(frontend): remove double scss class (#2704)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):

---------

Co-authored-by: Zewed <dewez.antoine2@gmail.com>
Co-authored-by: Antoine Dewez <44063631+Zewed@users.noreply.github.com>
2024-06-24 12:18:59 +02:00
Antoine Dewez
0ec3abddbe
fix(frontend): 25 instead of 100 (#2708)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-06-24 09:20:14 +02:00
Stan Girard
a9ab38e735
chore: Remove Porter stack deployment workflows for cherry-pick-backend and cherry-pick-frontend (#2707)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):

Co-authored-by: Stan Girard <stan@quivr.app>
2024-06-23 08:55:51 -07:00
porter-deployment-app[bot]
60faa8584b
Enable Porter Application raise-frontend (#2706)
Hello 👋 from Porter! Please merge this PR to finish setting up your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-06-23 08:40:11 -07:00
porter-deployment-app[bot]
060488810b
Enable Porter Application raise (#2705)
Hello 👋 from Porter! Please merge this PR to finish setting up your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-06-23 08:37:17 -07:00
Antoine Dewez
67b991902b
feat(frontend): table markdown (#2702)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-06-21 11:52:16 +02:00
Antoine Dewez
4236e8b0b1
fix(frontend): small rephrase (#2699)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-06-21 10:35:00 +02:00
Stan Girard
51bc578c57
chore(main): release 0.0.269 (#2698)
🤖 I have created a release *beep* *boop*
---


## 0.0.269 (2024-06-20)

## What's Changed
* feat: Add Microsoft Identity Association JSON file by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2697


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.268...v0.0.269

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-06-20 08:29:18 -07:00
Stan Girard
ebea749ca2
feat: Add Microsoft Identity Association JSON file (#2697)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):

Co-authored-by: Stan Girard <stan@quivr.app>
2024-06-20 08:26:33 -07:00
Stan Girard
cd9d9fc33a
chore(main): release 0.0.268 (#2682)
🤖 I have created a release *beep* *boop*
---


## 0.0.268 (2024-06-18)

## What's Changed
* fix(frontend): rephrase unpaid to free by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2679
* feat(frontend): set from connections by default in knowledge to feed
by @Zewed in https://github.com/QuivrHQ/quivr/pull/2680
* feat(frontend): rephrase from Url to from Website's page by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2683
* feat(frontend): new chat interface by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2687
* fix(frontend): next step impossible if no knowledge when creating
brain if no onboarded by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2688
* feat(turbopack): Implement turbo pack compiler by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2685
* fix(frontend): rephrase thoughts button title by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2689


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.267...v0.0.268

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-06-19 14:38:44 +02:00
Antoine Dewez
a841dcd8cd
fix(frontend): rephrase thoughts button title (#2689)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-06-18 18:23:04 +02:00
Stan Girard
e69c6debae
feat(turbopack): Implement turbo pack compiler (#2685)
This pull request implements the turbo pack compiler feature. 

Simply run yarn run dev --turbo or npm run dev

https://turbo.build/blog/turbopack-benchmarks

---------

Co-authored-by: Zewed <dewez.antoine2@gmail.com>
Co-authored-by: Stan Girard <stan@quivr.app>
2024-06-18 18:00:19 +02:00
Antoine Dewez
b1684312eb
fix(frontend): next step impossible if no knowledge when creating brain if no onboarded (#2688)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-06-18 17:40:58 +02:00
Antoine Dewez
faaf9b6dba
feat(frontend): new chat interface (#2687)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-06-18 17:37:28 +02:00
Antoine Dewez
b464ed3660
feat(frontend): rephrase from Url to from Website's page (#2683)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-06-17 13:40:07 +02:00
Antoine Dewez
bfec25be0e
feat(frontend): set from connections by default in knowledge to feed (#2680)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-06-17 11:43:27 +02:00
Antoine Dewez
a22fa9bb55
fix(frontend): rephrase unpaid to free (#2679)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-06-17 11:39:27 +02:00
Stan Girard
e52dbf639a
chore(main): release 0.0.267 (#2676)
🤖 I have created a release *beep* *boop*
---


## 0.0.267 (2024-06-14)

## What's Changed
* fix(frontend): scroll modal payment by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2675


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.266...v0.0.267

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-06-14 02:32:51 -07:00
Antoine Dewez
8d3872eaeb
fix(frontend): scroll modal payment (#2675)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-06-14 11:12:54 +02:00
Stan Girard
25b4485b2e
chore(main): release 0.0.266 (#2674)
🤖 I have created a release *beep* *boop*
---


## 0.0.266 (2024-06-13)

## What's Changed
* fix: Add logic to filter active subscriptions in
check_if_is_premium_user function by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2673


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.265...v0.0.266

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-06-13 13:49:03 -07:00
Stan Girard
f546fd4d54
fix: Add logic to filter active subscriptions in check_if_is_premium_user function (#2673)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):

Co-authored-by: Stan Girard <stan@quivr.app>
2024-06-13 13:45:01 -07:00
Stan Girard
7b3d5d81dd
chore(main): release 0.0.265 (#2671)
🤖 I have created a release *beep* *boop*
---


## 0.0.265 (2024-06-13)

## What's Changed
* feat: Add timezone conversion for premium user check by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2670


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.264...v0.0.265

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-06-13 01:57:49 -07:00
Stan Girard
52d121b96f
feat: Add timezone conversion for premium user check (#2670)
This commit adds timezone conversion to the premium user check in the
`check_if_is_premium_user` function. It imports the `pytz` library and
retrieves the current time in the "Europe/Paris" timezone. This ensures
that the comparison of the current period end with the current time is
accurate, taking into account the correct timezone. The Paris time is
logged for debugging purposes.

Co-authored-by: Stan Girard <stan@quivr.app>

# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):

---------

Co-authored-by: Stan Girard <stan@quivr.app>
2024-06-13 01:54:26 -07:00
Stan Girard
092ac43c0e
chore(main): release 0.0.264 (#2666)
🤖 I have created a release *beep* *boop*
---


## 0.0.264 (2024-06-13)

## What's Changed
* fix: name passed in sync authorize by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2665
* feat: Add premium user check in celery task by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2668


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.263...v0.0.264

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-06-13 01:38:33 -07:00
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
Stan Girard
6bd1a5b334
fix: name passed in sync authorize (#2665)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):

---------

Co-authored-by: Stan Girard <stan@quivr.app>
2024-06-12 05:20:10 -07:00
Stan Girard
e2f7ad1a45
chore(main): release 0.0.263 (#2664)
🤖 I have created a release *beep* *boop*
---


## 0.0.263 (2024-06-12)

## What's Changed
* fix: Add error handling for syncing in tasks.py by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2663


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.262...v0.0.263

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-06-12 02:46:23 -07:00
Stan Girard
83f06dc5d2
fix: Add error handling for syncing in tasks.py (#2663)
This pull request adds error handling for the syncing process in the
tasks.py file. Previously, if an error occurred during the syncing
process, the program would crash. With this change, any exceptions that
occur during syncing will be caught and logged, allowing the program to
continue running. This improves the stability and reliability of the
syncing functionality.

Co-authored-by: Stan Girard <stan@quivr.app>
2024-06-12 02:42:16 -07:00
Stan Girard
6f95a2d51c
chore(main): release 0.0.262 (#2662)
🤖 I have created a release *beep* *boop*
---


## 0.0.262 (2024-06-12)

## What's Changed
* Update README.md by @ferozemohideen in
https://github.com/QuivrHQ/quivr/pull/2660
* feat: Normalize file names in sync module by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2661


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.261...v0.0.262

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-06-12 02:19:55 -07:00
Stan Girard
8e5af2c8c5
feat: Normalize file names in sync module (#2661)
This commit adds a new utility function `remove_special_characters` to
the `normalize.py` module in the `sync/utils` directory. The function
removes special characters from file names by normalizing the input
string and using regular expressions to remove non-alphanumeric
characters.

The function is then used in the `list_files.py` module in the
`sync/utils` directory to normalize the names of files retrieved from
Google Drive and Azure Drive. This ensures that the file names are free
of special characters, improving consistency and compatibility with
other parts of the system.

Co-authored-by: Stan Girard <stan@quivr.app>
2024-06-12 02:08:48 -07:00
Feroze Mohideen
a04ceea899
Update README.md (#2660) 2024-06-11 16:15:03 +02:00
Stan Girard
58f88b751b
chore(main): release 0.0.261 (#2659)
🤖 I have created a release *beep* *boop*
---


## 0.0.261 (2024-06-11)

## What's Changed
* feat: Update Google authorization URL with prompt for consent by
@StanGirard in https://github.com/QuivrHQ/quivr/pull/2658


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.260...v0.0.261

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-06-11 04:43:03 -07:00
Stan Girard
92ac7ae493
feat: Update Google authorization URL with prompt for consent (#2658)
The code changes in `google_sync_routes.py` update the authorization URL
for Google authentication. The `prompt` parameter is added with the
value "consent" to ensure that users are prompted to grant consent when
authorizing the application. This improves the user experience and
ensures that the necessary permissions are obtained.

# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-06-11 04:36:42 -07:00
Stan Girard
5908dfd725
chore(main): release 0.0.260 (#2636)
🤖 I have created a release *beep* *boop*
---


## 0.0.260 (2024-06-11)

## What's Changed
* feat: Add extra_hosts configuration to docker-compose.dev.yml by
@StanGirard in https://github.com/QuivrHQ/quivr/pull/2635
* fix: sync creation fixed by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2637
* chore: Set default value for "last_synced" column in "syncs_active"
table to '2024-06-01 15:30:25+00' by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2638
* fix: integrations by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2642
* feat(frontend): sharepoint and gdrive integration by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2643
* fix(frontend): display bug on add knowledge by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2644
* fix: files_metadata by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2645
* fix(google): auth is now in state by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2647
* fix(frontend): add brain modal integration doestn t work by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2649
* fix(frontend): tooltip on folder line by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2650
* feat: telemetry improved by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2651
* feat: Add force_sync option to SyncsActiveUpdateInput by @StanGirard
in https://github.com/QuivrHQ/quivr/pull/2652
* Update license to include enterprise features by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2653
* fix(frontend): onboarding bug by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2655
* Update README.md by @ferozemohideen in
https://github.com/QuivrHQ/quivr/pull/2656

## New Contributors
* @ferozemohideen made their first contribution in
https://github.com/QuivrHQ/quivr/pull/2656

**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.259...v0.0.260

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-06-11 02:03:00 -07:00
Feroze Mohideen
f8f68c0b30
Update README.md (#2656)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):

View rich diff
2024-06-11 02:01:52 -07:00
Antoine Dewez
e631fa897a
fix(frontend): onboarding bug (#2655)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-06-10 15:37:38 -07:00