martmull
2386191d8e
Fix missing logo at sign-in-up ( #5525 )
...
### Before

### After

2024-05-22 09:55:29 +02:00
martmull
ec248f8605
Remove dumb code placement ( #5494 )
...
Fix a bug introduced in [this
PR](https://github.com/twentyhq/twenty/pull/5254/files )
When a subscription is created, we need to create the subscription,
#5254 return if no subscription is created so the sub can never be
created at all
This PR fixes that
2024-05-21 12:08:51 +02:00
martmull
4fcdfbff7d
Fix unhandled exception ( #5474 )
...
Solves exception.getStatus is not a function error logs in twenty-server
Catch all errors in order to have no error log at all
2024-05-21 11:31:03 +02:00
martmull
88f5eb669e
4689 multi workspace i should be able to accept an invite if im already logged in ( #5454 )
...
- split signInUp to separate Invitation from signInUp
- update redirection logic
- add a resolver for userWorkspace
- add a mutation to add a user to a workspace
- authorize /invite/hash while loggedIn
- add a button to join a workspace
### Base functionnality
https://github.com/twentyhq/twenty/assets/29927851/a1075a4e-a2af-4184-aa3e-e163711277a1
### Error handling
https://github.com/twentyhq/twenty/assets/29927851/1bdd78ce-933a-4860-a87a-3f1f7bda389e
2024-05-20 12:11:38 +02:00
martmull
afad993bb3
Fix main ( #5435 )
...
- fix lint issue
- fix Apply Cors exception handler (do not work when logged out)
2024-05-16 15:29:27 +02:00
martmull
fdf10f17e2
4655 batch endpoints on the rest api ( #5411 )
...
- add POST rest/batch/<OBJECT> endpoint
- rearrange rest api code with Twenty quality standard
- unify REST API error format
- Added PATCH verb to update objects
- In openapi schema, we replaced PUT with PATCH verb to comply with REST
standard
- fix openApi schema to match the REST api
### Batch Create

### Replace PUT by PATCH in open Api

### Error format unification



2024-05-16 14:15:49 +02:00
martmull
ffdd3a7d4e
Return graphql errors when exists ( #5389 )
...
- throw badRequest with graphql error messages when graphql request
fails
- clean some code
Before
<img width="1470" alt="image"
src="https://github.com/twentyhq/twenty/assets/29927851/0b700d9a-2bbe-41f7-84a9-981dc7dd5344 ">
After

2024-05-14 13:21:55 +02:00
martmull
0018ec78b0
4840 multi workspace update user userworkspace inconsistent on delete set null constraint ( #5373 )
2024-05-13 14:50:27 +02:00
martmull
8576127b47
Add migration to restrict users without workspaces ( #5369 )
...
- update set null ON DELETE constraint to RESTRICT
- update missing updates
2024-05-13 14:18:45 +02:00
martmull
1ac8abb118
5188 bug some canceled subscriptions are billed ( #5254 )
...
When user is deleting its account on a specific workspace, we remove it
as if it was a workspaceMember, and if no workspaceMember remains, we
delete the workspace and the associated stripe subscription
2024-05-13 10:23:32 +02:00
martmull
77c0dee846
Add missing info from verify mutation ( #5283 )
...
Fix wrong error billing message
2024-05-04 15:21:37 +02:00
martmull
87994c26ff
4900 multi select field front implement expanded cells ( #5151 )
...
Add expanded cell
https://github.com/twentyhq/twenty/assets/29927851/363f2b44-7b3c-4771-a651-dfc4014da6ac

2024-05-03 15:03:06 +02:00
martmull
44855f0317
Fix broken billing portal when subscription canceled ( #5082 )
...
Fix billing portal link for canceled subscription
2024-04-25 18:33:49 +02:00
martmull and DGamer007
87a9ecee28
D gamer007/add microsoft oauth ( #5103 )
...
Need to create a new branch because original branch name is `main` and
we cannot push additional commits
Linked to https://github.com/twentyhq/twenty/pull/4718


---------
Co-authored-by: DGamer007 <prajapatidhruv266@gmail.com >
2024-04-24 14:56:02 +02:00
martmull
43f0b11aab
Fix playground ( #5043 )
...
Some code quality updates on the doc api playgrounds
2024-04-19 18:18:08 +02:00
martmull
36d4c38c3d
Check password in signinup only when email/password signInUp ( #5042 )
...
- disable password check when signInUp from google (sso)
- check password when signInUp with email password
2024-04-18 17:52:01 +02:00
martmull
1c1a055c94
Improve multi word filtering ( #5034 )
...
improve multi word search
closes #4212
closes #3386
2024-04-18 15:46:59 +02:00
martmull
64cc6ecc3b
Fix relation field type ( #4992 )
2024-04-17 14:56:27 +02:00
martmull
0ad9e94318
Fix google account login ( #4969 )
...
- Fixes Google account login
- Fixes security issue
2024-04-15 20:08:19 +02:00
martmull
1c3775e4a0
Fix Never api key expiration dates ( #4965 )
...
closes #4714
We cannot set null expiration dates for api keys. So we will set to 100
years instead of null. If apiKey expires in more that 10 years, it is
displayed as "Never expires"
2024-04-15 20:05:59 +02:00
martmull
7799d0efd8
Fix Google Login Invitation link ( #4942 )
...
close #4925
Before, for google-auth, if the user exists, we would simply returns a
login token, without checking the InvitationLink
Now, we just call the `authService.signUp` function that handle all
use-cases for us (user exists or not, invitationLink exists or not)
2024-04-12 17:22:38 +02:00
martmull
e6a5a63acf
Provide initialSnapshot to logout recoil state update snapshot ( #4929 )
2024-04-11 18:26:55 +02:00
martmull
ee64576e5f
Fix phone cell display ( #4924 )
...
Closes #4796
## What has been done
- fix phone number value detection
- Update formatting from International format to National format
## Before
phone were formatted as text field type

## After
phone are properly formatted in National format

## FYI
Phones in International format look like

2024-04-11 16:30:49 +02:00
martmull
a7fcc5d47e
4778 multi select field front implement multi select type ( #4887 )
2024-04-11 12:57:08 +02:00
martmull
01991fe717
4902 bug fix fix api filter for enum ( #4909 )
...
- Handle NUMERIC, SELECT, PROBABILITY, RATING FieldMetadataTypes
Those filters now works:
- http://localhost:3000/rest/opportunities?filter=stage[eq]:MEETING
-
http://localhost:3000/rest/opportunities?filter=stage[in]:[MEETING,NEW]
When providing wrong enum values, the following error messages are
returned:
- http://localhost:3000/rest/opportunities?filter=stage[eq]:MEETINGG
> BadRequestException: 'filter' enum value 'MEETINGG' not available in
'stage' enum. Available enum values are ['NEW', 'SCREENING', 'MEETING',
'PROPOSAL', 'CUSTOMER']
-
http://localhost:3000/rest/opportunities?filter=stage[in]:[MEETING,NEWW]
> BadRequestException: 'filter' enum value 'NEWW' not available in
'stage' enum. Available enum values are ['NEW', 'SCREENING', 'MEETING',
'PROPOSAL', 'CUSTOMER']
2024-04-10 18:54:55 +02:00
martmull
6d23642d28
4777 multi select field backend implement multi select type ( #4790 )
...
- fix default value for multi select field metadata
2024-04-03 17:19:24 +02:00
martmull
358269c60e
Add IS_MULTI_SELECT_ENABLED feature flag ( #4779 )
...
closes #4776
2024-04-03 17:15:38 +02:00
martmull
7dc053c576
Add back export all action button ( #4750 )
...


2024-04-02 19:08:48 +02:00
martmull
27fdb00d07
4586 fix workspace member feature ( #4680 )
...
* Fix import
* Handle delete workspace member consequences
* Add a patch to request deleted workspace member's userId
* Remove useless relations
* Handle delete workspace + refactor
* Add missing migration
* Fix test
* Code review returns
* Add missing operation in migration file
* Fix code review return update
* Fix workspaceMember<>ConnectedAccount relation
2024-03-28 17:59:48 +01:00
martmull
0cc0929bd0
Rename refreshToken to appToken and add fields ( #4691 )
2024-03-28 14:07:12 +01:00
martmull
ab028b8c22
60 fix svg xcc vulnerability ( #4660 )
...
* Add domPurify
* Sanitize svg files
* Add is-svg package
* Use isSvg package
* Revert "Use isSvg package"
This reverts commit 05014b51076505d8766ca8c4c3233f6563869b17.
* Revert "Add is-svg package"
This reverts commit ad3e206ea6b09c2579bd79ac570b69694936fb7b.
* Code review returns
2024-03-26 16:10:45 +01:00
martmull
e2af5b8628
4525 upgrade pg graphql ( #4646 )
...
* TO remove: add multiple workspace with command
* TO remove: update build script
* Update script and add doc
* TO remove: add more seed workspaces
* Build pg_graphql files for 1.5.1
* Build pg_graphql files for 1.5.1 macos arm
* Remove 600 seed workspaces
* Build pg_graphql files for 1.5.1 macos intel
2024-03-25 15:08:17 +01:00
martmull
8e4123e772
48 add yearly monthly sub switch ( #4577 )
2024-03-21 10:47:25 +01:00
martmull and Félix Malfait
35d41e38c8
Set optional checkout.session.url ( #4569 )
...
* Set optional checkout.session.url
* Lint
* Edit .env.example
* Vale CI
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-03-20 07:04:07 +01:00
martmull
62d414ee66
40 remove self billing feature flag ( #4379 )
...
* Define quantity at checkout
* Remove billing submenu when not isBillingEnabled
* Remove feature flag
* Log warning when missing subscription active workspace add or remove member
* Display subscribe cta for free usage of twenty
* Authorize all settings when subscription canceled or unpaid
* Display subscribe cta for workspace with canceled subscription
* Replace OneToOne by OneToMany
* Add a currentBillingSubscriptionField
* Handle multiple subscriptions by workspace
* Fix redirection
* Fix test
* Fix billingState
2024-03-12 18:10:27 +01:00
martmull
4a7a629824
44 add blocking middleware payment failed ( #4339 )
...
* Add info ui component
* Add info in billing settings
* Add billing middleware
* Handle subscription canceled webhook event
* Stop deleting billingSubscription when subscription canceled
* Handle subscription unpaid recovery
* Handle subscription canceled status
* Fix test
* Add test
* Fix test chatSupport display
* Fix design
2024-03-07 17:22:58 +01:00
martmull
0b889ef089
43 add billing portal link ( #4318 )
...
* Add create billing portal session endpoint
* Rename checkout to checkoutSession
* Add billig portal query in twenty-front
* Add billing menu item
* WIP: add menu page
* Code review returns
* Rename request files
* Unwip: add menu page
* Add billing cover image
* Fix icon imports
* Rename parameter
* Add feature flag soon pill
2024-03-05 17:40:58 +01:00
martmull
28a093d495
42 add billing portal endpoint ( #4315 )
...
* Add create billing portal session endpoint
* Rename checkout to checkoutSession
* Code review returns
2024-03-05 15:28:45 +01:00
martmull
8f6200be7d
41 update subscription when workspace member changes 2 ( #4252 )
...
* Add loader and disabling on checkout button
* Add Stripe Subscription Item id to subscriptionItem entity
* Handle create and delete workspace members
* Update billing webhook
* Make stripe attribute private
* Fixing webhook error
* Clean migration
* Cancel subscription when deleting workspace
* Fix test
* Add freetrial
* Update navigate after signup
* Add automatic tax collection
2024-03-01 17:29:28 +01:00
martmull
9ca3dbeb70
39 create subscription and success modale ( #4208 )
...
* Init add choose your plan page component
* Update price format
* Add billing refund trial duration env variable
* Add billing benefits
* Add Button
* Call checkout endpoint
* Fix theme color
* Add Payment success modale
* Add loader to createWorkspace submit button
* Fix lint
* Fix dark mode
* Code review returns
* Use a resolver for front requests
* Fix 'create workspace' loader at sign up
* Fix 'create workspace' with enter key bug
2024-02-28 19:51:04 +01:00
martmull and Charles Bochet
05c206073d
38 add billing webhook endpoint ( #4158 )
...
* Add self billing feature flag
* Add two core tables for billing
* Remove useless imports
* Remove graphql decorators
* Rename subscriptionProduct table
* WIP: Add stripe config
* Add controller to get product prices
* Add billing service
* Remove unecessary package
* Simplify stripe service
* Code review returns
* Use nestjs param
* Rename subscription to basePlan
* Rename env variable
* Add checkout endpoint
* Remove resolver
* Merge controllers
* Fix security issue
* Handle missing url error
* Add workspaceId in checkout metadata
* Add BILLING_STRIPE_WEBHOOK_SECRET env variable
* WIP: add webhook endpoint
* Fix body parser
* Create Billing Subscription on payment success
* Set subscriptionStatus active on webhook
* Add useful log
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-24 17:30:32 +01:00
martmull
c96e210ef1
47 add stripe checkout endpoint ( #4147 )
...
* Add self billing feature flag
* Add two core tables for billing
* Remove useless imports
* Remove graphql decorators
* Rename subscriptionProduct table
* WIP: Add stripe config
* Add controller to get product prices
* Add billing service
* Remove unecessary package
* Simplify stripe service
* Code review returns
* Use nestjs param
* Rename subscription to basePlan
* Rename env variable
* Add checkout endpoint
* Remove resolver
* Merge controllers
* Fix security issue
* Handle missing url error
* Add workspaceId in checkout metadata
2024-02-24 17:19:51 +01:00
martmull
679456e819
46 add stripe product endpoint ( #4133 )
...
* Add self billing feature flag
* Add two core tables for billing
* Remove useless imports
* Remove graphql decorators
* Rename subscriptionProduct table
* WIP: Add stripe config
* Add controller to get product prices
* Add billing service
* Remove unecessary package
* Simplify stripe service
* Code review returns
* Use nestjs param
* Rename subscription to basePlan
* Rename env variable
2024-02-22 20:11:26 +01:00
martmull
d4fac2ea70
45 create billing core tables ( #4096 )
...
* Add self billing feature flag
* Add two core tables for billing
* Remove useless imports
* Remove graphql decorators
* Rename subscriptionProduct table
2024-02-21 18:17:09 +01:00
martmull
1b983b005d
Fix storybook ( #4028 )
2024-02-16 18:06:19 +01:00
martmull
f2ff3e7ab7
Fix onboarding status ( #4019 )
...
* Fix onboarding status
* Add comment
* Fix jest tests
2024-02-16 16:58:49 +01:00
martmull
0ee512a983
3959 create a activationstatus in coreworkspace and use it in front to redirect properly ( #3989 )
...
* Add computed field to workspace entity
* Add activationStatus to front requests
* Update Selector
* Use activation status
* Stop using selector for mock values
* Remove isCurrentWorkspaceActiveSelector
* Use activation status
* Fix typo
* Use activation status
* Create hook for sign in up navigate
* Update hook to handle profile creation
* Use varaible
* Use more readable boolean function
2024-02-16 16:00:39 +01:00
martmull and Charles Bochet
a06b6c9078
3757 update frontend to show correct view count ( #3967 )
...
* Add totalCount to fetch record request
* Add totalCount to object board
* WIP Add totalCount to object table
* Update query total count on update / delete optimistic effects
* Remove console log
* Load fewer data for totalcount
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-16 14:33:51 +01:00
martmull
8636be5e4b
3129 show page relation field add delete menu item ( #3975 )
...
* Fix typing error
* Add delete relation button
* Disable delete for workspace members
* Fix lint
2024-02-15 11:31:21 +01:00
martmull
15a5fec545
Zapier add description to labels ( #3787 )
...
* Use object metadata graphql api to fetch input fields
* Clean code
* Clean code
* Remove targetColumnMap
* Remove duplicated testing
* Fix labels
2024-02-13 22:22:47 +01:00
martmull
d016e5ff03
BUG FIX: Create workspace member if inviteHash exists ( #3917 )
...
Create workspace member if inviteHash exists
2024-02-12 17:43:26 +01:00
martmull
9299ad1432
Fix delete incomplete workspaces ( #3893 )
...
* Fix delete incomplete workspaces
* Add multiple workspace filtering option
2024-02-09 12:26:10 +01:00
martmull and Charles Bochet
7425223f83
3628 timebox separate user creation from workspace creation ( #3737 )
...
* Remove workspace schema creation from signUp
* Set user workspaceMember nullable
* Remove workspace creation
* Handle null workspace in tokens
* Update onboarding status
* Generate types
* Move createWorkspace to workspace resolver
* Create workspace after signup
* Update createWorkspace return type
* Update createWorkspace return type
* Create core.workspace at signup
* WIP
* Fix create workspace
* Fix create workspace
* Clean code
* Remove useless recoil set
* Simplify create workspace request
* Set currentWorkspace at login
* Fix tests
* Create a recoil value for is workspaceSchema created
* Rename createWorkspace to createWorkspaceSchema
* Code review returns
* Use AppPath when possible
* Try without state
* Fix
* Fixes
* Rename createWorkspaceSchema to activateWorkspace
* Remove defaultAvatarUrl from user
* Add defaultAvatarUrl to core user
This reverts commit 1701c30eb18804558293cc42043aedf96ea888df.
* Add defaultAvatarUrl to core user
This reverts commit 1701c30eb18804558293cc42043aedf96ea888df.
* Fix ci
* Fix tests
* Fix storybook
* Fix test
* Remove useless query
* Fix test
* Fix test
* Fix mock data
* Fix test
* Clean Mock Requests
* Fix tentative
* Revert "Clean Mock Requests"
This reverts commit 8aa20a34363ffddfdee24f18fc80b27ea0ad5e1d.
* Fix
* Revert "Fix"
This reverts commit 2df7e9b6569b8bfb53f6a45391db725e28d16a18.
* Revert "Revert "Clean Mock Requests""
This reverts commit 3aefef8e9600d161434a047e845563d1b8e0692e.
* Revert "Fix tentative"
This reverts commit 13e7748d6f3b3858d30fb08adbc8ad347c5556ee.
* Update filename
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-09 12:06:11 +01:00
martmull and Charles Bochet
bcc62596f6
Add defaultAvatarUrl to core user ( #3883 )
...
* Add defaultAvatarUrl to core user
This reverts commit 1701c30eb18804558293cc42043aedf96ea888df.
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-08 14:46:37 +01:00
martmull
00a46b21dc
3272 add a page to create and edit webhook ( #3859 )
...
* Reorganize files
* Add new webhook form
* Reorganize files
* Add Webhook update
* Fix paths
* Code review returns
2024-02-08 13:02:37 +01:00
martmull and Charles Bochet
7001ca83d1
3491 launch cleaning cron ( #3872 )
...
* Add command to delete incomplete workspaces
* Inject command dependencies
* Fix command
* Do not delete core.workspace
* Reorganize files
* Delete src/workspace/cron
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-07 18:52:48 +01:00
martmull
eb54401afe
Fix bug and remove useless stuff ( #3861 )
2024-02-06 18:06:15 +01:00
martmull
68e65e9526
Fix zapier ( #3688 )
...
* Fix zapier testing
* Fix zapier create action
* Add timezone to dates
2024-02-01 15:19:42 +01:00
martmull
b49a8b84db
Remove error when new_psw==old_psw ( #3637 )
2024-01-26 12:11:46 +01:00
martmull
0982c78a85
Fix missing package in twenty-emails ( #3631 )
2024-01-26 10:53:38 +01:00
martmull
ca6250286a
Reset workspaces to delete between executions ( #3625 )
2024-01-25 18:06:53 +01:00
martmull
8ffd958a3c
Fix twenty-emails build ( #3608 )
2024-01-24 17:41:38 +01:00
martmull
b991790f62
Update clean inactive workspaces ( #3600 )
...
* Fix typo
* Add dry-run option in clean inactive workspaces
* Add logs
* Chunk workspace metadata
* Add BCC to clean workspace notification email
* Send workspace to delete ids in one email
* Update example
* Update function naming
2024-01-24 12:51:42 +01:00
martmull
e358d677f9
Move emails to dedicated package ( #3542 )
...
* Add new package
* Add twenty-emails package
* Use generated files from twenty-emails in twenty-server
* Fix deleted file
* Import emails templates properly
2024-01-22 16:21:56 +01:00
martmull
e45a825a3a
Update logging for smtp emails ( #3536 )
2024-01-22 16:06:10 +01:00
martmull
bb91917ff8
Improve webhook ( #3459 )
...
* Add trigger record
* Merge triggers
* Merge creates
* Fix libraries
* Fix create merged key
* Rename file
* Remove list Record Ids
* Revert "Rename file"
This reverts commit 2e72e05793ced4553eec8d9f890d31beae594c85.
* Revert "Revert "Rename file""
This reverts commit e2d93fa02716093df6d4d6029af9cc324c06f06b.
* Revert "Remove list Record Ids"
This reverts commit 6653fb6ccd4307e3958b70923505034d92cf43bb.
* Remove namePlural field
* Use name singular for webhooks
* Send webhook metadata
* Extract resource from zapier webhook
* Fix package.json
* Fix package.json
* Update payload
* Fix package.json
* Update payload
* Update payload
* Rename file
* Use wildcard in webhook events
* Fix nameSingular
* Code review returns
* Code review returns
2024-01-16 15:31:09 +01:00
martmull and Charles Bochet
49a9a2c2be
2252 build a script to cleanup inactive workspaces ( #3307 )
...
* Add cron to message queue interfaces
* Add command to launch cron job
* Add command to stop cron job
* Update clean inactive workspaces job
* Add react-email
* WIP
* Fix import error
* Rename services
* Update logging
* Update email template
* Update email template
* Add Base Email template
* Move to proper place
* Remove test files
* Update logo
* Add email theme
* Revert "Remove test files"
This reverts commit fe062dd05166b95125cf99f2165cc20efb6c275a.
* Add email theme 2
* Revert "Revert "Remove test files""
This reverts commit 6c6471273ad765788f2eaf5a5614209edfb965ce.
* Revert "Revert "Revert "Remove test files"""
This reverts commit f851333c24e9cfe3f425c9cbbd1e079efce5c3dd.
* Revert "Revert "Revert "Revert "Remove test files""""
This reverts commit 7838e19e88e269026e24803f26cd52b467b4ef36.
* Fix theme
* Reorganize files
* Update clean inactive workspaces job
* Use env variable to define inactive days
* Remove FROM variable
* Use feature flag
* Fix cron command
* Remove useless variable
* Reorganize files
* Refactor some code
* Update email template
* Update email object
* Remove verbose log
* Code review returns
* Code review returns
* Simplify handle
* Code review returns
* Review
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-13 12:03:41 +01:00
martmull
b3d9bed91d
Enforce email templating ( #3355 )
...
* Add react-email
* WIP
* Fix import error
* Rename services
* Update logging
* Update email template
* Update email template
* Add Base Email template
* Move to proper place
* Remove test files
* Update logo
* Add email theme
* Revert "Remove test files"
This reverts commit fe062dd05166b95125cf99f2165cc20efb6c275a.
* Add email theme 2
* Revert "Revert "Remove test files""
This reverts commit 6c6471273ad765788f2eaf5a5614209edfb965ce.
* Revert "Revert "Revert "Remove test files"""
This reverts commit f851333c24e9cfe3f425c9cbbd1e079efce5c3dd.
* Revert "Revert "Revert "Revert "Remove test files""""
This reverts commit 7838e19e88e269026e24803f26cd52b467b4ef36.
* Fix theme
2024-01-11 20:29:20 +01:00
martmull
361446d79c
Add cron mechanism ( #3318 )
...
* Add cron to message queue interfaces
* Add command to launch cron job
* Add command to stop cron job
* Update clean inactive workspaces job
* Isolate cron mechanism
* Code review returns
* Remove useless object.assign
* Add MessageQueuCronJobData interface
* Rename cron job utils
* Fix typing
2024-01-09 12:23:45 +01:00
martmull
d2e8df52cf
Add doc link in env file ( #3277 )
2024-01-08 10:42:03 +01:00
martmull
ae5558d8b5
Add mail driver ( #3205 )
...
* Add node mailer packages
* Init mailer module
* Add logger transport
* Use env variable to get transport
* Revert "Add node mailer packages"
This reverts commit 3fb954f0caef94266f96ff5f08de750073ab3491.
* Add nodemailer
* Use driver pattern
* Use logger
* Fix yarn install
* Code review returns
* Add configuration examples for smtp
* Fix merge conflict
* Add missing packages
* Fix ci
2024-01-05 16:08:19 +01:00
martmull
f35b40c428
Fix create trigger called twice ( #3243 )
...
* Fix create trigger called twice
* Add Zapier update action
* Add Zapier delete action
* Update description
* Add dropDown for ids
2024-01-05 11:44:47 +01:00
martmull
65250839fb
2248 zapier integration implement typeorm eventsubscribers ( #3122 )
...
* Add new queue to twenty-server
* Add triggers to zapier
* Rename webhook operation
* Use find one or fail
* Use logger
* Fix typescript templating
* Add dedicated call webhook job
* Update logging
* Fix error handling
2024-01-03 18:09:57 +01:00
martmull
ea06f04350
3207 fix render self deploy ( #3221 )
...
* Fix paths and commands for render deploy
* Remove breaking change
* Use twentycrm postgres image for postgres
* Fix render script
* Specify docker image version
* Fix postgres user
* Update setup command
2024-01-03 14:25:24 +01:00
martmull
b1841d0e2f
2114 timebox make sure the zapier integrations supports custom objects ( #3091 )
...
* Fix build command
* Add hidden trigger to fetch object names
* Remove useless actions
* Rename createObject to createRecord
2023-12-20 18:41:30 +01:00
martmull
ed7bd0ba26
2914 graphql api documentation ( #3065 )
...
* Remove dead code
* Create playground component
* Remove useless call to action
* Fix graphiql theme
* Fix style
* Split components
* Move headers to headers form
* Fix nodes in open-api components
* Remove useless check
* Clean code
* Fix css differences
* Keep carret when fetching schema
2023-12-20 12:01:55 +01:00
martmull
576492f3c0
3035 improve rest api syntax ( #3047 )
2023-12-18 13:46:21 +01:00
martmull
3ac4102c3c
2915 rest api documentation ( #3020 )
...
* Init rest-api page
* Add ugly form to fetch open api schema
* Clean code
* Make the form design more acceptable
* Update doc
* Use local storage
* Update design
* Add isLoading
* Fix typo
* Fix long lines
* Code review returns
* Remove staging and local url from servers
2023-12-15 18:13:13 +01:00
martmull
e3e42be723
Add generate openapi schema for rest api ( #2923 )
...
* Add generate openapi schema for rest api
* Split method in utils
* Add paramters
* Add error response
* Update description of filter and order by
* Add get/id routes
* Add delete route
* Use components
* Fix Typo
* Add tags
* Add create query
* Add required field
* Add update query
* Add body request example
* Add 201 on create request
* Add servers
* Fix failing test
* Add open-api endpoint
* Update description
* Return base schema if no auth
* Code review returns
* Use open-api/types
* Fix tag
* Use components for parameters
* Improve response examples
* Improve axios error message
* Fix tests
2023-12-13 14:58:34 +01:00
martmull
366ae0d448
2893 add data wrapper for mysql ( #2970 )
...
* Add mysql_fdw to postgres dockerfile
* Name and run detached docker containers
* Fix naming
2023-12-13 14:56:52 +01:00
martmull
e7bdb17128
Fix missing Wrappers version in dockerfile ( #2899 )
2023-12-08 17:48:37 +01:00
martmull
9b7d7b29ed
Update token verification and fix typo ( #2889 )
...
* Update token verification and fix typo
* Fix typo
2023-12-08 17:42:08 +01:00
martmull
88abb11448
Add postgres_fdw to database ( #2854 )
...
* Add postgres_fdw to database
* Add wrappers to database
* Add cp
2023-12-08 14:43:52 +01:00
martmull
4fecf6d8b9
Fix api rest ( #2860 )
...
* Throw an error if workspace id has no object
* Request only plurial object names
* Fix tests
* Fix query
* Handle graphql errors
* Fix comment
2023-12-07 14:10:24 +01:00
martmull
3cd1ec21e6
Throw an error if workspace id has no object ( #2857 )
...
* Throw an error if workspace id has no object
* Request only plurial object names
* Fix tests
* Fix query
* Handle graphql errors
2023-12-07 12:32:29 +01:00
martmull
b72d6a9d9d
Rest api updates ( #2844 )
...
* Fix typo
* Fix ':' parsing
* Add '' for strings
* Add 'in', 'is', 'neq', 'like', 'ilike', 'startWith' comparators
* Fix test
* Move mapFieldMetadataToGraphqlQuery to util
* Move filter utils to utils
* Split code into factories
* Fix order by parser
* Reorganize files
* Add tests for limit parser
* Add tests for last_cursor parser
* Add tests for last_filter parser
* Move filter utils to factory
* Update filter parser tests
* Code review returns
* Fix tests
* Remove LOCAL_SERVER_URL
* Simplify and fix filter string parser
* Rename parser to input
* Add new lines for more readability
* Use unary plus
* Use nextjs errors
* Use destructuring
* Remove useless else
* Use FieldMetadata types
* Rename enums
* Move methods to utils
* Lint project
* Use singular name if id provided
* Handle typing
* Handle typing
* Minor update
* Simplify order by parser
* Lint
* handle missing conjunction
* filter parser update
2023-12-06 16:55:42 +01:00
martmull
2c211c1a2e
Fix zapier validation team request ( #2806 )
2023-12-04 13:36:35 +01:00
martmull
97f154ef2c
Add rest api ( #2757 )
...
* Add a wildcard get route
* Call api from api
* Add a query formatter
* Use headers to authenticate
* Handle findMany query
* Add limit, orderBy and lastCursor parameters
* Add filter parameters
* Remove singular object name from valid requests
* Update order_by format
* Add depth parameter
* Make /api/objects/ID requests work
* Fix filter
* Add INTERNAL_SERVER_URL env variable
* Remove useless comment
* Change bath api url to 'rest'
* Fix limit parser
* Handle full filter version
* Improve handle full filter version
* Continue rest api
* Add and(...) default behaviour on filters
* Add tests
* Handle 'not' conjunction for filters
* Check filter query
* Format values with field metadata item type
* Handle nested filtering
* Update parsing method
* Check nested fields
* Add delete query
* Add create query
* Rename methods
* Add update query
* Update get one object request
* Fix error handling
* Code review returns
2023-12-01 16:26:39 +01:00
martmull
7752be8f9a
Remove mandatory parameters ( #2743 )
2023-11-28 10:02:21 +01:00
martmull
7b02391b22
Remove zapier trigger company ( #2742 )
...
* Fix zapier tests
* Handle nested fields
* Code review returns
* Add more sample
* Update trigger sample
* Remove zapier trigger company
2023-11-28 09:58:41 +01:00
martmull
0fc3c7c567
Fix zapier ( #2740 )
...
* Fix zapier tests
* Handle nested fields
* Code review returns
* Add more sample
* Update trigger sample
2023-11-28 09:32:45 +01:00
martmull
a413b29dd4
Fix zapier ( #2735 )
...
* Fix zapier tests
* Handle nested fields
* Code review returns
2023-11-27 18:09:21 +01:00
martmull
cefac8435b
Fix limit pagination ( #2692 )
...
* Fix limit parameter
* Increaze max_row for each workspaces
2023-11-24 17:02:41 +01:00
martmull and Jérémy Magrin
59e53ba72d
Fix microAmount ( #2654 )
...
* Fix microAmount
* Code review returns
* Parse currency values as string
* Jeremy's returns
* fix: scalars not properly implemented
* fix: filters not working on big float scalar
---------
Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com >
2023-11-23 15:26:59 +01:00
martmull
713eada9ef
Fix order by ( #2646 )
...
* Order by createdAt desc if no sort provided
* Fix '0' currency amounts
* Code review returns
2023-11-22 16:19:04 +01:00
martmull
4a0e0ee386
Fix view seeds ( #2638 )
2023-11-22 12:29:44 +01:00
martmull
eb64baa62e
Fix api Keys ( #2583 )
2023-11-20 10:57:08 +01:00
martmull
900c863f02
Improvements for migrations ( #2573 )
...
* Fix optimistic effects
* Fix merge issue
2023-11-17 19:09:46 +01:00
martmull
becd7c2ece
Fix implicit index provided in mapping function ( #2558 )
2023-11-17 14:51:22 +01:00
martmull
dea1555031
Improvements for migrations ( #2556 )
...
* Fix wrong var name
* Add is null is not null filtering on dates
* Simplify
2023-11-17 14:20:33 +01:00