Commit graph

2639 commits

Author SHA1 Message Date
Alexander Griesser 7d109b9084
Fix typo in error message (#2572)
stumbled upon that while debugging a problem with a community user
2023-03-01 10:20:09 -05:00
Devin Binnie e6a93dcc69
[MM-50569] Fix insecure win32 path regex (#2566) 2023-02-28 10:14:57 -05:00
Devin Binnie 2009d0290b
[MM-50712] Fix local prototype pollution flaw (#2567)
* [MM-50712] Fix local prototype pollution flaw

* Update src/main/diagnostics/steps/internal/loggerHooks.test.js

Co-authored-by: Daniel Espino García <larkox@gmail.com>

---------

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2023-02-28 09:48:48 -05:00
Claudio Costa d1f6fc5a5f
[MM-46980] Improve screensharing permissions flow (#2556)
* Little improvements and simplification

* Improve MacOS screen permissions handling flow

* Add missing error event

* Propagate calls client errors (#2557)
2023-02-17 15:07:29 -05:00
Christopher Poile ec8e0b9cc2
MM-49079 - Calls: process link clicks from Calls popout (#2558)
* process link clicks from Calls popout

* add a mock for windows tests
2023-02-17 13:41:01 -05:00
Claudio Costa 7127ec153a
Send error to global widget if missing screen sharing permissions (#2554) 2023-02-16 10:20:50 -06:00
Devin Binnie 5cc2e98a1d
Merge and migrate locally-trusted preload scripts to contextBridge API (#2553)
* Migrate intl_provider to contextBridge

* Migrate modalPreload to contextBridge

* Migrate loadingScreenPreload to contextBridge

* Migrate downloadDropdown preloads to contextBridge

* Migrate server dropdown preload to contextBridge

* Migrate urlView preload to contextBridge

* Merge all desktop API scripts into one

* Remove unused communication channel constants
2023-02-15 13:42:53 -05:00
Devin Binnie 1c0aeae118
[MM-50433] Upgrade to Electron v23.0.0 (#2552) 2023-02-13 15:19:49 -05:00
Tom De Moor c9bdf86246 Deleted translation using Weblate (Vietnamese) 2023-02-13 10:25:08 -05:00
nltb99 45af13ce45 Added translation using Weblate (Vietnamese) 2023-02-13 10:25:08 -05:00
zclk 7e4737235a Translated using Weblate (Chinese (Simplified))
Currently translated at 98.8% (261 of 264 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/zh_Hans/
2023-02-13 10:25:08 -05:00
kaakaa 282852f65b Translated using Weblate (Japanese)
Currently translated at 100.0% (264 of 264 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ja/
2023-02-13 10:25:08 -05:00
晓晓 eb2ddcf3cf Translated using Weblate (Chinese (Simplified))
Currently translated at 98.1% (259 of 264 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/zh_Hans/
2023-02-13 10:25:08 -05:00
晓晓 6416be3b2f Translated using Weblate (Chinese (Simplified))
Currently translated at 98.1% (259 of 264 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/zh_Hans/
2023-02-13 10:25:08 -05:00
Valentyn Smagin 7eba739c23 Translated using Weblate (Ukrainian)
Currently translated at 79.5% (210 of 264 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/uk/
2023-02-13 10:25:08 -05:00
Konstantin 400a9bf3c2 Translated using Weblate (Russian)
Currently translated at 100.0% (264 of 264 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ru/
2023-02-13 10:25:08 -05:00
Matthew Williams a64bc6fb23 Translated using Weblate (English (Australia))
Currently translated at 100.0% (264 of 264 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/en_AU/
2023-02-13 10:25:08 -05:00
Claudio Costa 562ef14aef
Fix media permissions failure on Calls window (#2550) 2023-02-10 11:13:31 -06:00
Devin Binnie 8dbdb0a75e
[MM-50409] Stop the main window from creating its own uncontrolled child windows (#2549) 2023-02-09 09:04:02 -05:00
Devin Binnie 6dca4a5095
[MM-50410] Allow any unhandled target=_blank links to open in the browser (#2548) 2023-02-09 09:03:32 -05:00
Claudio Costa 06eb76dc21
[MM-48658] Improve global widget resizing logic (#2545)
* Improved global widget resizing

* Remove min width/height

* Fix test
2023-02-07 11:00:42 -05:00
Devin Binnie 07e41ec678
Remove use of getView() and replace with getViewByURL() where necessary. (#2544)
* WIP

* Replace getView with getViewByURL
2023-02-07 08:59:35 -05:00
Devin Binnie 8babd52b81
[MM-50250] Revised Issue Templates with Issue Forms (#2546)
* [MM-50250] Revised Issue Templates with Issue Forms

* Typo

* More typos

* Update .github/ISSUE_TEMPLATE/bug_report.yml

Co-authored-by: Amy Blais <29708087+amyblais@users.noreply.github.com>

* Update .github/ISSUE_TEMPLATE/bug_report.yml

Co-authored-by: Amy Blais <29708087+amyblais@users.noreply.github.com>

* Update .github/ISSUE_TEMPLATE/bug_report.yml

Co-authored-by: Amy Blais <29708087+amyblais@users.noreply.github.com>

* Update .github/ISSUE_TEMPLATE/crash_report.yml

Co-authored-by: Amy Blais <29708087+amyblais@users.noreply.github.com>

---------

Co-authored-by: Amy Blais <29708087+amyblais@users.noreply.github.com>
2023-02-07 08:58:06 -05:00
Claudio Costa 9213083335
[MM-49739] Set parent window on calls expanded popout view (#2539)
* Set parent window on calls expanded popout view

* Fix focus on calls popout window

* Unregister event
2023-02-06 10:31:50 -05:00
jprusch 97a31fc83b Translated using Weblate (German)
Currently translated at 100.0% (264 of 264 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/de/
2023-02-06 10:30:21 -05:00
Sharuru 21f2bc42e4 Translated using Weblate (Chinese (Simplified))
Currently translated at 45.0% (119 of 264 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/zh_Hans/
2023-02-06 10:30:21 -05:00
Kaya Zeren 7e6a03ad77 Translated using Weblate (Turkish)
Currently translated at 100.0% (264 of 264 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/tr/
2023-02-06 10:30:21 -05:00
MArtin Johnson 8e21954239 Translated using Weblate (Swedish)
Currently translated at 100.0% (264 of 264 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/sv/
2023-02-06 10:30:21 -05:00
master7 e8b7c50371 Translated using Weblate (Polish)
Currently translated at 100.0% (264 of 264 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/pl/
2023-02-06 10:30:21 -05:00
Tom De Moor b09b4d1452 Translated using Weblate (Dutch)
Currently translated at 100.0% (264 of 264 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/nl/
2023-02-06 10:30:21 -05:00
Kaya Zeren f8cbe1ca2e Translated using Weblate (Turkish)
Currently translated at 100.0% (264 of 264 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/tr/
2023-02-06 10:30:21 -05:00
Sharuru 2ca31526e1 Translated using Weblate (Chinese (Simplified))
Currently translated at 39.5% (104 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/zh_Hans/
2023-02-06 10:30:21 -05:00
Tasos Boulis 7dcd41e598
Exit process with code 1 if afterPack throws error (#2541) 2023-02-06 16:36:35 +02:00
Amy Blais 67db697966
Update feature_request.md (#2538) 2023-02-02 13:36:36 -05:00
Tasos Boulis 9b45935bee
Use location as is when displaying thumbnails inside downloads dropdown in MAS builds (#2536) 2023-02-02 19:37:04 +02:00
Devin Binnie 61a0b41d47
[MM-50042] Detect Boards using the BuildBoards flag in the client config (#2535) 2023-02-02 11:31:11 -05:00
Tasos Boulis db5a2e055d
[MM-50237] Add menu item for showing the logs folder (#2533)
* Add menu item for showing the logs folder

* Add translation
2023-02-02 16:24:18 +02:00
Devin Binnie f62944c5a4
[MM-43656] Flush cookies to disk on finishing custom login (#2076)
* [MM-43656] Flush cookies to disk on finishing custom login

* Fixed a test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-02-01 14:32:22 -05:00
Tasos Boulis d5838a4fa8
Fix issue with rpm build conflicting with other electron applications (#2531) 2023-02-01 10:22:25 -05:00
Tasos Boulis b5320019df
Run npm i to save exact version of jest (#2529) 2023-01-30 10:54:39 -05:00
Sajjad Jazini 8c953acef9 Translated using Weblate (Persian)
Currently translated at 100.0% (263 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/fa/
2023-01-30 10:51:54 -05:00
Sajjad Jazini a589de447c Translated using Weblate (Persian)
Currently translated at 90.4% (238 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/fa/
2023-01-30 10:51:54 -05:00
Sajjad Jazini 6cc78ca471 Translated using Weblate (Persian)
Currently translated at 88.2% (232 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/fa/
2023-01-30 10:51:54 -05:00
yeongeun.seo 325c6054dd Translated using Weblate (Korean)
Currently translated at 97.7% (257 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/ko/
2023-01-30 10:51:54 -05:00
Sajjad Jazini 8260e4f90e Translated using Weblate (Persian)
Currently translated at 87.4% (230 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/fa/
2023-01-30 10:51:54 -05:00
Sajjad Jazini 1ed5d4098b Translated using Weblate (Persian)
Currently translated at 15.2% (40 of 263 strings)

Translation: mattermost-languages-shipped/mattermost-desktop
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-desktop/fa/
2023-01-30 10:51:54 -05:00
Pantelis Vratsalis 2bb622c314
PoC performance tests in CI (#2474)
* PoC performance tests in CI

* Add a naive measurement

* Change in spec descriptions

* More minimal reporter and 2 tests: 1 failing, 1 succeeding

* Fix circleci config

* Fix circleci part 2

* Make performance tests a workflow

* add npm install in performance tests

* change executor

* Experimenting: Install crossenv

* Experimenting

* More experimenting

* Revert some changes

* Run update_image and cache node modules

* Sandbox e2e tests run

* fix code residual from rebase

* Add GH action for ci perf

* Use ubuntu instead of macos

* Use windows instead of ubuntu

* Fix env set command

* Use post-test script to check performance

* Use macos-latest

* Throw error when tests fail

* Use measudePerformance function instead

* Use measudePerformance function instead

* Try to run e2e on github actions

* Try headless script

* Install linux packages

* Add shell

* Use if: runner..

* ADd sudo

* Add more linux packages

* Go back to macos

* Try recursive find for main window

* Remove performance tests from circleCi

* Increase retries

* Fix

* Revert "Fix"

This reverts commit c19fc56600ada4eee3e26bf3988b27d2ce2616d1.

* Revert "Increase retries"

This reverts commit 564ac95c34def892595c17b98eec245cacb0d4a4.

* Revert "Remove performance tests from circleCi"

This reverts commit c49c73b6f811df12631036bc33dae30da2271173.

* Revert "Try recursive find for main window"

This reverts commit 19d9367f9317f6e9d7ef9aa6a5d69eccdff2df67.

* Revert "Go back to macos"

This reverts commit 72b796ad983e89940f84d53039affd867d0e7f34.

* Revert "Add more linux packages"

This reverts commit 4bd510f8ea5356c13fbc4722be874aeea32de43e.

* Revert "ADd sudo"

This reverts commit acb95e02609e7cc02b12863910d29c03694936c1.

* Revert "Use if: runner.."

This reverts commit 69beed6fe24e452b1d7f0b0e4578bbfa9ca36d2f.

* Revert "Add shell"

This reverts commit e1743664a8b01797da4112314af0b88318ad2fd7.

* Revert "Install linux packages"

This reverts commit 25195dd11c827dff0fd8cf4fbdf2dc709377d525.

* Revert "Try headless script"

This reverts commit 385be5609d5ee45363d26828f6a14c6be0ef661a.

* Revert "Try to run e2e on github actions"

This reverts commit be8f682fd8a82b265403471b5106fd5107f9fecb.

* Revert "Use measudePerformance function instead"

This reverts commit bfd46768ae845e2839e9f124735922da6301fa4e.

* Revert "Use measudePerformance function instead"

This reverts commit ab4bc22b8689ff35260b4ab55724a77dc5993426.

* Update workflow command

* Remove circleci config for perf tests

* Run on ubuntu

* Add packages for linux

* Fix order of commands

* Move env var at the beginning

* Upload test results to s3

* Update name

* Update name

* Add trigger for flag

* Add step to upload artifact to github workflow artifacts

* Update yml

* Add step to comment the results in the PR

* Fix env bug

* move constant to workflow env

* Wrap workflow env with single quotes

* Add start comment and remove label steps

* Update body of comment

* Remove unused file

* Move PR comment function into file

* Fix import

* Remove spaces from line start

* Remove label even if workflow failed

* Add logging

* Fix markdown table data

* Remove trailing semi string

---------

Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-30 17:16:10 +02:00
Tasos Boulis bbb29a0d1b
[MM-48407] Include entry for websocket too when trusting a certificate for https (#2526)
* Inlcude entry for websocket too when trusting a certificate for https

* Improve condition for protocol
2023-01-30 16:14:57 +02:00
Tasos Boulis 6ee8b97f7d
Fix order of dependencies (#2525) 2023-01-30 13:42:24 +02:00
Devin Binnie 09ecc7430f
[MM-49690] Set currentView to undefined instead of using delete (#2522) 2023-01-27 14:32:48 -05:00