Commit Graph

21 Commits

Author SHA1 Message Date
Weiko
d98ddc3dbe
multi tenant schemas poc (#1569)
* 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

* add metadata

* add comments

* remove migrations for now

* do not allow connection to public schema for non-remote workspace connection

* rename getLastDataSourceMetadataFromWorkspaceIdOrFail

* remove schema creation

* remove module import
2023-09-14 14:39:37 +02:00
brendanlaschke
35bcef5090
Add Sentry for Backend (#1403)
* - added sentry

* - renamed env var

* - logger driver

* - add breadcrumb and category

* - fix driver
2023-09-11 12:22:30 -07:00
dependabot[bot]
77d356f78a
Bump file-type from 13.0.0 to 16.5.4 in /server (#1105)
Bumps [file-type](https://github.com/sindresorhus/file-type) from 13.0.0 to 16.5.4.
- [Release notes](https://github.com/sindresorhus/file-type/releases)
- [Commits](https://github.com/sindresorhus/file-type/compare/v13.0.0...v16.5.4)

---
updated-dependencies:
- dependency-name: file-type
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 14:15:07 -07:00
Jérémy M
f111440e00
feat: implement user impersonation feature (#976)
* feat: wip impersonate user

* feat: add ability to impersonate an user

* fix: remove console.log

* fix: unused import
2023-07-31 15:47:29 -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
e90f44bbfb
feat: increase upload size limit (#962) 2023-07-27 09:07:38 -07:00
Jérémy M
58530be78b
feat: upload profile picture from google (#964)
* feat: upload profile picture from google

* fix: only add profile picture if user don't have any
2023-07-27 09:06:50 -07:00
Jérémy M
51cfc0d82c
feat: refactoring casl permission checks for recursive nested operations (#778)
* feat: nested casl abilities

* fix: remove unused packages

* Fixes

* Fix createMany broken

* Fix lint

* Fix lint

* Fix lint

* Fix lint

* Fixes

* Fix CommentThread

* Fix bugs

* Fix lint

* Fix bugs

* Fixed auto routing

* Fixed app path

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-07-25 16:37:22 -07:00
Jérémy M
ce3e023a00
feat: server lint import & order (#750) 2023-07-19 14:01:32 +02:00
Jérémy M
1144bd13ed
feat: onboarding & profile edition (#507)
* feat: wip onboarding

* fix: generate graphql front

* wip: onboarding

* feat: login/register and edit profile

* fix: unused import

* fix: test

* Use DEBUG_MODE instead of STAGE and mute typescript depth exceed errors

* Fix seeds

* Fix onboarding when coming from google

* Fix

* Fix lint

* Fix ci

* Fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-06 17:05:15 -07:00
Jérémy M
6fc416da76
fix: displayName return undefined and drop displayName from user table (#505) 2023-07-04 20:08:15 +02:00
Jérémy M
5e1fc1ad11
feat: upload module (#486)
* feat: wip upload module

* feat: local storage and serve local images

* feat: protect against injections

* feat: server local and s3 files

* fix: use storage location when serving local files

* feat: cross field env validation
2023-07-04 14:02:44 +00:00
Jérémy M
cca36cf50f
fix: rename event module into analytics and clean (#482) 2023-06-30 09:24:05 +00:00
Jérémy M
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
Félix Malfait
eb7fb2ba8e
Add Telemetry (#466)
* Telemetry v1

* Add package-lock.json to gitignore
2023-06-29 17:36:48 -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
Jérémy M
b179d1f1f0
feat: wip casl policies (#334)
* feat: wip casl policies

* feat: add ability guard on pipeline resolvers

* fix: test
2023-06-20 19:31:11 -07:00
Jérémy M
299ca293a8
feat: refactoring auth & add email password login (#318)
* feat: wip

* fix: issues

* feat: clean controllers and services

* fix: test

* Fix auth

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-17 13:42:02 +02:00
Jérémy M
2cd081234f
chore: refacto NestJS in modules (#308)
* chore: wip refacto in modules

* fix: rollback port

* fix: jwt guard in wrong folder

* chore: rename folder exception-filter in filters

* fix: tests are running

* fix: excessive stack depth comparing types

* fix: auth issue

* chore: move createUser in UserService

* fix: test

* fix: guards

* fix: jwt guard don't handle falsy user
2023-06-16 10:38:11 +02:00
Charles Bochet
2a1804c153
Update graphql schema and upgrade yarn lock files (#296)
* Update graphql schema
2023-06-14 18:30:24 +02:00
Félix Malfait
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