Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-4797 Implement websockets [WIP] #5237

Closed

Commits on Apr 14, 2024

  1. Configuration menu
    Copy the full SHA
    ade0ef5 View commit details
    Browse the repository at this point in the history
  2. Add feature flag constant

    i-am-chitti committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    0ad6155 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. Configuration menu
    Copy the full SHA
    c1c98f0 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. Configuration menu
    Copy the full SHA
    3aeb60f View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. Configuration menu
    Copy the full SHA
    dd51a85 View commit details
    Browse the repository at this point in the history
  2. Add event listeners

    i-am-chitti committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    2d20c00 View commit details
    Browse the repository at this point in the history
  3. Add subscription resolver

    i-am-chitti committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    2e874e2 View commit details
    Browse the repository at this point in the history
  4. Add subscription module

    i-am-chitti committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    8fd2094 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9014583 View commit details
    Browse the repository at this point in the history
  6. Update core-engine module

    i-am-chitti committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    9b1f5ea View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. Configuration menu
    Copy the full SHA
    1196084 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Configuration menu
    Copy the full SHA
    6e75a38 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2024

  1. Configuration menu
    Copy the full SHA
    47d917f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3e8fa12 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2024

  1. feat: update links field (twentyhq#5212)

    Closes twentyhq#5113
    
    ---------
    
    Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com>
    2 people authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    2f1e6c4 View commit details
    Browse the repository at this point in the history
  2. Add relation in CSV exports (twentyhq#5085)

    ### Description
    
    Add Relation Id to Table in CSV exports
    
    ### Demo
    
    Before:
    
    
    <https://www.loom.com/share/c853cf32767947dcb23a91363bff52c4?sid=0295b6ee-4510-47f8-8ba9-b81b5182985a>
    
    After:
    
    
    <https://www.loom.com/share/5aa4f87a266c4d96881170a38e063fc0?sid=44eed60c-01a2-406f-9bac-af162e39b66e>
    
    Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
    Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
    Co-authored-by: v1b3m <vibenjamin6@gmail.com>
    Co-authored-by: Chiazokam <chiazokamecheta@gmail.com>
    5 people authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    62bd61c View commit details
    Browse the repository at this point in the history
  3. Enable phone field type (twentyhq#5052)

    ### Description
    
     Enable phone field type
    
    ### Refs
    
    twentyhq#2700
    
    ### Demo
    
    
    https://github.com/twentyhq/twenty/assets/140154534/e9810718-9916-4ad4-a080-4d718777de15
    
    Fixes twentyhq#2700
    
    ---------
    
    Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
    Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
    3 people authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    0983a20 View commit details
    Browse the repository at this point in the history
  4. Bump to 0.10.5

    charlesBochet authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    1737fdb View commit details
    Browse the repository at this point in the history
  5. User workspace middleware throws 401 if token is invalid (twentyhq#5245)

    ## Context
    Currently, this middleware validates the token and stores the user,
    workspace and cacheversion in the request object.
    It only does so when a token is provided and ignores the middleware
    logic if not. If the token is invalid or expired, the exception is
    swallowed.
    
    This PR removes the try/catch and adds an allowlist to skip the token
    validation for operations executed while not signed-in.
    I don't know a better way to do that with Nestjs. We can't easily add
    the middleware per resolver without refactoring the flexible schema
    engine so I'm doing it the other way around.
    
    Fixes twentyhq#5224
    Weiko authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    a41f813 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9f38c94 View commit details
    Browse the repository at this point in the history
  7. [feat] Minor updates to the edit db connection page (twentyhq#5250)

    - Add placeholders in db connection edit page
    - Fix icon alignement and size (should not change) in Info banner
    ijreilly authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    bb9a4b1 View commit details
    Browse the repository at this point in the history
  8. [calendar] hide calendar settings until implemented (twentyhq#5252)

    ## Context
    Those settings are not implemented yet, we would like to move them to a
    different page as well.
    In the meantime, we are hiding them since we plan to launch calendar in
    the next release and this won't be implemented before.
    
    We will implement it in this
    twentyhq#5140
    Weiko authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    ceef884 View commit details
    Browse the repository at this point in the history
  9. Fix sync metadata script (twentyhq#5253)

    While troubleshooting self-hosting migration, we run into issues with
    sync-metadata script introduced by recent changes
    charlesBochet authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    7946553 View commit details
    Browse the repository at this point in the history
  10. Bump to 0.10.6

    charlesBochet authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    ac5cb6e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b287ddb View commit details
    Browse the repository at this point in the history
  12. Build stripe integration on backend side (twentyhq#5246)

    Adding stripe integration by making the server logic independent of the
    input fields:
    - query factories (remote server, foreign data wrapper, foreign table)
    to loop on fields and values without hardcoding the names of the fields
    - adding stripe input and type
    - add the logic to handle static schema. Simply creating a big object to
    store into the server
    
    Additional work:
    - rename username field to user. This is the input intended for postgres
    user mapping and we now need a matching by name
    
    ---------
    
    Co-authored-by: Thomas Trompette <thomast@twenty.com>
    2 people authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    83849ef View commit details
    Browse the repository at this point in the history
  13. fix workspace-member deletion with existing attachments/documents (tw…

    …entyhq#5232)
    
    ## Context
    We have a non-nullable constraint on authorId in attachments and
    documents, until we have soft-deletion we need to handle deletion of
    workspace-members and their attachments/documents.
    This PR introduces pre-hooks to deleteOne/deleteMany
    This is called when a user deletes a workspace-member from the members
    page
    
    Next: needs to be done on user level as well. This is called when users
    try to delete their own accounts. I've seen other issues such as
    re-creating a user with a previously used email failing.
    Weiko authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    5c23614 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    6f73094 View commit details
    Browse the repository at this point in the history
  15. Fix token validation on graphql IntrospectionQuery (twentyhq#5255)

    ## Context
    We recently introduced a change that now throws a 401 if the token is
    invalid or expired.
    The first implementation is using an allow list and 'IntrospectionQuery'
    was missing so the playground was broken.
    
    The check has been updated and we now only check the excludedOperations
    list if a token is not present. This is because some operations can be
    both used as loggedIn and loggedOut so we want to validate the token for
    those sometimes (and set the workspace, user, cache version, etc). Still
    not a very clean solution imho.
    Weiko authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    ce1f6bc View commit details
    Browse the repository at this point in the history
  16. Fix filter transform with logic operators (twentyhq#5269)

    Various fixes
    
    - Remote objects are read-only for now, we already hide and block most
    of the write actions but the button that allows you to add a new record
    in an empty collection was still visible.
    - CreatedAt is not mandatory on remote objects (at least for now) so it
    was breaking the show page, it now checks if createdAt exists and is not
    null before trying to display the human readable format `Added x days
    ago`
    - The filters are overwritten in query-runner-args.factory.ts to handle
    NUMBER field type, this was only working with filters like
    ```
          {
            "id": {
              "in": [
                1
              ]
            }
    ```
    but not with more depth such as 
    ```
        "and": [
          {},
          {
            "id": {
              "in": [
                1
              ]
            }
          }
        ]
     ```
    - Fixes CREATE FOREIGN TABLE raw query which was missing ",".
    Weiko authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    00071a3 View commit details
    Browse the repository at this point in the history
  17. fix: fix storybook coverage task (twentyhq#5256)

    - Fixes storybook coverage command: the coverage directory path was
    incorrect, but instead of failing `storybook:test --configuration=ci`,
    it was hanging indefinitely.
    - Switches back to `concurrently` to launch `storybook:static` and
    `storybook:test` in parallel, which allows to use options to explicitly
    kill `storybook:static` when `storybook:test` fails.
    - Moves `storybook:test --configuration=ci` to its own command
    `storybook:static:test`: used in the CI, and can be used locally to run
    storybook tests without having to launch `storybook:dev` first.
    - Creates command `storybook:coverage` and enables cache for this
    command.
    - Fixes Jest tests that were failing.
    - Improves caching conditions for some tasks (for instance, no need to
    invalidate Jest test cache if only Storybook story files were modified).
    thaisguigon authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    089164b View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    726d5d1 View commit details
    Browse the repository at this point in the history
  19. [calendar] Fix calendar sync status (twentyhq#5272)

    ## Context
    There is no calendarChannel syncStatus column compared to the
    messageChannel table. In the meantime, we are trying to infer its status
    based on the fact that the connection hasn't failed and the sync is
    enabled
    Weiko authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    db2da77 View commit details
    Browse the repository at this point in the history
  20. Fix white screen on token expire (twentyhq#5271)

    While using middleware (executed pre-graphql) for graphql endpoint, we
    need to swallow exception and return errors with a 200. Otherwise it's
    not a valid graphql response
    charlesBochet authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    347efc4 View commit details
    Browse the repository at this point in the history
  21. Fix export with relations (twentyhq#5279)

    As title. Only relations are exported right now
    
    Co-authored-by: Thomas Trompette <thomast@twenty.com>
    2 people authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    072fcc9 View commit details
    Browse the repository at this point in the history
  22. Remove isMultiSelect feature flag (twentyhq#5280)

    As title
    
    Co-authored-by: Thomas Trompette <thomast@twenty.com>
    2 people authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    ec3e2e4 View commit details
    Browse the repository at this point in the history
  23. Added OG Image (twentyhq#5251)

    - Added dynamic OG Image to share and download in contributors page
    
    <img width="1176" alt="Screenshot 2024-05-02 at 16 24 00"
    src="https://github.com/twentyhq/twenty/assets/102751374/0579454b-ccc7-46ba-9875-52458f06ee82">
    
    - Added dynamic metadata 
    
    - Added design to contributor page
    
    - Added a NEXT_PUBLIC_HOST_URL in the .env file
    
    Co-authored-by: Ady Beraud <a.beraud96@gmail.com>
    2 people authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    6af88e5 View commit details
    Browse the repository at this point in the history
  24. Fix yoga patch user id cache (twentyhq#5285)

    Co-authored-by: Charles Bochet <charles@twenty.com>
    2 people authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    0b690a0 View commit details
    Browse the repository at this point in the history
  25. Create convert record positions to integers command (twentyhq#5287)

    ## Context
    Positions are used within a view to display and sort the different
    records of standard/custom object.
    When we add a new record and want to put it before the existing first
    record, we have to use float values to insert them in the DB and respect
    the desired order. We are adding a new command that can be executed to
    flatten those positions.
    
    ---------
    
    Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
    2 people authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    71c73a5 View commit details
    Browse the repository at this point in the history
  26. Remove Feature Flag on Calendar (twentyhq#5288)

    Remove Calendar feature Flag!
    charlesBochet authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    fa88c03 View commit details
    Browse the repository at this point in the history
  27. Fix Filtered index view infinite re-render (twentyhq#5286)

    The whole viewBar component was re-rendered on view changes which was
    introducing performance issue. The need was to compute page title, this
    should be done in a lower level component
    charlesBochet authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    1db3aae View commit details
    Browse the repository at this point in the history
  28. Bump versions to 0.11 (twentyhq#5289)

    As per title! 
    Bumping to 0.11.1 as we have already merged a few minor upgrades on top
    of 0.11
    charlesBochet authored and i-am-chitti committed May 4, 2024
    Configuration menu
    Copy the full SHA
    489abfd View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    c9db37b View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    d1313dc View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    23a7ff2 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. Configuration menu
    Copy the full SHA
    8980fc8 View commit details
    Browse the repository at this point in the history