Commit graph

2595 commits

Author SHA1 Message Date
Devin Binnie 3225076426 [MM-50948] Prevent popup windows from navigating outside of the plugin/managed resource URLs (#2580) 2023-03-06 09:16:52 -05:00
Devin Binnie 55529a9ff2 [MM-50537] Upgrade to Electron v23.1.2 (#2579) 2023-03-03 11:39:04 -05:00
Claudio Costa 760f88bfe6
[MM-50973] Harden Calls windows URL navigation checks (#2573)
* Harden Calls windows URL navigation checks

* Update src/main/windows/callsWidgetWindow.ts

Co-authored-by: Eva Sarafianou <eva.sarafianou@gmail.com>

* Fix bad merge

* Extract team name to use isUrlType

* Simplify

---------

Co-authored-by: Eva Sarafianou <eva.sarafianou@gmail.com>
2023-03-02 12:11:53 -06:00
Devin Binnie 8b560fa224 [MM-50527] Explicitly allow the Mattermost views access to write to the clipboard using Copy Link (#2565)
* [MM-50527] Explicitly allow the Mattermost views access to write to the clipboard using Copy Link

* Include calls widget window

* Add calls popout to the list as well

* Update src/main/app/initialize.ts

Co-authored-by: Christopher Poile <cpoile@gmail.com>

---------

Co-authored-by: Christopher Poile <cpoile@gmail.com>
2023-03-01 22:49:46 -05:00
Claudio Costa a92f2b7a06
[MM-50995] Harden Calls events handling (#2571)
* Simplify server switching logic in calls events

* Harden calls events handling

* Fix subpath
2023-03-01 16:49:10 -06:00
Devin Binnie ed5e92a09c [MM-50569] Fix insecure win32 path regex (#2566) 2023-02-28 10:16:55 -05:00
Devin Binnie 57863f3bf2 [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 10:16:34 -05:00
Devin Binnie 3667e7c64f Bump to version 5.3.0-rc.2 2023-02-17 16:50:53 -05:00
Mattermost Build b6b8e5b0c4
[MM-46980] Improve screensharing permissions flow (#2556) (#2561)
* Little improvements and simplification

* Improve MacOS screen permissions handling flow

* Add missing error event

* Propagate calls client errors (#2557)

(cherry picked from commit d1f6fc5a5f)

Co-authored-by: Claudio Costa <cstcld91@gmail.com>
2023-02-17 15:07:44 -05:00
Mattermost Build de62108009
MM-49079 - Calls: process link clicks from Calls popout (#2558) (#2560)
* process link clicks from Calls popout

* add a mock for windows tests

(cherry picked from commit ec8e0b9cc2)

Co-authored-by: Christopher Poile <cpoile@gmail.com>
2023-02-17 15:07:22 -05:00
Devin Binnie 9c74e18401 Bump to version 5.3.0-rc.1 2023-02-16 13:57:42 -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