Commit Graph

16337 Commits

Author SHA1 Message Date
Conor Macpherson
dd2e325c24 Ensure admins can send true up telemetry, even if telemetry is disabled. 2023-04-11 12:52:54 -04:00
Nick Misasi
646e0fcd41 [MM-51990] Add 3 more options for company size dropdown (#22870)
* Add 3 more options for company size dropdown

* translate

* Fix linter
2023-04-11 08:15:03 -04:00
Saturnino Abril
5b5ee1160e expect boards product by default in e2e (#22911) 2023-04-11 18:59:10 +08:00
M-ZubairAhmed
50aabf6b93 MM-52008 : Standardise package.json's version across all products in webapp (#22876)
The version in package.json was added to display the workspace name in the terminal for playbooks. Additionally, it was ensured that all products now have the same version number, as the release of all products is tied to a single release channel.
2023-04-11 13:30:29 +05:30
M-ZubairAhmed
f149bb1f66 MM-52003 : Remove unused and deprecated "mini-create-react-context" package (#22881)
"mini-create-react-context" is no longer used, and it is also a deprecated package, which was added in boards long back.
2023-04-11 13:21:21 +05:30
Julien Tant
6e7759b314 [MM-51844 & MM-51843] Work template permissions check (#22825) 2023-04-10 09:51:20 -07:00
Akis Maziotis
fbe7323079 [fix] CI Correctly identify artifact downloads
We are defining the workflow directive to for `Artifacts generation and upload`/cd/Download artifacts step.
To be the workflow_id from the calling workflow

Signed-off-by: Akis Maziotis <akis.maziotis@mattermost.com>
2023-04-10 19:27:47 +03:00
Guilherme Gomes
2cd7313179 Fixed stop error on webapp makefile (#22662)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-10 11:44:00 -04:00
M-ZubairAhmed
dd67376097 engines (#22875) 2023-04-10 10:14:35 -04:00
Akis Maziotis
24bf163171 [feat] Uploading mm-te-test artifacts to mattermost docker registry
Required by Cloud Platform team for smooth migration of Spinwick service to the new DockerHub registry.
Context: https://community.mattermost.com/private-core/pl/3jzzxzfiji8hx833ewyuthzkjh
2023-04-10 16:50:17 +03:00
Akis Maziotis
d0bee0162c [feat] CI. Run artifact uploads in workflow secure context
We are seperating artifacts generation/upload process, into a seperate workflow.
This runs in pricileged mode, using `workflow_run` trigger.
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run
Note: This event will only trigger a workflow run if the workflow file is on the default branch.(master)

Docker artifacts, are now exposed under the newly porivisioned DockerHub Org account: "mattermostdevelopment"
https://hub.docker.com/repository/docker/mattermostdevelopment/mm-te-test/tags?page=1&ordering=last_updated

Signed-off-by: Akis Maziotis <akis.maziotis@mattermost.com>
2023-04-10 16:50:17 +03:00
Akis Maziotis
2dc535381a [chore] CI Name change for mattermost build workflow 2023-04-10 16:50:17 +03:00
Agniva De Sarker
bcf115e315 Upgrade mockery to fix errors (#22892)
Mockery started to throw errors like "Unexpected package creation during export data loading".

This was consistently reproducible locally and on upgrade, it has gone away.

```release-note
NONE
```
2023-04-10 14:20:57 +05:30
M-ZubairAhmed
6be0ed0d19 MM-52004 : Remove stub types packages for moment-timezone, highlight-js, classnames (#22879) 2023-04-08 06:14:31 +05:30
M-ZubairAhmed
b7175560da MM-51831 : Add ESLint rule to "channels/components" to error out if "compass-components" package is used (#22754) 2023-04-08 06:13:06 +05:30
Caleb Roseland
2ad37a731d Merge pull request #22878 from mattermost/boards-playbooks-i18n-sync 2023-04-07 10:43:31 -05:00
Caleb Roseland
9cbd21a394 fix ContentBlock.editCardText warn 2023-04-07 09:38:53 -05:00
Caleb Roseland
8f9b22b004 Merge branch 'master' into boards-playbooks-i18n-sync 2023-04-07 09:31:29 -05:00
M-ZubairAhmed
9bffaeae42 MM-51846 : Upgrade Esint from 7 to 8+ (#22753) 2023-04-07 03:50:01 +05:30
Colton Shaw
84b0e3dff1 Added missing types (#22880) 2023-04-06 16:43:21 -04:00
Caleb Roseland
4a5e5b7b96 sync boards webapp 2023-04-06 13:57:53 -05:00
Jesse Hallam
d6cf013775 Fix playbooks e2e (#22816) 2023-04-06 15:56:22 -03:00
Caleb Roseland
73211e8170 cleanup: reverse-extract/fix boards webapp en.json 2023-04-06 13:50:52 -05:00
Miguel de la Cruz
4cc2fed079 Adds support for public routes on shared boards (#22710)
* Adds support for public routes on shared boards

* Fix linter

* Address review comments

* Update playbooks registerProduct call

* Use boards product config for setting

* update additional product locations for parameter changes

* fixes for read-only when logged in

* turn off global header and don't initialize plugin if shared board

* fix unit tests

* revert package-lock.json

* more fixes

* Remove FF check for system console setting for boards

* update tests, Product boards is displayed in system console

* only check products section of config

* update test for config change

---------

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-06 12:24:32 -06:00
Pablo Andrés Vélez Vidal
71923fe311 add screenshots section to github pr template (#22868) 2023-04-06 19:30:28 +02:00
Caleb Roseland
366b972b30 Merge pull request #22795 from mattermost/MM-51842-number-change-detection 2023-04-06 11:36:48 -05:00
Christopher Speller
1b6eeb34a5 Fix boards share dialog (#22773)
* Make sure proper state is shown for unconvential states of boards permissions.

* Fix lint.
2023-04-06 08:27:17 -07:00
Caleb Roseland
21c10616eb sync playbooks webapp 2023-04-06 09:57:31 -05:00
Mattermost Build
996e519b02 Merge branch 'master' into MM-51842-number-change-detection 2023-04-06 17:28:23 +03:00
Harrison Healey
532070fa6d MM-51963 Fix how Webpack embeds i18n files in JS bundle (#22860) 2023-04-06 09:59:12 -04:00
Pantelis Vratsalis
de28df0b45 [MM-50744] do not add event listeners to every visible post (#22727)
* [MM-50744] register event listeners for alt only on hover

* Small changes based on PR input
2023-04-06 09:49:31 -04:00
Jesse Hallam
4b7f6cb974 bind to localhost:0 for tests (#22839)
* bind to localhost:0 for tests

Explicitly bind to `localhost:0` instead of just `:0` to avoid binding to all available interfaces and in turn avoid triggering firewall warnings on MacOS.

* fix Playbooks to use dynamic port

* TestMetrics: handle ipv4 localhost too

* TestMetrics: linting
2023-04-06 09:59:58 -03:00
Rohitesh Gupta
7325c38c39 Fixes MM-50733 (#22784) 2023-04-05 21:58:21 +02:00
Ashish Dhama
0af69b3411 [MM-51489]: Fix issue with compact message mode (#22711)
Automatic Merge
2023-04-05 22:04:28 +03:00
Harrison Healey
54af9a7c7d MM-51359 Replace makeGetUserTimezone selector with getCurrentTimezone and similar selectors (#22832) 2023-04-05 14:57:19 -04:00
Konstantinos Pittas
7029d88443 [MM-51034] Sanitize embedded posts transmitted over WS (#22424)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-05 21:43: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
Nick Misasi
62e6f29638 Undo accidental merge (#22848) 2023-04-05 11:24:32 -04:00
Nick Misasi
6fce376e7b [MM-51905] Fix: Successful trial request shows error modal (#22800)
* License public key to test env for mono-repo

* Fix error modal showing on a successful trial request
2023-04-05 10:53:07 -04:00
Nathaniel Allred
b3a4aadee8 fix choose different shipping spacing (#22829) 2023-04-05 08:56:59 -05:00
Jesse Hallam
28ad1c80cd fix various copy/paste/typos (#22823) 2023-04-05 10:18:50 -03:00
Conor Macpherson
3d7a54555f Merge pull request #22817 from mattermost/MM-51911-delete-workspace-button-opens-a-new-tab
MM-51911 - The Delete Workspace Button Opens the Modal in a New Tab
2023-04-05 09:01:48 -04:00
Pablo Andrés Vélez Vidal
f1d1d1eff0 MM-51915-fix no more channels to join text (#22810)
* fix no more channels to join text

* revert de.json changes
2023-04-05 14:32:50 +02: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
Caleb Roseland
cb85672bb5 update snapshot 2023-04-04 12:16:55 -05:00
Okan Işıldar
8afb6a6b39 fix announcement bar overlap after signup (#22664)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-04 12:29:49 -04:00
Dismated
42ae1536cb MM-47095 Migrate AbstractIncomingWebhook to TypeScript (#22654)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-04 12:28:40 -04:00
Pablo Andrés Vélez Vidal
6919761122 MM-49862 - remove no longer needed webapp calls to action and pulsating dots (#22699)
* MM-49862 - remove no longer needed webapp calls to action and pulsating dots

* fix snapshots

* improve function logic based on pr comments

* fix unit tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-04 18:04:06 +02:00
Conor Macpherson
2c69315bc8 lint. 2023-04-04 11:45:02 -04:00
Conor Macpherson
f218c105ec replace external link with a button. 2023-04-04 11:26:12 -04:00