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