120 Commits

Author SHA1 Message Date
unified-ci-app[bot] 71949aff69 chore: Update NOTICE.txt file with updated dependencies (#36499)
Automatic Merge
2026-05-11 13:23:37 +02:00
unified-ci-app[bot] 978b038561 chore: Update NOTICE.txt file with updated dependencies (#36184)
Co-authored-by: unified-ci-app[bot] <121569378+unified-ci-app[bot]@users.noreply.github.com>
2026-04-20 17:59:36 +03:00
Harrison Healey f6341a17ba MM-68247 Move user agent utilities into shared package and clean it up (#36033)
* Start moving user agent utils into shared package

* Remove inobounce and stop exporting isIosSafari

Based on some quick testing on my phone, inobounce is no longer needed. Both
local and Community:
1. Let you overscroll on the landing and login pages
2. Don't overscroll in a channel, a thread, or the LHS while fully zoomed out
3. Do let you overscroll when zoomed in

That also lets me reduce the size of the interface for utils/user_agent.

* Remove unneeded exports and unused functions

* Remove outdated workarounds from FileUpload component

These were only needed to support a 10 year old version of iOS Chrome and the classic app.

* Remove useOrientationHandler

This was added in https://github.com/mattermost/mattermost-webapp/pull/2504,
but I don't think the extra complexity is worth keeping it around
when we mostly support mobile view for desktop accessibility reasons.

* Replace isIosWeb/isAndroidWeb with isIos/isAndroid

These were previously needed to differentiate between the mobile web app
and the classic app.

* Replace isMobileApp with isMobile

Similar to the last commit, we used to need to differentiate
between the mobile web and the classic app. For most places,
I just replaced isMobileApp with isMobile, but I removed the
check in ProductMenuList because we want to show that link
on mobile web.

* Move isInternetExplorer and isEdge out of the shared package

Those should be removed, so I don't want to include them in
the shared package at all. I also renamed isChromiumEdge to
just isEdge since that should be its name once the old ones
are removed.

* Change how functions are re-exported to fix tests

* Update web app code to use shared user agent utils directly

* Removed useless mock

* Fix how tests mock utils/user_agent now that it's fully moved

* Actually export user_agent utils from shared package
2026-04-16 21:34:31 +00:00
unified-ci-app[bot] b74b5fe83f chore: Update NOTICE.txt file with updated dependencies (#35158)
Automatic Merge
2026-02-02 13:23:28 +02:00
unified-ci-app[bot] 8ff88242a9 chore: Update NOTICE.txt file with updated dependencies (#35053)
Automatic Merge
2026-01-27 08:23:28 +02:00
unified-ci-app[bot] 2a8b2069f5 chore: Update NOTICE.txt file with updated dependencies (#34969)
Automatic Merge
2026-01-19 13:24:25 +02:00
Christopher Poile 38b413a276 MM-67077: Remove PSD file previews (#34898)
* remove image preview support for PSD files

* remove psd as a supported image type in webapp

* remove unneeded comments
2026-01-15 13:39:46 -05:00
unified-ci-app[bot] a4f3473952 chore: Update NOTICE.txt file with updated dependencies (#34843)
Automatic Merge
2026-01-05 13:02:00 +02:00
unified-ci-app[bot] 2e377f6c91 chore: Update NOTICE.txt file with updated dependencies (#34825)
Automatic Merge
2026-01-05 09:31:59 +02:00
unified-ci-app[bot] 933751da82 chore: Update NOTICE.txt file with updated dependencies (#34675)
Automatic Merge
2025-12-08 12:54:17 +02:00
Carlos Garcia a0326c91ac [MM-66203] removes direct jaytaylor/html2text dependency (#34539)
* removes direct jaytaylor/html2text dependency

there is still some indirect dependency on the library preventing
to use latest tablewriter with a PR made to the outdated library
that should be monitored as stated in go.mod comments.

* makes variable not shadow outer one

* fixes typo and makes test fail on error

* uses current docconv dependency to generate plain text email content
2025-12-04 17:15:01 +01:00
unified-ci-app[bot] 9c0e05e4bf chore: Update NOTICE.txt file with updated dependencies (#34621)
Automatic Merge
2025-12-01 12:47:20 +02:00
unified-ci-app[bot] 97dece7e45 chore: Update NOTICE.txt file with updated dependencies (#34581)
Automatic Merge
2025-11-24 12:47:19 +02:00
unified-ci-app[bot] a60ba7b4f5 chore: Update NOTICE.txt file with updated dependencies (#34125)
Automatic Merge
2025-10-13 13:43:42 +03:00
unified-ci-app[bot] 8d2e62c554 chore: Update NOTICE.txt file with updated dependencies (#33853)
Automatic Merge
2025-09-08 13:49:10 +03:00
Jesse Hallam 8cace74692 MM-64486: Remove telemetry (#33606)
* MM-64486: Remove telemetry

Remove telemetry from Mattermost. We're no longer relying on Rudder upstream, and no longer making use of this information.

* recover mock for SystemStore.Get

* Fix TestClearPushNotificationSync by adding missing SystemStore mock

The test was failing because the SystemStore mock was missing the Get()
method that's required by the ServerId() function. Added the missing mock
to return a StringMap with SystemServerId.

* fix mocking issue

* Remove now-unused telemetry and constants

* Remove "Disable telemetry events" debug setting

* Remove empty functions

* Remove most "Telemetry tracking removed" comments

* Remove remains of DataPrefetch telemetry

* Remove now-unused prop from InviteMembersButton

* Remove trackDotMenuEvent

* Remove some more leftover comments

* Remove lingering logic related to trackingLocation

* Remove now-unused argument from useCopyText

* Remove lingering telemetry references from PreparingWorkspace

* fixup Remove trackDotMenuEvent

* Remove lingering telemetry references from signup page and password check

* Update snapshots and fix test broken by my changes

* Fix unintended behavior change in thread list filtering

Remove handleSetFilter wrapper that was accidentally modified during
telemetry removal. The function was calling clear() when switching to
unread filter, which was not the original behavior. Use setFilter
directly instead, restoring the original functionality.

* Remove unused useOpenDowngradeModal hook

The useOpenDowngradeModal hook was not being used anywhere in the codebase.

* Remove unused expandableLink from useExpandOverageUsersCheck

The expandableLink return value was not being used by any components.

* Re-add missing TeamLinkClicked performance telemetry

The mark(Mark.TeamLinkClicked) call was accidentally removed from the
handleSwitch function. This telemetry is needed for Looker-based
performance tracking.

* drop LogSettings.VerboseDiagnostics

---------

Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-09-04 18:46:18 +00:00
Harrison Healey 5f51497219 MM-51231 Replace react-custom-scrollbars with react-simplebar (#33783)
* Add simplebar-react at latest version supported by React 17

* Prevent sidebars and centre channel from overflowing the page vertically

* Add Scrollbars component and replace react-custom-scrollbars

* Remove react-custom-scrollbars

* Fix usage of Scrollbars in modals

The various way we reuse .more-modal, .more-modal__list, and
.filtered-user-list in slightly different ways really made painful. We
should revisit that at some point when we get the chance since those
classes are used in a bunch of contradictory ways like using
.more-modal__list in a popover list in Multiselect versus as part of the
modal in the Browse Channel modal. It also doesn't help that some modals
use Scrollbars and others just use `overflow: auto` on either the whole
modal or on the .more-modal__list.

* Fix dragging the LHS scrollbar also dragging the channel behind it

* Fix scrolling in Browse Channels modal

* Fix results in user group modals not scrolling

* Update snapshots and fix tests

* Prevent focusing simplebar divs (accessibility_sidebar_spec.ts)

* Fix admin LHS still being able to scroll (openid_spec.ts)

* Migrate Team Members modal to GenericModal and the new menu (manage_members_spec.js)

The menu was being cut off yet again by the contents of the modal, so I
migrated that to the new menu to portal it out of that. Unfortunately,
that caused the infinite recursion bug between MUI and React Bootstrap's
focus trap logic, so I had to also migrate the modal to GenericModal to
fix that.

* Update snapshot and fix test

* Update snapshot and fix test

* Fix another E2E test

* More snapshots
2025-09-03 18:30:19 -04:00
unified-ci-app[bot] ef179ffec1 chore: Update NOTICE.txt file with updated dependencies (#33791)
Automatic Merge
2025-09-01 12:34:05 +03:00
Harrison Healey 13a6e06093 MM-64380 Remove compass components (#33744)
* Remove Flex component

* Remove Heading component

* Remove StatusIcon component

* Migrate IconButton from Compass Components repo

* Remove unused variants of IconButton and move into GlobalHeader

We only actually used IconButton in a limited set of locations (all
currently in the global header), and if I tried to test other
variations, they seemed to often have issues (like white text on a white
background). Most of those seemed to be because the theme in the
CompassThemeProvider was missing fields and fell back to defaults that
didn't make sense, but there were also enough errors in IconButtonRoot
(like invalid transitions or other logical errors) that lead me to just
rip out everything we don't currently use.

* Remove CompassThemeProvider

* Remove remaining references to @mattermost/compass-components

* Remove prop that's no longer needed
2025-08-20 17:16:11 -04:00
Harrison Healey 51d0508c3f MM-51230 Remove unused react-contextmenu dependency (#33671) 2025-08-19 19:00:54 -04:00
unified-ci-app[bot] a848a2219c chore: Update NOTICE.txt file with updated dependencies (#33621)
Automatic Merge
2025-08-05 12:04:02 +03:00
unified-ci-app[bot] 768caaadda chore: Update NOTICE.txt file with updated dependencies (#31561)
Automatic Merge
2025-06-16 14:46:06 +03:00
unified-ci-app[bot] ccddb63abb chore: Update NOTICE.txt file with updated dependencies (#31264)
Automatic Merge
2025-06-02 14:00:09 +03:00
Eva Sarafianou c90dfa4895 Move to library archives (#31100)
* Move to library archives

* wrap the error with %w

Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>

* remove redundant format

---------

Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>
2025-06-02 09:21:37 +03:00
unified-ci-app[bot] fd4b53f2bc chore: Update NOTICE.txt file with updated dependencies (#31096)
Automatic Merge
2025-05-19 15:00:09 +03:00
unified-ci-app[bot] c163fb10ac chore: Update NOTICE.txt file with updated dependencies (#30947)
Automatic Merge
2025-05-06 14:28:42 +03:00
unified-ci-app[bot] fb301d8b0a chore: Update NOTICE.txt file with updated dependencies (#30657)
Co-authored-by: unified-ci-app[bot] <121569378+unified-ci-app[bot]@users.noreply.github.com>
2025-04-07 13:38:14 +03:00
unified-ci-app[bot] 6df8726321 chore: Update NOTICE.txt file with updated dependencies (#30309)
Automatic Merge
2025-02-25 08:50:08 +02:00
unified-ci-app[bot] 90814564ff chore: Update NOTICE.txt file with updated dependencies (#30152)
Automatic Merge
2025-02-10 13:50:08 +02:00
unified-ci-app[bot] 1b8f84c5f0 chore: Update NOTICE.txt file with updated dependencies (#30089)
Automatic Merge
2025-02-03 19:50:09 +02:00
Jesús Espino f1acdce42c Removing opentracing (#29965)
* Removing opentracing

* Fixing CI
2025-01-29 07:45:13 +01:00
unified-ci-app[bot] 7e722c4ddc chore: Update NOTICE.txt file with updated dependencies (#29314)
Automatic Merge
2024-11-25 08:47:12 +01:00
unified-ci-app[bot] 9776c42979 chore: Update NOTICE.txt file with updated dependencies (#29216)
Automatic Merge
2024-11-11 14:47:12 +01:00
unified-ci-app[bot] 8cbc2a12dc chore: Update NOTICE.txt file with updated dependencies (#27922)
Automatic Merge
2024-08-12 16:57:51 +03:00
unified-ci-app[bot] e364c2a265 chore: Update NOTICE.txt file with updated dependencies (#27655)
Automatic Merge
2024-07-15 15:27:51 +03:00
Takuya N 6010ff5521 Remove dup stylelint depdendencies in webapp/channels (#27499) 2024-07-09 13:14:53 +00:00
Amy Blais 664e2ae782 Update NOTICE.txt (#26982)
Automatic Merge
2024-05-13 21:34:39 +03:00
Amy Blais 4861201056 Update NOTICE.txt (#26963)
Automatic Merge
2024-05-07 21:34:40 +03:00
unified-ci-app[bot] 0a496107d5 chore: Update NOTICE.txt file with updated dependencies (#26427)
Automatic Merge
2024-03-11 14:51:11 +02:00
unified-ci-app[bot] 0ddd1ad542 chore: Update NOTICE.txt file with updated dependencies (#26107)
Automatic Merge
2024-02-05 16:42:05 +02:00
unified-ci-app[bot] d3be94f2b9 chore: Update NOTICE.txt file with updated dependencies (#26065)
Automatic Merge
2024-01-29 16:06:45 +02:00
unified-ci-app[bot] d90d3e4036 chore: Update NOTICE.txt file with updated dependencies (#25920)
Automatic Merge
2024-01-16 16:24:57 +02:00
unified-ci-app[bot] 39b2ecf2dd chore: Update NOTICE.txt file with updated dependencies (#25827)
Automatic Merge
2024-01-02 16:54:57 +02:00
unified-ci-app[bot] 147717a0ed chore: Update NOTICE.txt file with updated dependencies (#25670)
Automatic Merge
2023-12-11 21:08:57 +02:00
unified-ci-app[bot] 769c7da7c5 chore: Update NOTICE.txt file with updated dependencies (#25619)
Automatic Merge
2023-12-07 16:38:57 +02:00
unified-ci-app[bot] 894bba81d8 chore: Update NOTICE.txt file with updated dependencies (#25546)
* chore: Update NOTICE.txt file with updated dependencies

* fix: Remove webapp standalone NOTICE.txt in favor of single merged

---------

Co-authored-by: unified-ci-app[bot] <121569378+unified-ci-app[bot]@users.noreply.github.com>
Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
2023-11-28 09:29:19 +02:00
Amy Blais 6c18ac49f3 Update NOTICE.txt (#24119)
Automatic Merge
2023-08-11 01:57:32 +03:00
Jian Lim 28848963e4 Update NOTICE.txt (#24234) 2023-08-10 17:17:33 -04:00
Amy Blais 3d7af2fb55 Update NOTICE.txt (#23857) 2023-06-28 14:59:07 -04:00
Mattermod 37466fe438 Update Licences at Notice.txt to reflect dependency changes. (#21751) 2022-11-29 13:30:18 +03:00