Zum Inhalt springen

Dienste/Mattermost/en: Unterschied zwischen den Versionen

Aus Technik-Wiki
FuzzyBot (Diskussion | Beiträge)
Übernehme Bearbeitung einer neuen Version der Quellseite
Manal (Diskussion | Beiträge)
Die Seite wurde neu angelegt: „==== Access token for the API ====“
Zeile 30: Zeile 30:
: https://gitlab.irf.se/irf/mattermost_utils
: https://gitlab.irf.se/irf/mattermost_utils


<div lang="de" dir="ltr" class="mw-content-ltr">
<span id="Access_Token_für_die_API"></span>
==== Access Token für die API ====
==== Access token for the API ====
</div>


<div lang="de" dir="ltr" class="mw-content-ltr">
<div lang="de" dir="ltr" class="mw-content-ltr">

Version vom 2. März 2026, 12:56 Uhr

Mattermost chat system

As part of the Gitlab instance, FB3 offers Mattermost for chats. Anyone who can log in to the FB3-Gitlab can also use Mattermost.

https://mattermost.informatik.uni-bremen.de/

Discontinuation in May 2026

Mattermost no longer supports authentication via Gitlab in the free version starting with version 11 (also see the announcement from Mattermost). As a result, Gitlab has announced that starting with version 19, expected to be released in May of this year, Mattermost will no longer be included in the Gitlab Linux packages (also see the section on Mattermost in "Deprecations and removals by version").

Since the paid licenses of Mattermost are associated with enormous costs, the FB3 Mattermost server will be discontinued with the update of the FB3 Gitlab to version 19. The exact date for this will be announced later.

Alternatives

Since Mattermost is also used centrally by the university and will also be affected by this change, Department 8 is currently evaluating the next steps. There is a Mattermost channel where alternatives are being discussed.

The recommendation is to migrate to the central university solution as soon as it becomes available.

Exporting data

Unfortunately, the Mattermost plugin for exporting chat data is not available in the free version. The Mattermost Web API can be used to export channels and private chats instead.

E.g. the following Python script can be adapted for this purpose:

https://gitlab.irf.se/irf/mattermost_utils

Access token for the API

Mattermost hat zwar die Option Personal Access Tokens für den API-Zugriff zu erzeugen, die aber leider für jeden Account individuell aktiviert werden muss.

Stattdessen kann man einen Session-Token verwenden, den man wie folgt aus seinem Web-Browser auslesen kann. Dabei muss beachtet werden, dass diese Token eine begrenzte Lebensdauer haben.

  1. Im Browser bei Mattermost anmelden.
  2. F12 drücken um die Entwicklungswerkzeuge zu öffnen.
  3. Auf den Netzwerk-Tab wechseln.
  4. F5 drücken um die Webseite neu zu laden.
  5. In der Liste der Web-Anfragen im Netzwerk-Tab eine Zeile mit dem Wert view in der Datei-Spalte anklicken.
  6. Auf der rechten Seite auf den Cookies-Tab wechseln.
  7. Der Wert von MMAUTHTOKEN kann als Zugangs-Token für die API verwendet werden.