Commit graph

103 commits

Author SHA1 Message Date
annelin f4d06133db Add rawmessages configuration option 2020-09-26 11:03:01 +03:00
annelin a46ea168c6 Process status update after subscription handling 2020-09-26 10:55:25 +03:00
annelin 474e59b4d8 Now also sending resource to prevent some clients unwanted behaviour 2020-09-20 14:03:02 +03:00
annelin 2c3ab0aceb Add disco query responder 2020-09-19 08:24:44 +03:00
annelin 9c171116e7 Release 2.7
- Fixed start/close secret chat
- Fixed status update for users who blacklisted you or was online long time ago
2020-09-16 06:52:08 +03:00
annelin f372e513ef Release 2.6.3
- Replies fix
2020-05-19 17:42:27 +03:00
annelin dc8539e53c Release 2.6.1
- Fixed receiving messages that containts replies to some content.
- Small fixes
2020-05-15 16:32:06 +03:00
annelin a825b5b7b5 Release v2.6 (maria without juana edition ♥)
- Now downloading files synchroniusly (otherwise files sometimes disappears, thank you Durov, verni stenu)
2020-05-14 20:24:52 +03:00
annelin db590fd27f Status caching 2020-04-22 22:50:38 +03:00
annelin dc21d076c1 Fixed README 2020-04-16 23:50:22 +03:00
annelin a39c2887cc Authorization fix 2020-04-12 21:47:21 +03:00
annelin c3197cd000 Release 2.4
[NEW] command /link to retrieve chat invite link
[NEW] commands /mute, /unmute, /ban, /unban, /promote to manage chats
[NEW] command /leave! to leave group as owner
[FIX] tested and fixed some chat commands
2020-03-09 19:56:13 +02:00
annelin edfae83b8f Version 2.3 / izvinite git nasral 2020-03-09 14:06:26 +02:00
annelin c60a6eeb84 Merge branch 'master' of https://git.narayana.im/narayana/zhabogram 2020-03-09 14:03:43 +02:00
annelin 970a3ab924 removed some debug information 2020-03-09 14:01:21 +02:00
annelin 29f4cfc552 Version 2.3
[UPD] now it works with tdlib-ruby 2.2 (tdlib 1.6)
[UPD] now /s (edit) replaces your whole message (/s new message)
[!] removed /history command (as it does not work)
[!] some groupchat stuff still untested, use at your own risk
2020-03-09 13:56:52 +02:00
Pavel R 8ed5710c13 Merge branch 'master' of mike/zhabogram into master 2020-03-09 09:06:57 +02:00
annelin cb62c63771 Version 2.2.8
[FIX] Better support on multiple Jabber resources
[FIX] Fixed unavailable presences from your contacts while shutdown process
[NEW] Config option `keeponline` to always keep Telegram session online (..and rely on XMPP offline messages)
2020-03-09 09:04:24 +02:00
Mike_Went 5babcb35a8 [fix] strel ochka 2020-03-09 03:05:36 +02:00
annelin 5014133cc0 Bump version to 2.1
[FIX] correct presence handling when we have several priorities
2020-03-09 02:55:50 +02:00
annelin 82aa27558b [FIX] Subscription after logging in 2020-01-05 07:22:52 +02:00
annelin 6d282eb2f6 fixed /help command to gateway 2019-08-31 07:58:30 +03:00
annelin d1f58a02dc Notification on errors while sending message
Fixed Location messages
Updated config example
Updated README
2019-08-24 14:19:15 +03:00
annelin a34f10b78a Updated config example
Updated README
Added .gitignore
2019-08-24 08:46:15 +03:00
Пашенька 9689bda5f9 [!] Changed config format — tdlib config moved to :tdlib section
[FIX] Small fixes in probing stored sessions
2019-08-21 15:43:07 +03:00
annelin f74a03623e Added tag v2.0.0 for changeset 627d2c205f01 2019-08-08 13:52:22 +03:00
annelin 4dfd278a39 Release 2.0.0
! Backward compatibility with old sessions file (sessions.db) is broken due to planned config variables in future. New format is:
 :sessions
   jid@server
     :login: '1234567890'

— Huge code refactoring and readability improvement
— Removed XMPP features jabber:iq:register (will now try to log in after subscription request) and jabber:iq:gateway (since it does not working on foreign servers?)
— Reworked application logic — now code in `xmppcomponent.rb` only used to XMPP jobs and `telegramclient.rb` aims Telegram.
  Because of that, commands like /login /code /password are moved out to `telegramclient.rb` and now are parts of internal command to gateway (chat id 0)
— Reworked /chat and /gateway command list — please, just send /help to gateway or any active chat.
— Improved stability (I hope so...)
— Any other small (and not only) unlisted and forgotten changes..
2019-08-08 13:51:33 +03:00
annelin eca1bfcb8f [+] now asking subscription only after explicit request (/add) or after incoming message, I hope it will help 2019-07-14 10:39:36 +03:00
annelin 193dff330f [!] temporary disabled timezone detection to prevent crash after incorrect data in tz requet
[!] trying to fix fetching files without filenames/extensions..
2019-07-14 10:23:48 +03:00
annelin 7a2f85e0fe hey I'm just added OTR support ☺ 2019-06-20 19:29:06 +03:00
annelin 3f78178d60 [f] fixed avatars broadcast 2019-06-20 16:44:38 +03:00
annelin c9fb9297fe temporarily disabled presence queue pool -- will see how it works now 2019-06-18 08:31:06 +03:00
annelin b5f8ba28ab Added tag v1.3.2 for changeset f51bcc1e847d 2019-06-13 13:14:17 +03:00
annelin c2ff64b0bd Release 1.3.2
[FIX] fixed status-update function
[FIX] trying to decrease memory leaks by using chats and message database
2019-06-13 13:12:59 +03:00
annelin 7122db0e31 Added tag v1.3 for changeset c7aee4e5f3e5 2019-06-11 16:25:44 +03:00
annelin da2de42645 Release 1.2
[!] Using YAML serilaization instead of sqlite3. You may convert your SQLite db to YAML format using this:
    (echo "---"; sqlite3 users.db 'select jid,login from users'|sed "s/|/: \'/g;s/$/\'/g") > users.dat

[FIX] Fixed repllies
[UPD] Sending presence probe after disconnect received — maybe there are another XMPP resource? ☺
[UPD] When XMPP user goes online if Telegram session already established -- resync statuses with Telegram network to get all contacts online immediately
2019-06-11 16:24:44 +03:00
annelin 780dd6d6a1 Added tag v1.2 for changeset 44cae49ad897 2019-06-01 01:35:45 +03:00
annelin d4863a50b0 Release v1.2
Added support of Voice Notes
Small fixes in messages formatting
Minor code cleaning
Fixed error on /info command
Added /reconnect command
[-] Removed /history command as it does not work, use /search count as it provides same fuctionality :(
2019-06-01 01:35:03 +03:00
annelin 5997f8632b Added tag v1.1 for changeset 8dd6400de566 2019-05-31 14:33:35 +03:00
annelin b160e6f2ff Release 1.1
Now reading messages instant (if we're online), otherwise we will got duplicate updates.
Code optimizations and simplifications.
Added missing dependency (fileutils)
2019-05-31 14:30:25 +03:00
annelin 711534b909 Added missing files 2019-05-22 13:41:43 +03:00
annelin 3ce6edb6c9 Added tag v1.0.1 for changeset 3d78ba28050b 2019-05-09 14:51:41 +03:00
annelin b1a9979be2 [FIX] Fixed delayed presences while running in multiple-account mode 2019-05-09 14:50:54 +03:00
annelin 53586161d2 Added tag v1.0 for changeset 47915969606c 2019-05-07 22:23:02 +03:00
annelin dc615f977c Release 1.0.
[NEW] implemented XEP-0030 (Service Discovery) — you can now see transport in service discovery
[NEW] implemented XEP-0077 (In-Band Registration) — now you can also start session from GUI Jabber client
[NEW] implemented XEP-0100 iq:jabber:gateway — you can now add Telegram contact from your GUI Jabber client
[NEW] implemented presence cache. now sending presences once a minute to prevent presence flooding
[FIX] fixed online presence after establishing telegram session and offline after disposing session
[FIX] won't use tdlib message database anymore, implemented our own messages cache
[FIX] show "chat created" message correctly
[FIX] fixed /info command
[FIX] fixed closing secret chats
[UPD] now you can start secret chat directly by sending /secret to contact
[UPD] /debug renamed to /info, now shows active sesions, removed memory profiling as it does not helps
[UPD] removed main loop (but still shutting down correctly) — use systemd etc. to restart transport correctly
2019-05-07 22:22:26 +03:00
annelin 7904631a83 Added tag v1.0-b4 for changeset 6c4973c24842 2019-05-05 04:09:56 +03:00
annelin d83c24da76 Release 1.0-beta4
[UPD] Slightly changed logging behaviour, now only message events will appear in Logger::INFO level
2019-05-05 04:09:08 +03:00
annelin 13cc5331e6 Added tag v1.0-b3 for changeset 9a2daf921edf 2019-05-05 01:43:27 +03:00
annelin 3545c692e1 Release v1.0-beta3
[FIX] Correct behaviour of /connect and /disconnect commands that also affects Jabber presences
2019-05-05 01:42:59 +03:00
annelin 993b62c1ce Added tag v1.0-b2 for changeset 78e927e3f473 2019-05-05 00:22:38 +03:00