Commit Graph

67 Commits

Author SHA1 Message Date
Alex 80a8759eb4 Add Dockerfile, LICENSE, README.md 2020-02-28 19:14:04 +01:00
Alex 35b93d2722 (nothing) 2020-02-28 18:29:10 +01:00
Alex d4e07e81c5 Error channels; notify users of restart 2020-02-28 17:42:15 +01:00
Alex 3880bd1701 Add easybridge account config widget in system rooms 2020-02-28 17:32:09 +01:00
Alex 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
Alex 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
Alex eaf245e3ee Fix db models to use text instead of varchar; remove unused columns & fix index names 2020-02-28 16:55:45 +01:00
Alex 5398e9fc0f Handle matrix left events correctly (hopefully) 2020-02-28 12:16:59 +01:00
Alex d03091dd01 Add LRU cache for some DB operations 2020-02-28 11:06:43 +01:00
Alex 21dc026a81 Make protocol name/account name search case insensitive 2020-02-28 10:39:37 +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 be9278ab02 Remove accounts from config file; add log level 2020-02-27 10:44:28 +01:00
Alex 7fa2842f5d Do not put password in form on modify 2020-02-27 10:41:35 +01:00
Alex 19975e981e Logging done better 2020-02-27 10:35:09 +01:00
Alex 6bbf08af8f Account deletion 2020-02-26 23:08:25 +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 775fc7b217 Refactor 2020-02-26 21:36:35 +01:00
Alex f675ba57e4 Implement account configuration save/load from db 2020-02-26 20:21:32 +01:00
Alex d1b66d3088 Stub web interface 2020-02-26 17:45:25 +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 67c7f7361d Move appservice/ to / 2020-02-26 16:07:33 +01:00
Alex a8e87e378e Refactor, rename query command to talk 2020-02-26 16:03:55 +01:00
Alex 6d33fa5d93 Safer ident transform 2020-02-26 15:59:33 +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 a4cf41536f Refactor: move all mx* functions to mxlib/client.go 2020-02-21 14:27:42 +01:00
Alex 65ddb6be2b Do not set room name for PM room 2020-02-18 18:17:08 +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 21188f0952 Go fmt 2020-02-17 21:25:22 +01:00
Alex f7ee64cdfe Fix query/join with invalid IDs (for IRC) 2020-02-17 21:19:28 +01:00