Commit graph

68 commits

Author SHA1 Message Date
78b4037410 Improve XMPP bridge: less flashing 2020-10-10 00:01:42 +02:00
07f9f640f0 Looks like 2FA works in facebook messenger :o 2020-10-04 21:20:22 +02:00
d3ab4fa8ca Update go packages; remove db cache 2020-10-04 19:20:32 +02:00
d7973a98fe IRC autorejoin on reconnect 2020-05-04 18:54:45 +02:00
73fa488402 Add password authentication to IRC 2020-05-04 18:46:25 +02:00
aa6c5628e9 Notify user of stuff going on in backends (not done for FB Messenger) 2020-05-04 18:36:55 +02:00
1d54a50c31 XMPP: autorejoin MUCs when reconnecting 2020-05-04 18:25:29 +02:00
473336f0eb Fix null pointer dereference error 2020-04-05 14:32:49 +02:00
6c118d651e Remove temporary test code 2020-03-11 08:53:23 +01:00
15e3dc46cf Mattermost user search 2020-03-09 18:12:25 +01:00
7c39436eda Save client pickle automatically (messenger) 2020-03-09 18:02:13 +01:00
f9e0c58f3c Fix revUserId (messenger) and implement search (messenger only for now) 2020-03-09 17:41:53 +01:00
62dae5a0a2 client_pickle messenger configuration param
so that a serialized client object can be passed, bypassing the need to re-login at each restart
2020-03-05 16:59:37 +01:00
8a759683a7 Fix SIGSEGV 2020-03-04 23:12:25 +01:00
3288cea61c Don't flood Messenger bridge logs to stderr by default 2020-03-04 23:04:01 +01:00
8e67699fe4 Better practices 2020-03-04 18:16:26 +01:00
d4d3cc422b Improve exiting (actually it was Mattermost that was creating a deadlock) 2020-03-04 17:44:22 +01:00
df1f2d38b3 Handle shutdown better 2020-03-02 21:51:13 +01:00
7e0dbc5824 (wip) many things don't work 2020-03-01 22:12:43 +01:00
d5d74b0b73 Messenger: hopefully handle joins correctly 2020-03-01 20:38:00 +01:00
d2791094d9 Update how mattermost connector works to be more resilient to deco 2020-03-01 20:37:34 +01:00
1d8b7ef84a Refactor some && officially integrate Messenger backend :) 2020-03-01 15:48:58 +01:00
0823b72acc Add timestamps to backlogged messages 2020-03-01 15:28:11 +01:00
018f4a751a Read backlog; handle messages in the correct order 2020-03-01 13:27:29 +01:00
810e75a34d Very primitive ability to send fb messages 2020-03-01 13:08:32 +01:00
1316a3031b Load member lists and avatar (low res) from facebook 2020-02-29 20:47:44 +01:00
7431469632 Support for external processes; stub FB messenger bridge 2020-02-29 18:34:14 +01:00
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
8668b12a81 Rename DbCache to DbKv 2020-02-28 10:34:22 +01:00
30a5cdc2a3 Refactor connector creation logic 2020-02-28 10:18:47 +01:00
11963aaf3d XMPP logging 2020-02-27 11:13:15 +01:00
19975e981e Logging done better 2020-02-27 10:35:09 +01:00
717606a54d Fix maintenance of connected status 2020-02-26 23:01:34 +01:00
8a5ed3f507 Initial ability to configure accounts from web interface 2020-02-26 22:49:27 +01:00
4270202972 Try to fix stuff 2020-02-26 17:03:49 +01:00
d97a76fcc3 Handle event IDs on xmpp; do not echo back messages 2020-02-26 16:51:15 +01:00
facc375e8c Whoops & refactor 2020-02-26 16:32:58 +01:00
f3f1b8d981 Room autorejoin 2020-02-26 16:30:10 +01:00
495a6303dc Backlog several pages of messages if not initial backlog 2020-02-26 15:44:08 +01:00
e6fa715b81 Parallelize mattermost room loading; mutexes 2020-02-26 15:26:57 +01:00
ec9bc9b752 go fmt 2020-02-23 20:24:50 +01:00
0f6be9663e Restrict to subset of teams 2020-02-21 23:00:52 +01:00
d7552b43cd Fix fetching room/user pictures 2020-02-21 19:50:55 +01:00
a14bacc9c1 Keep in cache the Id of the last seen post for backlogging purposes 2020-02-21 19:36:45 +01:00
b0644c3a17 Basic backlogging 2020-02-21 19:28:00 +01:00
e1b838d304 Implement on-demand updating of room & user pictures 2020-02-21 18:43:47 +01:00
fd768a10be Mattermost media objects in both ways + user/team profile pictures from MM to Matrix 2020-02-21 18:08:40 +01:00
ddd5936fb1 Files&images Mattermost->Matrix works 2020-02-21 15:57:53 +01:00
92d380aa86 Easybridge has an avatar 2020-02-21 15:12:22 +01:00
1370a6b35f Get display name correctly 2020-02-18 18:09:56 +01:00