Commit Graph

19 Commits

Author SHA1 Message Date
Charles Bochet
f5e1d7825a
Removing Prisma and Grapql-nestjs-prisma resolvers (#2574)
* Some cleaning

* Fix seeds

* Fix all sign in, sign up flow and apiKey optimistic rendering

* Fix
2023-11-19 18:25:47 +01:00
martmull
ba69435339
0.2.0 cleaning script (#2342)
* Display maxUpdatedAt for each workspace Schema

* Factorize functions

* Add max update for public workspaces

* Merge everything in a single json

* Enrich results

* Get from proper table

* Update

* Move to proper command file

* Add a dry-run option

* Remove workspaces from database

* Fix DeleteWorkspace method

* Add new option

* Remove proper data when deleting workspace

* Minor improvements
2023-11-06 23:15:02 +01:00
Lucas Bordeau
14ae8da424
Fix database experience (#2263) 2023-10-27 17:48:06 +02:00
Charles Bochet
42af74eb46
Build render (#2188)
* Build for arm and amd

* Add scripts

* Add scripts
2023-10-22 23:47:43 +02:00
Charles Bochet
e67b2d23ae Fix port missing while building pg_database_url for render 2023-10-22 12:42:52 +02:00
Ruslan
a5fe256d7e
chore: inject enviroment at the ./front deployment phase (#2174) (#2179)
* chore: inject enviroment at the deployment phase (#2174)

* Dockerfile CMD env.sh
* env.sh generates env-config.js file
* index.html imports env-config.js
* front/src/config/index.ts imports REACT_APP_SERVER_BASE_URL

* Upgrade Dockerfiles

* Add compute pg_database_url for render

* fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-22 12:36:36 +02:00
Aasim Attia
88438e8094
apply database:init (#2079) 2023-10-17 16:39:48 +02:00
Weiko
525603227a
Add default db schema for seeded workspace (#2061)
* Add default db schema for seeded workspace

* fix

* add if not exists

* add metadata seeds

* use setup-db for e2e

* fix tests
2023-10-16 16:59:46 +02:00
Charles Bochet
986082d7a7 Complete win script setup 2023-10-14 22:41:18 +02:00
Charles Bochet
77729e4d4b
Update installation doc (#2019)
* Update installation doc

* Update install scripts

* Update install scripts
2023-10-14 13:43:45 +02:00
Ruslan
77c88bda6e
Fix bug where "metadata" scheme was not created automatically (#1971) and (#1831) (#2018)
* Fix bug where "metadata" scheme was not created automatically (#1971)

* logging on

* testing on render

* render upadte

* added setup-db.ts and updated package.json
2023-10-14 11:48:55 +02:00
Charles Bochet
2d758c990b
Fix merge issue flexible backend (#1685)
* Fix merge issue flexible backend

* Fix tests

* Try fix tests

* Try fix tests
2023-09-20 19:11:21 -07:00
gitstart-twenty
00a3c8ca2b
Change to using arrow functions (#1603)
* Change to using arrow functions

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>

* Add lint rule

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-15 18:41:10 -07:00
Félix Malfait
b028d9fd2a
Add deploy buttons and clean environment variables (#974)
* add render.yaml

* Clean environment variables



---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-31 14:36:04 -07:00
Charles Bochet
3b796ee68c Fix server e2e tests on CI #5 2023-07-27 15:38:50 -07:00
Charles Bochet
e7eecd5b54 Fix server e2e tests on CI #4 2023-07-27 15:22:10 -07:00
Charles Bochet
61205c2cb0 Fix server e2e tests on CI #1 2023-07-27 11:53:00 -07:00
Jérémy M
157e5b9a2e
feat: implement e2e test for CompanyResolver (#944)
* feat: wip e2e server test

* feat: use github action postgres & use infra for local

* feat: company e2e test

* feat: add company e2e test for permissions

* Simplify server e2e test run

* Fix lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-27 09:48:40 -07:00
Jérémy M
ca283a2196
feat: prisma typed select (#347)
* feat: wip prisma gql select

* feat: stronger api using decorator

* feat: add PrismaSelect everywhere

* fix: remove unused

* fix: remove seed debug
2023-06-22 11:17:31 +02:00