- Install Mattermost server version 3.8 or later per the install instructions.
Download and install Pidgin per instructions.
Download the latest release of the Pidgin-Mattermost plugin from the releases page, which should be named Pidgin-Mattermost-v[VERSION_NUMBER].exe
.
Notes:
-
This plugin is "open source" and its complete source code is publicly available for review and critique.. Because it is a program that runs on your computer, and because it does not bear the digital signature of a corporation, you may encounter warnings while installing to confirm you are intentionally installing the software and are aware of its origins.
-
Your browser may display a warning on download to the effect of: "Pidgin-Mattermost-v[VERSION_NUMBER].exe is not commonly downloaded and may be dangerous", you can confirm you understand the warning and select Keep from the menu button to continue.
Double click on the .exe file you downloaded to start the installation.
- You may see an "unrecognized app" warning. Click "More info" and "Run anyway" to continue and enter "Yes" to confirm when asked again.
On the next screen, review and accept the standard open source license agreement, "GPLv3" if you wish to proceed. The full license file along with summary explaination is available online.
The following screen will show progress on the installation procedure:
The installer will install the Pidgin-Mattermost plugin, add the Mattermost icons to your Pidgin client, and either install the Pidgin Plugin Manager (libjson-glib-1.0.dll
) if it's not yet installed, or upgrade the Plugin Manager if it is out-of-date.
Click OK to continue.
You may optionally check "Run Pidgin" to start the application after completing the plugin installation.
When the app is restarted, you should see a welcome screen from Pidgin with help instructions on how to get started:
Select Mattermost from the dropdown list under Protocol:
Enter:
- Username: This may be an email address, username or AD/LDAP login attribute depending on how your Mattermost server is configured.
- Server: Enter the name of your server WITHOUT
https://
- Password: Enter your password
Optional: Depending on your internal IT policy, optionally check "Remember password" if you'd like Pidgin to store the information.
When complete, click Add to complete the creation of your new Mattermost account. This should bring you back to the Accounts screen.
GitLab cookie (MMAUTHTOKEN) authentication workaround:
- Login to your mattermost server with your browser.
- Obtain the value of MMAUTHTOKEN cookie for your mattermost server. (on your Mattermost web page: right-click -> Inspect Element, under "Storage" open cookies and copy MMAUTHTOKEN content. It should look like "ewmxxxuxatndbjergsssizngry" )
- Copy it to Password: field.
- In Advanced account setup tab check Password is Gitlab cookie.
Note: MMAUTHTOKEN cookie expires after a server defined time: above procedure needs to be repeated each time it happens.
On the Accounts screen double-click on your Mattermost server to join.
Once you have joined, Pidgin's Buddy List should appear, and include a list of all subscribed open and private channels in Mattermost, including multi-person group message and direct message channels.
Right click and select Join to join the channel.
Use Accounts > {Mattermost Account} > Room List to add more chats and subscribe to more existing Mattermost open and private channels.
Use Accounts > {Mattermost Account} > Search for Users... to add more buddies and subscribe to direct messages Mattermost channels.
Note: Creating new public, private or group message channel is not implemented in the plugin yet: you will need to use Mattermost web or desktop client for this functionality for now.
The channel is linked to Mattermost and messages you post appear on the Mattermost server.
The members of the channel appear to the right of the conversation. Right-click and select IM to open a direct message channel with anyone in the room.
For people using Debian-based distributions of Linux operating systems, you can install the Pidgin-Mattermost plug using the following commands from a terminal:
sudo apt-get install libpurple-dev libjson-glib-dev libglib2.0-dev git make libmarkdown2-dev build-essential;
git clone https://github.com/EionRobb/purple-mattermost.git && cd purple-mattermost;
make && sudo make install
For people using Red Hat/Fedora/CentOS distributions of Linux operating systems, you can build and install packaged version of the plugin using the following commands from a terminal:
sudo yum install rpm-build json-glib-devel libmarkdown-devel libpurple-devel mercurial
git clone https://github.com/EionRobb/purple-mattermost.git && cd purple-mattermost;
OLD_LANG=$LANG
LANG=en_US.UTF-8
make && make rpm
LANG=$OLD_LANG
sudo yum localinstall ./rpmdir/RPMS/\*/purple-mattermost-\*.rpm ./rpmdir/RPMS/\*/purple-mattermost-\*.rpm
You will need XCode command line tools installed, then install Homebrew and package dependencies:
brew install json-glib pidgin discount --with-shared
git clone https://github.com/EionRobb/purple-mattermost.git && cd purple-mattermost;
make && sudo make install