Commit Graph

158 Commits

Author SHA1 Message Date
Stan Girard
3b26754a02 Update Docker login username in AWS workflows 2024-02-07 14:05:14 -08:00
Stan Girard
d562eb5e5e Update GitHub URLs 2024-02-07 13:59:48 -08:00
Stan Girard
7395dd0b44 Update URLs and dependencies 2024-02-07 13:57:44 -08:00
Stan Girard
cc39f9e3ba
feat(14k): done (#2102)
# 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-01-27 01:50:58 -08:00
renovate[bot]
fe373fdd10
chore(deps): pin dependencies (#1975)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://togithub.com/actions/checkout) | action |
pinDigest | -> `b4ffde6` |
| [actions/setup-node](https://togithub.com/actions/setup-node) | action
| pinDigest | -> `b39b52d` |
| [actions/setup-python](https://togithub.com/actions/setup-python) |
action | pinDigest | -> `65d7f2d` |
|
[aws-actions/amazon-ecr-login](https://togithub.com/aws-actions/amazon-ecr-login)
| action | pinDigest | -> `2fc7ace` |
|
[aws-actions/amazon-ecs-deploy-task-definition](https://togithub.com/aws-actions/amazon-ecs-deploy-task-definition)
| action | pinDigest | -> `df96430` |
|
[aws-actions/amazon-ecs-render-task-definition](https://togithub.com/aws-actions/amazon-ecs-render-task-definition)
| action | pinDigest | -> `4225e0b` |
|
[aws-actions/configure-aws-credentials](https://togithub.com/aws-actions/configure-aws-credentials)
| action | pinDigest | -> `5fd3084` |
| darthsim/imgproxy |  | pinDigest |  -> `0facd35` |
|
[docker/build-push-action](https://togithub.com/docker/build-push-action)
| action | pinDigest | -> `0a97817` |
|
[docker/build-push-action](https://togithub.com/docker/build-push-action)
| action | pinDigest | -> `4a13e50` |
| [docker/login-action](https://togithub.com/docker/login-action) |
action | pinDigest | -> `465a078` |
| [docker/login-action](https://togithub.com/docker/login-action) |
action | pinDigest | -> `343f7c4` |
|
[docker/setup-buildx-action](https://togithub.com/docker/setup-buildx-action)
| action | pinDigest | -> `885d146` |
|
[docker/setup-buildx-action](https://togithub.com/docker/setup-buildx-action)
| action | pinDigest | -> `f95db51` |
|
[docker/setup-qemu-action](https://togithub.com/docker/setup-qemu-action)
| action | pinDigest | -> `6882732` |
|
[google-github-actions/release-please-action](https://togithub.com/google-github-actions/release-please-action)
| action | pinDigest | -> `db8f2c6` |
| kong |  | pinDigest |  -> `1b53405` |
| [pavelzw/pytest-action](https://togithub.com/pavelzw/pytest-action) |
action | pinDigest | -> `510c5e9` |
| postgrest/postgrest |  | pinDigest |  -> `23b2dab` |
| python | final | pinDigest |  -> `0c1fbb2` |
| redis |  | pinDigest |  -> `a7cee7c` |
| supabase/edge-runtime |  | pinDigest |  -> `4e02aac` |
| supabase/gotrue |  | pinDigest |  -> `b503f1f` |
| supabase/logflare |  | pinDigest |  -> `e693c78` |
| supabase/postgres |  | pinDigest |  -> `fb8387f` |
| supabase/postgres-meta |  | pinDigest |  -> `31a107d` |
| supabase/realtime |  | pinDigest |  -> `634a59e` |
| supabase/storage-api |  | pinDigest |  -> `2cd146f` |
| supabase/studio |  | pinDigest |  -> `393669f` |
| timberio/vector |  | pinDigest |  -> `4bc04ac` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/StanGirard/quivr).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-04 14:00:18 +01:00
renovate[bot]
5a1ff46b68
chore(deps): Update actions/setup-node action to v4 (#1958)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/setup-node](https://togithub.com/actions/setup-node) | action
| major | `v3` -> `v4` |

---

### Release Notes

<details>
<summary>actions/setup-node (actions/setup-node)</summary>

### [`v4`](https://togithub.com/actions/setup-node/compare/v3...v4)

[Compare
Source](https://togithub.com/actions/setup-node/compare/v3...v4)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/StanGirard/quivr).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-03 12:08:35 +01:00
renovate[bot]
36c1289a7c
chore(deps): Update actions/checkout action to v4 (#1957)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://togithub.com/actions/checkout) | action |
major | `v3` -> `v4` |

---

### Release Notes

<details>
<summary>actions/checkout (actions/checkout)</summary>

###
[`v4`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v400)

[Compare Source](https://togithub.com/actions/checkout/compare/v3...v4)

- [Support fetching without the --progress
option](https://togithub.com/actions/checkout/pull/1067)
-   [Update to node20](https://togithub.com/actions/checkout/pull/1436)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/StanGirard/quivr).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-03 12:08:02 +01:00
Stan Girard
33eec50a09
docs: ✏️ mintlify (#1917)
moved to mintlify
2023-12-24 17:49:27 +01:00
Stan Girard
cad840203f Add support for submodules and fix file path in
.gitignore
2023-12-13 00:39:53 +01:00
Stan Girard
d8d6078c3d Update submodules flag in vercel-preview.yml 2023-12-12 23:47:28 +01:00
Stan Girard
ae944d81c6 Update submodules option in vercel-preview.yml 2023-12-12 23:42:47 +01:00
Stan Girard
753fb87476 Add submodules support for Vercel deployment 2023-12-12 23:31:20 +01:00
Stan Girard
b8f8851ccd feat(docker): multi platform build and prebuilt 2023-12-05 00:10:49 +01:00
Stan Girard
1ea647b147
feat(prebuilt): prebuild backend image for faster compilation (#1815)
# 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):
2023-12-05 00:01:14 +01:00
Stan Girard
6017fa2e9c test(contact): added contact route with mock 2023-11-13 17:58:11 +01:00
Stan Girard
6bc9dd1894
ci: 🎡 tests (#1615)
fixed

# 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):
2023-11-13 13:53:25 +01:00
Stan Girard
753dfc1bf7 feat(cms): added github actions 2023-09-21 10:18:04 +02:00
Stan Girard
dbde136a21 chore(github): fixed 2023-09-20 15:32:34 +02:00
Stan Girard
b4cc90b890 chore(github): changed icon feature request 2023-09-20 15:28:47 +02:00
Stan Girard
9f636e0b00 chore(github): added feature request template 2023-09-20 15:28:22 +02:00
Stan Girard
e36d51ea8e chore(github): fixed order 2023-09-20 15:26:22 +02:00
Stan Girard
6cf11ed798 chore(github): fixed 2023-09-20 15:25:26 +02:00
Stan Girard
ded591021b chore(github): updatd 2023-09-20 15:23:07 +02:00
Stan Girard
d7ab51c249 chore(github): blank issues disabled 2023-09-20 15:15:08 +02:00
Stan Girard
8781a0b153 chore(github): templates 2023-09-20 15:12:57 +02:00
Stan Girard
c1e0e65d19 chore(github): added projects by default 2023-09-20 15:09:53 +02:00
Stan Girard
b4eb12c6ba chore(github): fixed issue 2023-09-20 15:05:20 +02:00
Stan Girard
d736f5ade2 chore(github): fixed name issue template 2023-09-20 15:04:35 +02:00
Stan Girard
c1b47bee32 chore(github): fixed 2023-09-20 15:03:32 +02:00
Stan Girard
8fb8004548 chore(github): fix and passed to yml 2023-09-20 14:55:56 +02:00
Stan Girard
2fc6e7e38b chore(github): fixed 2023-09-20 14:50:45 +02:00
Stan Girard
40552aef28 chore(github): changed format issue 2023-09-20 14:48:53 +02:00
Stan Girard
4b806db3c0
fix(migration): removed (#1170) 2023-09-14 16:45:15 +02:00
Stan Girard
1d33fbd3eb
feat(file-system): added queue and filesystem (#1159)
* feat(queue): added

* feat(crawling): added queue

* fix(crawler): fixed github

* feat(docker): simplified docker compose

* feat(celery): added worker

* feat(files): now uploaded

* feat(files): missing routes

* feat(delete): added

* feat(storage): added policy and migrations

* feat(sqs): implemented

* feat(redis): added queue name variable

* fix(task): updated

* style(env): emoved unused env

* ci(tests): removed broken tests
2023-09-14 11:56:59 +02:00
Stan Girard
56bde0976e feat(release-please): now using github api to generate changelog notes 2023-08-23 13:24:32 +02:00
Stan Girard
9c7a2aa7c0 ci(stale): increased operations per run 2023-08-22 15:58:41 +02:00
Stan Girard
0b2e3bc19a ci(stale): increased operations per run to 60 2023-08-20 12:16:52 +02:00
Stan Girard
86c64b7759 ci(stale): increased to 30 days 2023-08-20 11:58:05 +02:00
Stan Girard
884f6862e1 ci(stale): update to main 2023-08-20 11:56:52 +02:00
Stan Girard
d0370ab499
feat(refacto): changed a bit of things to make better dx (#984) 2023-08-19 13:32:16 +02:00
Stan Girard
015f12bb4c ci(ci): deploy tag 2023-08-18 18:41:50 +02:00
Stan Girard
2b85a94e88 feat(gcr): removed sha and put latest 2023-08-18 18:35:26 +02:00
Stan Girard
195b4b2ef2 ci(docker): registry fixed name 2023-08-18 18:31:04 +02:00
Stan Girard
ad3dca3e27 feat(docker): pushing image to github registry 2023-08-18 18:29:02 +02:00
Stan Girard
b3a6231274 feat(aws): all in microservices 2023-08-18 18:18:36 +02:00
Stan Girard
705e36e708 ci(prod): added microservices 2023-08-18 18:16:01 +02:00
Stan Girard
b7f9876ce2 feat(preview): added crawl service to ci 2023-08-18 16:35:27 +02:00
Stan Girard
1e78812f30 ci(preview): context put in good place 2023-08-18 16:14:48 +02:00
Stan Girard
6894a2365b ci(docker): fixed context 2023-08-18 16:12:57 +02:00
Stan Girard
110d72d111 ci(preview): removed core 2023-08-18 16:10:38 +02:00
Stan Girard
a706e2e9d0 ci(preview): working dir to core 2023-08-18 16:09:41 +02:00
Stan Girard
86ff98bee1 ci(preview): context 2023-08-18 16:08:42 +02:00
Stan Girard
19d41cf54e ci(preview): fix context 2023-08-18 16:01:00 +02:00
Stan Girard
8b5cef4dfc ci(preivew): added caching 2023-08-18 15:57:49 +02:00
Stan Girard
98f75ba7b7 ci(ci): ecr registry addedd 2023-08-18 15:49:16 +02:00
Stan Girard
d90850d364 ci(preview): added fail fast to false 2023-08-18 15:35:39 +02:00
Stan Girard
08450f7b50 ci(ecr): hidden 2023-08-18 15:18:09 +02:00
Stan Girard
9f9a7bc4a1 ci(preview): fix output 2023-08-18 15:09:51 +02:00
Stan Girard
ce6b45e1ac
feat(preview): added service upload (#979)
* feat(docker): improved size image

* feat(preview): added upload service

* ci(aws): using matrix
2023-08-18 14:49:48 +02:00
Stan Girard
c227fc990d chore(empty): file removed 2023-08-18 12:26:29 +02:00
Stan Girard
d1dfd6c7ec
Feat/microservice aws (#976)
* feat(chat-service): added task definition

* feat(ci): added ci
2023-08-18 12:02:57 +02:00
Stan Girard
ef429b8ef4
Create FUNDING.yml 2023-08-10 11:54:53 +01:00
Stan Girard
67d7dbfba7 ci(stale): now every 4 hours 2023-08-07 11:09:47 +02:00
Stan Girard
642e345435 ci(stale): added workflow 2023-08-07 00:18:32 +02:00
Noe
303ba72028
feat: Introduce repository pattern to prepare adding other database providers (#646)
* add sqlalchemy models

* add neon settings

* add insert brain

* abstract supabase from Brain class

* abstract supabase from Brain class

* abstract supabase from /models

* update Database to Repository

* update neon_tables to pg_tables

* update chat, api-key and message

* update vector class

* update settings

* update env vars for test

* Update backend-tests.yml

* fix test

* fix fetch_user_requests_count()

* fix fetch_user_requests_count()

* fix increment_user_request_count

* fix increment_user_request_count

* fix asset upload_response message

* fix pyright

* fix brain_subscription

* fix brain_subscription

* fix brain_subscription

* fix get user request stat

* update create_brain_user

* add delete brain vector and user

* add delete brain vector and user

* correctly call function

---------

Co-authored-by: Noé Pion <noe.pion@onfido.com>
Co-authored-by: raoufchebri <raouf@chebri.com>
Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2023-08-01 23:03:47 +02:00
Stan Girard
2fcff0beda
fix(release-please): use personal token to be able to trigger release (#789)
* ci(check-pr-title): made prettier

* fix(release-please): use personal token to be able to trigger release
2023-07-27 11:02:47 +02:00
Stan Girard
b11b2d8658 feat(pr-title): added pr-title checlk 2023-07-27 10:45:58 +02:00
Stan Girard
16114b2c52 fix(release-please): fixed actions 2023-07-27 10:42:25 +02:00
Stan Girard
e6ba9e80f4 feat(workflow): added release please 2023-07-26 10:58:24 +02:00
Stan Girard
8abd979ca2 ci(docker): fixed 2023-07-18 16:54:31 +02:00
Stan Girard
4d3dbc565e feat(ci): fixed 2023-07-18 16:52:55 +02:00
Matt
a57563bcaf Merge branch 'fix/aws-ci' of https://github.com/StanGirard/quivr into fix/aws-ci 2023-07-18 15:39:58 +01:00
Matt
65e8415079 remove: test ci 2023-07-18 15:39:54 +01:00
Matt
dcc8323c5d
Merge branch 'main' into fix/aws-ci 2023-07-18 15:36:35 +01:00
Matt
2f5088547a test: fix ci 2023-07-18 15:34:08 +01:00
Stan Girard
7bc9f614c5 fix(ci): workflow 2023-07-18 16:26:10 +02:00
Stan Girard
8545b9ca3b feat(ci): added new test docker 2023-07-18 16:25:16 +02:00
Stan Girard
ab9a9d0db4
fix(ci): aws deploymenet (#693) 2023-07-18 15:54:37 +02:00
Matt
260e20d401
feat: update paths and workingdir (#686) 2023-07-18 12:21:25 +02:00
Matt
e61f437ce8
Feat/backend core (#656) 2023-07-17 07:57:27 +01:00
Matt
9f2cd7b7b6
fix: bug if no brain (#635) 2023-07-14 20:02:26 +01:00
Matt
a6658cdaee
feat: ci permissions (#589) 2023-07-10 18:18:34 +02:00
Matt
80d53b96d3
feat: code-review-gpt (#555) 2023-07-10 17:43:45 +02:00
Mamadou DICKO
9ee86222a4
chore(ci): add static type checking step (#583) 2023-07-10 15:22:17 +02:00
Stan Girard
7e7a3113a5 ci: 🎡 pytest
change
2023-07-06 10:09:21 +02:00
Zineb El Bachiri
4f638544bb
🐛 fix issue template not showing (#493) 2023-07-03 17:03:53 +02:00
Zineb El Bachiri
379a0c3ad7
✏️ add metada to issue_template (#492) 2023-07-03 16:56:33 +02:00
Zineb El Bachiri
70c0f5dac1
Git/repo cards templates (#491)
* ✏️ add name to templates

* 🚚 move isssue and PR template
2023-07-03 16:44:49 +02:00
Zineb El Bachiri
057651d0a6
✏️ add name to templates (#490) 2023-07-03 16:15:23 +02:00
Zineb El Bachiri
7eccc5bb9d
🎉 new issues templates (#488) 2023-07-03 15:56:38 +02:00
Stan Girard
12809312f0 docs: ✏️ actions
added
2023-07-03 12:06:21 +02:00
Stan Girard
572191777b ci(actions): filtered so it triggers only when files change 2023-07-02 14:37:15 +02:00
Stan Girard
9cc37cf365 ci(vitest): removed build 2023-07-02 02:24:31 +02:00
Stan Girard
e076bbe79f
Feat/testing backend (#446)
* feat(pytest): added

* feat(brains): added tests

* feat(actions): pytest
2023-07-02 02:19:30 +02:00
Stan Girard
1515a57d74
ci(vitest): added (#409) 2023-06-29 13:31:19 +02:00
Mamadou DICKO
cd78594590
Config frontend tests (#408)
* test: configure vitest and RTL

* test: add test boilerplates

* feat(ci): added test-unit frontend

---------

Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2023-06-29 13:18:30 +02:00
Stan Girard
82ac2ce3c0 fix(vercel): env dev 2023-06-29 10:59:55 +02:00
Stan Girard
108ab1636b fix(vercel): env dev 2023-06-29 10:32:43 +02:00
Stan Girard
6e1b961b9e fix(vercel): env dev 2023-06-29 10:30:33 +02:00
Stan Girard
40eae5adf3 fix(vercel): added good environment 2023-06-29 10:07:37 +02:00