Commit graph

2414 commits

Author SHA1 Message Date
Guillermo Vayá 714980c8c6 [MM-19569] add notarization to osx app (#1086)
* [MM-19569] add notarization to release

also added signing verification on release
added electron-notarize to dev deps

* [MM-19569] fix semicolon

* [MM-19569] check that we are running on osx to notarize
2019-10-22 09:48:00 +03:00
Eric Sethna b731ffcd75 Update CHANGELOG.md to clarify known issues (#1079)
* Update CHANGELOG.md

* Update CHANGELOG.md
2019-10-18 11:36:04 -04:00
Guillermo Vayá 990f405a61
[MM-19515] Sign electron builder executable (#1076)
* signing electronbuilder exe

* remove testing branch
2019-10-17 17:11:41 +02:00
Amy Blais df56e372ff v4.3 Changelog draft (#1031)
* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md
2019-10-16 20:43:03 -04:00
JtheBAB 1d1a7e0301 Update GPO DefaultServerList Description (#1073) 2019-10-16 20:20:35 +02:00
JtheBAB 5e333cd362 Disable AutoUpdate GPO (#1072)
* Disable AutoUpdate GPO

* Disable AutoUpdate
2019-10-16 14:16:39 -04:00
dependabot[bot] b27e7b64ee Bump lodash from 4.17.11 to 4.17.14 (#1002)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-15 23:46:02 +02:00
Dean Whillier ef9ad68f05
[MM 19369] Add controlled support for popup windows. (#1065)
* Allow all navigation for trusted popup windows

* slight cleanup

* change log type

* add log of blocked popup windows

* remove allways on top

* additional logging
2019-10-15 14:48:22 -04:00
Dean Whillier 31f68b975c Rename Mattermost Desktop to Mattermost in MSI (#1066)
For consistency with other app versions (and mobile apps), it has been decided to refer to simply "Mattermost" as app name instead of Mattermost Desktop.
2019-10-12 14:46:39 +02:00
Dean Whillier e4044f533d
re-focus renderer (#1064)
- using the menu hotkeys was causing the renderer to somehow loose focus, preventing further hotkeys from working
2019-10-11 09:17:51 -04:00
Dean Whillier da4ae94c8b
allow trusted urls to open new windows (#1062) 2019-10-09 09:45:02 -04:00
Dean Whillier e1f64f0ba0
[MM-19266] User activity monitor updates (#1061)
* user activity monitor updates

- re-work of the mechanism for determining user activity status and triggering updates that are passed to the server via the webapp
- removing system events (login/out screensaveer on/of etc.) to be re-considered for a future release

* add missing descriptions

* review tweaks

* update tests
2019-10-09 09:00:15 -04:00
Devin Binnie 695d246a67 [MM-19187] Focus the webview on server selection (#1058) 2019-10-08 17:25:51 -04:00
Dean Whillier ac4ed39761 include team bar in mention counts (#1059) 2019-10-08 22:31:48 +02:00
Dean Whillier 00de500906 change mechanism for showing/hiding tabs (#1057)
- allow hidden tabs to still receive unread/mention updates
2019-10-08 22:25:03 +02:00
Dean Whillier 2591656610
MM-19096 – simplify custom login process (#1053)
* simplify custom login process

- remove need for temporarily trusting 3rd party hostname

* code review tweaks

* fix reducer

* review tweaks

* removing requirement for /login as start
2019-10-06 18:28:38 -04:00
Dean Whillier 24fdd05860
Change help menu shortcut on Windows (#1048) 2019-10-03 12:19:11 -04:00
Dean Whillier 5edc665978
stop cursor bug fix from running in inactive tabs (#1054) 2019-10-03 09:06:40 -04:00
Michael Kochell 593ded98f6
[MM-18936] Guard against bad server url so app doesn't crash (#1049)
* guard against invalid server url so app doesn't crash

* move if statement and add try/catch
2019-10-01 12:17:08 -06:00
William Gathoye a5368a9587
Add msi, gpo, new CI and runtime/sandbox hardening
* Add msi installer via Wixtoolset
* Add PowerShell Makefile
* [MM-18135] merge lint and test step, use -quiet, clarify changing debugging port
* [MM-18135] use no sandbox, separate linting, circle 2.1
* [MM-18137] Add MSI installer job
* [MM-18137] Add windows signing
* [MM-18152] Desktop notifications (#1040)
* [MM-18345] use non-dangerous wix version
* [MM-18348] add code signing to windows build (#1044)
* [MM-18348] fix review comments
* [MM-18851] runtime/sandbox hardening (#1042)
* [MM-18906] remove GPU acceleration option from GPO settings (#1047)
* Other minor refinements
2019-10-01 14:10:25 +02:00
Devin Binnie 4d7f5ab417 [MM-18750] Fixed a typo that was causing tray icon to constantly show up (#1041) 2019-09-26 13:51:24 -04:00
Dean Whillier 761ef8d0e6
[MM-18152] Desktop notifications (#1040)
* temp

* add in html5 notification tests

* strip out custom permissions handling

* disable middle click

* validate as URI instead of URL

allow’s custom protocol’s to pass through

* add context isolation to new window requests

* add new permissions handling

* prevent setting user to away from quit/shutdown

* dispatch desktop notifications from renderer

* remove test code

* log desktop notification errors

* should deny as a last resort

* only trigger callback once
2019-09-23 14:59:12 -04:00
dependabot[bot] 77d823a076 Bump mixin-deep from 1.3.1 to 1.3.2 (#1027)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-20 16:33:16 +02:00
dependabot[bot] 97fdedcc64 Bump eslint-utils from 1.3.1 to 1.4.2 (#1024)
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-20 16:33:09 +02:00
dependabot[bot] 175eaad6f6 Bump bootstrap from 3.3.7 to 3.4.1 in /src (#1021)
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 3.3.7 to 3.4.1.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v3.3.7...v3.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-20 16:33:01 +02:00
Dean Whillier 171e4a03a7
[MM 17255] Fix OneLogin and other OAUTH/SAML custom login attempts (#1025)
* allow custom login activity (oath, saml)

* fix electron missing cursor bug

* change variable name

* tweaks to custom login process
2019-09-16 16:02:37 -04:00
Dean Whillier 99fae82514
[MM-18551] Remove (auto)updater from v4.3 (#1035)
* remove (auto)updater from v4.3
2019-09-16 13:08:45 -04:00
Dean Whillier 576bea19bd
bugfix: initialize chromeDriverArgs arg (#1032) 2019-09-10 15:07:54 -04:00
Dean Whillier e12d47ea62
Mm 16694 master validate urls (#1000)
* validate urls before deeplink or link click

* tests for isValidURL utility function

* review change - invert condition

* add validation for loaded files

bounds-info.json, app-state.json, config.json

* further validation and tweaks

certificate.json, permission.json

* add 2 more files for validation

* parse and validate deeplinks

- includes fix for windows deeplink when app is open

* disable auto-updator when in dev

* Squirrel is not used anymore

* fix validating allowedProtocols

* discard any args following a deeplink url

* tweaks

* update test

* support scheme’s with and without slashes

* stop after finding the first occurance of a deep link

* test updates

* updates to run tests successfully

* port updates to validation from 4.2

* url validation updates

changed validation package to better support internal domains and punycode domains
2019-09-09 12:38:31 -04:00
Dean Whillier f12f9da798
switch to ‘postMessage’ for webapp communication (#1026) 2019-09-09 12:33:14 -04:00
Dean Whillier 2d173e6f70
Enable context isolation (#999) 2019-09-09 12:30:25 -04:00
Guillermo Vayá 304d26cece
[MM-18135] use no sandbox, separate linting, circle 2.1 (#1029)
* [MM-18135] use no sandbox, separate linting, circle 2.1

* [MM-18135] merge lint and test step, use -quiet, clarify changing debugging port
2019-09-06 22:44:52 +02:00
amyblais 32b747ab30 Update CHANGELOG.md (#1017) 2019-08-09 12:33:50 -07:00
amyblais 38dff13a39 Update CHANGELOG.md (#1014) 2019-08-08 14:11:48 +02:00
amyblais 544d76bb89 Update CHANGELOG.md (#1012) 2019-08-07 20:07:26 +02:00
amyblais fde71906ef Update CHANGELOG.md (#1011) 2019-08-07 20:02:09 +02:00
Carlos Tadeu Panato Junior a5f9590723 remove jenkins (#1008) 2019-08-02 15:51:14 -07:00
Peter Dave Hello 310fc63132 Optimize png image with zopflipng lossless compression (#981) 2019-07-09 21:29:02 -04:00
steevsachs e6acdf387c [MM-11896] Do not use minimize shortcut on win32 (#971) 2019-07-02 15:09:39 +02:00
Yuya Ochiai 04c03c3baf Upgrade dependencies (#996)
* Upgrade Electron to 5.0.4

* Fix spellcheck provider

* npm audit fix
2019-06-26 15:46:13 -04:00
Dean Whillier 2cfc735d6d
[MM 7970] Maintain online status while the Desktop App is in the background ... and other things. (#993)
* monitor os-level user activity

* disable eslint warnings

* add tests for UserActivityMonitor

* couple more tests

* udpate headers of new files
2019-06-25 10:11:03 -04:00
Dean Whillier 2cf0acc38c
center badge text and nomention dot (#995)
- also add padding and updated border radius to be a bit more consistent with badges in webapp
2019-06-21 17:39:43 -04:00
Dean Whillier b3d1b977fd
upgrade electron (#989) 2019-06-17 09:56:06 -04:00
Dean Whillier 694e6554e0 reference menion counts from LHS only (#990) 2019-06-17 15:21:57 +05:30
Jesús Espino 241fe8db62 MM-13690: Centering the dot correctly on nomentions badge (#978) 2019-05-24 12:59:30 -04:00
Dan Maas 55ae63e0b2 Update NOTICE file with electron version and new 'winreg' dependency 2019-05-11 23:35:46 +02:00
MikeNicholls 9aca5c6651 Fix inability to authenticate against a server protected with HTTP Basic Auth
Remove use of refs for login dialog username and password, shift values into instance properties instead (#966)
2019-05-11 22:02:14 +02:00
Dean Whillier d662b5c863 [MM-14740] Address potential race condition and cleanup main.js (#968)
A potential race condition between loading registry data in Windows and the electron app becoming ready is fixed with Promise.all() to make sure they are both loaded before finishing initialization that relies on both. Code has been reorganized to support this.
2019-05-11 19:27:51 +02:00
Dean Whillier 25b920f412
[MM-14740] Integrate GPO functionality (#961)
* integrate gpo functionality

* support multiple windows registry ‘hives’

* correct some copy paste errors

* registry config progress

* tweaks
2019-04-18 13:19:04 -04:00
Eric Sethna 9c0ac76f69 Update README.md (#960) 2019-04-18 12:37:20 -04:00