matterircd

Connect to your mattermost or slack using your IRC-client of choice.

MIT License

Stars
290

Bot releases are hidden (Show)

matterircd - matterircd v0.28.0 Latest Release

Published by 42wim 12 months ago

New features

  • mattermost: Add support for searching scrollback for specific posts/threads (#533)
  • mattermost: Allow ignoring Mattermost server version when checking if supported (#541)
  • mattermost: Support for mattermost version 9 (#548)

Enhancement

  • mattermost: Include thread context for matterircd style hex numbers for replay and scrollback (#545)
  • mattermost: Emphasize system and reaction messages (#549)
  • mattermost: Use static initialisation for regular expressions to optimize (#551)
  • mattermost: Convert Mattermost markdown formatting / emphasis to IRC (#547)
  • mattermost: Update scrollback to support @@msgthreadID and the MM postlist URL (#555)

Bugfix

  • mattermost: Fix incorrect msg/thread counters (#542)

This release couldn't exist without the following contributors:
@hloeung

matterircd - matterircd v0.27.1

Published by 42wim about 1 year ago

Enhancement

  • general: Allow multiple instances of matterircd (#523)
  • mattermost: Support mattermost version 8, drop support for version 6 (#539)
  • mattermost: Improve on logging and make consistent with matterclient (#510)
  • mattermost: Add caching of last sent msgs and 'lastsent' service command to show them (#520)
  • mattermost: Update reactions so they're part of threads (#530)

Bugfix

  • mattermost: Add extra logging and fix return of wrong error (#529)

This release couldn't exist without the following contributors:
@hloeung

matterircd - matterircd v0.27.0

Published by 42wim over 1 year ago

New features

  • mastodon: Add mastodon support (#500)

Enhancement

  • general: Add support for syntax highlighted code blocks (#501)
  • mastodon: Add support for posting on timeline (#503)
  • mattermost: Remove backwards compatibility support of last saved at state (#444)
  • mattermost: Add support for tilde fenced code blocks (#506)
  • mattermost: Reduce extra call to Mattermost server for files link (#509)

Bugfix

  • irc: Fix splitting of lines for ACTIONs (#499)
  • irc: Ignore when our user status is "offline" (#504)
  • irc: Ignore special channels (&users and &messages) (#507)
  • irc: Remove unnecessary topic setting on channel join (#512)
  • irc: Remove extra new lines showing in debug logging (#511)
  • irc: Only remove from channel for channels we're in on channel_deleted
  • irc: Set correct IRC PRIVMSG nick for file events too (#406)
  • irc: Ensure colon present for empty messages per IRC protocol/spec (#517)
  • irc: Only flip between away and online when actually away or not (#518)
  • irc: Add basic support for syntax highlighting in code blocks (#515)
  • mattermost: Remove support for mattermost 5
  • mattermost: Handle replies to posts part of threadst
  • mattermost: Reduce calls to Mattermost server by caching replies (#513)

This release couldn't exist without the following contributors:
@hloeung

matterircd - matterircd v0.26.1

Published by 42wim almost 2 years ago

Enhancement

  • general: Update matterircd.toml.example (#489)
  • mattermost: Reduce UpdateChannelsTeam() calls (#493)
  • mattermost: Add support for the Matterpoll plugin (#495)

Bugfix

  • mattermost: Update matterclient vendor/fix fetching list of channels (#494)
  • mattermost: Fallback to use API for getting channel data when not in the cache (#490)
  • mattermost: Fix "key required" crash when channel ID can't be found (#496)

This release couldn't exist without the following contributors:
@hloeung, @PeGaSus-Coder

matterircd - matterircd v0.26.0

Published by 42wim almost 2 years ago

New features

  • general: Add support for IRCv3 Client Capability Negotiation (#478)
  • mattermost: Support mattermost 7 (#481)
  • mattermost: Add new thread context to show both Mattermost thread/parent/root and post IDs (#474).
    • see ThreadContext in matterircd.toml.example

Enhancement

  • general: Add systemd service unit example (#475)
  • general: Fix small typo on docker parameter (#469)
  • mattermost: Do not split message on newlines (#482)
    • see ShowContextMulti in matterircd.toml.example to enable context on every line if needed.
    • this also fixes #426 where messages could get out of order

Bugfix

  • general: Update dependencies
  • mattermost: Fix multiline replies to threads (#473)
  • mattermost: Fix replaying to match addUserToChannelWorker (#484)

This release couldn't exist without the following contributors:
@hloeung, @mk-fg, @zodman

matterircd - matterircd v0.25.1

Published by 42wim over 2 years ago

Enhancement

  • general: build arm6/7 docker images
  • general: update dependencies (#465)

Bugfix

  • general: Fix RPL_MYINFO and move debuglevel output to MOTD (#466)
  • mattermost: Use regexp to fully parse thread replies (#460)
  • mattermost: Fix possible panic in mattermost (#458,#467)

This release couldn't exist without the following contributors:
@jetpackdanger, @Zauberfisch

matterircd - matterircd v0.25.0

Published by 42wim almost 3 years ago

New features

  • general: Add automated docker builds
  • general: Allow overriding handshake timeout. Fixes #438 (#439)
  • mattermost: Support saving last viewed at state for multiple users (mattermost) (#425)
  • mattermost: Add mattermost 6 support (#452)
  • mattermost: Allow overriding client timeout (mattermost) (#449)
  • mattermost: Allow overriding the anti-idle channel and interval (mattermost) (#441)

Bugfix

  • general: Fix word boundary and grammar of error messages (#443)
  • mattermost: Fix to ensure reply message is on the same line as last message line (mattermost) (#447)
  • mattermost: Addition and removal of user to/from team from system (mattermost) (#442)
  • slack: Fix segfault when bot user fetch fails (#440)

This release couldn't exist without the following contributors:
@hloeung, @Aketzu

matterircd - matterircd v0.24.2

Published by 42wim over 3 years ago

Bugfix

  • general: Return ERR_NOTREGISTERED when trying to join before registration (#434)
  • mattermost: Fix incorrect nick for reaction removal (#433)
  • mattermost: Preserve leading whitespace and for code blocks, new/empty lines. Fixes #420 (#432)
  • slack,mattermost: Use unbuffered eventChan for slack/mattermost. Fixes #426 (#436)

This release couldn't exist without the following contributors:
@hloeung, @Peter4825

matterircd - matterircd v0.24.1

Published by 42wim over 3 years ago

Enhancement

  • mattermost: Don't show warning if lastViewedAt state file doesn't exist, also create it early (#423)
  • slack: update vendored library

Bugfix

  • mattermost: Fix ordering of events (such as code blocks) (#419)
  • mattermost: Save last viewed at state on logout and only use stored last viewed at if newer than what the server knows (#422)
  • slack: Make sure receiving item message isn't nil (slack). Fixes #428 (#429)

This release couldn't exist without the following contributors:
@hloeung

matterircd - matterircd v0.24.0

Published by 42wim over 3 years ago

New features

  • mattermost: Add context for reactions (#408)
  • mattermost: Add option to hide reactions; also hide our own (#415)
  • mattermost: Fix channel mentions and add option to disable channel mentions as IRC NOTICEs (mattermost) (#418)
  • mattermost: Show Mattermost message/thread IDs for file attachments (#396) (was already in v0.23.1)
  • mattermost: Show scrollback in same channel/query window (mattermost) (#393) (was already in v0.23.1)

Enhancements

  • mattermost: Save lastViewedAt on topic change events (#417)
  • slack: Save message IDs and use them for local echo prevention (#409)

Bugfix

  • general: Set correct IRC PRIVMSG nick when receiving direct messages (#407)
  • general: Fix buffer flushing yet again (#411)
  • mattermost: Handle SIGSEGV nil pointer for event.ParentUser (#412)

This release couldn't exist without the following contributors:
@hloeung, @the-real-ed, @Aketzu

matterircd - matterircd v0.23.1

Published by 42wim over 3 years ago

Bugfix

  • slack: Use conversation API for DM (slack). (#402) Fixes #400
  • slack: Fix regression, increase user pag to 1000 (slack) #403
  • general: Fixed buffer flushing (#398)

This release couldn't exist without the following contributors:
@hloeung

matterircd - matterircd v0.23.0

Published by 42wim over 3 years ago

Big shout-out to @hloeung for doing most of the work for this release!

New features

  • mattermost: Replay only messages not seen; also make it clear when replaying #373
  • mattermost: new ForceAntiIdle option - Allow forcing anti-idle #369
  • mattermost: Allow adding or removing reactions #386
  • mattermost: Add scrollback support for direct messages (DMs). Fixes #385 #388

Enhancements

  • mattermost: Add prefix showing messages are replies to threads when using Mattermost ThreadContext
  • mattermost: Save lastViewedAt and load on start up (#313) #368
  • mattermost: Add logging when replaying logs #377
  • general: Handle events after initialization use buffered channel #383

Bugfix

  • general: Flush buffer on ctcp action. Fixes #367 #371
  • general: Sanitize nicks, replace invalid chars with dash #374
  • general: Sanitize nick before sending PRIVMSG irc command #378
  • general: Flush buffers on reactions, allows adding various reactions in sequence, also replies to threads or message modifications #387
  • general: Fix fd leak - Timeout unused handshake after 10 seconds. Fixes #390 #392
  • general: Space separate 'download file' #394
  • mattermost: Fix panic with no postlist returned. Fixes #380 #384
  • mattermost: Fix permissions issues when replying to threads in DM #389

This release couldn't exist without the following contributors:
@hloeung, @dfskoll

matterircd - matterircd v0.22.0

Published by 42wim almost 4 years ago

New features

  • mattermost: Allow modifying or deleting last message and by Mattermost message ID (mattermost) (#353)
  • mattermost: Allow replying to your own last message to start new threads (mattermost) (#362)
  • mattermost: Support 2fa authentication (mattermost) (#355)

Enhancements

  • general: Log useful timestamp (#364)
  • mattermost: Save last viewed at state and use for replaying logs (#361)
  • mattermost: Add optional Unicode ellipsis to save on screen real estate (#358)
  • mattermost: Allow showing replies with Prefix/SuffixContext (#351)

Bugfix

  • mattermost: Do not show replies when hidereplies is enabled (mattermost) (#352)

This release couldn't exist without the following contributors:
@hloeung, @eyenx

matterircd - matterircd v0.21.0

Published by 42wim almost 4 years ago

New features

  • general: Reload certs using SIGHUP. Fixes #110
  • general: Add a tlskey and tlscert configuration option
  • mattermost: Support replying to old mattermost threads (#344)
  • mattermost: Allow showing parent thread or message ID with PrefixContext / SuffixContext (#348)

Bugfix

  • general: Disable watchconfig on illumos. Fixes #345
  • mattermost: Use override_username when available in backlog (mattermost) (#343)

This release couldn't exist without the following contributor:
@hloeung

matterircd - matterircd v0.20.2

Published by 42wim almost 4 years ago

New features

  • mattermost: Add ShortenReplies (#322). see matterircd.toml.example

Bugfix

  • general: Ignore private messages when not logged in (#331)
  • general: Lock updateCounter against concurrent updates (#328)
  • general: Ignore empty channels and non-channels for TOPIC (#339)
  • mattermost: Move antiIdle to matterclient package. Fixes #327 (#329)
  • mattermost: Update user after error checking (#330)
  • mattermost: Fix nil User when using tokens (mattermost) (#334)
  • mattermost: Use channel id from CreateDirectChannel (mattermost). Fixes #336 (#337)
  • slack: Create a fake user when getting a botmessage (slack) (#333)
  • slack: Fix missing botname, fix attachments without text (slack) (#335)

This release couldn't exist without the following contributors:
@Aketzu, @jetpackdanger

matterircd - matterircd v0.20.1

Published by 42wim about 4 years ago

New features

Bugfix

  • general: Fix panic on nick change when not logged in
  • general: Fix panic on sending to messages/users channels
  • mattermost: Do not check alive while reconnecting. Fixes #318
  • mattermost: Use always other user as channelID in DM for prefixcontext. Fixes #317
  • slack: fix possible panic when self-message #321

This release couldn't exist without the following contributors:
@hloeung, @42wim

matterircd - matterircd v0.20.0

Published by 42wim about 4 years ago

The refactor edition.
Be sure to look into the new prefixcontext.md option for mattermost.

Thanks a lot to @cjwatson, @muesli, @hloeung, @vmiklos and @guilhermepiccoli for contributing and testing this release!

Breaking changes

Commandline switches

  • Switched to viper for cmdline parsing, which does not support "short" flags. You'll need to use --flag instead of -flag. Eg ./matterircd --debug
  • Bridge specific configuration is now only in configuration file. This means the following flags have been removed: -restrict,-mmteam,-mmserver,-mminsecure,-mmskiptlsverify. You can set those in matterircd.toml, see the example file.

Config changes

  • BlacklistUser feature for slack has been renamed to DenyUsers.
  • JoinMpImOnTalk feature has been renamed to JoinDM and is available for slack/mattermost
  • JoinInclude, JoinExclude now support regexp (see matterircd.toml.example)

New features

  • general: New option trace to give even more output as debug. See matterircd.toml.example.
  • general: New option gops to activate gops for debugging.
  • general: Allow binding to a Unix socket #276.
  • mattermost: Add prefixcontext option which supports edits/deletes/reactions/threads (see matterircd.toml.example) and (prefixcontext.md)
  • mattermost: Add option to use Nickname instead of Username #273 (See matterircd.toml.example).
  • mattermost: Add option to disable showing replies/parent posts #283 (See matterircd.toml.example).
  • mattermost: JoinDM option to enable groups/dm joining on startup.
  • mattermost: Add thread replies to prefixcontext.
  • mattermost: Add support for thread reply using prefixcontext.
  • mattermost: Add support for deleting/modifying own messages.
  • mattermost: Add support for "words that trigger mentions" (See matterircd.toml.example)
  • mattermost/slack: JoinOnly option to only join these specific channels (see matterircd.toml.example).
  • mattermost/slack: JoinInclude, JoinExclude now support regexp (see matterircd.toml.example).

Enhancement

  • general: Refactor using interfaces, will make it easier to update and add new bridges.
  • general: massive speedups on joining large channels.
  • general: less memory/CPU usage on large slacks/mattermost.
  • general: Break longer messages at word boundaries #270.
  • general: Move matterclient to pkg and refactor.
  • general: Batch lastviewed updates.
  • mattermost: Handle ratelimiting on frequent used paths.
  • mattermost: Rewritten mattermost connection logic fixing goroutine leaks.
  • mattermost: make @ALL messages also notices #288.
  • mattermost: add support for updateuser event (realtime nick changes).
  • mattermost: private channels are now shown with +p in irc
  • mattermost: Convert /me commands from mattermost to irc /me. Closes #281
  • mattermost: Handle deleted messages in mattermost.
  • mattermost: Add reaction events (using prefixContext).
  • slack: speed-up on large slack installations.

Bugfix

  • general: Refactor DMs and fix messages to self. Fixes #293
  • general: Fix topic messages and check permissions. Closing #294
  • general: Fix too many replay messages.
  • mattermost: Changing topic also changes channel display name #284.
  • mattermost: Images/links in private messages now are on the correct channel.
  • mattermost: Ignore user join messages #280
  • mattermost: Make mattermost away work. Fix #277
  • mattermost: Fix goroutine leaks on multiple login/logout
  • mattermost: Fix crash on quit without login #300
  • slack: fix double messages on irc because of slack API changes, now using slack blocks.
matterircd - matterircd v0.19.4

Published by 42wim almost 5 years ago

v0.19.4

Bugfix

  • slack: fix regression with slack library (#264)
  • slack: fix an unexpected panic (#263)
matterircd - matterircd v0.19.3

Published by 42wim almost 5 years ago

Enhancement

  • general: Add UPDATELASTVIEWED command, and make DisableAutoView work consistently (#255)
  • slack: Handle message edits and deletion (#260)
  • slack: Add handling of reactions, stars and pins (#229)

Bugfix

  • mattermost: Fix a panic #247
  • mattermost: Fixes incorrect users because of paging. #244
  • mattermost: Fix outdated channel issue
  • mattermost: Add paging so we can see > 200 users in a channel #248
  • mattermost: Fix expired session panic #259
  • general: Fix datarace #246
  • general: Fix empty JoinInclude
  • general: Fix panic #257

This release couldn't exist without the following contributors:
@Aketzu, @bucko909, @42wim

matterircd - matterircd v0.19.2

Published by 42wim over 5 years ago

Enhancement

  • general: Add a default value matterirc.toml for the '-conf' flag (#240)
  • slack: library updated
  • mattermost: library updated
  • mattermost: Add support for channel created/deleted events

Bugfix

  • mattermost: Remove ourselves from the channel when removed in mattermost. Fixes #233
  • mattermost: Add/remove ourselves to the channel if we join using the GUI. #239
  • mattermost: Update topics in mattermost. Closes #241
  • mattermost: Fix pastes and attachments in direct message. Closes #228
  • mattermost: Update channels if not known on join yet
Package Rankings
Top 4.85% on Proxy.golang.org
Badges
Extracted from project README's
Join the IRC chat at https://web.libera.chat/gamja/?channels=#matterircd Contributors
Related Projects