- TypeScript 49.7%
- Go 42.6%
- JavaScript 3.7%
- SCSS 2.3%
- HTML 1.4%
- Other 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
* MM-71589 Server Logs: show row times in the admin's timezone, with the date when needed Structured log rows showed only HH:MM:SS.mmm taken from the raw timestamp string, so entries from different days looked the same and the times didn't match the custom range dialog, which works in the admin's timezone. - Rows now show the entry time in the admin's display timezone. - When the listed entries fall on more than one day in that timezone, every row shows the date as well (YYYY-MM-DD HH:mm:ss.SSS), and the time column, header and details indent widen together through a CSS variable, so the other columns keep their alignment. - A timestamp that doesn't parse is shown as logged. - The tooltip, the expanded details, Copy JSON and Copy log line keep the raw server timestamp. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01FpCfx4b2os8EJtvKNdM4XK * MM-71589 Address review: timestamp ellipsis, CSS fallback, test grouping - Keep the time cell on one line so an over-long fallback is cut with an ellipsis instead of wrapping. - Give the time column width variable a 96px fallback outside .LogViewer. - Move the level label tests back under "rendering" and rename the fallback test to match the new behaviour. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01FpCfx4b2os8EJtvKNdM4XK * MM-71589 Show the date for a past day and follow the clock display setting - Rows also show the date when every listed entry falls on one day that isn't today in the admin's timezone, so past entries aren't read as today's. - Row times follow the admin's Clock Display setting (12-hour or 24-hour). The time column widens for the 12-hour format, with and without the date. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01FpCfx4b2os8EJtvKNdM4XK * MM-71589 Simplify the time column: size it from the time format - LogList builds the row time format once and passes it to each row, replacing the showDate and useMilitaryTime props. - The time column width comes from the longest time that format gives, set as a character count on .LogViewer, replacing four fixed widths, two modifier classes and a combined selector. - logsNeedDate checks whether any entry falls outside today, which is the same rule in fewer steps. - Tests: format and date rules move to utils.test.ts; duplicate row tests are folded together; the list tests share one render helper that uses TestHelper.getPreferencesMock. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01FpCfx4b2os8EJtvKNdM4XK * MM-71589 Simplify the Server Logs time handling and its tests - Show an unparseable timestamp in full and let the column's ellipsis cut it, instead of a fixed 23-character slice. - logsNeedDate builds today's moment once. - Tests: one list render helper with optional admin settings; the list test only checks the format reaches the rows and the column, leaving the format cases to the utils tests; duplicate row and copy tests folded into the existing ones; stale comments fixed. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01FpCfx4b2os8EJtvKNdM4XK * MM-71589 Add the date when the admin's day ends with the list open A list left open across midnight kept bare times for entries that were now from yesterday, since nothing it depends on changed. Recheck at the next midnight in the admin's timezone. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01FpCfx4b2os8EJtvKNdM4XK * MM-71589 Keep the midnight recheck and failed-node rows current Take the next midnight from the same clock reading as the date check, so a render just before midnight can't schedule the recheck a day late. A failed-node entry keeps its row key across polls while its time and error change, so the cached row showed the first failure forever. Reuse it only while its content is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01FpCfx4b2os8EJtvKNdM4XK * MM-71589 Recheck the date when the page comes back after midnight Timers can stall while the computer sleeps, so an admin returning after midnight could see yesterday's entries without a date until the timer caught up. Recheck when the page becomes visible again. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01FpCfx4b2os8EJtvKNdM4XK * Document Server Logs timezone and clock format in docs --------- Co-authored-by: Claude <[email protected]> |
||
| .cursor | ||
| .github | ||
| api | ||
| docs | ||
| e2e-tests | ||
| i18n | ||
| server | ||
| tools | ||
| webapp | ||
| .editorconfig | ||
| .gitignore | ||
| .gitmodules | ||
| .gitpod.yml | ||
| .nvmrc | ||
| .yamllint | ||
| AGENTS.md | ||
| CHANGELOG.md | ||
| CODEOWNERS | ||
| CONTRIBUTING.md | ||
| enable-claude-docs.sh | ||
| LICENSE.enterprise | ||
| LICENSE.txt | ||
| mise.toml | ||
| NOTICE.txt | ||
| README.md | ||
| SECURITY.md | ||
Mattermost is an open core, self-hosted collaboration platform that offers chat, workflow automation, voice calling, screen sharing, and AI integration. This repo is the primary source for core development on the Mattermost platform; it's written in Go and React, runs as a single Linux binary, and relies on PostgreSQL. A new compiled version is released under an MIT license every month on the 16th.
Deploy Mattermost on-premises, or try it for free in the cloud.
Learn more about the following use cases with Mattermost:
Other useful resources:
- Download and Install Mattermost - Install, setup, and configure your own Mattermost instance.
- Product documentation - Learn how to run a Mattermost instance and take advantage of all the features.
- Developer documentation - Contribute code to Mattermost or build an integration via APIs, Webhooks, slash commands, Apps, and plugins.
Table of contents
- Install Mattermost
- Native mobile and desktop apps
- Get security bulletins
- Get involved
- Learn more
- License
- Get the latest news
- Contributing
Install Mattermost
- Download and Install Mattermost Self-Hosted - Deploy a Mattermost Self-hosted instance in minutes via Docker, Ubuntu, or tar.
- Get started in the cloud to try Mattermost today.
- Developer machine setup - Follow this guide if you want to write code for Mattermost.
Other install guides:
- Deploy Mattermost on Docker
- Mattermost Omnibus
- Install Mattermost from Tar
- Ubuntu 20.04 LTS
- Kubernetes
- Helm
- More server install guides
Native mobile and desktop apps
In addition to the web interface, you can also download Mattermost clients for Android, iOS, Windows PC, macOS, and Linux.
Get security bulletins
Receive notifications of critical security updates. The sophistication of online attackers is perpetually increasing. If you're deploying Mattermost it's highly recommended you subscribe to the Mattermost Security Bulletin mailing list for updates on critical security releases.
Get involved
- Contribute to Mattermost
- Find "Help Wanted" projects
- Join Developer Discussion on a Mattermost server for contributors
- Get Help With Mattermost
Learn more
- API options - webhooks, slash commands, drivers, and web service
- See who's using Mattermost
- Browse over 700 Mattermost integrations
License
See the LICENSE file for license rights and limitations.
Get the latest news
- X - Follow Mattermost on X, formerly Twitter.
- Blog - Get the latest updates from the Mattermost blog.
- Facebook - Follow Mattermost on Facebook.
- LinkedIn - Follow Mattermost on LinkedIn.
- Email - Subscribe to our newsletter (1 or 2 per month).
- Mattermost - Join the ~contributors channel on the Mattermost Community Server.
- IRC - Join the #matterbridge channel on Freenode (thanks to matterircd).
- YouTube - Subscribe to Mattermost.
Contributing
Please see CONTRIBUTING.md. Join the Mattermost Contributors server to join community discussions about contributions, development, and more.




