Commit Graph

56 Commits

Author SHA1 Message Date
27a6f5c9b6 changes 2019-03-10 21:10:55 +01:00
c2170054a4 conversations compatibility test 2019-03-10 20:58:19 +01:00
863becb95b conversations compatibility test 2019-03-10 20:56:52 +01:00
3040c66e07 bugfix 2019-03-10 20:35:18 +01:00
9bf947fc80 send image url as OOB 2019-03-10 20:32:21 +01:00
98460f4bb4 bugfix 2019-03-10 20:31:59 +01:00
33553d9db0 debugging 2019-03-10 17:29:57 +01:00
57b4a680f0 debugging 2019-03-10 17:25:20 +01:00
8ddb946b33 debugging 2019-03-10 17:23:58 +01:00
2ea7c29c64 use OOB for relaying images XMPP->TG 2019-03-10 17:13:53 +01:00
09c69468a8 cleanup/bugfixes 2019-03-10 17:05:59 +01:00
5f2e2e517d whitespace cleanup 2019-03-10 17:05:32 +01:00
cea496c808 cleanup 2019-02-27 18:52:12 +01:00
498d392165 ignore .idea/ 2019-02-27 16:35:10 +01:00
2896126306 Send XMPP error on unknown recipient 2019-02-27 13:00:41 +01:00
23b27c37c3 Rename MessageHandler to CommandHandler and put Error at top level 2019-02-27 12:58:05 +01:00
7d2ba56450 restructure 2019-02-27 03:12:55 +01:00
282ced3fe6 bugfixing 2019-02-27 02:27:32 +01:00
0c1b8e3e00 improvements 2019-02-27 02:24:00 +01:00
8ca6740cd1 code 2019-02-27 02:15:09 +01:00
a5fdac224f updated commands 2019-02-27 01:59:48 +01:00
53325bc8d3 bugfixing 2019-02-27 01:10:30 +01:00
9be64fd071 actually put the new file in git 2019-02-27 01:09:41 +01:00
734e30bc2e put handlers in separate file 2019-02-27 01:09:25 +01:00
2b659e895f test 2019-02-27 01:05:13 +01:00
95060e9cfb test 2019-02-27 00:58:18 +01:00
eb46c860d4 test 2019-02-27 00:57:03 +01:00
8bdad9d0f0 rewrite process_chat_user_command 2019-02-27 00:55:52 +01:00
4f07b24c6d bugfixing 2019-02-27 00:29:04 +01:00
9d2ff0caaa bugfixing 2019-02-27 00:20:01 +01:00
c6474c95f9 continue rewrite 2019-02-27 00:18:58 +01:00
004f670020 continue rewrite 2019-02-27 00:17:11 +01:00
4f5119e6fb Made start.py executable 2019-02-26 23:07:00 +01:00
7dd9ef67ad continued work on rewrite 2019-02-26 23:05:39 +01:00
9588e61aa6 begin message handling rewrite 2019-02-26 22:53:00 +01:00
eb66822e2d typo 2019-02-26 21:25:11 +01:00
f1e6db8716 cleanup 2019-02-26 21:23:53 +01:00
Yannik Enss
6788dd4abe add notice required by apachev2 license 2019-02-26 15:42:21 +01:00
Yannik Enss
4fa79b0010 list roster via chat and fix media 2019-02-26 14:02:02 +01:00
Yannik Enss
5dc406c261 add .gitignore 2019-02-26 14:01:30 +01:00
annelin
c6f604c4a1 Added tag 0.4.2 for changeset 7b248a861878 2019-01-13 10:28:46 +02:00
annelin
9ff433155e Fixed echo reply when getting XMPP messages with type = 'error' 2019-01-13 10:21:37 +02:00
annelin
5381c49daf [FIX] Fixed IQ sending with empty <from> that crashes new versions of ejabberd 2018-07-14 14:59:32 +00:00
annelin
0db8c90169 [SVN] Release 0.4.1
[UPD] [BROKE] New config to database is added, please, re-create it, it is broken!
[UPD] `Long time ago` contacts now is offline instead of XA
[ADD] Contacts last seen later than `status_xa_interval` (configurable via !configure) hours now have XA status
2018-07-03 01:26:45 +00:00
annelin
2f2d534f09 [SVN] release 0.4.0
[SVN] all comments in code now in English; Sofia ♥ Fuck you with this barbarian language in code comments! (no, no fuck please)
[FIX] monkey-patched telethon library to fix updates receiving in some sessions (fix github issue #686; commit b20aa0ccc91b3d767c26702f3611c44772d87f5a)
[FIX] fixed "normal" quotation, such as `> text`, in previous releases it was intended to be message id to reply
[FIX] now processing bots in contact list, in roster with `b` prefix
[FIX] fixed message editing and deleting in supergroups
[FIX] now removing old telegram session from database when initiating a new one for current JID
[FIX] fixed group creating; group, supergroup, channels creating is now OK and tested
[FIX] fixed processing bot in roster; now it does not crashes gateway
[UPD] default status update interval is now 30
[UPD] slighly (and finally) changed behaviour of presences:

      `Last seen recently` = `dnd (do not disturb)`, because user that enabled this privacy settings does not want you to disturb
      `Last seen a long time ago` = `xa (extended away)`, because it is 'long' away
      'Last seen at %date%` = `away`, because user just got away

[ADD] basic interaction with bots (now only with text commands)
2018-07-03 00:41:15 +00:00
annelin
b17870cbdd [SVN] Release 0.3.5
[ADD] Add possibility to edit and delete last messages.
      Syntax is sed-like:    "!s/find/replace/"
      Examples:

      `!s/mistake/corrected` to correct misspelled word
      `!s//sorry I meant something completely different` to correct the whole message
      `!s//` to delete message and revoke it from peer

       Any regular expressions that fits python re. library also supported
2018-07-02 16:26:08 +00:00
annelin
1d61392db2 [SVN] release 0.3.4
[FIX] corrext exception handling when uploading media; if exception caught— we will just send link as plaintext
2018-07-02 15:09:18 +00:00
annelin
03f3231aed [SVN] release 0.3.3
[UPD] [BREAK] config update; please, see example `media_external_formats`
[ADD] possibility to upload media (supported formats — in config) with external links; compliant with XEP-0363 HTTP Upload
2018-07-02 02:02:02 +00:00
annelin
f0ef3abb9c [SVN] Release 0.3.2
[FIX] Fixed roster exchange request after transport boot-up
[ADD] Added optional profile pictures downloading to V-Cards; you need to add `enable_avatars`(bool) to database or just remove and re-create db file to enable it
2018-07-02 00:51:22 +00:00
annelin
e66bda9cd8 [SVN] updated to version 0.3.1
[DEP] [BROKE] new dependency: pytz (pip3 install pytz)
[FIX] fixed media downloading with telethon 0.18
[FIX] now using server time zone in status messages instead of UTC
[UPD] now removing chats & supergroups completely after we leaving with !leave command
[ADD] added commands:
      !remove — completely remove current user from contact list
      !import phone firstname lastname — try to add contact with phone number (untested)
2018-07-01 21:29:34 +00:00