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