-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Remove primus dependency [$3k bounty] #576
Labels
App:Backend
App:Frontend
Kind:Core
Anything that changes or affects the fundamental core data structures & design of the application.
Level:Advanced
Note:Bounty
These issues have bounties assigned to them
Comments
taoeffect
added
Note:Up-for-grabs
App:Frontend
App:Backend
Level:Advanced
Kind:Core
Anything that changes or affects the fundamental core data structures & design of the application.
labels
Jun 25, 2019
taoeffect
changed the title
Remove primus dependency
Remove primus dependency [$3k bounty]
Jan 20, 2021
Adding a $3k bounty for closing this issue for non-contractors (meaning, if you don't have a development contract with okTurtles, and you'd like to close this issue, you can work on it, and if we accept your PR, you'll receive the bounty). Anyone else can add to the bounty too if they'd like by following these simple steps:
|
taoeffect
referenced
this issue
Jan 22, 2021
4 tasks
taoeffect
pushed a commit
that referenced
this issue
Apr 8, 2021
* Update the ws library to 7.4.3 * Upload new pubsub utilities * Update .Gruntfile.babel.js to no longer use Primus * Use GIPubSub in backend/index.js * Use GIPubSub in backend/server.js * Upload frontend/controller/instance-keys.js * Use GIPubSub in frontend/main.js * Use GIPubSub in frontend/controller/backend.js * Use GIPubSub in backend unit tests * Drop unused dependencies to Primus and its plugins * Update shared/constants.js to fix a Flow error * Make the pubsub server console output less verbose * Delete unused makeResponse in shared/functions.js * Remove unreliable remote address logging * Remove unnecessary option copying * Improve logging of pubsub events and errors * Disable automatic reconnection until it's robust * Use event names without "on" in event handler maps * Comment Flowtype usage in pubsub * Fix Flow errors * Delete unused shared/constants.js * Update comments and use more descriptive names * Update sub() and unsub() methods * Fix a type error in notification broadcasting * Move backend/utils/pubsub.js one directory up * Update reconnection on online events * Add .isNew and .shouldReconnect client properties * fixup! Fix a type error in notification broadcasting * Terminate the connection upon invalid messages * Add support for the 'manual' createClient() option * Remove unused isConnecting() and isReconnecting() * Update the pubsub client's default options * Implement the `reconnectOnDisconnection` option * Add random pubsub client ID to help debugging * Implement the maxRetries pubsub client option * Add broadcast() and enumerateSubscribers() methods * Add broadcast() and enumerateSubscribers() methods * Fix yield-star-spacing lint error * Fix getNextRandomDelay() and upload unit test file * Define and use a few Flow enum types * Refactor createNotification() and its callsites * Optimize serverside SUB and UNSUB message handlers * Fix lint error * Add 'backend/server/broadcastEntry' sbp selector * Use NOTIFICATION_TYPE.ENTRY instead of 'entry' * Implement ping/pong strategy like in Primus * Stop logging 'backend/server/broadcastEntry' calls * Fix failedConnectionAttempts not updating correctly * Refactor shared/pubsub.js * Refactor some parts of backend/pubsub.js * Log the number of connections on connection event * Implement custom reconnection events * Implement _.randomBytes() and _.randomHexString() * Use SBP selectors for custom pubsub events * Refactor message handlers to use `this` less often * Refactor handlers to use fewer `this` bindings * Document default option values for createServer() * Move pubsub event constants to shared/pubsub.js * Increase Cypress command timeout from 5s to 10s * Pass explicit timeout to createGIPubSubClient()
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
App:Backend
App:Frontend
Kind:Core
Anything that changes or affects the fundamental core data structures & design of the application.
Level:Advanced
Note:Bounty
These issues have bounties assigned to them
Problem
frontend/controller/utils/primus.js
, which is kinda annoyingnpm audit
gives two low severity vulnerabilities, one forprimus-rooms
and one forprimus-responder
because they use an old version ofdebug
Solution
ws
calls or whatever the HTTP2 equivalent isResearch:
The solution should rely on as few moving pieces as possible so that it works well with our future switch to Deno (#586).
Bounty
$3k bounty for a clean solution to this (paid in cryptocurrency).
The text was updated successfully, but these errors were encountered: