Commit Graph

675 Commits

Author SHA1 Message Date
Yuya Ochiai
4137df4098 Ignore JSON.parse expections on PermissionManager constructor
https://github.com/mattermost/desktop/pull/633#issuecomment-342508014
2017-11-08 00:44:36 +09:00
Yuya Ochiai
30da348e6e Remove unnecessary white space from the dialog message 2017-11-08 00:39:23 +09:00
Yuya Ochiai
fa578fb37c Show error dialog when wrong buildConfig is used 2017-11-07 22:32:23 +09:00
Yuya Ochiai
878b5c1a42 Restrict adding a server even when the number of servers is zero 2017-11-07 22:20:33 +09:00
Yuya Ochiai
4abd72856f Move enableServerManagement key from defaultPreferences to buildConfig 2017-11-07 22:06:47 +09:00
Yuya Ochiai
51e6d5f039 Remove deepmerge 2017-11-07 21:44:00 +09:00
Yuya Ochiai
baf0022892 Add test for splitted config files 2017-11-07 21:42:05 +09:00
Yuya Ochiai
3613f70a72 Simplify and split config.json into defaultPreferences and buildConfig 2017-11-07 21:42:05 +09:00
Yuya Ochiai
f47a1af385 Fix eslint error 2017-11-07 21:16:41 +09:00
Yuya Ochiai
77427ad75a Implement asynchronous permission requests 2017-11-07 21:16:41 +09:00
Yuya Ochiai
d83e7fecd7 Append PermissionRequestDialog to TabBar 2017-11-07 21:16:01 +09:00
Yuya Ochiai
22a0f41f66 Implement PermissionRequestDialog 2017-11-07 21:03:36 +09:00
Yuya Ochiai
ef43ec6e3e Add test for PermissionManager 2017-11-07 21:03:36 +09:00
Yuya Ochiai
c957857a08 Implement permission request handler 2017-11-07 21:03:36 +09:00
Yuya Ochiai
8003c49bde Merge pull request #600 from csduarte/BASH-18
BASH-18 Add configs to show/hide server management and multiteam settings
2017-11-07 20:57:11 +09:00
Yuya Ochiai
869e673ae6 Show the loading icon until React app is actually rendered 2017-11-07 20:48:16 +09:00
Yuya Ochiai
f83b305d99 Set opacity to the icon 2017-11-07 20:48:16 +09:00
Yuya Ochiai
1524d2f4d0 Locate the loading icon at the center of the screen 2017-11-07 20:48:16 +09:00
Yuya Ochiai
322869ff5c Add loading.gif 2017-11-07 20:48:15 +09:00
Yuya Ochiai
04f5d0340c Open validated URL of loading error in the default browser 2017-11-07 20:48:15 +09:00
Yuya Ochiai
616465748b Use a Mattermost animation icon when loading a page in the app 2017-11-07 20:48:15 +09:00
Yuya Ochiai
e14ff7bc2a Merge pull request #626 from yuya-oc/show-internal-error
Show uncaughtException as an internal error and quit the app
2017-11-07 01:10:41 +09:00
Yuya Ochiai
f9cb2370ac Relaunch the app by Reopen button and tweak for macOS 2017-11-06 23:16:15 +09:00
Yuya Ochiai
f794ac729e Remove fs.writeFileSync(2) to avoid crashing on Windows 2017-11-05 21:02:15 +09:00
Yuya Ochiai
af97696462 Apply minor level upgrading for src dependencies 2017-11-03 21:20:56 +09:00
Chris Duarte
8c82685d46 add server management and multiteam settings 2017-11-01 12:45:33 -05:00
Yuya Ochiai
19ced85bc8 Use app.exit() instead of app.quit() in makeSingleInstance 2017-11-02 00:59:08 +09:00
Yuya Ochiai
0e1e4228f0 Update error dialog style 2017-11-02 00:59:08 +09:00
Yuya Ochiai
00b7a806ad Open the error report in detached process 2017-11-02 00:59:08 +09:00
Yuya Ochiai
02c63395b5 Fix error case where tray icon is already destroyed 2017-11-02 00:59:08 +09:00
Yuya Ochiai
a9af3c2dcb Show uncaughtException as an internal error and quit the app 2017-11-02 00:59:07 +09:00
Yuya Ochiai
26bb64b8b7 Merge pull request #635 from yuya-oc/fix-zoom-issue
Keep MainWindow's zoom level to zero excepting webview
2017-11-01 02:23:13 +09:00
Yuya Ochiai
4aafe2e28a Merge pull request #613 from wvds/GH-500
Change "Saved" indicator
2017-10-30 22:58:10 +09:00
Yuya Ochiai
f7add8370f Keep MainWindow's zoom level to zero excepting webview 2017-10-27 21:40:04 +09:00
Yuya Ochiai
594f1d47ed Use constants for AutoSaveIndicator savingState 2017-10-27 00:18:01 +09:00
Yuya Ochiai
7aa673a079 Manage AutoSaveInficator state for each of servers and appOptions 2017-10-27 00:18:01 +09:00
Yuya Ochiai
d2c4aa0546 Revert "Remove a global variable, deeplinkingUrl"
This reverts commit ea746bad29.
2017-10-25 21:05:17 +09:00
Yuya Ochiai
e24cddcf5a Disable deeplinking when the app is running in development mode
In that case, electron.exe is registered as the protocol client.
The app would not work because app dir is not set when launching.
2017-10-24 21:28:08 +09:00
Yuya Ochiai
ea746bad29 Remove a global variable, deeplinkingUrl 2017-10-24 21:09:06 +09:00
David Meza
ce08b73617 Fix problem with deeplinkingUrl still being set when preferences window closes. 2017-10-23 18:55:28 -05:00
David Meza
c624a9a009 Refactorings to make code cleaner. Fixes to not execute anything when windows squirrel installer. 2017-10-23 18:55:28 -05:00
David Meza
7a3552dfdc Logic to take value of protocol from electron-builder.json to be able to whitelabel in an easy manner. 2017-10-23 18:55:28 -05:00
David Meza
150b829a67 Logic for deep linking to go to the right tab and channel based on domain 2017-10-23 18:55:28 -05:00
David Meza
4aa33a127d Make deepliking work on windows 2017-10-23 18:55:28 -05:00
David Meza
40892e0430 Protocol handler for deep linking in desktop app 2017-10-23 18:55:28 -05:00
Wesley van der Sanden
3883aba9fb Implement separate state for server and app settings 2017-10-21 21:31:01 +02:00
Yuya Ochiai
ab3bd97a52 Fix an issue where the combination of deepmerge and webpack breaks tests 2017-10-17 00:05:02 +09:00
Yuya Ochiai
e46920ee9e Merge pull request #594 from csduarte/bash-14
BASH-14 Set default server/team in settings
2017-10-14 21:38:45 +09:00
Yuya Ochiai
55c9104bd0 Merge pull request #612 from wvds/GH-512
Add Ctrl(+Shift)+Tab as alternative to switch between servers
2017-10-12 23:08:20 +09:00
Wesley van der Sanden
19d6772c2b Move keyboard shortcuts to mainWindow
Closes #512
2017-10-11 20:39:08 +02:00