Commit graph

657 commits

Author SHA1 Message Date
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
Jarred Witt b1200f45ad Add default team to config 2017-10-11 12:06:44 -05:00
David Meza 4f8af91f4d Hide help link if empty. 2017-10-11 11:53:49 -05:00
Jarred Witt 53014d48d2 Open help link from config 2017-10-11 11:53:49 -05:00
Yuya Ochiai eacd611f96 Update yarn.lock 2017-10-11 22:12:39 +09:00
Yuya Ochiai b3322dcfab Introduce Yarn 2017-10-11 22:12:38 +09:00
Yuya Ochiai 38fcdf6d6e Merge pull request #586 from csduarte/bash-20
(#1) BASH-20 Add base and override config
2017-10-11 21:45:27 +09:00
Wesley van der Sanden 6dc396dec4 Change switch server implementation
Now uses the before-input-event instead of a globalShortcut.

GH-512
2017-10-09 23:06:54 +02:00
Wesley van der Sanden 2f9b14615a Implement settings close button hover
Closes #439
2017-10-08 00:16:45 +02:00
Wesley van der Sanden fc28f4e02b Change 'Saved' indicator
The change indicator will show up next to the section title where the setting has been changed.

Closes #500
2017-10-07 23:13:23 +02:00
Wesley van der Sanden 0a333a0ff5 Fix error when spellcheck disabled 2017-10-07 23:05:49 +02:00
Wesley van der Sanden eb5b760f70 Add Ctrl(+Shift)+Tab as alternative to switch between servers
Closes #512
2017-10-07 17:12:03 +02:00
Wesley van der Sanden b5bc340f32 Move removing focus to TeamList.jsx
Closes #446
2017-10-07 14:35:20 +02:00
Wesley van der Sanden 9acaa36d8d Remove focus after cancelling modal
Closes #446
2017-10-01 22:21:21 +02:00
David Meza 76ced43a68 Changes to have settings tests pass. test/specs/settings_test.js 2017-09-29 11:14:01 -05:00
Jarred Witt 0efe676a8e Add base and override config 2017-09-28 12:28:01 -05:00
Yuya Ochiai eb4b9a5529 Fix wrong require for main process 2017-09-15 21:22:44 +09:00
David Meza 82c29dd848 Replace app.productName with app.getName() 2017-09-12 12:27:01 -05:00
Jarred Witt 06b5714bd0 Remove trailing space 2017-09-12 12:26:43 -05:00
Chris Duarte c3f7542c9e remove hardcoded mm references 2017-09-12 12:26:43 -05:00
Yuya Ochiai cb37f323cf Merge branch 'release-3.7' into merge-release-3.7 2017-09-06 00:55:09 +09:00
Yuya Ochiai 2399235fce Fix eslint error 2017-09-04 23:31:47 +09:00
Yuya Ochiai fccab551e2 Fix eslint error 2017-09-04 21:54:16 +09:00
Yuya Ochiai 3f898f4927 Update version to 3.7.1 2017-08-28 22:14:02 +09:00
Yuya Ochiai 631191c0fd Merge pull request #577 from yuya-oc/upgrade-electron-security
Upgrade Electron dependancy
2017-08-28 21:19:51 +09:00
Yuya Ochiai 2b15012358 Update Electron to 1.6.10
- Desktop notification for Windows 7
- Per-monitor DPI awareness
2017-08-25 00:56:36 +09:00
Yuya Ochiai dcabc9b50d Use setTimeout instead of setInterval to get unread count 2017-08-25 00:36:10 +09:00
Yuya Ochiai 39f88b3513 Cancel automatic reloading when an error page is manually reloaded 2017-08-24 21:14:27 +09:00
Yuya Ochiai 6d0e1f7fc0 Merge pull request #571 from mattermost/fix-hidden-flag
Fix --hidden not working on Linux
2017-08-19 00:08:02 +09:00
Yuya Ochiai d5d912cbdb Fix --hidden not working on Linux 2017-08-09 22:09:41 +09:00
Yuya Ochiai de29dfab46 Use setTimeout instead of setInterval to get unread count 2017-07-21 00:09:35 +09:00
Yuya Ochiai ab5e5590a4 Fix Windows uninstaller not removing files correctly
Multiple async tasks were not performed completely when running uninstaller.
So rearranged tasks with sequential order.
i.e. take care startup registry, finally call electron-squirrel-startup.
2017-07-11 21:33:40 +09:00
Yuya Ochiai 3fefb813f0 Change app author to Mattermost 2017-07-10 22:19:37 +09:00
Yuya Ochiai 1f86fbc18a Fix close button not working when the number of teams is not zero 2017-07-01 23:46:45 +09:00
Yuya Ochiai 63497009ec Merge branch 'master' into blur-webview-on-deactivation 2017-06-06 23:16:50 +09:00
Yuya Ochiai bf21836c44 Fix desktop notifications not working when the window is minimized
Blur webview when the main window loses its focus.
2017-06-05 23:33:50 +09:00
Yuya Ochiai dbd963fbf0 Use sheet-end event to handle focus when closing macOS file upload dialog 2017-06-02 23:55:58 +09:00
Yuya Ochiai 854ed8a7d9 Update Electron to 1.6.10
- Desktop notification for Windows 7
- Per-monitor DPI awareness
2017-06-01 00:39:20 +09:00
Yuya Ochiai 0839e71d0d Merge branch 'refactoring-notifications' 2017-05-31 23:07:13 +09:00
Yuya Ochiai 2307b3ca6a Fix alignment for 'Add new server' button 2017-05-31 20:33:12 +09:00
Yuya Ochiai 7be7f8dcc2 Use css to style UI 2017-05-24 21:52:57 +09:00
Yuya Ochiai f540777eea Refactor enhanced notification 2017-05-22 22:51:31 +09:00
Yuya Ochiai cd50abfe47 Update react-bootstrap 2017-05-16 01:27:19 +09:00
Yuya Ochiai 2e310dc1ee Follow up react's deprecation 2017-05-12 00:17:13 +09:00
Yuya Ochiai f6ef409cb0 Update app dependencies 2017-05-11 23:50:18 +09:00
Yuya Ochiai c333f7b87b Enable spellchecker as default setting
The language should be determined by user's locale.
If it's not available in spellchecker, en-US is used.
2017-05-03 20:53:33 +09:00
Yuya Ochiai 13172570c0 Reset misspelled state after changing spelling language 2017-05-02 23:00:40 +09:00
Yuya Ochiai 91aca931e7 Update version to 3.7.0 2017-04-28 21:36:09 +09:00
Yuya Ochiai 8d4b2624ca Merge pull request #519 from yuya-oc/download-public-file
Don't show an extra window when clicking public file link
2017-04-28 21:16:42 +09:00
Yuya Ochiai 67a33692b9 Merge pull request #277 from yuya-oc/simple-spellchecker
Add spellchecker

Close #225
2017-04-27 23:43:32 +09:00
Yuya Ochiai 4c30d23ce9 Show error message box when failed to save file
For #390
2017-04-27 23:33:23 +09:00
Yuya Ochiai 95c574eadc Show only save file dialog when clicking public file link
For #390
2017-04-27 22:45:32 +09:00
Yuya Ochiai 2d35946f56 Add "No Suggestions" menu when there are no suggestions in spellchecker 2017-04-27 20:31:03 +09:00
Yuya Ochiai 256e317402 Add context menu to select spelling language 2017-04-27 20:26:37 +09:00
Jonas Schwabe 584b24ebfe Add display-metrics-changed handler to place window on screen on display matrics change 2017-04-26 15:32:35 +02:00
Yuya Ochiai 7be0254840 Change order of options and add Spanish spellchecker 2017-04-26 00:12:23 +09:00
Yuya Ochiai 84d0ec432a Implement simple spellchecker 2017-04-26 00:12:23 +09:00
Yuya Ochiai 002da9f1f6 Fix error page not properly layouted 2017-04-25 01:00:49 +09:00
Yuya Ochiai 8c8f67889e Fix view position for new tab height 2017-04-18 23:52:03 +09:00
Yuya Ochiai 7c9dd50477 Hide webview with the recommended approach
https://electron.atom.io/docs/api/webview-tag/#css-styling-notes
2017-04-18 23:52:03 +09:00
Jason Blais a94566c2c6 Change "team" references to "server" 2017-04-13 11:31:08 -04:00
Yuya Ochiai 2f40b517cf Merge pull request #489 from yuya-oc/reduce-tab-height
Reduce tab bar height
2017-04-06 20:59:17 +09:00
Yuya Ochiai 62c198edb7 Remove unnecessary codes
Related to #416
2017-04-03 22:50:38 +09:00
Yuya Ochiai 2fa618c9c9 Add support for sound notifications on Windows 7 and 8
ding.mp3 is derived from /platform repository.
2017-04-01 21:37:25 +09:00
Yuya Ochiai 14b23d24d3 Reduce tab bar height 2017-03-25 21:32:48 +09:00
Yuya Ochiai d42a4ff16c Removed Japanese fonts support
Now Electron chooses proper fonts. So the feature is no longer necessary.
2017-03-23 01:04:25 +09:00
Yuya Ochiai 0a2415bdf7 Merge pull request #470 from yuya-oc/create-main-window
Refactor main window code
2017-03-22 00:55:46 +09:00
Yuya Ochiai 153bf7ad5f Refactor main window code 2017-03-19 00:11:08 +09:00
Yuya Ochiai f08db8c72b Remove "Display secure content only" option
allowDisplayingInsecureContent is removed in Electron 1.6.
And it's no longer necessary to show http contents in https server.
2017-03-18 21:33:51 +09:00