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
martmull
454f893eea
Fix objectMetadataId to objectRecordId incorrect naming ( #2554 )
...
Fix wrong var name
2023-11-17 11:26:45 +01:00
martmull
e8a1d0d6d5
Remove api keys from old world ( #2548 )
...
* Use apiKeyV2 for getApiKeys
* Use apiKeyV2 for createApiKey
* Use apiKeyV2 for getApiKey
* Use apiKeyV2 to deleteapikey
* Filter null revokedAt -> not working
* Use apiKeyV2 to regenerate
* Fix default values injected
* Remove useless stuff
* Fix type
2023-11-16 18:14:04 +01:00
martmull
66051fa077
Fix api keys ( #2513 )
2023-11-15 16:57:05 +01:00
martmull
fe20be8487
0.2.0 cleaning script ( #2403 )
...
* Update cleaning script to run on old schema
* Add boundaries parameter
* Stop requesting data for each workspace/table
* Stop checking same as seed if not requested
* Minor update
* Minor update
* Minor update
* Minor update
* Minor update
* Simplify result
* Simplify result
* Simplify result
* Delete updates
* Fix issues
* Update logs
* Remove throw when schema does not exist
* Remove missing table in old schema
* Remove boundaries parameter
* Remove useless trycatch
2023-11-09 12:18:09 +01:00
martmull
0ae56b055c
Clean metadata and schema ( #2382 )
2023-11-07 12:33:54 +01:00
martmull
462c7ebdc1
0.2.0 cleaning script ( #2379 )
...
* Move question to questions folder
* Aggregate update result functions
* Use lodash to compare list of objects
* Remove favorites from tables
* Add a workspace parameter
* Move question after result log
* Improve logging
* Code review returns
* Add only lodash.isequal
2023-11-07 11:10:14 +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
martmull and Charles Bochet
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
martmull
236742e88c
Fix api keys refresh ( #2283 )
...
* Move code to dedicated function
* Format cached data with proper typename
2023-10-30 17:48:34 +01:00
martmull
35237c05f3
Fix cache management ( #2264 )
2023-10-27 18:20:11 +02:00
martmull
fc4075b372
2062 view edit an api key ( #2231 )
...
* Add query to get api keys
* Add a link to apiKey detail page
* Reset generatedApiKey when leaving page
* Simplify stuff
* Regenerate key when clicking on button
* Simplify
* Fix test
* Refetch apiKeys when delete or create one
* Add test for utils
* Create utils function
* Enable null expiration dates
* Update formatExpiration
* Fix display
* Fix noteCard
* Fix errors
* Fix reset
* Fix display
* Fix renaming
* Fix tests
* Fix ci
* Fix mocked data
* Fix test
* Update coverage requiremeents
* Rename folder
* Code review returns
* Symplify sht code
2023-10-26 11:32:44 +02:00
martmull
d61511262e
2060 create a new api key ( #2206 )
...
* Add folder for api settings
* Init create api key page
* Update create api key page
* Implement api call to create apiKey
* Add create api key mutation
* Get id when creating apiKey
* Display created Api Key
* Add delete api key button
* Remove button from InputText
* Update stuff
* Add test for ApiDetail
* Fix type
* Use recoil instead of router state
* Remane route paths
* Remove online return
* Move and test date util
* Remove useless Component
* Rename ApiKeys paths
* Rename ApiKeys files
* Add input text info testing
* Rename hooks to webhooks
* Remove console error
* Add tests to reach minimum coverage
2023-10-24 16:14:54 +02:00
martmull
993be61ee2
fix 2049 timebox 1j zapier integration 4 define and implement a first trigger for zapier app ( #2139 )
...
Update dotenv dependency
2023-10-20 11:43:27 +02:00
martmull and Charles Bochet
e9092162e0
2049 timebox 1j zapier integration 4 define and implement a first trigger for zapier app ( #2132 )
...
* Add create company trigger
* Refactor
* Add operation in subscribe
* Add create hook api endpoint
* Add import of hook module
* Add a test for hook subscribe
* Add delete hook api endpoint
* Add delete hook test
* Add findMany hook route
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-10-19 22:48:34 +02:00
martmull
f4e192afb3
Add dotenv in zapier app ( #2121 )
...
* Add dotenv in zapier app
* Add zapier cli also
2023-10-19 15:49:09 +02:00
martmull
b904397599
Fix api keys ( #2116 )
...
* Distinguish local env variables
* Remove api token secret
2023-10-19 11:07:40 +02:00
martmull
51a06b3ebd
2052 zapier integration 5 deploy twenty zapier app into the public repository ( #2101 )
...
* Add create_company Zap action
* Add testing for that action
* Core review returns
2023-10-18 17:56:40 +02:00
martmull
54735c4880
2038 zapier integration 1 initialize a zapier app with a twenty related account ( #2089 )
...
* Add doc for Zapier development
* Add twenty-zapier package
* Install zapier packages
* Update doc
* Add twenty-zapier app
* Update doc
* Update apiKey slug
* Update integration
* Update create people to person
* Update version
* Fix lint
* Remove useless comments
* Update docs
* Update version
* Update naming
* Add prettier
* Simplify docs
* Remove twenty related stuff from public doc
* Use typescript boilerplate
* Update details
2023-10-17 21:00:20 +02:00
martmull and martmull
8fbad7d3ba
1043 timebox prepare zapier integration ( #1967 )
...
* Add create api-key route
* Import module
* Remove required mutation parameter
* Fix Authentication
* Generate random key
* Update Read ApiKeyAbility handler
* Add findMany apiKey route
* Remove useless attribute
* Use signed token for apiKeys
* Authenticate with api keys
* Fix typo
* Add a test for apiKey module
* Revoke token when api key does not exist
* Handler expiresAt parameter
* Fix user passport
* Code review returns: Add API_TOKEN_SECRET
* Code review returns: Rename variable
* Code review returns: Update code style
* Update apiKey schema
* Update create token route
* Update delete token route
* Filter revoked api keys from listApiKeys
* Rename endpoint
* Set default expiry to 2 years
* Code review returns: Update comment
* Generate token after create apiKey
* Code review returns: Update env variable
* Code review returns: Move method to proper service
---------
Co-authored-by: martmull <martmull@hotmail.com >
2023-10-12 18:07:44 +02:00
martmull and martmull
d0175fc541
Fix import error ( #1947 )
...
Co-authored-by: martmull <martmull@hotmail.com >
2023-10-09 17:40:05 +02:00