Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1671 commits
Select commit Hold shift + click to select a range
a189298
Handle document messages (whatsapp) (#1475)
May 21, 2021
b9fb361
Rename .jpe files to .jpg Fixes #1463 (whatsapp) (#1485)
42wim May 22, 2021
ec6ae34
Fix crash on encountering VideoMessage (whatsapp) (#1483)
May 23, 2021
4b4b2d7
Delete now-unused `img/slack-setup-*.png` files (#1491)
chrisbobbe May 25, 2021
4fcad8e
Make DocumentMessage handler use FileName attribute (whatsapp) (#1488)
May 25, 2021
efec01a
Support sending file URLs (nctalk) (#1489)
gary-kim May 27, 2021
c861374
Add a MessageClipped option to set your own clipped message. Closes #…
42wim May 27, 2021
766f355
Fix content body issue for redactions (matrix) (#1496)
gary-kim May 29, 2021
4091b6f
Update vendor (#1498)
42wim May 29, 2021
c7897cc
Update irc references (#1499)
42wim May 29, 2021
1d50da4
Add support for message deletion (nctalk) (#1492)
gary-kim Jun 1, 2021
641ed18
Release v1.22.2 (#1504)
42wim Jun 1, 2021
6a12f9f
Bump version
42wim Jun 1, 2021
dedc1c4
Update Rhymen/go-whatsapp module to latest master (2b8a3e9b8aa2) (#1518)
nathanaelhoun Jun 16, 2021
fb5a842
Update dependencies (#1521)
42wim Jun 16, 2021
e45bbe4
Release v1.22.3 (#1522)
42wim Jun 16, 2021
f364984
Bump version
42wim Jun 16, 2021
a79e632
Add support for separate display name (nctalk) (#1506)
gary-kim Jun 19, 2021
17c2d1f
Update matterbridge.toml.sample
42wim Jun 24, 2021
66b6f97
Update .goreleaser.yml
42wim Jun 24, 2021
d93ab04
Use correct URL for Mediaserver Setup (#1550)
KidA001 Jul 20, 2021
761c0b7
Add link to service files wiki page (#1545)
minecraftchest1 Jul 20, 2021
da4dcec
Fix XMPP parseNick function (#1547)
tytan652 Jul 20, 2021
13bbeea
Add space before file upload comment (slack) (#1554)
KidA001 Jul 27, 2021
9efcc41
Update matterbridge/go-xmpp vendor (#1559)
42wim Jul 31, 2021
1f365c7
Add support for anonymous connection (xmpp) (#1548)
tytan652 Jul 31, 2021
44f3e25
Update vendor (#1560)
42wim Jul 31, 2021
86151da
Remove newline character in bridge multiline messages (mumble) (#1572)
powerjungle Aug 22, 2021
400ecfb
Update github actions to go1.17 and increase deadline (#1573)
42wim Aug 22, 2021
d4195de
Disable errorlint,gci and nlreturn
42wim Aug 24, 2021
53cafa9
Convert .tgs with go libraries (and cgo) (telegram) (#1569)
Benau Aug 24, 2021
110b6a1
Build static binaries on github
42wim Oct 14, 2021
57fce93
Disable exhaustivestruct linter
42wim Oct 16, 2021
20f6c05
Update vendor
42wim Oct 16, 2021
b56f80b
Add support for mattermost v6
42wim Oct 16, 2021
b06a574
Invalidate user in cache on user change event (#1604)
keenan-v1 Oct 16, 2021
6dcc23e
Update arm dockerfile to build 1.22.3 fixes #1602 (#1603)
KingPin Oct 16, 2021
61bab22
Add UserName and RealName options for IRC (#1590)
irydacea Oct 16, 2021
7551b4e
Need to update to Go 1.17 because of gopackage/ddp dependency (#1611)
42wim Oct 16, 2021
7ae45c4
Update README to use go install instead of go get
42wim Oct 16, 2021
4dd8bae
Update dependencies (#1610)
42wim Oct 16, 2021
a3a8a57
Add docker build
42wim Oct 17, 2021
b98d56d
Fix docker build
42wim Oct 17, 2021
86f1a80
Add the githash to docker builds
42wim Oct 17, 2021
7464fd1
Add docker builds on tags
42wim Oct 17, 2021
85f6685
Fix docker build
42wim Oct 17, 2021
cc6253a
Tag also latest on docker builds
42wim Oct 17, 2021
4478d5d
Update GH actions to multi arch (arm64) (#1614)
KingPin Oct 17, 2021
21305d9
Push docker images also to ghcr.io
42wim Oct 17, 2021
55f41dd
Release v1.23.0 (#1615)
42wim Oct 17, 2021
2199174
Bump version
42wim Oct 18, 2021
831ff6d
Update matterclient dep. Fixes #1617
42wim Oct 21, 2021
8967f02
Update gozulipbot dependency (#1618)
42wim Oct 23, 2021
77f61ee
Fix gozulipbot vendor
42wim Oct 23, 2021
b7d7307
Remove forbidigo linter
42wim Oct 23, 2021
e3ffbca
Add better error handling on Zulip (#1589)
alexmv Oct 23, 2021
46e4317
Keep the logger on a disabled bridge. Fixes #1616 (#1621)
42wim Oct 24, 2021
b1f4031
Fix panic in msteams. Fixes #1588 (#1622)
42wim Oct 24, 2021
c4fe462
Use a new msgID when replacing messages (xmpp). Fixes #1584 (#1623)
42wim Oct 24, 2021
1635db9
Do not check cache on deleted messages (mattermost). Fixes #1555 (#1624)
42wim Oct 24, 2021
b0e7b84
Add article. (#1625)
minecraftchest1 Oct 25, 2021
f65b18c
Remove wrapcheck linter
42wim Oct 30, 2021
835dd26
Update dependencies (#1628)
42wim Oct 30, 2021
5e1be8e
Do not fail on no avatar data (xmpp) #1529 (#1627)
PapaTutuWawa Oct 30, 2021
9afd33c
Release v1.23.1 (#1629)
42wim Oct 30, 2021
8601eed
Bump version
42wim Nov 1, 2021
d1f8347
Update go-whatsapp version (#1630)
snikpic Nov 2, 2021
73ec02a
Release v1.23.2 (#1631)
42wim Nov 2, 2021
dcbd7f8
Bump version
42wim Nov 2, 2021
df4d76e
Allow binding to IP on IRC (#1640)
inzanity Nov 29, 2021
bd0516f
Use Alpine stable again in Dockerfile (#1643)
SuperSandro2000 Nov 29, 2021
80d3033
Update matterbridge.toml.sample (#1644)
TehPeGaSuS Dec 1, 2021
b275efa
Add support for code blocks in telegram (#1650)
Dec 7, 2021
062b831
Fix Zulip example in matterbridge.toml.sample (#1657)
YashRE42 Dec 10, 2021
e1eebcd
Disable some more linters
42wim Dec 10, 2021
658bdd9
Fix telegram/handlers.go linting (#1658)
42wim Dec 10, 2021
3893a03
Update dependencies/vendor (#1659)
42wim Dec 11, 2021
02e3d78
Update telegram-bot-api to v5 (#1660)
42wim Dec 11, 2021
ae2ad82
Add comments to messages (telegram) (#1652)
soloam Dec 12, 2021
6cb359c
Fix vendored xmpp (#1661)
42wim Dec 12, 2021
dbedc99
Add support for Harmony (#1656)
sowelipililimute Dec 18, 2021
8f7ab28
Fix codeql warnings
42wim Dec 19, 2021
e3ee0df
Add Dependabot.yml config (#1663)
GoliathLabs Dec 19, 2021
16ab4c6
Remove GroupID (vk) (#1668)
SevereCloud Jan 9, 2022
9a8ce9b
Reply support for Matrix (#1664)
vpzomtrrfrt Jan 9, 2022
2e8ab11
Use current parentID if rootId is not set (mattermost) (#1675)
42wim Jan 9, 2022
15ad016
Log eventtype in debug (mattermost) (#1676)
42wim Jan 9, 2022
2bcad84
Add more ignore debug messages (mattermost) (#1678)
42wim Jan 10, 2022
fecca57
Bump github.com/mattermost/mattermost-server/v5 from 5.39.0 to 5.39.3…
dependabot[bot] Jan 18, 2022
aad60c8
Bump github.com/mattermost/mattermost-server/v6 from 6.1.0 to 6.3.0 (…
dependabot[bot] Jan 18, 2022
6aa05b3
Bump github.com/spf13/viper from 1.9.0 to 1.10.1 (#1684)
dependabot[bot] Jan 18, 2022
61d56f2
Bump github.com/labstack/echo/v4 from 4.6.1 to 4.6.3 (#1685)
dependabot[bot] Jan 18, 2022
ac06a26
Bump github.com/go-telegram-bot-api/telegram-bot-api/v5 (#1693)
dependabot[bot] Jan 25, 2022
5a1fd7d
Bump github.com/SevereCloud/vksdk/v2 from 2.11.0 to 2.13.0 (#1698)
dependabot[bot] Jan 28, 2022
6a7412b
Increase batch size for conversation.list api method (slack) (#1700)
DavyJohnes Jan 28, 2022
4801850
Add Telegram Bot Command /chatId (telegram) (#1703)
DavyJohnes Feb 2, 2022
4b226a6
Add support for sender_chat (telegram) (#1677)
42wim Feb 4, 2022
6438a3d
Add support for deleting files from slack to discord. Fixes #1705 (#1…
42wim Feb 5, 2022
c3644c8
Add support for client certificate (irc) (#1710)
42wim Feb 5, 2022
ab75d50
Use own gomatrix fork again. Fixes #1382 (#1713)
42wim Feb 5, 2022
c211152
Add more debug options for discord (#1712)
42wim Feb 6, 2022
c8d7fde
Add UseUsername option (mattermost). Fixes #1665 (#1714)
42wim Feb 6, 2022
9c43eff
Add support for using ID in channel config (mattermost) (#1715)
42wim Feb 6, 2022
7288f71
Make HTMLDisable work correct (matrix) (#1716)
42wim Feb 6, 2022
2a3f475
Make EditSuffix option actually work (whatsapp). Fixes #1510 (#1728)
42wim Feb 6, 2022
dd3fb32
Bump github.com/SevereCloud/vksdk/v2 from 2.13.0 to 2.13.1 (#1730)
dependabot[bot] Feb 7, 2022
65c7ac8
Release v1.24.0 (#1732)
42wim Feb 7, 2022
df30366
Bump version
42wim Feb 7, 2022
5bc18fb
Remove dependabot to fix fork spamming
42wim Feb 7, 2022
e7b3ebf
Add OpenRC service file (#1746)
Feb 20, 2022
0dbbd04
Create inmessage-logger.tengo (#1688) (#1747)
CyberTailor Mar 11, 2022
ccb5b1d
Fix Telegram Problem (unforwarded formatting and skipping of linebrea…
reckel-jm Mar 11, 2022
9c20332
Fix Telegram channel title in forwards (#1753)
ValdikSS Mar 11, 2022
e4c0ca0
Switch to discordgo upstream again (#1759)
42wim Mar 12, 2022
c30e90f
Fix panic in irc. Closes #1751 (#1760)
42wim Mar 12, 2022
b3be2e2
Update dependencies and vendor (#1761)
42wim Mar 12, 2022
c51753c
Fix for complex-formatted Telegram text (#1765)
ValdikSS Mar 19, 2022
663850a
Implement a workaround to signal Opus support (mumble) (#1764)
s3lph Mar 19, 2022
f0f8014
Refactor utf-8 conversion (irc) (#1767)
42wim Mar 19, 2022
24bc0f1
Release v1.24.1 (#1768)
42wim Mar 19, 2022
c5e49ee
Bump version
42wim Mar 19, 2022
17da95b
Remove go replace by fork (matrix) (#1771)
42wim Mar 20, 2022
e7b1937
Rewrite whatsapp bridge to use whatsmeow
42wim Jan 30, 2022
e3cafea
Add dependencies/vendor (whatsapp)
42wim Jan 30, 2022
0205a67
Refactor JoinChannel (whatsapp)
42wim Feb 3, 2022
1b9877f
Fetch avatars synchronous (whatsapp)
42wim Feb 3, 2022
aefa708
Update vendor (whatsapp)
42wim Mar 12, 2022
69c74be
Add busy_timeout which fixes SQLITE_BUSY errors (whatsapp)
42wim Mar 13, 2022
320c996
Refactor login logic (whatsapp)
42wim Mar 13, 2022
5356b38
Update vendor (whatsapp)
42wim Mar 13, 2022
21c4e56
Use Conversation instead of ExtendedTextMessage (whatsapp)
42wim Mar 13, 2022
4da1444
Check for Conversation on receiving messages (whatsapp)
42wim Mar 13, 2022
fffa29c
Fix channel in video/audio/image/document handling (whatsapp)
42wim Mar 13, 2022
d64eed4
Fix linting (whatsapp)
42wim Mar 13, 2022
2623a41
Update vendor (whatsapp)
42wim Mar 19, 2022
496d5b4
Add whatsappmulti buildflag for whatsapp with multidevice support (wh…
42wim Mar 20, 2022
952221d
Fix linting (whatsapp)
42wim Mar 20, 2022
5c8f224
Update README
42wim Mar 20, 2022
e6adecf
Add Dockerfile_whatsappmulti for building with WhatsApp Multi-Device …
tpxtron Mar 22, 2022
cc36ebf
Add UseFullName option (telegram) (#1777)
sas1024 Mar 25, 2022
5d9604c
Preserve threading from telegram replies (telegram) (#1776)
sas1024 Mar 25, 2022
5f75f98
Update lrstanley/girc dep (#1773)
42wim Mar 25, 2022
6fe0cff
Use slack real name as user name (slack) (#1775)
sas1024 Mar 26, 2022
d7b7ff7
Preserve threading for messages with files (slack) (#1781)
sas1024 Mar 30, 2022
30aae8e
Multiple media in one message (telegram) (#1779)
sas1024 Mar 30, 2022
4ab72ac
Ignore sending file with comment, if comment contains IgnoreMessages …
sas1024 Mar 31, 2022
c6716e0
Update dependencies (#1784)
42wim Mar 31, 2022
ce782ff
Change discord non-native threading behaviour (discord) (#1791)
42wim Apr 3, 2022
e63870a
Add whatsapp deprecation warning (#1792)
42wim Apr 3, 2022
26596ac
Release v1.25.0 (#1793)
42wim Apr 3, 2022
32474a5
Bump version
42wim Apr 7, 2022
f044b94
Clear existing IRC event handlers before connecting new ones (#1795)
bd808 Apr 7, 2022
281ef53
Update dependencies (#1800)
42wim Apr 11, 2022
7740a36
Fix build command for latest stable
42wim Apr 11, 2022
d7cad3b
Update matterbridge/gomatrix. Fixes #1772 (#1803)
42wim Apr 11, 2022
7bc93c5
Do not modify .webm files (telegram). Fixes #17** (#1802)
42wim Apr 17, 2022
ce18c94
Do not apply any markup to URL entities (telegram) (#1808)
ValdikSS Apr 21, 2022
ee932a9
Fix UploadMessagesPhoto for vk community chat (vk) (#1812)
SevereCloud Apr 22, 2022
c3573f1
Add CGO_ENABLED info to README
42wim Apr 24, 2022
2fca3c7
Add CGO_ENABLED info also to whatsappmulti build
42wim Apr 24, 2022
67adad3
Update dependencies (#1813)
42wim Apr 25, 2022
99fbd9c
Fix telegram message deletion request (#1818)
sas1024 May 1, 2022
e775a8a
Revert "Clear existing IRC event handlers before connecting new ones …
42wim May 1, 2022
888c8b9
Add space between filename and URL (mattermost). Fixes #1820
42wim May 1, 2022
81e6f75
Update dependencies (#1822)
42wim May 1, 2022
2fa96ec
Add KeepQuotedReply option for matrix to fix regression (#1823)
42wim May 6, 2022
700b955
Improve Slack attachments formatting (slack) (#1807)
chugunov May 9, 2022
1e55dd4
Update dependencies (#1831)
42wim May 9, 2022
051e6e7
Release v1.25.1 (#1832)
42wim May 9, 2022
3819062
Bump version
42wim Jun 4, 2022
8751fb4
Update dependencies (#1841)
42wim Jun 11, 2022
5604d14
Ignore events from other guilds, add nosendjoinpart support (discord)…
wlcx Jun 24, 2022
4649876
Update dependencies (#1851)
42wim Jun 24, 2022
d07a3e0
Support mattermost v7 (#1852)
42wim Jun 24, 2022
20f841c
Release v1.25.2 (#1853)
42wim Jun 24, 2022
e450e1c
Bump version
42wim Jun 24, 2022
3c4192e
Fix message html entities escaping when sending to Telegram (#1855)
sas1024 Jul 6, 2022
6a3fc71
Update dependencies and go1.18 (#1873)
42wim Aug 13, 2022
0482cd1
Rename freenode to libera in simple config (#1870)
Glandos Aug 13, 2022
365acc3
Fix error messages in telegram and slack bridges (#1862)
sas1024 Sep 5, 2022
7abf1a5
Add the `beerchat` project (a minetest mod) (#1877)
BuckarooBanzay Sep 5, 2022
fda05f2
Update dependencies and fix whatsmeow API changes (#1887)
42wim Sep 5, 2022
0c83946
Add Matrix username spoofing (#1875)
Lucki Sep 5, 2022
9bbdf70
Fix telegram attachment comment formatting and escaping (#1920)
sas1024 Nov 26, 2022
3ad5dea
Fix empty messages on IRC (#1897)
jx11r Nov 26, 2022
6d5a3df
Allow substitution of bot's nick in RunCommands (irc) (#1890)
Kufat Nov 26, 2022
6da9d56
Implement sending of EventJoinLeave both to and from Mumble (#1915)
s3lph Nov 26, 2022
4fd0a76
Update dependencies (#1929)
42wim Nov 26, 2022
0a6d64a
Improve attachment handling (whatsapp) (#1928)
ilmaisin Nov 26, 2022
91353d0
Handle incoming document captions from whatsapp (#1935)
ilmaisin Dec 14, 2022
4cf313c
Fix the "Someone" nickname problem (whatsapp) (#1931)
ilmaisin Dec 14, 2022
eac2a8c
Remove mattermost 5 support (#1936)
42wim Jan 28, 2023
880586b
Update dependencies (#1951)
42wim Jan 28, 2023
d23f256
Make the cgo lottie a build tag (-tag cgolottie) (#1955)
42wim Jan 28, 2023
6dafebc
Release v1.26.0 (#1957)
42wim Jan 29, 2023
24f6747
Bump version
42wim Jan 29, 2023
57ce191
Bump golang.org/x/net from 0.5.0 to 0.7.0 (#2003)
dependabot[bot] Mar 9, 2023
ac68168
Handle messages with link preview not being relayed (whatsapp) (#1970)
yousefmansy1 Mar 9, 2023
a9ccc18
Prefer mp4 extension for video attachments (whatsapp) (#1971)
yousefmansy1 Mar 9, 2023
f436ae7
Bump golang.org/x/image from 0.3.0 to 0.5.0 (#1973)
dependabot[bot] Mar 9, 2023
d598030
Provide a multi-room multi-bridge example (#1972)
BenWiederhake Mar 9, 2023
d00dcf3
Handle Whatsapp threading/replies (whatsapp) (#1974)
yousefmansy1 Mar 9, 2023
768fb79
Use AuthorSignature as a fallback username (telegram) (#1979)
yousefmansy1 Mar 9, 2023
2b236f3
add deltachat to 3rd party API bridges (#1992)
Mar 9, 2023
3a4bdd7
Fix rate-overlimit issue when there are more than 5 whatsapp channels…
yousefmansy1 Mar 9, 2023
d5f9cdf
Update builds to go 1.20 (#2006)
42wim Mar 9, 2023
08779c2
Update dependencies (#2007)
42wim Mar 9, 2023
2c349c5
Support handling delete message from whatsapp. (#1986)
yousefmansy1 Mar 10, 2023
53b63ad
Update to actions v3 (#2009)
42wim Mar 10, 2023
544cd5c
Fix Android media download problem (whatsapp) (#2010)
ilmaisin Mar 10, 2023
a3deb48
Add support for Mumble servers with no message length limit (#2008)
mvoolt Mar 10, 2023
356ada8
Add handlers at the end. Fixes #1988 (discord) (#2011)
42wim Mar 11, 2023
89e2dba
Check client disconnect to exit for loop (api). Fixes #1983 (#2012)
42wim Mar 11, 2023
f345eea
Set correct loglevel (whatsapp). Fixes #1980 (#2013)
42wim Mar 11, 2023
8587fa8
Fix possible panic in mattermost. (mattermost) Fixes #1947 (#2014)
42wim Mar 11, 2023
0917e17
Allow to send files in Extra via /api/message (api) (#1993)
Mar 11, 2023
c2b8e29
Add extra error checking for fileinfo (api) (#2015)
42wim Mar 11, 2023
601f48a
Add support for Telegram topics (telegram) (#1942)
cosmicboots Mar 14, 2023
24cf007
Update matterbridge.toml.sample
42wim Mar 14, 2023
d422779
Support topic changes and Join/Leave messages (whatsapp) (#2017)
yousefmansy1 Mar 14, 2023
839f384
Return a message ID when sending with a webhook (discord) (#1976)
yousefmansy1 Mar 14, 2023
60639b6
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 (#2018)
dependabot[bot] Mar 15, 2023
3e20a3d
Create mumble-autolink.tengo (#2029)
mvoolt Apr 3, 2023
5feafcd
Fix broken reply (telegram) (#2026)
cosmicboots Apr 3, 2023
6500714
Don't treat nil as an unknown type of error (zulip) (#2024)
duxovni Apr 3, 2023
5bbe422
Support telegram chat Join/Leave updates (#2019)
yousefmansy1 Apr 3, 2023
574f253
Add nil check for group update (telegram) (#2036)
yousefmansy1 Apr 5, 2023
89b0d36
Remove gitter bridge (#2035)
42wim Apr 5, 2023
9459495
Fix typo in logging (#2056)
jkarppinen Aug 5, 2023
56e7bd0
Update dependencies and remove old matterclient lib (#2067)
42wim Aug 5, 2023
2f33fe8
Update dependencies and build to go1.22 (#2113)
42wim May 23, 2024
70e8c6e
Move deprecated/inactive 3rd party bridges to their own sections (#2143)
erentar May 23, 2024
733f4c7
Close res body (rocketchat) (#2135)
testwill May 23, 2024
b2df32b
Clear existing IRC event handlers before connecting to new ones (irc)…
bd808 May 23, 2024
fa147c0
Fix linting
42wim May 23, 2024
6b528ff
Update post types and include system removals in skip logic (mattermo…
NeilHanlon May 23, 2024
d055b45
Correctly split three-or-more byte sequences of UTF-8 (#2123)
BenWiederhake May 23, 2024
13fd5c5
Fix linting
42wim May 23, 2024
0bb5215
Do not bridge CTCP commands other than ACTION (irc) (#2090)
patrickxia May 23, 2024
4bf1c04
Split messages if necessary (discord) (#2124)
BenWiederhake May 23, 2024
2e9db32
Fix typos in matterbridge.toml.sample (#2077)
Quantum-0 May 23, 2024
6edd5de
Trim nick whitespace when looking up the guild members (discord) (#2072)
bsstephan May 23, 2024
815d8b8
Fix linting
42wim May 23, 2024
a892679
Fix linting
42wim May 23, 2024
65d78e3
Update go-xmpp dependency (#2151)
42wim May 23, 2024
d16645c
Update mattermost library (#2152)
42wim May 24, 2024
c4157a4
Update dependencies (#2180)
42wim Aug 27, 2024
5f8828f
HACK: Allow to actually use plaintext localhost connection
selfhoster1312 Sep 9, 2025
fe828cc
HACK: Declare go-xmpp module for use intests
selfhoster1312 Sep 11, 2025
e68f43b
ci: Start implementing integration tests for xmpp
selfhoster1312 Sep 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Dockerfile
tgs.Dockerfile
3 changes: 3 additions & 0 deletions .fixmie.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
go:
comments:
disabled: true
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!-- This is a bug report template. By following the instructions below and
filling out the sections with your information, you will help the us to get all
the necessary data to fix your issue.

You can also preview your report before submitting it.

Text between <!-- and --​> marks will be invisible in the report.
-->

<!-- If you have a configuration problem, please first try to create a basic configuration following the instructions on [the wiki](https://github.com/42wim/matterbridge/wiki/How-to-create-your-config) before filing an issue. -->


### Environment
<!-- run `matterbridge -version` -->
<!-- If you're having problems with mattermost also specify the mattermost version. -->
Version:

<!-- What operating system are you using ? (be as specific as possible) -->
Operating system:

<!-- If you compiled matterbridge yourself:
* Specify the output of `go version`
* Specify the output of `git rev-parse HEAD` -->

### Please describe the expected behavior.


### Please describe the actual behavior.
<!-- Use logs from running `matterbridge -debug` if possible. -->


### Any steps to reproduce the behavior?


### Please add your configuration file
<!-- (be sure to exclude or anonymize private data (tokens/passwords)) -->
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Bug report
about: Create a report to help us improve. (Check the FAQ on the wiki first)
labels: bug

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots/debug logs**
If applicable, add screenshots to help explain your problem.
Use logs from running `matterbridge -debug` if possible.

**Environment (please complete the following information):**
- OS: [e.g. linux]
- Matterbridge version: output of `matterbridge -version`
- If self compiled: output of `git rev-parse HEAD`

**Additional context**
Please add your configuration file (be sure to exclude or anonymize private data (tokens/passwords))
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/Feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Feature request
about: Suggest an idea for this project
labels: enhancement

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
87 changes: 87 additions & 0 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
name: Development
on: [push, pull_request]
jobs:
# lint:
# name: golangci-lint
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 20
# - name: Run golangci-lint
# uses: golangci/golangci-lint-action@v3
# with:
# version: latest
# args: "-v --new-from-rev HEAD~5 --timeout=5m"
# test-build-upload:
# strategy:
# matrix:
# go-version: [1.22.x]
# platform: [ubuntu-latest]
# runs-on: ${{ matrix.platform }}
# steps:
# - name: Install Go
# uses: actions/setup-go@v3
# with:
# go-version: ${{ matrix.go-version }}
# stable: false
# - name: Checkout code
# uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - name: Test
# run: go test ./... -mod=vendor
# - name: Build
# run: |
# mkdir -p output/{win,lin,arm,mac}
# VERSION=$(git describe --tags)
# CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-s -X github.com/42wim/matterbridge/version.GitHash=$(git log --pretty=format:'%h' -n 1)" -o output/lin/matterbridge-$VERSION-linux-amd64
# CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags "-s -X github.com/42wim/matterbridge/version.GitHash=$(git log --pretty=format:'%h' -n 1)" -o output/win/matterbridge-$VERSION-windows-amd64.exe
# CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags "-s -X github.com/42wim/matterbridge/version.GitHash=$(git log --pretty=format:'%h' -n 1)" -o output/mac/matterbridge-$VERSION-darwin-amd64
# - name: Upload linux 64-bit
# if: startsWith(matrix.go-version,'1.22')
# uses: actions/upload-artifact@v3
# with:
# name: matterbridge-linux-64bit
# path: output/lin
# - name: Upload windows 64-bit
# if: startsWith(matrix.go-version,'1.22')
# uses: actions/upload-artifact@v3
# with:
# name: matterbridge-windows-64bit
# path: output/win
# - name: Upload darwin 64-bit
# if: startsWith(matrix.go-version,'1.22')
# uses: actions/upload-artifact@v3
# with:
# name: matterbridge-darwin-64bit
# path: output/mac
integration:
name: Integration tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v6
with:
go-version: stable
# Install prosody's latest release from upstream
- run: sudo wget https://prosody.im/downloads/repos/$(lsb_release -sc)/prosody.sources -O/etc/apt/sources.list.d/prosody.sources
- run: sudo apt update
- run: sudo apt install -y mercurial lua5.4
- run: sudo update-alternatives --set lua-interpreter /usr/bin/lua5.4
- run: sudo apt install -y prosody
# Setup prosody community modules
- run: hg clone https://hg.prosody.im/prosody-modules/ prosody-modules
# Copy mod_auth_any to global prosody modules
- run: sudo cp -R prosody-modules/mod_auth_any /usr/lib/prosody/modules/
# Only one test is run for now
- run: ./tests/test.sh xmpp outgoing-message
# Upload logs when it failed
- run: cat tests/xmpp/setup.log
if: ${{ failure() }}
- run: cat tests/xmpp/matterbridge.log
if: ${{ failure() }}
- run: cat tests/xmpp/xmpp.log
if: ${{ failure() }}
- run: cat tests/xmpp/api.log
if: ${{ failure() }}
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Exclude matterbridge binary
/matterbridge
/matterbridge.exe

# Exclude configuration file
/matterbridge.toml

# Exclude IDE Files
.vscode

tests/**/*.log
tests/api/api
tests/xmpp/xmpp
Loading