Skip to content
Snippets Groups Projects
  1. Apr 23, 2020
  2. Apr 05, 2020
  3. Mar 26, 2020
  4. Nov 23, 2019
  5. Nov 08, 2019
    • eta's avatar
      don't check for stubs on media messages · e45a8010
      eta authored
      e45a8010
    • eta's avatar
      Less crappy message stub handling · 7e12390c
      eta authored
      - Message stubs are now actually handled instead of being dropped on the
        floor, and are either converted into a warning or an actual message.
      - As a side-effect of this work, missed calls are now properly
        announced! Yay!
      - More work probably needs doing around notifying the user about
        ciphertext messages (in a non-spammy fashion)
      7e12390c
  6. Nov 07, 2019
  7. Oct 07, 2019
  8. Oct 05, 2019
    • eta's avatar
      Use Unidecode library to handle non-Unicode nicks (0.2.0 bump) · 72c77995
      eta authored
      - The version number was changed to 0.2.0, purely because rpm doesn't
        like '0.2.0-pre' and I got tired of switching it around.
      - We now use the Unidecode library to produce ASCII representations of
        non-ASCII names, making life easier for people with umlauts and such
        in their contact names.
      72c77995
    • eta's avatar
      tweak nickname changing logic · d8b5e71f
      eta authored
      d8b5e71f
    • eta's avatar
      if we get a 401, stop trying to connect · 341d1730
      eta authored
      This can happen if someone tries to use revoked persistent session
      credentials. Currently, we just hammer WA's servers trying to retry,
      which is bad.
      341d1730
  9. Oct 02, 2019
    • eta's avatar
      fix logged in log message · 2b69256b
      eta authored
      2b69256b
    • eta's avatar
      Drastically reduce connection state logging, queue offline messages · 7fac20c5
      eta authored
      - We now only log WA connection state information at the DEBUG level,
        to try and avoid spamming the logs every time the websocket drops
        for whatever reason (which has become more frequent as of late)
      - A new mechanism enables messages sent while offline to be queued
        and sent once the connection is reestablished, making small drops
        less of a pain.
        - This in fact re-uses the ack tracker code, so the user also gets
          alerted if the message doesn't send for a while.
      7fac20c5
  10. Sep 22, 2019
  11. Sep 16, 2019
  12. Sep 14, 2019
    • eta's avatar
      Revamp contact nick handling (+ minor s2c changes) · dd50e8c6
      eta authored
      - Contact nickname handling has been completely revamped, and now
        properly deals with things like nick collisions.
      - In addition, the source of nickname information is now recorded,
        meaning that WhatsApp notify / contact name changes now propagate
        to the nickname changing, if the relevant option is enabled.
      dd50e8c6
  13. Aug 31, 2019
  14. Aug 28, 2019
  15. Aug 24, 2019
  16. Aug 06, 2019
    • eta's avatar
      Add some rudimentary presence tracking options · 9d49a7cb
      eta authored
      - If `whatsapp.track_presence` is enabled, the bridge will request
        presence updates for users after you send them a message.
      - The `GHOST PRESUB` command was also added, which manually attempts
        to subscribe to presence updates.
      9d49a7cb
  17. Aug 05, 2019
    • eta's avatar
      0.2.0-pre: upgrade to ww-rs-eta 0.5.0-pre1 · 8d8729dc
      eta authored
      - We now use the fancy new improved WhatsApp connection logic
        in ww-rs-eta 0.5.0-pre1, which is nice.
      - As a result, the handling of failed and superseded connections
        should be vastly improved; no more random QR code requests from
        lingering connections!
      - In addition, the user now gets notified whenever they *remove*
        the connection from their mobile app (although it could also
        conceivably remove the state from the DB as well)
      - History fetching was removed, as it never worked.
      - The `ignore_other_libraries` config key now doesn't ignore
        whatsappweb_eta, because it's useful to have that in there
        for debugging as well.
      - Some `dyn`s were dotted about the place to satisfy Rust 2018 lints.
      8d8729dc
  18. Jul 29, 2019
  19. Jul 18, 2019
    • eta's avatar
      Proper timestamp support, broken history fetching · a918d723
      eta authored
      - Messages now have timestamps stored in the database, so messages
        sent while the admin was away should be sent with timestamps now.
      - There's an undocumented history fetch feature which doesn't quite
        work yet.
      a918d723
  20. Jul 17, 2019
  21. Jul 15, 2019
  22. Jul 13, 2019
    • eta's avatar
      add option to autoupdate nicks from notify · 2f9bb6f5
      eta authored
      2f9bb6f5
    • eta's avatar
      Add option to disable marking as read, fix unnamed contacts bug (!) · ec2bdd86
      eta authored
      - Contacts' notify / name values were just being discarded (!) on
        contacts sync. This is now fixed.
      - A new whatsapp.mark_read option can be used to control whether
        new incoming messages are automatically marked as read.
        This now defaults to off, as the old behaviour was somewhat
        confusing.
      ec2bdd86
    • eta's avatar
      4483c572
    • eta's avatar
      Vastly improved contact creation, WA notify tracking · d82ec9e1
      eta authored
      - Instead of contacts/recipients potentially being created in like
        three disparate places, there is now one and only one place
        where this happens: the object responsible for the protocol,
        i.e. the WhatsApp or modem manager.
        - This makes everything far simpler, and means we can actually
          keep track of things like contact names properly, instead of
          wondering which part of the bridge will end up making the
          contact in the end.
      - All of the WhatsApp contacts we get on the initial burst, and
        any added thereafter, are now translated into recipients.
        - In addition, we keep track of their 'notify' property (i.e.
          the ~tildename for each contact, or the contact name from the
          user address book), and store that in the database.
        - In future, the bridge will perhaps let you autoname people,
          or display their notify in some meaningful way to allow you
          to differentiate people amongst the sea of random numbers...
      d82ec9e1
  23. Jul 11, 2019
  24. Jul 08, 2019
  25. Jul 06, 2019
    • eta's avatar
      Initial (non-working) IRC server/s2c code · 1d0f479f
      eta authored
      - A new macro, sink_outbox!, was added to deduplicate the same
        "send messages into this futures sink from this outbox array"
        behaviour used in multiple places now.
      - We now have the beginnings of an IRC server / s2c protocol impl!
        It handles client registration, and pretty much nothing else
        after that at this stage - but it's getting along!
      1d0f479f
Loading