dce5a64ec5
Fix images in note rich text ( #6550 )
...
## Before
<img width="439" alt="Screenshot 2024-08-06 at 11 20 06"
src="https://github.com/user-attachments/assets/d2aa9411-cdf4-4457-8997-7cbecb8fe7e3 ">
## After
<img width="501" alt="Screenshot 2024-08-06 at 11 20 09"
src="https://github.com/user-attachments/assets/a5a68fff-1542-4b62-939c-50070f15b692 ">
2024-08-07 11:45:17 +02:00
48d0a3649d
Remove fileService getFileStream fallback after completed migration ( #6558 )
...
To merge once the command has been executed.
2024-08-06 18:19:50 +02:00
4157a67bf8
Fix permissions for serverless functions ( #6555 )
...
Fixes #6525
(@martmull fyi it was not related to AWS but linked to the fact that we
recently enforced passing a token to access files)
2024-08-06 15:31:22 +02:00
8373dfdc26
Webhook wip ( #6371 )
...
This PR introduces the following changes:
- Add the ability to filter webhooks by objectSingularName and Actions
- Refactor SettingsWebhookDetails edition to not use react-hook-form
(which will be deprecated on the whole project)
- Updating the tests with a complex set of mock (we just need to fix ~30
of them now :D)
<img width="1053" alt="image"
src="https://github.com/user-attachments/assets/4e56d972-f129-4789-8d1c-4b5797a8ffd7 ">
2024-08-05 23:14:29 +02:00
c543716381
Various fixes: profilePicture / logo upload, imageIdentifiers ( #6530 )
...
In this PR:
- refactoring auth module to extract a jwt module that can be re-used
from other part of the app (avoiding circular dependencies file module
=> auth => file (file and auth both need jwt actually)
- activating imageIdentfier on person on workspace creation (this will
put back the images on people)
- fixing picture upload (we were missing some fileToken)
2024-08-04 15:08:25 +02:00
5870979bfa
Fix missing encoding in workspace-logo, members, person ( #6510 )
2024-08-02 15:18:48 +02:00
a424c63476
file storage workspace id prefix ( #6230 )
...
closes https://github.com/twentyhq/twenty/issues/6155
just an idea, i guess this could work well, but im open for discussion
---------
Co-authored-by: Weiko <corentin@twenty.com >
2024-08-01 18:07:22 +02:00
00fea17920
Serverless function UI ( #6388 )
...
https://www.figma.com/design/xt8O9mFeLl46C5InWwoMrN/Twenty?node-id=36235-120877
Did not do the file manager part. A Function is defined using one unique
file at the moment
Feature protected by featureFlag `IS_FUNCTION_SETTINGS_ENABLED`
## Demo
https://github.com/user-attachments/assets/0acb8291-47b4-4521-a6fa-a88b9198609b
2024-07-29 13:03:09 +02:00
47ddc7be83
6181 workflows create a custom code executor ( #6235 )
...
Closes #6181
## Testing
- download Altair graphql dev tool https://altairgraphql.dev/#download
- create a file locally `test.ts` containing:
```
export const handler = async (event: object, context: object) => {
return { test: 'toto', data: event['data'] };
}
```
- play those requests in Altair:
mutation UpsertFunction($file: Upload!) {
upsertFunction(name: "toto", file: $file)
}
mutation ExecFunction {
executeFunction(name:"toto", payload: {data: "titi"})
}
- it will run the local driver, add those env variable to test with
lambda driver
```
CUSTOM_CODE_ENGINE_DRIVER_TYPE=lambda
LAMBDA_REGION=eu-west-2
LAMBDA_ROLE=<ASK_ME>
```
2024-07-17 17:53:01 +02:00
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
e5c1309e8c
feat: wip server folder structure ( #4573 )
...
* feat: wip server folder structure
* fix: merge
* fix: wrong merge
* fix: remove unused file
* fix: comment
* fix: lint
* fix: merge
* fix: remove console.log
* fix: metadata graphql arguments broken
2024-03-20 16:23:46 +01:00