1. 24 Jan, 2017 6 commits
    • Philipp Hörist's avatar
      [gotr] Update manifest.ini · 7f82edfd
      Philipp Hörist authored
    • Philipp Hörist's avatar
      Merge branch 'fix-opportunistic-otr' into 'master' · 0bdbb840
      Philipp Hörist authored
      Fix opportunistic otr (#177)
      Closes #177
      See merge request !15
    • Nikolay Yakimov's avatar
      [gotr] Version bump 1.9.6 -> 1.9.7 · e87cf048
      Nikolay Yakimov authored
    • Nikolay Yakimov's avatar
      [gotr] Fix sending OTR adv. tag in handle_outgoing_msg_stanza · a1374a3a
      Nikolay Yakimov authored
      Note: Messages with OTR advertisement shouldn't be considered encrypted.
    • Nikolay Yakimov's avatar
      [gotr] Fix AttibuteError bug in get_control · ab4eeae9
      Nikolay Yakimov authored
      gotr expects fjid to be str, but it can be nbxmpp.JID. Converting to str
      shouldn't hurt, although could as well call fjid.getStripped() instead
      of gajim.get_jid_without_resource.
      Traceback (most recent call last):
        File "/usr/lib64/python2.7/site-packages/gajim/common/ged.py", line 93, in raise_event
          if handler(*args, **kwargs):
        File "/home/livid/.local/share/gajim/plugins/gotr/otrmodule.py", line 564, in handle_incoming_msg
          appdata={'thread':event.session.thread_id if event.session else None})
        File "/home/livid/.local/share/gajim/plugins/gotr/potr/context.py", line 210, in receiveMessage
          self.crypto.handleAKE(message, appdata=appdata)
        File "/home/livid/.local/share/gajim/plugins/gotr/potr/crypt.py", line 282, in handleAKE
          outMsg = self.ake.handleRevealSig(inMsg)
        File "/home/livid/.local/share/gajim/plugins/gotr/potr/crypt.py", line 420, in handleRevealSig
        File "/home/livid/.local/share/gajim/plugins/gotr/potr/crypt.py", line 316, in goEncrypted
        File "/home/livid/.local/share/gajim/plugins/gotr/potr/context.py", line 313, in _wentEncrypted
        File "/home/livid/.local/share/gajim/plugins/gotr/otrmodule.py", line 175, in setState
          OtrPlugin.update_otr(self.peer, self.user.accountname)
        File "/home/livid/.local/share/gajim/plugins/gotr/otrmodule.py", line 521, in update_otr
          ctrl = cls.get_control(user, acc)
        File "/home/livid/.local/share/gajim/plugins/gotr/otrmodule.py", line 535, in get_control
          gajim.get_jid_without_resource(fjid), account)
        File "/usr/lib64/python2.7/site-packages/gajim/common/gajim.py", line 297, in get_jid_without_resource
          return jid.split('/')[0]
      AttributeError: JID instance has no attribute 'split'
    • Nikolay Yakimov's avatar
      [gotr] handle_incoming_msg: set XHTML correctly · b299827a
      Nikolay Yakimov authored
      In case we get XHTML in OTR message for some reason (e.g. from gajim
      0.16.4), we will see that instead of decrypted content, if we don't
      delete existing html first.
      This doesn't touch old code in handle_outgoing_msg (which will get exectued
      gajim<0.16.4). That should work between versions,
      given handle_incoming_msg will overwrite any XHTML in
      OTR-encrypted message.
  2. 23 Jan, 2017 4 commits
  3. 14 Jan, 2017 6 commits
  4. 13 Jan, 2017 7 commits
  5. 12 Jan, 2017 7 commits
  6. 10 Jan, 2017 4 commits
  7. 27 Dec, 2016 4 commits
  8. 25 Dec, 2016 2 commits