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

46 Коммитов

Автор SHA1 Сообщение Дата
Harshil Sharma
0cb3a406da Fixed image attachment e2e cypress test (#23445) 2023-05-22 10:50:05 +05:30
Vishal
9399ce8637 [MM-47751][MM-48102] MPA: Send Persistent Notifications (#21619)
* MM-46410: adds urgency on mention counts

We have introduced priority for posts in
https://github.com/mattermost/mattermost-webapp/pull/10951.
We do need to color the mention badges in the webapp with a prominent
color when a mention is posted in an urgent message.
A thread has urgent mentions if the root post is marked as urgent, and
the replies contain mentions to the user viewing the thread.

This PR adds two columns, urgentmentioncount, and isurgent, in
channelmembers, and threads tables respectively.
Furthermore when asking for team/thread mention counts, we also return
urgent mention counts for the user.

* Adds PostAcknowledgements table and apis

* job init and fetch mentions

* add-migrations

* delete-expired

* send-notifications

* Fetches post priority in batches

* stop-notifications

* stop-notification-on-reply

* MM-47750: Adds PostAcknowledgements table and apis

- Adds post acknowledgement api/app/store methods to be able to save and
delete post acknowledgements by users.
- Adds wesbsocket events for acknowledgement created/deleted
- Returns post acknowledgements in the post's metadata

* add-license-check

* add-pagination

* delete on channel and team

* validate guests

* add configs

* move create priority post check from app to api

* Add desktop notifications

* check status

* use config in job

* add IsUrgent check

* Add last-sent-at

* validate max recipients

* Update lastSentAt

* Validate min. recipient

* send email notification only once

* remove email notifications

* use latest time from config to run job

* Add notifications counter

* publish events to mentioned users only

* pickup license updates in scheduler

* don't allow post owner to stop notifications

* follow normal notifications behaviour

* Validates persistent notifications interval

* move logic of handling valid and expired posts into sql

* Adds persistent notifications in the webapp

---------

Co-authored-by: koox00 <3829551+koox00@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-18 23:44:12 +05:30
Caleb Roseland
f815c20fca MM-51798: Fix Boards+Playbooks channel header RHS button styling (#23276)
* fix playbook icon

* fix boards icon

* lint

* fix test
2023-05-09 10:39:34 +02:00
Saturnino Abril
aa39e5758e chore: upgrade cypress to 12.11.0 and other dependencies (#23294)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-09 06:11:40 +08:00
Jesse Hallam
212ac800a6 MM-52453: fix playbooks/edit_spec (#23208)
* Refactor and fix edit_spec

Refactor edit_spec into multiple discrete specs, fix various issues running the specs, and un-skip several tests that now pass.

Fixes: https://mattermost.atlassian.net/browse/MM-52453

* remove skipped tests
2023-05-05 14:01:48 -03:00
Rohitesh Gupta
4db0512580 MM-52428: Fix few E2E integration tests (#23311)
* Fixed E2E Integration tests

* Fixed step to close emoji picker
2023-05-05 07:45:54 -04:00
Saturnino Abril
8fdbbf3d5b E2E/Playwright: MM-T5424 Find channel limit to 50 results (#23248)
* fix aria-label of Find Channels modal

* add components

* add test for MM-T5424

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-05 06:20:23 +08:00
Ashish Dhama
e000d52eb1 fix MM-T2927_1 (#23258) 2023-05-04 14:13:53 +05:30
Harrison Healey
d001994ef9 MM-52282 Remove ExperimentalSettings.PatchPluginsReactDOM (#23172)
* MM-52282 Remove ExperimentalSettings.PatchPluginsReactDOM

* Fix missing file from last commit

* Fix test usage of plugin.NewEnvironment
2023-05-03 15:04:10 -04:00
Harrison Healey
3ba75afa08 MM-52173 Add setting to delay channel autocomplete (#22952)
* Add unit tests for ChannelMentionProvider.handleCompleteWord

* Add a minimum length before the ChannelMentionProvider triggers

* MM-52173 Move delayed autcomplete behind a setting

* Fix e2e test type check

* Update Textbox tests

* Add new setting to server telemetry
2023-05-02 10:11:15 -04:00
Saturnino Abril
0147a1e781 e2e/fix: enable skipped tests in playbooks (#23102) 2023-04-27 14:25:16 +08:00
Ben Cooke
3995f4a724 [MM-52339] Top playbooks missing from insights (#23076)
Automatic Merge
2023-04-26 22:34:29 +03:00
Saturnino Abril
ac35bdff68 fix: dot menu accessibility (#23133) 2023-04-26 21:25:02 +08:00
yasserfaraazkhan
2c5eb63181 chore: lint 2023-04-25 17:11:25 +05:30
Mattermost Build
f147b37dca Merge branch 'master' into MM-52097 2023-04-25 14:34:39 +03:00
Saturnino Abril
b7a5f22bcf fix/e2e: remove use_slash_commands in roles (#23098) 2023-04-25 15:34:41 +08:00
yasserfaraazkhan
3055a5e935 Revert "MM-49603 : Remove fetching of deleted channels on page load (#22981)"
This reverts commit 1bbfdefad7.
2023-04-20 13:56:37 +05:30
yasserfaraazkhan
f0a54f6804 chore: review comment 2023-04-20 13:46:01 +05:30
Pablo Andrés Vélez Vidal
b073ab2e3a MM 50960 - Add company name and invite members pages to preparing-workspace for self-hosted (#22838)
* MM-50960 - store system organization name

* restore the preparing workspace plugins and invite screens

* add back the page lines for the design

* add lines back and organize styles

* set back documentation to monorepo style and disable board as a product

* fix organization link and style skip button

* create team on organization name screen continue button click

* make sure there are not already created team and if so just update team name

* update the team display name if team has already been created

* cover error scenarios during team creation

* add pr feedback and add a couple of unit tests

* fix translation server error; make sure only update display name if it has changed in the form

* temp advances

* rewrite unit tests using react-testing library; fix unit tests

* fix translations

* make sure the launching workspace finish in cloud installations

* remove redundant validation

* fix unit tests

* remove unintended config value left after merge conflict
2023-04-20 13:46:01 +05:30
Conor Macpherson
c4efd2647c Merge branch 'master' into MM-50966-in-product-expansion 2023-04-19 11:40:50 -04:00
Pablo Andrés Vélez Vidal
b5c48e75b3 MM 50960 - Add company name and invite members pages to preparing-workspace for self-hosted (#22838)
* MM-50960 - store system organization name

* restore the preparing workspace plugins and invite screens

* add back the page lines for the design

* add lines back and organize styles

* set back documentation to monorepo style and disable board as a product

* fix organization link and style skip button

* create team on organization name screen continue button click

* make sure there are not already created team and if so just update team name

* update the team display name if team has already been created

* cover error scenarios during team creation

* add pr feedback and add a couple of unit tests

* fix translation server error; make sure only update display name if it has changed in the form

* temp advances

* rewrite unit tests using react-testing library; fix unit tests

* fix translations

* make sure the launching workspace finish in cloud installations

* remove redundant validation

* fix unit tests

* remove unintended config value left after merge conflict
2023-04-19 15:31:47 +02:00
Mattermost Build
bdc7abadd1 Merge branch 'master' into MM-52097 2023-04-19 13:15:27 +03:00
M-ZubairAhmed
7b9d43e308 MM-50122 : Remove and test refetching of channels on browser focus change (#22973) 2023-04-19 11:48:27 +05:30
Saturnino Abril
6ca5824ea1 E2E/Playwright: Update dependencies, screenshots, config and type (#23000)
* update dependencies

* update default server config and client type

* close browser context once test is done

* fix test when switching a product

* update screenshots and readme

* add cross-env and make headless mode as default

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-19 12:04:25 +08:00
Aditya Jain
4ef3081f65 MM-T4276 : E2E for set up Board emoji (#22887)
* MM-T4276 Added cypress tests for board emoji

* Update e2e-tests/cypress/tests/integration/boards/create_board_spec.ts

---------

Co-authored-by: Aditya Jain <adityajain@Adityas-MacBook-Air-2.local>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>
2023-04-19 11:02:32 +08:00
Conor Macpherson
3a76a324f6 Merge branch 'master' into MM-50966-in-product-expansion 2023-04-18 12:05:00 -04:00
yasserfaraazkhan
c207b4ce0f chore: fix channels test 2023-04-18 18:17:43 +05:30
yasserfaraazkhan
89026c1061 chore: revert channels changes 2023-04-18 17:52:00 +05:30
yasserfaraazkhan
c120e72931 chore: revert channels changes 2023-04-18 17:51:24 +05:30
yasserfaraazkhan
965bca421a Merge remote-tracking branch 'origin/master' into MM-52097 2023-04-18 17:50:03 +05:30
José Peso
831ea38f7e Playwright upgrade and small addition to ChannelsPage helper (#22978)
* partial commit

* upgrade playwright to 1.32.3 (ui + project dependencies support)

* revert empty line

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-18 10:46:49 +08:00
Conor Macpherson
f613c655e7 remove self hosted expansion flag in favor of grouping hosted expansion with hosted purhcase and it's flag. 2023-04-17 16:11:43 -04:00
GitStart
4bf31bd227 MM-50746 : Edits to messages persist after cancelling (#22676) 2023-04-14 14:27:22 +05:30
yasserfaraazkhan
b6f77e8bdc e2e: fix more channels tests 2023-04-11 18:57:06 +05:30
Saturnino Abril
5b5ee1160e expect boards product by default in e2e (#22911) 2023-04-11 18:59:10 +08:00
yasserfaraazkhan
2ef9c7a634 e2e: fix yearly subscription test 2023-04-11 14:56:10 +05:30
Jesse Hallam
d6cf013775 Fix playbooks e2e (#22816) 2023-04-06 15:56:22 -03:00
Konstantinos Pittas
9c4455d103 [MM-51302] Fix scroll to the bottom of editor after pasting long text (#22491)
Automatic Merge
2023-04-05 19:04:28 +03:00
Saturnino Abril
f6cae9ab42 fix: e2e tests (#22807)
* fix: e2e tests

* add more fix

* fixed_custom_categories

---------

Co-authored-by: Furqan Malik <furqan.malik@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-05 06:50:49 +08:00
Furqan Malik
f1f54508f4 Fixed Add Channel_test_cases (#22768)
* Fixed Add Channel_test_cases

* fixed more test cases

* fixed lint
2023-04-04 06:22:48 +08:00
Julien Tant
72cd7ac4e0 [MM-51098] Hide "copy invite link" when selecting guest - migrated from webapp (#22745) 2023-04-03 09:20:44 -07:00
Julian Mondragón
9156205178 MM-51711_Feature flag: APPS sidebar category (#22766) 2023-03-31 15:08:52 -05:00
Nick Misasi
957f999266 [MM-51233] Updates for Trial Requests (#22620)
* Add new trial form to enrich trial requests with more customer info

* Update snapshots

* One more addition

* Fixes from PR feedback

* Fix types, i18n, update e2e tests

* Fix linter

* Fix i18n?

* Fix blank translation

* update snapshot

* Update snapshot properly

* Remove inapplicable test

* Fix business email validation only happening once

* UX Feedback

* Fix linter

* Fix linter again, not working locally

* FIX LINTER

* Move isvalid check until after some fields are set

* Fix for overlapping modals

* Fix linter

* UX feedback

* UX Feedback

* Fix typo in error modal

* [MM-51551] Add new Trial Form to Playbooks trial requests (#22650)

* Playbooks start trial entrypoints opens new trial form modal

* Fix style

---------

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

* [MM-51347] Trial form error modal for embargoed and air gapped entities (#22656)

* Playbooks start trial entrypoints opens new trial form modal

* Add support for air gapped environments when making trial requests

* Add specific handling for embargoed entities

* undo some code

* Fix linter

* Fix types

* Fix style

* Updates because TE has to upgrade to E0 before it can activate a trial

---------

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

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-30 14:57:07 -04:00
Aditya Jain
9139f4be78 MM-T4275 added e2e tests for board description (#22605)
* MM-T4275 added e2e tests for board description

* MM-T4275 fixed lint errors

* MM-T4275 added comments and fixed inconsistent tests

* MM-T4275 updated comment based on PR feedback

* MM-T4275 lint fixes

* MM-T4275 changes based on PR

---------

Co-authored-by: Aditya Jain <adityajain@Adityas-MacBook-Air-2.local>
2023-03-30 17:25:57 +08:00
Pablo Andrés Vélez Vidal
bbf78c4ff6 make autolinked board ff false as default (#22714) 2023-03-29 18:42:09 +02:00
Mario Vitale
ba6b97fb62 Move /e2e -> /e2e-tests 2023-03-28 18:10:00 +02:00