Commit Graph

1989 Commits

Author SHA1 Message Date
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
Dan Maas
b9d8e25c72 Update NOTICE.txt (#957)
(this is the automated NOTICE.txt update for April 2019)
2019-04-17 10:51:03 +02:00
Dean Whillier
4137d0ea23 [MM-14740] Consolidate configuration to support integration of MSI/GPO (#959)
* config logic consolidation

* filter out duplicate servers

* build default teams and GPO teams are not editable

* tweaks

* tweak config architecture to support tests

- config needs to load in each process (main and renderer) and then synchronize with each other
- finished saving ui functionality

* add esdoc comments to new config module

* remove old config-related files

* revert eslint comment

* don’t filter teams, duplicates are allowed

* some code review tweaks

* Remove unecessary deepCopy

* tweak for tests

* Skip test for now

Can’t seem to get this test to work, even though what is being tested works fine in the actual app.

* fix for failing test

click of ‘light’ option wasn’t triggering an update as it is selected by default, so flipped the order to first select ‘dark’ and then ‘light’
2019-04-11 13:58:30 +02:00
amyblais
b7b88c4fbb Update ISSUE_TEMPLATE.md (#930)
* Update ISSUE_TEMPLATE.md

* Update ISSUE_TEMPLATE.md
2019-04-10 20:42:29 -04:00
Dean Whillier
f175e21c03 Merge pull request #956 from mattermost/MM-13349
open certain internal paths in default browser
2019-03-26 10:14:10 -04:00
Dean Whillier
28bf5ce08d Merge pull request #954 from mattermost/MM-14176
[MM-14176] Fix restart after quitting in full screen
2019-03-26 09:56:45 -04:00
Dean Whillier
c72c30144c Merge pull request #953 from mattermost/MM-14172
[MM-14172] Fix black screen when closing window in fullscreen on a Mac
2019-03-26 09:29:20 -04:00
Dean Whillier
f3204443f9 open certain internal paths in default browser 2019-03-25 22:23:23 -04:00
Dean Whillier
feda6e6c02 don’t save window.fullscreen to app state 2019-03-21 11:44:48 -04:00
Yuya Ochiai
deb8608874 Merge pull request #952 from mattermost/amyblais-patch-2
4.2.1 changelog
2019-03-21 22:19:27 +09:00
Dean Whillier
c17fdc23a4 fix black screen when closing window in fullscreen 2019-03-20 16:43:27 -04:00
Jesse Hallam
4079234037 Update CHANGELOG.md
Co-Authored-By: amyblais <amy_blais@hotmail.com>
2019-03-20 09:36:44 -04:00
amyblais
5be2d254b9 Update CHANGELOG.md 2019-03-20 08:51:54 -04:00
Jesse Hallam
79e020ba43 MM-14446: consider subpath when evaluating if url is internal (#946)
* MM-14446: consider subpath when evaluating if url is internal

When clicking on an URL with `target=_blank`, the webview decides if it should launch an external browser or a new window within the Electron application. Update this logic to consider the application's configured subpath so as to treat links outside the subpath but on the same domain as external.

* fix licensing on new file

* fix .eslintrc.json indentation

* tweak header eslint rules for specific files
2019-03-15 20:20:41 +01:00
Yuya Ochiai
6e2b3d7fab Merge pull request #883 from yuya-oc/eslint-plugin-eslint-comments
Add eslint-plugin-eslint-comments
2019-03-13 23:59:53 +09:00
Yuya Ochiai
cd91b1d170 Fix Mocha debug config 2019-03-12 23:45:52 +09:00
Yuya Ochiai
6d6d586b3b Add eslint-plugin-eslint-comments 2019-03-12 23:31:45 +09:00
Yuya Ochiai
4725bd9bf9 Update CHANGELOG.md 2019-03-12 23:05:25 +09:00
Yuya Ochiai
427403aa47 Add VSCode configuration for debugging purposes (#886) 2019-03-11 21:45:32 +01:00
JtheBAB
c4cf9d5e0c Update syntax for GPO DefaultServerList (#944) 2019-03-08 12:27:19 +01:00
JtheBAB
995ef1d4a2 Add GPO for controlling GPU (#936) 2019-03-04 21:01:03 +01:00
Yuya Ochiai
6aa99d8afe Merge pull request #938 from svelle/spell-checker-update
update simple-spellchecker for new dict files
2019-02-28 23:46:44 +09:00
Sven Huester
16f86c7cc8 update package-lock.json for spellchecker 2019-02-27 16:50:11 +01:00
Sven Huester
a9dd0ffda8 update simple-spellchecker for new dict files 2019-02-27 16:30:02 +01:00
Joram Wilander
d93fb55030 Merge pull request #935 from cpanato/sign-cert
add windows certificate to sign the releases
2019-02-22 10:26:16 -05:00
William Gathoye
af23bed9dd Merge pull request #931 from thedingwing/master
GH-848 Add flag to enable MacOS dark mode title bar
2019-02-22 12:32:01 +01:00