Project

General

Profile

Actions

Bug #6950

closed

Missing connection notification handling

Added by krileon almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
27 December 2017
Due date:
% Done:

100%

Estimated time:

Description

There's no notification stream handling for connection activity. This means sending a notification for pending connection request, etc.. would have to use a database stored title/message.

Actions #1

Updated by krileon almost 7 years ago

This should handle the following usages.

profile.USER_ID.connection.CONNECTION_ID = OWNER is connected to USER_ID (CONNECTION_ID optional)
profile.USER_ID.connection.CONNECTION_ID.pending = OWNER sent pending connection request to USER_ID
profile.USER_ID.connection.CONNECTION_ID.accepted = OWNER accepted connection request from USER_ID
profile.USER_ID.connection.CONNECTION_ID.rejected = OWNER rejected connection request from USER_ID

Actions #2

Updated by krileon almost 7 years ago

For notifications when it's a pending request output xsmall buttons to accept or reject the request directly from notifications.

Actions #3

Updated by krileon almost 7 years ago

The connection_id isn't needed so use the below to handle state.

profile.USER_ID.connection
profile.USER_ID.connection.pending
profile.USER_ID.connection.accepted
profile.USER_ID.connection.rejected

Actions #4

Updated by krileon almost 7 years ago

  • % Done changed from 0 to 70

Handling for the above assets is working. This includes buttons to Accept, Reject, and Cancel requests.

Still needs dynamic notification connection state handling. What that means is if profile.USER_ID.connection notification is logged it should check the current connection state and adjust the notification accordingly.

Actions #5

Updated by krileon almost 7 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 70 to 100

Opted to skip implementation of dynamic state checking as it's just too heavy and unnecessary.

Actions #6

Updated by krileon almost 7 years ago

  • Target version changed from 892 to 4.2.0
Actions #7

Updated by krileon almost 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF