Commit graph

64 commits

Author SHA1 Message Date
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
annelin 0625b5c3d4 Release 1.0-beta2
[FIX] Fixed /connect command
[ADD] Added session counter (active/total) in /debug command
2019-05-05 00:21:59 +03:00
annelin 3189016dfa Added tag v1.0-b1 for changeset 5630ffc0069b 2019-05-04 23:18:01 +03:00
annelin 88c7eb09da Release 1.0-beta1. Some more tests and here we go..
Warning! It is beta software and it has not been tested thoroughly.

[UPD] Code restructurization. Removed unneccessary XMPPSession class.
[UPD] Recuded memory consumption.
[UPD] Seems like memory leaks fixed too, need test a bit longer
[UPD] Now running in forever-loop, use double Ctrl+C to quit
[ADD] Admin commands /sessions, /debug and /restart
[ADD] New config parameters: xmpp->debug to print XML stream and xmpp->admins[] to give access to above mentioned /commands
[ADD] We can now use memory profiler to get detailed memory usage information: run application with --profiler key (and also gem install memprof2) (yes, fucking leaks...)
[FIX] Fixed secret chat closing (I hope so...)
2019-05-04 23:17:29 +03:00
annelin 20d1e68781 Added tag v0.9 for changeset dd6fac7b3882 2019-05-04 05:44:53 +03:00
annelin 269dfce55b Removed force GC.start because it doesn't help us. 2019-05-04 05:40:46 +03:00
annelin 61a42e63b4 Release 0.9
[UPD] Now gracefully closes all Telegram and XMPP connections when SIGINT received.

I do not fucking know how to deal with memory leaks in Ruby. I tried literally everything.
Unloading TD class, forcing garbage collection, et cetera — nothing helps, it just runs a gig in two days.

So, now we have to kill -INT our transport every... six hours, for example, and monitor/reconnect (for example with systemd).
Fuck ruby & tdlib. Hate.
2019-05-04 05:40:02 +03:00
annelin 54860e027a Added tag v0.8.3 for changeset 75477c4ff512 2019-04-16 17:08:33 +03:00
annelin dc7af59673 Release 0.8.3
[FIX] fixed sending messages to unavailable chat
[FIX] some fixes in /members command
[UPD] better formatting of /help message
[ADD] add /info id command to get user/chat info by its id
2019-04-16 17:07:15 +03:00
annelin 55b190eafc Added tag v0.8.2 for changeset b0d4c6abad64 2019-04-16 16:24:41 +03:00
annelin 3f0fcba27b Release 0.8.2
[ADD] /members command to show current chat members
2019-04-16 16:24:03 +03:00
annelin d4730b6cff Updated README 2019-04-16 09:33:53 +03:00
annelin b8d5bafa3f Updated README 2019-04-16 09:32:51 +03:00
annelin 71ea3c4db5 Added tag v0.8.1 for changeset 42049c50f341 2019-04-16 09:26:09 +03:00
annelin 06c6402491 Release 0.8.1\n\n[UPD] updated README.md 2019-04-16 09:25:45 +03:00
annelin 3fe34d6c1a Release 0.8.1
[UPD] renamed config param xmpp:secret to xmpp:password according to ejabberd config name
[UPD] updated README.md and config example
2019-04-16 09:22:59 +03:00
annelin b80984cc3e updated readme 2019-04-16 09:09:34 +03:00
annelin 84ebb98b5b Updated README 2019-04-16 08:46:37 +03:00
annelin bb1e9e9d7f Updated README 2019-04-16 08:45:25 +03:00
annelin 7a0845ad39 Added README.md & license 2019-04-16 07:53:31 +03:00
annelin 8203210292 Added tag v0.8 for changeset 898dc905ebe5 2019-04-16 07:00:37 +03:00
annelin 8808fafeff Release v0.8
[ADD] added /setname, /setusername, /setbio, /setpassword commands (see /help)
2019-04-16 07:00:09 +03:00
annelin a10c8a4623 Added tag v0.7 for changeset bb1fbb3708ee 2019-04-16 06:58:32 +03:00
annelin 2987d8f3a5 Release 0.7
[FIX] now trying to revive stream if any exception occured
[FIX] fixed >quotes without messages ID
[UPD] using unicode symbols to compact msg prefix
[UPD] logging slightly modified
[UPD] added garbage collection after each incoming message
2019-04-16 06:45:56 +03:00
annelin 56db8c356e Added tag v0.6.1 for changeset f9635c977705 2019-04-15 08:04:04 +03:00
annelin 1ae35f501d Release 0.6.1
[FIX] fixed messages echo when xmpp session goes offline
[UPD] do not sync all telegram statuses immediately because it leads to stream error
[UPD] now using messages and files database again to reduce thousands of requests
2019-04-15 08:03:40 +03:00
annelin 7de8809b49 Added tag v0.6 for changeset 3cf3c2e473b0 2019-04-14 17:43:32 +03:00
annelin d20414617a Release 0.6
[NEW] broadcasting vcard photo update
[NEW] new commands: /secret, /group, /supergroup, /channel, /search, /history (send /help to any contact)
[UPD] improved formatting
2019-04-14 17:41:40 +03:00
annelin f9c5a1da8d Added tag v0.5 for changeset 2cf0b853e32a 2019-04-14 05:59:36 +03:00
annelin a799c1244b Release 0.5
[NEW] Now using local Jabber timezone
2019-04-14 05:56:29 +03:00
annelin 04b8097a6f Added tag v0.4.1 for changeset 2ffc35beee12 2019-04-13 18:40:05 +03:00
annelin 0032a83894 Release 0.4.1
[FIX] fixed joining groups/adding contacts
[FIX] fixed kick/ban/unban commands
[FIX] fixed status of supergroups
2019-04-13 18:39:20 +03:00
annelin 7cff994cba Added tag v0.4 for changeset 06293ced279f 2019-04-13 17:43:46 +03:00
annelin 12191222b0 Release 0.4
[NEW] vCard support
[UPD] improved overall stability, no longer use threads
[UPD] no longer using tdlib messages and chats database — now correctly /leaving chats
[UPD] removed /info command because of vCards support
2019-04-13 17:42:56 +03:00
annelin ef144a3b83 Added tag v0.3 for changeset afae9d206e21 2019-04-12 06:12:00 +03:00
annelin 33677f5289 Release v0.3
[UPD] more correct way to handle user/chat/auth updates
[UPD] removed successful login message, using presence instead
[NEW] config option `content_upload_prefix` that says which url prefixes will be treated as media and uploaded as file to telegram
[NEW] processing self outgoing messages that sent via another telegram instance
[NEW] added gif animations, locations, video, chat events support
[NEW] control commands implemented:
	/s/old/new (edit), /d (delete), /info @username, /add @username or uid, /join invite.link or id, /invite @username, /kick @username, /ban @username [hours], /block, /unblock, /leave, /delete
2019-04-12 06:11:56 +03:00
annelin c4f2e9d4b8 Added tag v0.2 for changeset e66d22a1b58f 2019-04-09 11:12:05 +03:00
annelin ed1ceb4904 Removed tag v0.2 2019-04-09 11:11:46 +03:00
annelin 343ba38237 Removed tag remove 2019-04-09 11:11:45 +03:00
annelin 1f3139b646 Added tag list for changeset acec610e11bd 2019-04-09 11:11:20 +03:00