Commit graph

49 commits

Author SHA1 Message Date
Alex d5d74b0b73 Messenger: hopefully handle joins correctly 2020-03-01 20:38:00 +01:00
Alex d2791094d9 Update how mattermost connector works to be more resilient to deco 2020-03-01 20:37:34 +01:00
Alex 1d8b7ef84a Refactor some && officially integrate Messenger backend :) 2020-03-01 15:48:58 +01:00
Alex 0823b72acc Add timestamps to backlogged messages 2020-03-01 15:28:11 +01:00
Alex 018f4a751a Read backlog; handle messages in the correct order 2020-03-01 13:27:29 +01:00
Alex 810e75a34d Very primitive ability to send fb messages 2020-03-01 13:08:32 +01:00
Alex 1316a3031b Load member lists and avatar (low res) from facebook 2020-02-29 20:47:44 +01:00
Alex 7431469632 Support for external processes; stub FB messenger bridge 2020-02-29 18:34:14 +01:00
Alex 38a3f1bdb1 Fix Mattermost event deduplication
Mattermost assigns its own IDs to messages, thus when sending a message
to Mattermost the event_seen key that has to be written must take into
account that ID and not the one that we put in the event (which was the
Matrix event ID)

Note that for XMPP anything can be used as an ID, so using the Matrix
event ID there worked, but it's actually not so good.
2020-02-29 10:01:42 +01:00
Alex 8668b12a81 Rename DbCache to DbKv 2020-02-28 10:34:22 +01:00
Alex 30a5cdc2a3 Refactor connector creation logic 2020-02-28 10:18:47 +01:00
Alex 11963aaf3d XMPP logging 2020-02-27 11:13:15 +01:00
Alex 19975e981e Logging done better 2020-02-27 10:35:09 +01:00
Alex 717606a54d Fix maintenance of connected status 2020-02-26 23:01:34 +01:00
Alex 8a5ed3f507 Initial ability to configure accounts from web interface 2020-02-26 22:49:27 +01:00
Alex 4270202972 Try to fix stuff 2020-02-26 17:03:49 +01:00
Alex d97a76fcc3 Handle event IDs on xmpp; do not echo back messages 2020-02-26 16:51:15 +01:00
Alex facc375e8c Whoops & refactor 2020-02-26 16:32:58 +01:00
Alex f3f1b8d981 Room autorejoin 2020-02-26 16:30:10 +01:00
Alex 495a6303dc Backlog several pages of messages if not initial backlog 2020-02-26 15:44:08 +01:00
Alex e6fa715b81 Parallelize mattermost room loading; mutexes 2020-02-26 15:26:57 +01:00
Alex ec9bc9b752 go fmt 2020-02-23 20:24:50 +01:00
Alex 0f6be9663e Restrict to subset of teams 2020-02-21 23:00:52 +01:00
Alex d7552b43cd Fix fetching room/user pictures 2020-02-21 19:50:55 +01:00
Alex a14bacc9c1 Keep in cache the Id of the last seen post for backlogging purposes 2020-02-21 19:36:45 +01:00
Alex b0644c3a17 Basic backlogging 2020-02-21 19:28:00 +01:00
Alex e1b838d304 Implement on-demand updating of room & user pictures 2020-02-21 18:43:47 +01:00
Alex fd768a10be Mattermost media objects in both ways + user/team profile pictures from MM to Matrix 2020-02-21 18:08:40 +01:00
Alex ddd5936fb1 Files&images Mattermost->Matrix works 2020-02-21 15:57:53 +01:00
Alex 92d380aa86 Easybridge has an avatar 2020-02-21 15:12:22 +01:00
Alex 1370a6b35f Get display name correctly 2020-02-18 18:09:56 +01:00
Alex 85d2c215bb Don't always rejoin; propagate user nicknames 2020-02-18 18:07:35 +01:00
Alex b96f8a2016 WTH nil is not propagated correctly ? got quantum nil if not doing this 2020-02-18 17:25:23 +01:00
Alex cf13f2b5af Handle mattermost private messages 2020-02-18 17:17:04 +01:00
Alex 78c7d1deae (incomplete) handle title changes from mattermost to matrix 2020-02-18 16:14:31 +01:00
Alex 62ca33fd0a Basic mattermost is going on correctly 2020-02-17 23:17:13 +01:00
Alex f7ee64cdfe Fix query/join with invalid IDs (for IRC) 2020-02-17 21:19:28 +01:00
Alex 31bba8d946 Talking to Easybridge is now possible for some things 2020-02-17 21:04:21 +01:00
Alex a4dd3b310d Go fmt 2020-02-17 19:02:26 +01:00
Alex 531b59bf95 Logging 2020-02-17 19:02:00 +01:00
Alex 86942a34a2 Fix XMPP && transmit nicknames from bridges to matrix 2020-02-17 16:28:32 +01:00
Alex 584312f308 Correctly update room topics (works on irc) 2020-02-17 15:30:01 +01:00
Alex 400c67f735 Logging; fix xmpp a bit 2020-02-17 09:41:08 +01:00
Alex c3b941841e Basic bridging going on both ways successfully 2020-02-16 23:27:03 +01:00
Alex d2ccd6763a Begin some bridging 2020-02-16 22:07:41 +01:00
Alex 046ec6380b Some infrastructure 2020-02-16 19:30:49 +01:00
Alex 225fc84f09 Basic XMPP 2020-02-16 17:53:31 +01:00
Alex b7f0776784 Invitations, closing before configure, etc 2020-02-16 16:41:13 +01:00
Alex ec67a610e3 First commit with working stub of IRC bridge 2020-02-16 16:26:55 +01:00