summaryrefslogtreecommitdiffstats
path: root/bridge/matrix
Commit message (Collapse)AuthorAgeFilesLines
* Add Matrix username spoofing (#1875)Lucki2022-09-062-12/+36
| | | | | * Matrix username spoofing * Add config sample
* Add KeepQuotedReply option for matrix to fix regression (#1823)Wim2022-05-061-6/+9
| | | | | | | | | | | | Matrix quotes replies and as of matterbridge 1.24.0 we strip those as this causes issues with bridges support threading and have PreserveThreading enabled. Introduced via https://github.com/42wim/matterbridge/commit/9a8ce9b17e560433731eb5efa3cee7ced0b93605 But if you for example use mattermost or discord with webhooks you'll need to enable this if you want something that looks like a reply from matrix. See issues: - https://github.com/42wim/matterbridge/issues/1819 - https://github.com/42wim/matterbridge/issues/1780
* Remove go replace by fork (matrix) (#1771)Wim2022-03-202-2/+2
|
* Make HTMLDisable work correct (matrix) (#1716)Wim2022-02-061-31/+60
|
* Reply support for Matrix (#1664)vpzomtrrfrt2022-01-091-0/+79
| | | | | | | | | * Post replies to matrix * Handle replies from matrix * Include protocol in canonical ID return * fmt
* Keep the logger on a disabled bridge. Fixes #1616 (#1621)Wim2021-10-241-0/+3
|
* Fix content body issue for redactions (matrix) (#1496)Gary Kim2021-05-291-7/+7
| | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Add MxId/Token login option for Matrix (#1438)Jason Robinson2021-05-171-15/+26
| | | | | | | | | | | | | * Add possibility for using MxId/Token with Matrix Makes it possible to configure a Matrix bot to use Matrix ID + Access token instead of username/password. This makes it possible to use the bot in environments where password login is disabled (for example SSO environments). Matrix user ID's are commonly referred to as "MXID's". I thought about (ab)using "Login" here but it felt like a bad idea given it's used as "username" for the password login. None of the other configuration items felt fitting. Closes #1429 * MxId -> MxID * Add err != nil to matrix.NewClient
* Mark messages as read (matrix). Fixes #1317 (#1328)Wim2020-12-061-0/+5
|
* Implement ratelimiting (matrix). Fixes #1238 (#1326)Wim2020-12-062-51/+169
|
* Show mxids in case of clashing usernames (matrix) (#1309)Simon THOBY2020-11-251-6/+23
| | | Fixes #1302.
* Send the display name instead of the user name (matrix) (#1282)Simon THOBY2020-11-222-110/+203
| | | | | | | | | * matrix: send the display name (the nickname in matrix parlance) instead of the user name There is also the option UseUserName (already in use by the discord bridge) to turn back to the old behavior. * matrix: update displayNames on join events * matrix: introduce a helper.go file to keep matrix.go size reasonable
* Allow message edits on matrix (#1286)Simon THOBY2020-11-131-1/+86
| | | based on https://github.com/Half-Shot/matrix-doc/blob/hs/1695-message-edits-proposal/proposals/1695-message-edits.md
* Add username formatting for all events (matrix) (#1233)Dellle2020-10-202-32/+73
|
* Matrix: Permit uploading files of other mimetypes (#1237)Ben Wiederhake2020-09-261-16/+12
| | | | | | This includes at least c-source-files, cpp-source-files, markdown-files, Rust-files, and plaintext files. We already allow uploading arbitrary executables. (And javascript-files, coincidentally.) Not permitting these other text files would be highly unexpected.
* Switch to upstream gomatrix (#1219)Tilo Spannagel2020-08-301-9/+32
| | | Signed-off-by: Tilo Spannagel <development@tilosp.de>
* Sleep when ratelimited on joins (matrix). Fixes #1201 (#1206)Wim2020-08-241-1/+39
|
* Remove HTML formatting for push messages (#1188) (#1189)Dellle2020-08-201-3/+12
| | | | | | | When there is a valid HTML formatting then remove this in the cleartext field of the matrix client. This leads to nicer push messages on smartphone apps. Fix #1188
* Add an option to disable sending HTML to matrix. Fixes #1022 (#1135)Wim2020-05-141-0/+8
|
* Avoid creating invalid url when the user doesn't have an avatar (matrix) (#1130)Tiago Epifânio2020-05-111-1/+3
|
* Add support for avatars from matrix. #984 (#1007)Wim2020-02-101-3/+20
|
* Add support for uploading application/x and audio/x (matrix). Fixes #925 (#929)Wim2019-10-271-1/+14
|
* Detect html nicks in RemoteNickFormat (matrix). Fixes #696 (#719)Wim2019-02-171-1/+8
|
* Send notices on join/parts (matrix). Fixes #712 (#716)Wim2019-02-161-0/+9
|
* Send username when uploading video/images (matrix). Fixes #715 (#717)Wim2019-02-161-0/+6
|
* Fix displaying usernames for plain text clients. (matrix) (#685)David Hill2019-01-091-1/+1
|
* Add support for markdown to HTML conversion (matrix). Closes #663 (#670)Wim2019-01-061-2/+3
| | | | | This uses our own gomatrix lib with the SendHTML function which adds HTML to formatted_body in matrix. golang-commonmark is used to convert markdown into valid HTML.
* Refactor handleUploadFile (matrix) (#629)Wim2018-12-031-37/+46
|
* Fix golint linter issues and enable it in CI (#593)Duco van Amstel2018-11-151-5/+5
|
* Make gocritic linter happyWim2018-11-081-2/+2
|
* Make unparam linter happyWim2018-11-081-2/+1
|
* Clean up various stuff (#508)David Hill2018-11-071-3/+7
| | | * various cleanups
* Reconnect on quit. (irc) See #431 (#445)Liam Stanley2018-06-091-4/+5
| | | | | * potential fixes for #431 * go: fix formatting/gofmt/goreturns
* Use viper (github.com/spf13/viper) for configurationWim2018-03-041-9/+9
|
* Improve debug messagesWim2018-02-281-3/+3
|
* Refactor using factoryWim2018-02-271-29/+22
|
* Refactor matrixWim2018-02-271-96/+164
|
* Use prefixed-formatter for better loggingWim2018-02-211-1/+1
|
* Move Sirupsen => sirupsenWim2018-02-201-1/+1
|
* Send chat notification if media is too big to be re-uploaded to MediaServer. ↵Wim2018-02-031-0/+7
| | | | See #359
* Fix buildWim2018-02-011-1/+1
|
* Add comment to file upload from telegram. Show comments on all bridges. ↵Wim2018-02-011-0/+6
| | | | Closes #358
* Add an extension to images without one (matrix). #331Wim2018-01-201-0/+14
|
* Fix possible panics (matrix). Closes #333Wim2018-01-091-0/+6
|
* Add support for deleting messages from/to matrix (matrix). Closes #320Wim2017-12-251-57/+73
|
* Allow specifying maximum download size of media using MediaDownloadSize ↵Wim2017-12-191-1/+1
| | | | (slack,telegram,matrix)
* Refactor and add MediaDownloadSize to GeneralWim2017-12-191-8/+3
|
* Fix panic (matrix). Closes #316Wim2017-12-111-0/+1
|
* Add support for uploaded images/video/files (matrix)Wim2017-11-221-2/+30
|
* Add support for uploading images/video (matrix). Closes #302Wim2017-11-211-0/+40
|