Commit graph

89 commits

Author SHA1 Message Date
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
0d54b5acdb Colors 2020-03-01 20:41:18 +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
f251d67c32 UNTESTED: GROUP CHATS ;; add handlers for member join/leave and name changes 2020-03-01 15:38:54 +01:00
0823b72acc Add timestamps to backlogged messages 2020-03-01 15:28:11 +01:00
b453406299 Handle attachments, sometimes 2020-03-01 15:19:09 +01:00
2eda975741 Attachments can be received 2020-03-01 14:48:42 +01:00
75a1dee061 Refactor user info fetching logic 2020-03-01 14:30:51 +01:00
6055544313 Now receiving messages from messenger as well (rudimentary) 2020-03-01 14:14:18 +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
2649e41c85 Allow _ezbr_ to be put in suffix of usernames/room aliases instead of prefix 2020-02-29 10:51:09 +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
1c038995be Allow "query" again 2020-02-28 22:49:31 +01:00
708bd14e99 Fixes 2020-02-28 22:08:18 +01:00
2444302510 Put Easybridge avatar in Docker container 2020-02-28 20:07:47 +01:00
80a8759eb4 Add Dockerfile, LICENSE, README.md 2020-02-28 19:14:04 +01:00
35b93d2722 (nothing) 2020-02-28 18:29:10 +01:00
d4e07e81c5 Error channels; notify users of restart 2020-02-28 17:42:15 +01:00
3880bd1701 Add easybridge account config widget in system rooms 2020-02-28 17:32:09 +01:00
3bb8a78d07 Store the user's key in the session store so that login/unlock is automatic if cookie is still there 2020-02-28 17:20:32 +01:00
669c2c1c28 Actually gorm:"type:text" was useless
With the Postgres backend, strings will use text by default.
Using varchar(255) by default (which is stupid) is done only for sqlite,
which doesn't care about the type anyways.
2020-02-28 17:00:53 +01:00
eaf245e3ee Fix db models to use text instead of varchar; remove unused columns & fix index names 2020-02-28 16:55:45 +01:00
5398e9fc0f Handle matrix left events correctly (hopefully) 2020-02-28 12:16:59 +01:00
d03091dd01 Add LRU cache for some DB operations 2020-02-28 11:06:43 +01:00
21dc026a81 Make protocol name/account name search case insensitive 2020-02-28 10:39:37 +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
be9278ab02 Remove accounts from config file; add log level 2020-02-27 10:44:28 +01:00
7fa2842f5d Do not put password in form on modify 2020-02-27 10:41:35 +01:00
19975e981e Logging done better 2020-02-27 10:35:09 +01:00
6bbf08af8f Account deletion 2020-02-26 23:08:25 +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
775fc7b217 Refactor 2020-02-26 21:36:35 +01:00
f675ba57e4 Implement account configuration save/load from db 2020-02-26 20:21:32 +01:00
d1b66d3088 Stub web interface 2020-02-26 17:45:25 +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
67c7f7361d Move appservice/ to / 2020-02-26 16:07:33 +01:00
a8e87e378e Refactor, rename query command to talk 2020-02-26 16:03:55 +01:00