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

Add keep-alive support for a more persistent connection #21

Merged
merged 27 commits into from
Jan 30, 2022

Commits on Jun 9, 2020

  1. Merge pull request lc-at#5 from p4kl0nc4t/develop

    Session restoration fix
    lc-at committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    55513de View commit details
    Browse the repository at this point in the history
  2. Update README.md

    lc-at committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    64af9b6 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2021

  1. Update README.md

    lc-at committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    986b6b9 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2021

  1. Bump pyyaml from 5.3.1 to 5.4 in /kyros

    Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.3.1 to 5.4.
    - [Release notes](https://github.com/yaml/pyyaml/releases)
    - [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
    - [Commits](yaml/pyyaml@5.3.1...5.4)
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    6168350 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2021

  1. Bump websockets from 8.1 to 9.1

    Bumps [websockets](https://github.com/aaugustin/websockets) from 8.1 to 9.1.
    - [Release notes](https://github.com/aaugustin/websockets/releases)
    - [Changelog](https://github.com/aaugustin/websockets/blob/9.1/docs/changelog.rst)
    - [Commits](python-websockets/websockets@8.1...9.1)
    
    ---
    updated-dependencies:
    - dependency-name: websockets
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    228b6b5 View commit details
    Browse the repository at this point in the history
  2. Bump websockets from 8.1 to 9.1 in /kyros

    Bumps [websockets](https://github.com/aaugustin/websockets) from 8.1 to 9.1.
    - [Release notes](https://github.com/aaugustin/websockets/releases)
    - [Changelog](https://github.com/aaugustin/websockets/blob/9.1/docs/changelog.rst)
    - [Commits](python-websockets/websockets@8.1...9.1)
    
    ---
    updated-dependencies:
    - dependency-name: websockets
      dependency-type: direct:development
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    06dab2d View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2021

  1. Merge pull request lc-at#13 from p4kl0nc4t/dependabot/pip/kyros/webso…

    …ckets-9.1
    
    Bump websockets from 8.1 to 9.1 in /kyros
    lc-at committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    b6a0409 View commit details
    Browse the repository at this point in the history
  2. Merge pull request lc-at#12 from p4kl0nc4t/dependabot/pip/websockets-9.1

    Bump websockets from 8.1 to 9.1
    lc-at committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    414be72 View commit details
    Browse the repository at this point in the history
  3. Merge pull request lc-at#11 from p4kl0nc4t/dependabot/pip/kyros/pyyam…

    …l-5.4
    
    Bump pyyaml from 5.3.1 to 5.4 in /kyros
    lc-at committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    f30d677 View commit details
    Browse the repository at this point in the history
  4. Bump pyyaml from 5.3.1 to 5.4

    Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.3.1 to 5.4.
    - [Release notes](https://github.com/yaml/pyyaml/releases)
    - [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
    - [Commits](yaml/pyyaml@5.3.1...5.4)
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    8823fcd View commit details
    Browse the repository at this point in the history
  5. Merge pull request lc-at#10 from p4kl0nc4t/dependabot/pip/pyyaml-5.4

    Bump pyyaml from 5.3.1 to 5.4
    lc-at committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    1f03774 View commit details
    Browse the repository at this point in the history
  6. Update .gitattributes

    lc-at committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    b713ed2 View commit details
    Browse the repository at this point in the history
  7. Update .gitattributes

    lc-at committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    2d36ee9 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2021

  1. Update .gitattributes

    lc-at committed Sep 8, 2021
    Configuration menu
    Copy the full SHA
    63ada35 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2022

  1. Add support for WhatsApp keep alive

    * Send keep alive message every 10 seconds
    * Ignore server timestamp response
    
    Signed-off-by: Reinier Millo <[email protected]>
    Reinier Millo committed Jan 15, 2022
    Configuration menu
    Copy the full SHA
    4274548 View commit details
    Browse the repository at this point in the history
  2. Call keep alive after command Conn

    * After user scanned QR code
    * After session restored
    
    Signed-off-by: Reinier Millo <[email protected]>
    Reinier Millo committed Jan 15, 2022
    Configuration menu
    Copy the full SHA
    58ac7ef View commit details
    Browse the repository at this point in the history
  3. Add support for websocket keep alive

    Merge branch 'feature/prevent-websocket-close' into develop
    Reinier Millo committed Jan 15, 2022
    Configuration menu
    Copy the full SHA
    d914eee View commit details
    Browse the repository at this point in the history
  4. Fix invalid comma

    Signed-off-by: Reinier Millo <[email protected]>
    Reinier Millo committed Jan 15, 2022
    Configuration menu
    Copy the full SHA
    90e129d View commit details
    Browse the repository at this point in the history
  5. Fix styles

    * Change keepAlive function name to keep_alive
    * Add missing space
    
    Signed-off-by: Reinier Millo <[email protected]>
    Reinier Millo committed Jan 15, 2022
    Configuration menu
    Copy the full SHA
    afde8cd View commit details
    Browse the repository at this point in the history
  6. Update documentation to docstrings

    Signed-off-by: Reinier Millo <[email protected]>
    Reinier Millo committed Jan 15, 2022
    Configuration menu
    Copy the full SHA
    156e8fe View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2022

  1. Add WhatsApp protocol binary reader

    Signed-off-by: Reinier Millo <[email protected]>
    Reinier Millo committed Jan 29, 2022
    Configuration menu
    Copy the full SHA
    bc986ae View commit details
    Browse the repository at this point in the history
  2. Allow websocket to differentiate from plaintext/binary message

    * Plain text messages area send to queue
    * Binary messages are send to message handler
    
    Signed-off-by: Reinier Millo <[email protected]>
    Reinier Millo committed Jan 29, 2022
    Configuration menu
    Copy the full SHA
    2362a80 View commit details
    Browse the repository at this point in the history
  3. Fix websocket hangs and close after time

    * Dispatch keep alive message after conn received
    
    Signed-off-by: Reinier Millo <[email protected]>
    Reinier Millo committed Jan 29, 2022
    Configuration menu
    Copy the full SHA
    278bca2 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2022

  1. Fix proto import

    Signed-off-by: Reinier Millo <[email protected]>
    Reinier Millo committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    74358c0 View commit details
    Browse the repository at this point in the history
  2. Add message data handler

    * Add callback function
    * TODO Identify message types to call handlers
    
    Signed-off-by: Reinier Millo <[email protected]>
    Reinier Millo committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    bdeb6fd View commit details
    Browse the repository at this point in the history
  3. Update readme documentation

    * Support to save/load session in JSON file
    * User message handle callback to log received messages
    
    Signed-off-by: Reinier Millo <[email protected]>
    Reinier Millo committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    783d4ab View commit details
    Browse the repository at this point in the history
  4. Initial support for binary message reader

    * Receive text messages from WhatsApp
    Reinier Millo committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    e69f5f9 View commit details
    Browse the repository at this point in the history