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

BP-1200: Fix subscription to doc updates #342

Merged
merged 5 commits into from
Sep 13, 2024

Commits on Sep 2, 2024

  1. BP-1200: Subscribe to _all_ changes, not just to Label changes.

    The frontend is not getting the events from Redis when packages
    are imported. This is because it was only subscribed to records
    with Labels, and not all records have them. This commit makes
    the pattern of the subscription wider, so that all events are
    sent from the backend.
    andreparames committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    4222c9c View commit details
    Browse the repository at this point in the history
  2. BP-1200: Don't assume the format of patterns in WS events

    The code was assuming that the event data of an updated
    record/document always contained its Name. But sometimes the
    pattern may not be a subscription to that specific document, but
    a more generic one (like Name:"*"), and so in that case, the first
    pattern may not matched that assumption.
    
    This commit updates the code to read the document name from the
    event's "key" structure instead.
    andreparames committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    87ee420 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Set the doc as not loaded (when importing non-existing docs)

    Paulo Andre Azevedo Quirino committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    855f0e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa8009c View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. Fix changelog

    diasnad committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    623b467 View commit details
    Browse the repository at this point in the history