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

Subscribe to annotation updates via WebSocket #2687

Closed
reckart opened this issue Nov 7, 2021 · 0 comments
Closed

Subscribe to annotation updates via WebSocket #2687

reckart opened this issue Nov 7, 2021 · 0 comments
Assignees
Projects
Milestone

Comments

@reckart
Copy link
Member

reckart commented Nov 7, 2021

Is your feature request related to a problem? Please describe.
It would be nice to be able to implement e.g. a visualization that subscribes to a certain area of a document (viewport) and then gets notified if there was an update in that area.

Describe the solution you'd like
A WebSocket based mechanism to which a browser-based visualization could easily subscribe.

@reckart reckart added this to the 22.0 milestone Nov 7, 2021
@reckart reckart self-assigned this Nov 7, 2021
@reckart reckart added this to 🔖 To do in Kanban via automation Nov 7, 2021
reckart added a commit that referenced this issue Nov 7, 2021
- Added DIAMController and DIAMControllerTest - DIAM is a WebSocket-based protocol for subscribing to annotation updates
- Formatting
- Switch back from `maven.multiModuleProjectDirectory` to a relative node path because `maven.multiModuleProjectDirectory` doesn't work in Eclipse
reckart added a commit that referenced this issue Nov 7, 2021
- When sending an update, remember the latest updated state of the viewport
reckart added a commit that referenced this issue Nov 7, 2021
- Move DIAM stuff into separate packages
- Added a DIAM Debug Editor (very basic)
- Fix a few things related to the differential update
reckart added a commit that referenced this issue Nov 7, 2021
reckart added a commit that referenced this issue Nov 9, 2021
- Added extension point to allow service to connect permissions of their objects with the Spring Security `hasPermission` expression
- Use that to protect message topics from subscription by users that do not have access to the given project
reckart added a commit that referenced this issue Nov 11, 2021
- Enable accessing beans as part of security expressions
- Create a DocumentAccess bean with a method suitable for security expressions
- Use this new method to secure the annotation updates websocket channel
reckart added a commit that referenced this issue Nov 11, 2021
reckart added a commit that referenced this issue Nov 11, 2021
reckart added a commit that referenced this issue Nov 11, 2021
reckart added a commit that referenced this issue Nov 11, 2021
- Fixed dependency checking
- Added new access method to check if user can edit a document
reckart added a commit that referenced this issue Nov 11, 2021
reckart added a commit that referenced this issue Nov 12, 2021
reckart added a commit that referenced this issue Nov 12, 2021
- Fix dependencies and dependency checks
- Added missing license and notice files
reckart added a commit that referenced this issue Nov 13, 2021
- Keep node_modules next to the package.json so VScode likes the setup
- Set up injection of Maven version into package.json and friends
reckart added a commit that referenced this issue Nov 13, 2021
- Exclude filtered package.json from repo
reckart added a commit that referenced this issue Nov 13, 2021
- Clean generated TS folders and files as necessary
reckart added a commit that referenced this issue Nov 13, 2021
- Starting to pull ts maven config out into a profile
reckart added a commit that referenced this issue Nov 13, 2021
reckart added a commit that referenced this issue Nov 13, 2021
- Make sure npm likes the TS module versions
reckart added a commit that referenced this issue Nov 13, 2021
- Move diam debug editor to experimental editor module
- Fix up dependencies
- Remove commented out stuff from pom.xmls
- Should use json-patch via npm
reckart added a commit that referenced this issue Nov 13, 2021
reckart added a commit that referenced this issue Nov 13, 2021
- Towards using the annotations api for the diam debugger
reckart added a commit that referenced this issue Nov 14, 2021
- Switch DiamDebugEditor to use client lib
reckart added a commit that referenced this issue Nov 14, 2021
reckart added a commit that referenced this issue Nov 14, 2021
- Comment out legacy websocket api services
- Added method to allow selecting an annotation and loading it in the sidebar. This happens via AJAX though.
reckart added a commit that referenced this issue Nov 14, 2021
- Add time logging information to rendering
- Comment out message mapping for deleting an annotation since for the time being that happens by selecting an annotation and then deleting it via the sidebar
reckart added a commit that referenced this issue Nov 16, 2021
- Keep track of session IDs subscribing to a viewport
- Unregister the subscribes from the viewport when the connection is closed
- Close a viewport once all subscribers have been removed
reckart added a commit that referenced this issue Nov 16, 2021
- Also keep track of the subscription IDs in the viewports and handle unsubscribe requests
reckart added a commit that referenced this issue Nov 16, 2021
reckart added a commit that referenced this issue Nov 17, 2021
- Rename word alignment editor module
- Add feature flag for diam
-
reckart added a commit that referenced this issue Nov 17, 2021
reckart added a commit that referenced this issue Nov 17, 2021
…e-to-annotation-updates-via-WebSocket

#2687 - Subscribe to annotation updates via web socket
@reckart reckart closed this as completed Nov 17, 2021
Kanban automation moved this from 🔖 To do to 🍹 Done Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Kanban
  
🍹 Done
Development

No branches or pull requests

1 participant