Félix Malfait
44d046b363
Cleanup CI workflows, Remove Twenty CLI, Add Danger.js ( #2452 )
...
* Move dockerignore file away from root
* Delete Twenty CLI
* Create Twenty-utils
* Move release script
* Add danger.js to yarn
* Add danger
* Add Bot token
* Cancel previous steps CI
* Revert "Move dockerignore file away from root"
This reverts commit 7ed17bb2bc
.
2023-11-13 14:10:11 +01:00
Shiv Tyagi
2befd0ff14
infra: add make commands for provisioning postgres in macos and linux ( #2436 )
...
* infra: add make commands for provisioning postgres in macos and linux
* docs: update commands for provisioning postgres on linux and macos
2023-11-12 10:26:12 +01:00
Charles Bochet
41f658b1ed
Update mac os script for pg15 ( #2427 )
...
* Update mac os script for pg15
* Update mac os script for pg15
* Update mac os script for pg15
2023-11-10 17:11:09 +01:00
Luap33
7a5476e31a
Bump PGSQL version from 14 to 15 ( #2406 )
...
* Bump PGSQL version from 14 to 15
* Upgrade mac os postgres version
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-08 23:44:36 +01:00
Charles Bochet
1bf5af9150
Fix docs build
2023-11-06 23:21:08 +01:00
Nimra Ahmed
2221c68dff
Improved user guide, added CI vale for docs ( #2308 )
...
* restructured user guide, minor fixes
* added index file for user guide
* github actions for vale
* testing workflow
* CI vale
* changes as per vale's suggestions
* set CI vale on pull request
* adding homebrew script to macos infra setup file
* fix CI errors
* testing vale
* testing vale
* testing vale
* testing vale
* testing vale
* testing vale
* testing vale
* testing vale
* testing vale
* testing vale
* testing vale
* testing vale
* testing vale
* testing vale
* testing vale
* testing vale
* testing vale
* testing vale
* vale testing complete
* vale cleanup
* vale test
* vale test for github-pr-check
* vale test for github-pr-check
* vale test for github-pr-check
* vale test for github-pr-check
* testing vale warnings
* testing vale warnings
* testing vale warnings
* testing vale warnings
* testing vale warnings
* testing vale warnings
* testing vale warnings
* swizzled doc cards to add icons
* Align CI params to other CIs
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
2023-11-03 17:02:30 +01:00
Charles Bochet
9c2c1e879a
Add new dockerfile for postgres ( #2322 )
...
* Add new Dockerfile for postgres
* Fix docker
* Update dockerfile
---------
Co-authored-by: martmull <martmull@hotmail.fr>
2023-11-03 14:24:10 +01:00
martmull
5becefadcb
Add new Dockerfile for postgres ( #2313 )
...
* Add new Dockerfile for postgres
* Fix docker
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-02 14:21:06 +01:00
Saba Shavidze
4d89e093d6
fix: update cleanup command to reflect current volume naming ( #2316 )
2023-11-02 14:09:47 +01:00
Charles Bochet
1c5c71bc48
Reduce image size ( #2306 )
...
* Reduce image size
* Clean dependencies
* Clean dependencies
2023-10-31 21:43:16 +01:00
Lucas Bordeau
14ae8da424
Fix database experience ( #2263 )
2023-10-27 17:48:06 +02:00
Thaïs
3c6ce75606
feat: activate standard objects in New Object page ( #2232 )
...
* feat: activate standard objects in New Object page
Closes #2010 , Closes #2173
* Pagination limit = 1000
* Various fixes
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-27 15:46:29 +02:00
Charles Bochet
d58b85df54
Complete deploy to render work
2023-10-24 16:53:40 +02:00
Ruslan
b6e8fabbb1
chore: added .dockerignore and fixed start:prod ( #2099 ) ( #2211 )
...
added .env to .dockerignore and fixed start:prod
2023-10-24 14:41:52 +02:00
Charles Bochet
d5610fdb5b
Fix build script
2023-10-24 11:40:52 +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
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
Ruslan
f6b5943fc6
chore: Pre build docker images ( #2099 ) ( #2131 )
...
chore: LABEL to link images source to github
2023-10-19 22:57:00 +02:00
Charles Bochet
09fe29e559
Fix mac os script
2023-10-19 10:54:24 +02:00
Ruslan
21c2834f52
Chore: Deploy to Render updated ( #2033 ) ( #2098 )
...
Deploy to Render updated (#2033 ):
* postgres as a pserv (private service) compiled with pg_graphql
* default credentials (todo to fix), but postgres in a private network
* added FRONT_BASE_URL to server env
* added Dockerfile for postgres in infra/prod/postgres
* for server added dockerCommand with yarn database:setup
2023-10-18 13:54:12 +02:00
Jérémy M
4a96ae225e
feat: easier makefile commands ( #2077 )
...
* feat: easier makefile commands
* fix: cleaner command
2023-10-17 10:38:10 +02:00
gitstart-twenty
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
Ruslan
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
Charles Bochet
ba3094b448
Fix script windows init.sql
2023-10-15 16:45:17 +02:00
Arijit
9296443e34
Fix: alter role code ( #2029 )
...
fix: alter role code
2023-10-15 16:31:56 +02:00
brendanlaschke
3c9cd9ff4a
Add release command ( #2022 )
...
add release command
remove unescessary yarn.lock
2023-10-14 23:04:35 +02:00
Charles Bochet
160b7039d9
Complete win script setup
2023-10-14 22:43:17 +02:00
Charles Bochet
986082d7a7
Complete win script setup
2023-10-14 22:41:18 +02:00
Charles Bochet
04090446cc
Update install on docker
2023-10-14 14:03:37 +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
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
BOHEUS
84ed9edefe
Replaced docker-compose with docker compose in Makefile ( #1922 )
2023-10-09 15:50:49 +02:00
Gaurav
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
Tom Avalexing
4d86c66ccb
fix docker dev ( #1844 )
2023-10-03 16:27:43 +02:00
Weiko
09684ef6cc
Fix docker setup with bcrypt ( #1783 )
2023-10-02 11:59:06 +02:00
Weiko
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
Charles Bochet
c82ac773b9
Fix server build
2023-09-29 15:37:58 +02:00
Jérémy M
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
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
Jérémy M
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
sweep-ai[bot]
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
Jérémy M
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
Charles Bochet
fb0f9b7807
Fixes before deploy ( #1167 )
2023-08-11 00:09:52 +02:00
Charles Bochet
a12b6c4bda
Force 404 on static folder when a file is not found ( #1165 )
2023-08-10 12:17:40 -07:00
Charles Bochet
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
Emilien Chauvet
de6ebd96c5
Prevent indexing on docs outside of production ( #1054 )
...
* Prevent indexing on docs outside of production
* Add dockerfile arg
* Rename args
* Add logs
* Move arg to the right dockerfile
* Remove log
2023-08-07 09:20:31 -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
Lucas Vieira
c13d6b4f60
chore: optimize size of front docker image ( #965 )
2023-07-27 16:39:16 -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