Граф коммитов

208 Коммитов

Автор SHA1 Сообщение Дата
Maria A Nunez
049f954b7f Rename Office 365 to Entra ID (#27801)
* Rename Office 365 to Entra ID

* Another text update

* More lingering texts

* More text updates

* Updated link

* Linting

* Override office365 service name in admin user details view

* linting

* Updated help text

* Fix bad merge

* Linting

* Removed one leftover occurance of Office 365

* Typo and log in link fix

* Typo fix

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2024-08-22 08:27:42 -04:00
Yoo Dongryul
283f59b479 Fix Video Unavailable problem at YouTube preview (#26980)
* Fix YouTube preview shows Video Unavailable

* Fix typo on iframe property

* Remove duplicated property

* fix lint error (double-quotes, unknown property)

* renew snapshot for youtube_video.tsx

* fix double quotes and newline error on snapshot for youtube_video.tsx

* fix blank on snapshot for youtube_video.tsx

* Add YouTube Shorts Embed Preview

* Revert "Add YouTube Shorts Embed Preview"

This reverts commit b5fb7a4076ef73774a0e50157f371516b9d383b2.

* Add setting for Youtube Referrer Policy

* fix test code error about Youtube Referrer Policy

* remove mistake changes on `webpack.config.js`

* add test and snapshot about `youtubeReferrerPolicy = true`

* fix errors on ci

* update description of YouTube Referrer Policy

* remove unnecessary whitespace in default_config.ts

* remove ko.json changes to prevent conflict with translate tool

* update snapshot of `youtube_video.test.tsx`

* referrerPolicy on `youtube_video` didn't follow global policy value

https://github.com/mattermost/mattermost/pull/26980#discussion_r1672524152

* update snapshot of `youtube_video.test.tsx`

* Remove obsolete snapshot

* fix typo on index.ts @ youtube_video

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
2024-08-22 11:35:04 +02:00
Mario Vitale
948f8941f0 CLD-7841 Optimize E2E testing costs (#27883)
* Utilize free runners for E2E tests, report back to PR on run completion
* Increase test stability on smaller instances
* Merge worker reports
* merge start+prepare steps
* upgrade keycloak
* increase test timeouts
* Add video recording to report artifacts

Co-authored-by: Saturnino Abril <5334504+saturninoabril@users.noreply.github.com>

---------

Co-authored-by: Saturnino Abril <5334504+saturninoabril@users.noreply.github.com>
2024-08-14 21:39:08 +02:00
yasserfaraazkhan
7ba1928c29 Fix(e2e): At-mention user autocomplete should open above the textbox in RHS (#27962)
* Fix(e2e): At-mention user autocomplete should open above the textbox in RHS
2024-08-14 21:04:07 +05:30
Harrison Healey
ee3558079a MM-59864 Add E2E test for keyboard navigation in the threads list (#27905)
* MM-59864 Add E2E test for keyboard navigation in the threads list

* chore(e2e): Add @prod tag to global_threads_spec.js

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
2024-08-14 10:13:15 +02:00
Mario Vitale
39ca104688 CLD-5783 Implement rolling upgrade tests (#27842)
* Make server.prepare idempotent, don't cleanup containers on server.start
* Implement rolling upgrade E2E tests
* Apply Akis' suggestions from code review
* Apply Saturn's suggestions from review
* Communicate RollingRelease on GHA and test automation results channel
* Implement E2E test case versioning for rolling release tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Akis Maziotis <akis.maziotis@mattermost.com>
2024-08-07 14:08:50 +02:00
Ben Schumacher
1158e6358c [MM-54593] HA aware Support Packet (#27598) 2024-08-03 16:11:13 +02:00
Harrison Healey
6956923b6a Various improvements to preferences code (#27710)
* Add isPostFlagged selector

* Remove unused code for actions_menu preferences

* Improve types of Preference and getPreference

* MM-58111 Change makeGetCategory to take category name once

* Use shouldShowJoinLeaveMessages everywhere

* Change makeGetCategory to better memoize its result

* Fix test that needs EnableJoinLeaveMessageByDefault to be set

* Remove more references to action_menu preferences
2024-08-01 22:53:30 +00:00
Maria A Nunez
e422b1f8af Rename System Roles to Delegated Granular Administration (#27761)
Automatic Merge
2024-07-31 18:27:51 +03:00
Maria A Nunez
d26a76a890 Promote GIF picker, custom groups and message priority out of Beta (#27758)
* Remove Beta label for GIF picker, custom groups and message priority

* Remove Give Feedback from post priority

* Removed unused text

* [MM-56904] Reduce the number of api requests made to fetch user information for GMs on page load (#27149)

* use new endpoint to fetch group members

* [MM-58440] Migrate tooltips of 'components/post_view/post_flag_icon' to WithTooltip (#27689)

* Fixed bug around channel file sidebar (#27705)

* Fixed the issue for DB layer, ES to go

* Handled channel bookmarks

* Handled Bleve

* Lint fix

* Added channel bookmark test

* Skip bleve test

* Used common function

* SKipping ES as indexing logic in unavailable in test

* [MM-58378] Prevent prepackaged playbook v2 from upgrading on servers without enterprise license (#27335)

* add check for playbooks v2

* add new license helper

---------

Co-authored-by: Mattermost Build <build@mattermost.com>

* MM-59826: Add more invalidation event types (#27719)


This came up as part of the Redis work. I noticed that a lot of new
invalidation events were missing. This is important to understand
where invalidations are coming from.

https://mattermost.atlassian.net/browse/MM-59826

```release-note
NONE
```

Co-authored-by: Mattermost Build <build@mattermost.com>

* Minor css changes for post priority menu

---------

Co-authored-by: Ben Cooke <benkcooke@gmail.com>
Co-authored-by: Zubair Imtiaz <106450046+ZubairImtiaz3@users.noreply.github.com>
Co-authored-by: Harshil Sharma <18575143+harshilsharma63@users.noreply.github.com>
Co-authored-by: Julien Tant <785518+JulienTant@users.noreply.github.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in>
2024-07-30 12:12:15 -04:00
M-ZubairAhmed
6ddf796384 [MM-58518] Migrate tooltips of "components/copy_text.tsx" to WithTooltip (#27413) 2024-07-29 08:49:57 +00:00
M-ZubairAhmed
e2d7d2d23c [MM-59060] Remove pre release features section from advanced section of user settings (#27608) 2024-07-18 13:01:57 +00:00
yasserfaraazkhan
d71e5e4f4e MM-57354: Fix elastic search e2e tests (#27670) 2024-07-17 07:33:40 +08:00
yasserfaraazkhan
e917709be5 feat(e2e): Manage User Settings e2e tests (#27618) 2024-07-16 20:40:00 +05:30
Agniva De Sarker
177389d224 MM-53962: Adding ES8 dependency (#24399)
* Adding ES8 dependency

```release-note
NONE
```


Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-11 13:13:31 +05:30
Mario Vitale
731f056f54 Support release testing (#27587)
* Support release testing
* Merge resolve-ref and generate-test-variables jobs
2024-07-10 16:47:26 +02:00
Julien Tant
d0c4e820a4 [MM-58840] Add routing restrictions (#27482) 2024-07-01 11:05:38 -07:00
Caleb Roseland
f12eb75d25 MM-54416: Channel Bookmarks Web UI (#25889)
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2024-06-28 15:58:14 -05:00
Mario Vitale
4f68dbb96e CLD-5704 Migrate daily master/cloud tests (#27393)
* [skip ci] Support Cloud/daily tests and Zephyr integration

* [skip ci] Fix workflow file

* [skip ci] Fix typo in workflow input name

* Fix cloud variable passing

* [skip ci] Fix typo

* Utilize master branch image for daily tests

* Apply Saturn's suggestion, fixes and improvements
2024-06-25 15:46:05 +02:00
Ashish Dhama
e50d293a61 [MM-32770] Inform user that mentions added in edited posts won't trigger notifications for the receiving user (#27371) 2024-06-21 16:51:46 +00:00
Daniel Schalla
1bbc3b4e83 [MM-58560] Configurable session revocation during password resets (#27286)
* [MM-58560] Allow for configurable session revocation during password reset

* Missing i18n additions

* Update Settings Wording

* Update Settings Wording #2

* Update default_config.ts for Session Termination

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-06-18 21:13:29 +02:00
Ben Cooke
9187c772b6 [MM-56074] mmctl job commands (#26855)
* add job list and update  job status command to mmctl
2024-06-17 12:07:05 -04:00
Harrison Healey
65f7a623ce Remove t from utils/emojis and related code (#27273)
* Update make_emojis.mjs and remove unused field

* Remove skin tone translations from emojis.ts

* Remove category name translations from emojis.ts

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-06-06 12:25:33 -04:00
Harrison Healey
527fe4a654 Update ChannelHeaderPlug tests to not use snapshots and ensure its more accessible (#26784)
* Update ChannelHeaderPlug tests to not use snapshots

* Change HeaderIconWrapper to always set aria-label based off tooltip

* Re-add shortcut to Recent Mentions button

* Remove unneeded div
2024-06-03 11:43:25 -04:00
Saturnino Abril
a9a2144999 fix: failed tests due to patching roles (#27165)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-05-27 21:43:54 +08:00
yasserfaraazkhan
1007f5abbb chore(e2e): Make EnableDiagnostics optional check (#27100) 2024-05-22 16:20:47 +05:30
yasserfaraazkhan
715c178d9b Chore(cypress): Fix Known flaky test (#27019) 2024-05-21 11:16:57 +05:30
M-ZubairAhmed
0911e4dee7 [MM-57383] User profile popover performance improved and redesigned (#26420) 2024-05-15 07:35:25 +00:00
Daniel Espino García
bd1a0a123d Fix test for invite modal error (#26948)
* Fix test for invite modal error

* Update copy in tests

* Update copy
2024-05-10 09:20:30 +02:00
yasserfaraazkhan
03c930daa0 Chore(cypress): Review and Fix tests failing on master (#26954) 2024-05-06 15:48:19 +05:30
Ben Schumacher
732932f51f [MM-58059] Remove PostPriority feature flag (#26929) 2024-05-06 10:11:28 +02:00
Mario Vitale
c9cb3d5bb0 Fix E2E test cases and setup for GHA (#26944)
* Fix E2E test cases and setup for GHA
* Fix more test cases, apply recommendations
2024-05-06 08:37:20 +02:00
Saturnino Abril
20825101a4 Playwright/E2E: Upgrade to playwright@1.43 and its dependencies (#26833)
* chore: upgrade to playwright@1.43 and its dependencies

* fix lint

* attempt to fix lint error on console
2024-04-23 06:58:49 +08:00
Saturnino Abril
e73a9512f6 Cypress/E2E: Upgrade cypress to 13.7.3 and its dependencies (#26801)
* upgrade cypress to 13.7.3

* fix @typescript-eslint

* revert axios-retry
2024-04-22 09:28:45 +08:00
Colton Shaw
1530228308 MM-54569 : Update maximum password length on UI to 72 characters (#26699) 2024-04-17 11:33:55 +00:00
Rohan Sharma
f5ea554c96 Updated e2e-tests README.md (#26732) 2024-04-11 12:39:38 +08:00
M-ZubairAhmed
9698cfcc19 [MM-56695] Consolidate desktop and mobile Notifications to one and a new desktop notification sound settings (#26198) 2024-04-08 18:59:05 +00:00
Ben Schumacher
c5cf4101da [MM-57085] Remove UseNewSAMLLibrary experimental setting (#26392)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-04-05 16:56:01 +02:00
Mario Vitale
dc36e42448 CLD-798 Add support for MM_ENV, various fixes (#26616)
* Add support for MM_ENV, various fixes
* Fix workflow template
* Fix reporting steps ordering
* Fix typo
* Improve state check message description
* Fix workflow syntax
* Fix fulltest variable generation
* Fix PR_NUMBER variable usage
* Fix BUILD_ID, add dashboard URL to status check
* Fix automation dashboard URL

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-04-03 12:14:19 +02:00
Saturnino Abril
ed00cf78ff CLD-7353 E2E: Disable sending diagnostics and security alert on test servers (#26510)
* test: disable sending diagnostics and security alert on test servers

* log notable server config
2024-03-28 09:43:53 +01:00
Ben Schumacher
7337c384a8 [MM-57106] Remove unused cluster settings (#26490) 2024-03-22 10:44:38 +01:00
M-ZubairAhmed
959e333031 [MM-57081] Spacing, font and cutoff issues on Channel notifications preferences modal (#26478) 2024-03-21 10:25:10 +00:00
Matthew Birtch
e43ed713d8 MM-28014 Improve Channel Intros (#26413)
* added SVGs for channel intros and initial changes to styles and layout

* cleaned up svgs, made theme use theme colors

* updated action buttons in channel intro

* adding mobile view changes

* fixed lint issues

* fixed test issues

* fixed test and i18n issues

* updates to action button styles and reworked grouping of buttons

* updated off-topic and town square intro to remove the add members button

* updated default add members text and groups text

* fixed lint issue on action button css

* imported action button in module scss instead

* fixes from code review

* changed avatar tokens not to be so custom

* fixed type issue with avatar component

* fixed single quote issue with tests

* Revert "changed avatar tokens not to be so custom"

This reverts commit 700f172f0d537b5454d85c5fad5e9aa3f76c26b3.

* Revert "fixed type issue with avatar component"

This reverts commit 5ad1092ba49a10c11ab78247aa5c231e24ed722a.

* fixed avatar types and order of sizes
2024-03-21 09:54:36 +01:00
Tanmay Thole
1dc5c006f2 MM-38745 feat: Add dont clear option for DND (#26334)
* feat: Add dont clear option for DND

* Merge conflicts fixed

* ci: lint, types, i18n fix

* refactor: Remove unused code

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-03-20 16:44:50 -04:00
yasserfaraazkhan
9e5d486a5b Fix Cypress tests on master (#26500) 2024-03-20 23:09:45 +05:30
Saturnino Abril
53471c7e8c E2E/Playwright: Upgrade playwright/dependencies and test server config (#26464)
* chore: upgrade playwright and test server config

* add post install script

* update config types

* fix visual test
2024-03-19 08:09:25 +08:00
Saturnino Abril
7f4b007405 fix: error in truncate command with e2e script (#26443) 2024-03-13 20:00:36 +01:00
Elias Nahum
7e9cd04a8b Channel Bookmarks (#25449)
* create ChannelBookmarks table

* ChannelBookmark model

* channel bookamrks Store layer

* add GetBookmarksForAllChannelByIdSince

* add channel bookmarks to test store

* Add channel bookmarks to app layer

* remove index for createAt in channel bookmarks migrations

* remove createAt from select channel bookmark query and enable store delete bookmark test

* update reponse of UpdateBookmark

* rename db migration files

* channel bookmarks store update sort order

* channel bookmarks app layer update sort order

* fix lint & tests

* Fix lint and introduce util functions to insert / remove from slice

* remove model etag

* i18n

* defer remove file info after test run

* Fix tests passing the request context

* fix migrations

* fix TestRetry

* Add bookmark permissions (#25560)

* Adds channel bookmarks permissions

* Fix linter

* Remove unnecessary empty lines

* Remove scss change as it's not necessary anymore

* Fix mock store

* Fix mock store and add role entry

* Fix test

* Adds cypress test and update permissions migration to update admin roles

* Adds channel bookmarks roles to default admin roles

* Adds bookmark permissions to default role permissions constant in webapp

* Update mmctl test

* Update permission test after normalising the roles

* fix store tests

* fix app layer tests

* Add new bookmark endpoint (#25624)

* Adds channel bookmarks api scaffold and create endpoint

* Applies review comments to the API docs

* Adds websocket test to create channel bookmark

---------

Co-authored-by: Mattermost Build <build@mattermost.com>

* MM-54426 exclude Channel Bookmarks files from data retention (#25656)

* Augment channel APIs to include bookmarks (#25567)

* update files docs for server 9.4

* Adds update channel bookmark endpoint (#25653)

* Adds update channel bookmark sort order endpoint (#25686)

* Adds update channel bookmark endpoint

* Updates edit app method to return the right deleted bookmark and adds tests

* Adds the update channel bookmark sort order endpoint

* Fix repeated test after merge

* Assign right permissions to each test

* Update store and app layer to return specific errors and add tests

* Adds delete channel bookmark endpoint (#25693)

* Updates edit app method to return the right deleted bookmark and adds tests

* Fix repeated test after merge

* Updates edit app method to return the right deleted bookmark and adds tests

* Adds delete channel bookmark endpoint

* Adds list channel bookmarks endpoint (#25700)

* Add channel moderation to bookmarks (#25716)

* fix migrations index

* fix getChannelsForTeamForUser

* fix getChannelsForTeamForUser

* fix bad merge client4

* fix file api with bookmark permission

* add ChannelBookmarks feature flag

* add missing translations

* Set DB column for type as enum

* use custom type for bookmark query using sqlx

* use transaction when saving bookmark

* return NewErrNotFound instead of Sql.ErrNoRows

* use squirrel for IN query

* add a limit of 1K for records in GetBookmarksForAllChannelByIdSince

* UpdateSortOrder with one single query instead of multiple updates

* fix shadow declaration

* fix channel bookmarks permission string definition in admin console

* fix another shadow declaration

* Fix model conversion

* add SplitSliceInChunks

* remove include bookmarks in channels api

* Cap amount of bookmarks per channel

* add etag back to get channels

* feedback review

* update file info when replacing a bookmark file

* return 501 not implemented when the license is not available

* add detail message when getting channel member on bookmark api

* start audit before permission check on create bookmark api

* use require.Eventuallyf for testing WS events

* remove unnecessary log in app layer

* use require instead of assert to avoid panics

* enforce limit when querying bookmarks since

* prevent to create/update bookmark if file is already attached

* fix lint

* delete file when a bookmark is deleted

* Dot allow to set a fileId and a url at the same time to a bookmark

* fix query to delete a file that belongs to a bookmark

* do not patch the bookmark type

* Server side FeatureFlag check (#26145)

* use ff in server, set ff to false

* turn on FF for unit tests

* defer unset FF for unit tests

* turn ff on for testing

* only allow attaching files that were uploaded for bookmark

* Set feature flag off as default

* fix lint

* update email templates as PR failed

* revert templates

* force the assignment of ID when creating a bookmark

* Fix unit tests

---------

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Caleb Roseland <caleb@calebroseland.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2024-03-12 08:36:05 -06:00
Mario Vitale
d7a77d8c42 CLD-7074 Implement full E2E tests on Github Actions (#26093)
* Move license setting from env var to mmctl upload
* Extract common E2E steps
* Add E2E fulltests
* Fix plugin_startup_fail_spec.js, timeout runners, fix local dashboard run
* Implement reporting script and job
* Bump artifact related actions
* Fix E2E variable generator script
* Skip reporting steps if not required
* Get rid of deprecation warnings
* Fix inbucket hostname parameter
* Support arbitrary refs in test template
* Fix cycle BRANCH var for non-PR commits
---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-03-06 11:27:53 +01:00
Maria A Nunez
e9b9d4ff60 Deprecate admin advisor (#26045)
* Deprecate admin advisor

* Webapp portion

* More webapp deprecation

* More cleanup

* Linting

* emoved metric ack dialog from annoucenemet bar

* Cleanued up uninsed i18n strings

* Updated test

* fixed types

* Updating server test

* Updated i18n

* Updated cypress test:

* Updated cypress test:

---------

Co-authored-by: harshil Sharma <harshilsharma63@gmail.com>
2024-02-26 09:05:00 +05:30