Commit graph

2615 commits

Author SHA1 Message Date
Christopher Poile dd8f980e72
MM-51535 - Calls: Fix unrestricted redirect from calls widget (#2635) (#2641)
* add will-redirect handler to prevent unrestricted redirect

* import ordering

* simplify onWillRedirect handler; tests

* Adding punctuation to force tests to run again.

(cherry picked from commit d18e3e2251)
2023-03-28 10:27:10 -04:00
Claudio Costa ff3951f50a
Escape regexp input in isCallsPopOutURL (#2629) (#2633)
(cherry picked from commit cc706f7a97)
2023-03-23 11:49:52 -06:00
Mattermost Build d85d4fcb85
Allow starting a call from existing thread (#2630) (#2632)
(cherry picked from commit 9570e030e7)

Co-authored-by: Claudio Costa <cstcld91@gmail.com>
2023-03-21 14:02:56 -04:00
Mattermost Build 074e431cc2
Add MAS approval step to the release script (#2624) (#2625)
(cherry picked from commit 4ed2eccddd)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2023-03-16 11:24:54 -04:00
Devin Binnie c237220e52 Bump to version 5.3.0-rc.6
Some checks failed
release / begin-notification (push) Has been cancelled
release / build-linux (push) Has been cancelled
release / build-msi-installer (push) Has been cancelled
release / build-mac-installer (push) Has been cancelled
release / mac-app-store-preflight (push) Has been cancelled
release / upload-to-s3 (push) Has been cancelled
release / github-release (push) Has been cancelled
release / end-notification (push) Has been cancelled
2023-03-15 11:23:47 -04:00
Mattermost Build 2708414c29
[MM-51406] Update node-abi, fix some server modal bugs (#2617) (#2620)
* Update node-abi so tests can run

* [MM-51392] Fix modal ping bugs

(cherry picked from commit cf8aa6499c)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2023-03-15 09:14:04 -04:00
Mattermost Build 152b114fae
[MM-51406] Check for other server URLs when trying to navigate (#2616) (#2619)
(cherry picked from commit 37e7fb1100)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2023-03-15 09:09:17 -04:00
Devin Binnie e4ac4618c8 Bump to version 5.3.0-rc.5
Some checks failed
release / begin-notification (push) Has been cancelled
release / build-linux (push) Has been cancelled
release / build-msi-installer (push) Has been cancelled
release / build-mac-installer (push) Has been cancelled
release / mac-app-store-preflight (push) Has been cancelled
release / upload-to-s3 (push) Has been cancelled
release / github-release (push) Has been cancelled
release / end-notification (push) Has been cancelled
2023-03-14 10:07:57 -04:00
Devin Binnie 7dcbb08b11 Add MM_WIN_INSTALLERS to release pipeline (#2613) 2023-03-14 10:07:44 -04:00
Antonis Stamatiou be3e1603a2 Replace release creation with gh CLI (#2608)
* replace release creation with gh CLI

* Create nightly builds abstraction with tag creation

* Enable also workflow dispatch for main nighlty build
2023-03-14 10:02:40 -04:00
Antonis Stamatiou efe93eb7ed add missing checkout for github release (#2604) 2023-03-10 12:37:57 -05:00
Antonis Stamatiou 6fdf53c730 run pipeline on tags only (#2603) 2023-03-10 10:13:02 -05:00
Antonis Stamatiou 4893261191 add proper conditions to release pipelines (#2602) 2023-03-10 10:04:24 -05:00
Devin Binnie 16f043d44e
Cherry-pick GitHub Actions to 5.3 (#2600)
* feat(ci): CircleCI migration to Github Actions (#2516)

* Deprecated trigger-desktop-nightly repo from gitlab
* Migrated Nightly builds URLs from CircleCI to S3
* Full CI/CD is handled by Github Actions

---------

Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>

* fix nightly builds (#2590)

* added missing patch version . fix patch action for windows (#2592)

* feat(ci): Use workflow_dispatch option for nightly builds in order to trigger them on demand when needed (#2593)

* add missing yq for windows (#2594)

* Allow MAS build to be repeated more easily (#2595)

* fix multiline strings output (#2596)

* Add MM_WIN_INSTALLERS for nightly builds (#2599)

* Adding extra dependencies to the release flow (#2601)

---------

Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-10 09:17:12 -05:00
Amy Blais f3ff34870a Update NOTICE.txt (#2570)
* Update NOTICE.txt

* Update NOTICE.txt

* Update NOTICE.txt

* Update NOTICE.txt

* Update NOTICE.txt

* Update NOTICE.txt

* Update NOTICE.txt

* Update NOTICE.txt

* Update NOTICE.txt

* Update NOTICE.txt

* Update NOTICE.txt

* Update NOTICE.txt

* Update NOTICE.txt
2023-03-08 10:11:21 -05:00
Claudio Costa b2fa6a82bb
Fix race condition on switching calls (#2591) 2023-03-07 18:24:11 -06:00
Devin Binnie 8dde0f682a Bump to version 5.3.0-rc.4 2023-03-06 16:31:13 -05:00
Devin Binnie ceef6e6ff3 Update release script (#2589) 2023-03-06 16:31:03 -05:00
Devin Binnie b191a4de2e Restore URL checking code 2023-03-06 13:57:22 -05:00
Devin Binnie 7b625f3265 Bump to version 5.3.0-rc.3 2023-03-06 09:42:36 -05:00
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