Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Implement Push Notifications #1842

Merged

Commits on Nov 19, 2021

  1. Add Pushserver component with Pushers API

    Co-authored-by: Tommie Gannert <[email protected]>
    Co-authored-by: Dan Peleg <[email protected]>
    3 people committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    151d52c View commit details
    Browse the repository at this point in the history
  2. Wire Pushserver component

    Co-authored-by: Neil Alexander <[email protected]>
    PiotrKozimor and neilalexander committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    2db65e1 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2021

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

    The full event format is required for Sytest.
    tommie committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    cb10d9c View commit details
    Browse the repository at this point in the history
  3. Add a pushrules module.

    tommie committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    c6b3048 View commit details
    Browse the repository at this point in the history
  4. Change user API account creation to use the new pushrules module's de…

    …faults.
    
    Introduces "scope" as required by client API, and some small field
    tweaks to make some 61push Sytests pass.
    tommie committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    d8c8bfc View commit details
    Browse the repository at this point in the history
  5. Add push rules query/put API in Pushserver.

    This manipulates account data over User API, and fires sync messages
    for changes. Those sync messages should, according to an existing TODO
    in clientapi, be moved to userapi.
    
    Forks clientapi/producers/syncapi.go to pushserver/ for later extension.
    tommie committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    f5d8f0e View commit details
    Browse the repository at this point in the history
  6. Add clientapi routes for push rules to Pushserver.

    A cleanup would be to move more of the name-splitting logic into
    pushrules.go, to depollute routing.go.
    tommie committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    0548a88 View commit details
    Browse the repository at this point in the history
  7. Output rooms.join.unread_notifications in /sync.

    This is the read-side. Pushserver will be the write-side.
    tommie committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    54ece78 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9262526 View commit details
    Browse the repository at this point in the history
  9. Use PushGatewayClient and the pushrules module in Pushserver's room c…

    …onsumer.
    
    * Use one goroutine per user to avoid locking up the entire server for
      one bad push gateway.
    * Split pushing by format.
    * Send one device per push. Sytest does not support coalescing
      multiple devices into one push. Matches Synapse. Either we change
      Sytest, or remove the group-by-url-and-format logic.
    * Write OutputNotificationData from push server. Sync API is already
      the consumer.
    tommie committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    ce1255e View commit details
    Browse the repository at this point in the history
  10. Implement read receipt consumers in Pushserver.

    Supports m.read and m.fully_read receipts.
    tommie committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    74b74bf View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    bbf4b70 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2021

  1. Configuration menu
    Copy the full SHA
    1dbcd84 View commit details
    Browse the repository at this point in the history
  2. Fix linter errors

    PiotrKozimor committed Dec 6, 2021
    Configuration menu
    Copy the full SHA
    5ccfe77 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b89da40 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c9e94b4 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2021

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

Commits on Dec 16, 2021

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

Commits on Dec 20, 2021

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

Commits on Feb 10, 2022

  1. Configuration menu
    Copy the full SHA
    87dc8c7 View commit details
    Browse the repository at this point in the history
  2. NATS JetStream

    neilalexander committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    2582a05 View commit details
    Browse the repository at this point in the history
  3. Goodbye sarama

    neilalexander committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    8ee18cd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b01b918 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    81b71da View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8d5426a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    23d175d View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2022

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

Commits on Feb 17, 2022

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

Commits on Feb 18, 2022

  1. Configuration menu
    Copy the full SHA
    857b75d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d96623f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fa7d249 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6d63096 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0d928c6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6ad6b9d View commit details
    Browse the repository at this point in the history
  7. Tweak defaults

    neilalexander committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    4ce5fec View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2022

  1. Update defaults

    neilalexander committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    1aa25b3 View commit details
    Browse the repository at this point in the history
  2. More tweaks

    neilalexander committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    3a4add0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a57ce77 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    26f20d5 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2022

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

Commits on Mar 1, 2022

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

Commits on Mar 2, 2022

  1. Configuration menu
    Copy the full SHA
    977d6b8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4d71df8 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2022

  1. User API will consume events and read/fully read markers from the syn…

    …c API with stream positions, instead of consuming directly
    neilalexander committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    67ef8e3 View commit details
    Browse the repository at this point in the history