Commit graph

1882 commits

Author SHA1 Message Date
Devin Binnie 009b473077
[MM-19205] Allow the use of v2 configs by v1 config desktop apps (#1126) 2019-12-16 15:19:46 -05:00
Guillermo Vayá 75b47a95b7
[MM-20794] change suggestion on spellchecker locale change (#1132)
* [MM-20794] change suggestions if locale is changed

* prevent crash on spellchecker load
2019-12-16 15:59:47 +01:00
Guillermo Vayá 69af5a1f96 [MM-20659] Fixing msi upgrade process (#1115) 2019-12-15 23:16:43 +01:00
Guillermo Vayá 2d8c7af089
[MM-14135] allow negative window app positions (#1124)
* [MM-14135] allow negative positions to enable having the app on a monitor on the left of primary

* remove logging
2019-12-13 17:13:03 +01:00
Guillermo Vayá efd56d7ac3
[MM-21075] Prevent known teams to open in a new app window (#1130)
* [MM-21075] prevent known teams to open a new
window

* improve naming

* allow anything that is not a team to open a window
2019-12-13 16:20:10 +01:00
Devin Binnie a46e3f4342
[MM-20156] Added '99+' message badge for Windows when over 99 mentions are included (#1113) 2019-12-11 09:30:20 -05:00
Carlos Tadeu Panato Junior f6aec188ce update context (#1120) 2019-12-04 15:42:52 +01:00
Devin Binnie f1a6dfc455
[MM-20348] Fixed DMG background (#1114) 2019-11-29 09:56:10 -05:00
Guillermo Vayá 1dd8145943 [MM-20645] fix spellchecker (#1111) 2019-11-27 21:24:16 -05:00
Dean Whillier 4a54b58e65
[MM-19266] Manually exit html fullscreen on macOS when in fullscreen (#1097)
* manually exit html fullscreen on mac in fullscreen

* Ensure the element that is fullscreen is an iframe

* remove unused import
2019-11-23 02:31:18 -05:00
Dean Whillier d23c8cf48a [MM 19649] Fix blank window when auto-starting the app on login (#1106)
* Windows: fix hidden/shown/maximized window on start

* allow for some overlap with the top/left edge of the screen before resetting

* support maximizing directly from app tray icon after initial startup

* inline comments

* alternative to prevent minimize effect on startup

* default hideOnStartup to false

* update comment
2019-11-19 23:02:49 +01:00
Guillermo Vayá 395cbf9c9e
[MM-19963] set working directory on start (#1105)
* [MM-19963] set current working directory for the app

* prevent failing if env variables are not setup

* [MM-19963] cwd if not in dev mode and only if necessary, log it if it happens

* fix remove path if no cert is present

* address CR suggestions
2019-11-19 11:31:32 +01:00
Devin Binnie 90963e8381 Fixed email links being rejected by will-navigate (#1093) 2019-11-14 10:48:14 +01:00
Amy Blais 020c7b8220 Revising desktop release process (#1060)
* Update release-process.md

* Update release-process.md

* Update release-process.md

* Update release-process.md

* Update release-process.md

* Update release-process.md

* Update release-process.md

* Update CHANGELOG.md

* Update docs/release-process.md

Co-Authored-By: Dean Whillier <deanwhillier@users.noreply.github.com>

* Update docs/release-process.md

Co-Authored-By: Dean Whillier <deanwhillier@users.noreply.github.com>

* Update release-process.md
2019-10-29 23:41:46 -04:00
Dean Whillier 81c32c2d8c
Manually handle misbehaving keyboard shortcuts (#1092)
* manually handle misbehaving keyboard shortcuts

MM-19198
MM-19032

includes zooming, redo/undo & copy/cut/paste for good measure

* manually handle misbehaving menu items

* bump electron minor version

* remove temp log import

* update context menu package version
2019-10-28 11:27:59 -04:00
Guillermo Vayá d017a68d2f
[MM-19051] [MM-14180] [MM-19330] Release helpers, push to github and aws, fix weird name on msi at UAC (#1063)
* [MM-19051] release helpers

* [MM-14180] release to github

[MM-18330] more release helpers

* [MM-19330] add proper name during uac

* [MM-19051] address CR comments

* add this branch fo testing

* missing commits, remove trap to prevent ugly output

* Run shellcheck against Bash scripts to fix issues

* Try to fix build - attempt 1

* Add patch option to release script

* add setup exe installer to generate_release script
2019-10-28 12:05:05 +01:00
Amy Blais 94273b8f69 Update CHANGELOG.md (#1089) 2019-10-24 00:12:02 +02:00
Eric Newport a78878fb6d Update add new server icon on the settings page (#1083)
Closes https://github.com/mattermost/desktop/issues/1071

Closes https://mattermost.atlassian.net/browse/MM-19368
2019-10-23 12:59:24 +02:00
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