07ae0fa76c
Chore(server): Enable local database installation on MacOS ( #2057 )
...
* Enable local database installation on MacOS
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Fix script
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-10-16 22:02:37 +02:00
e69a355cbb
Fix docker db init / reset for Windows ( #1981 ) ( #2023 )
...
* removed checking if docker is running with /dev/null
2023-10-15 17:36:18 +02:00
ba3094b448
Fix script windows init.sql
2023-10-15 16:45:17 +02:00
9296443e34
Fix: alter role code ( #2029 )
...
fix: alter role code
2023-10-15 16:31:56 +02:00
3c9cd9ff4a
Add release command ( #2022 )
...
add release command
remove unescessary yarn.lock
2023-10-14 23:04:35 +02:00
160b7039d9
Complete win script setup
2023-10-14 22:43:17 +02:00
986082d7a7
Complete win script setup
2023-10-14 22:41:18 +02:00
04090446cc
Update install on docker
2023-10-14 14:03:37 +02:00
77729e4d4b
Update installation doc ( #2019 )
...
* Update installation doc
* Update install scripts
* Update install scripts
2023-10-14 13:43:45 +02:00
2a9d94c5a2
Improve docker db init / reset ( #1981 ) ( #1984 )
...
* renamed volume name db_data to twenty_db_data
* named postgres container_name: twenty_postgres
make provision-postgres does:
* checking if docker is running
* stop the container postgres twenty_postgres
* prune the volume twenty_db_data
* rebuild the image every time, use --build
2023-10-13 15:57:01 +02:00
84ed9edefe
Replaced docker-compose with docker compose in Makefile ( #1922 )
2023-10-09 15:50:49 +02:00
b8282e6789
Added script to setup database locally on Linux/WSL ( #1879 )
...
* Created script to install and setup PostgreSQL database for Linux/WSL
* Updated Docs
2023-10-05 16:17:27 +02:00
4d86c66ccb
fix docker dev ( #1844 )
2023-10-03 16:27:43 +02:00
09684ef6cc
Fix docker setup with bcrypt ( #1783 )
2023-10-02 11:59:06 +02:00
3851e0f992
Fix missing patches folder to deploy server ( #1771 )
...
* Fix missing patches folder to deploy server
* Fix missing patches folder to deploy server
* remove extra line
* add fix for twenty-dev
2023-09-29 15:41:09 +02:00
629bdbbf50
feat: dynamic graphQL schema generation based on user workspace ( #1725 )
...
* wip: refacto and start creating custom resolver
* feat: findMany & findUnique of a custom entity
* feat: wip pagination
* feat: initial metadata migration
* feat: universal findAll with pagination
* fix: clean small stuff in pagination
* fix: test
* fix: miss file
* feat: rename custom into universal
* feat: create metadata schema in default database
* Multi-tenant db schemas POC
fix tests and use query builders
remove synchronize
restore updatedAt
remove unnecessary import
use queryRunner
fix camelcase
add migrations for standard objects
Multi-tenant db schemas POC
fix tests and use query builders
remove synchronize
restore updatedAt
remove unnecessary import
use queryRunner
fix camelcase
add migrations for standard objects
poc: conditional schema at runtime
wip: try to create resolver in Nest.JS context
fix
* feat: wip add pg_graphql
* feat: setup pg_graphql during database init
* wip: dynamic resolver
* poc: dynamic resolver and query using pg_graphql
* feat: pg_graphql use ARG in Dockerfile
* feat: clean findMany & findOne dynamic resolver
* feat: get correct schema based on access token
* fix: remove old file
* fix: tests
* fix: better comment
* fix: e2e test not working, error format change due to yoga
* remove typeorm entity generation + fix jwt + fix search_path + remove anon
* fix conflict
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
Co-authored-by: corentin <corentin@twenty.com >
2023-09-28 16:27:34 +02:00
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
b1171e22a3
feat: add findAll and findUnique resolver for universal objects ( #1576 )
...
* wip: refacto and start creating custom resolver
* feat: findMany & findUnique of a custom entity
* feat: wip pagination
* feat: initial metadata migration
* feat: universal findAll with pagination
* fix: clean small stuff in pagination
* fix: test
* fix: miss file
* feat: rename custom into universal
* feat: create metadata schema in default database
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-20 17:24:13 -07:00
e96f2ece7c
[config] Create sweep.yaml file ( #1572 )
...
* Create sweep.yaml with gha_enabled set to False
* Updated infra/dev/Makefile
---------
Co-authored-by: sweep-ai[bot] <128439645+sweep-ai[bot]@users.noreply.github.com>
2023-09-14 11:07:36 +02:00
8863bb0035
Import company and person from csv file ( #1236 )
...
* feat: wip implement back-end call csv import
* fix: rebase IconBrandTwitter missing
* feat: person and company csv import
* fix: test & clean
* fix: clean & test
2023-08-16 14:18:16 -07:00
fb0f9b7807
Fixes before deploy ( #1167 )
2023-08-11 00:09:52 +02:00
510c466271
Add WSL instruction and IDE setup instruction ( #1150 )
...
* Add WSL instruction and IDE setup instruction
* Fix setup
* Fix setup
* Fix
* Update docs/docs/developer/additional/ide-setup.mdx
Co-authored-by: Weiko <corentin@twenty.com >
---------
Co-authored-by: Weiko <corentin@twenty.com >
2023-08-09 22:24:15 -07:00
61205c2cb0
Fix server e2e tests on CI #1
2023-07-27 11:53:00 -07:00
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
349caacb9f
Update local setup doc ( #726 )
...
* Update local setup doc
* Update docs
2023-07-17 21:15:57 -07:00
7d6adbaa73
Update company card ( #512 )
...
* Add card rows
* WIP - add amount
* Refactor board state to separate pipeline progress data and company data
* Add migration and generated code
* Pass pipeline progress properties to the comapny card
* WIP-editable
* Enable amount edition
* Nits
* Remove useless import
* Fix empty board bug
* Use cell for editable values on company card
* Add fields
* Enable edition for closeDate
* Add dummy edits for recurring and probability
* Nits
* remove useless fields
* Nits
* Fix user provider
* Add generated code
* Fix nits, reorder migrations, fix login
* Fix tests
* Fix lint
2023-07-06 18:41:44 -07:00
433962321a
feat: onboarding ui flow ( #464 )
...
* feat: onboarding ui flow
* fix: route naming and auth
* fix: clean unused imports
* fix: remove react.fc
* fix: infra dev remove package.json
* fix: remove usefull memoization
* fix: button stories
* fix: use type instead of interface
* fix: remove debug
2023-06-30 06:26:06 +00:00
30fd3320b7
Rename test commands (coverage storybook) ( #476 )
...
* Rename test commands
* Add coverage command in doc
2023-06-29 14:06:15 -07:00
097b278b11
fix: add firstName and lastName to user model ( #473 )
...
* fix: add firstname and lastanme to user model
* fix: avoid undefined in displayName resolve field
* fix: user firstName and lastName instead of firstname lastname
* fix: person table proper naming firstName lastName
* fix: migrate front with firstName and lastName
* fix: make front-graphql-generate not working
2023-06-29 15:11:15 +00:00
f0bbfb11ee
Fix avatar storybook issue + fix Autosize input send button color ( #389 )
...
* Fix avatar storybook issue + fix Autosize input send button color
* Fix storybook font-size
2023-06-25 14:58:34 -07:00
f0910b3fbb
Fix doc setup ( #302 )
2023-06-15 10:37:00 +00:00
467a1618f0
Update doc & split prisma generate ( #299 )
...
* feat: split prisma generate
* fix: update doc
2023-06-15 12:15:57 +02:00
5381e28253
Add workspace scoping to pipeline progress and expose findManyPipelineeProgress on graphql ( #292 )
...
Add workspace scoping to pipeline progress and expose findManyPipelineProgress on graphql
2023-06-14 17:05:15 +02:00
31f3950439
Add a custom rule to prevent colors from being hardcoded outside of theme ( #288 )
...
* Add a custom rule to prevent colors from being hardcoded in ESLint
* Refactor colors
* Create packages folder and fix colors
* Remove external dependency for css alphabetical order linting
* Fix install with yarn
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-06-14 16:56:29 +02:00
2395f791c8
Add Pipelines models in server ( #182 )
...
* Hide workspace and refresh token from schema
* Add pipe models and migrations
* Add seeds
* Update FE graphql schema
2023-06-02 11:20:21 +02:00
ed03111439
Fix linting after prisma generate ( #158 )
...
* fix: lint generated prisma files.
* Put lint command in server package.json
2023-05-31 08:39:47 +00:00
f935a6b723
Re-write test with storybook testing library ( #150 )
...
* Re-write test with storybook testing library
* Update CI
2023-05-29 11:02:38 +02:00
17f5cf1766
Fix graphql queries
2023-05-26 00:31:43 +02:00
61099f99b8
Simplify setup again to run in vscode ( #138 )
2023-05-25 16:58:33 +02:00
34543b7fea
Simplify local dev ( #137 )
2023-05-25 15:56:28 +02:00
80f9cc8797
Re-implement authentication ( #136 )
...
* Remove hasura and hasura-auth
* Implement authentication
2023-05-25 11:51:15 +02:00
5d06398d2e
Remove hasura and hasura-auth ( #134 )
...
* Remove hasura and hasura-auth
* Move all models to prisma
* Start implementing graphql
* chore: clean package json
* chore: make the code build
* chore: get initial graphql.tsx file
* feature: use typegql as qgl server
* refactor: small refactoring
* refactor: clean tests
* bugfix: make all filters not case sensitive
* chore: remove unused imports
---------
Co-authored-by: Sammy Teillet <sammy.teillet@gmail.com >
2023-05-24 17:20:15 +02:00
1490f986f2
Fix previous PR (.npmrc no longer needed)
2023-05-03 17:32:22 +02:00
f28edd405f
I can open the project in GitHub ( #92 )
...
* Ignore node_modules
* Use bash-compatible dotenv format
While still being compatible with dotenv, this
also allows sourcing the file to export all
variables in bash.
* Add prettier extension to recommendations
* Move to port 5001 to avoid conflict with macOS services
* Add workspace
* Add devcontainer
This automatically starts with all environment
variables available locally.
It brings up services which are dependent on each
other individually and verifies health before
moving on to the next service.
* Split init into clean, up, and logs tasks.
This allows the developer to set up .env and .npmrc
files before running services, and does not require
starting from a clean db every time the devcontainer
is restarted.
* Copy .env when creating codespace
* Automatically run UP command upon devcontainer creation
* Fix log message
---------
Co-authored-by: Felix Malfait <felix.malfait@gmail.com >
2023-05-03 11:34:10 +02:00
571cb6ed5c
Style filter key in bold in filter and search bar ( #86 )
...
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-04-27 17:28:17 +02:00
00f0a36457
Implicitly start hasura console ( #88 )
2023-04-27 17:28:04 +02:00
e19a85a5d0
Build fixes ( #76 )
...
* Fix compose syntax error
It turns out that docker compose does not like a literal `true`
but it will accept a `"true"` string.
* Added missing && operators
2023-04-26 09:53:11 +02:00
d2c6a71c9e
Fix server local build ( #75 )
...
* Fix server local build
* Build docs locally and for prod
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-04-25 17:47:15 +02:00
ae7bad65ca
Setup GraphQL Code Generator ( #74 )
...
* chore: add types of schema
* Ease codegen use on FE
* chore: ignore prettier in generated files
* lint: generated files
* feature: strongly type filter of query
* chore: ignore generated files in prettier
* chore: eslint ignore generated files
---------
Co-authored-by: Sammy Teillet <sammy.teillet@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-04-25 17:25:30 +02:00
f1058ffcf5
Fix bug prisma build on server
2023-04-24 17:19:21 +02:00