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.
* 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
* 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
* 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
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.
* 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’