Commit graph

155 commits

Author SHA1 Message Date
David Meza 40892e0430 Protocol handler for deep linking in desktop app 2017-10-23 18:55:28 -05:00
Jarred Witt b1200f45ad Add default team to config 2017-10-11 12:06:44 -05: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 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 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 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 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 84d0ec432a Implement simple spellchecker 2017-04-26 00:12:23 +09:00
Yuya Ochiai 153bf7ad5f Refactor main window code 2017-03-19 00:11:08 +09:00
Yuya Ochiai b1d586e9da Remove nodeIntegration warning of webview in BrowserWindow
nodeintegration attribute is ignored in React because it's unknown.
So fortunately the integration is not working.
New 'will-attach-webview' allows us to set nodeIntegration = false.
2017-03-18 20:58:32 +09:00
Yuya Ochiai e8375f756d Set focus to the next top-level window when close the main window 2017-03-11 23:55:23 +09:00
Yuya Ochiai 79d8e21e3c Merge branch 'better-dev-mode' 2017-03-08 20:17:51 +09:00
Yuya Ochiai 60429a9622 Disable dev mode in npm start 2017-03-06 23:43:28 +09:00
Yuya Ochiai 1ab0859ac1 Stop using __dirname to avoid confusing 2017-03-06 23:43:27 +09:00
Yuya Ochiai 3b4a1dfca9 Add React Developer Tools 2017-03-06 23:29:56 +09:00
Yuya Ochiai 8c851f0896 Use http:// links when dev mode 2017-03-06 22:00:28 +09:00
Yuya Ochiai d8abb4b9c7 Fix tests 2017-03-06 21:31:17 +09:00
Yuya Ochiai 82bcd44f8f Remove old live-reload mechanism 2017-03-05 01:02:01 +09:00
Yuya Ochiai 6f4010edf2 Use webpack-dev-server 2017-03-05 00:27:40 +09:00
Yuya Ochiai 1188a2d9f7 Fix blur in HiDPI environment of Windows
This reverts #384 (f60d1fe0e4).
Blur was a known side effect of #384 though,
the original problem looks fixed in electron v1.6.1.
2017-03-04 00:24:05 +09:00
Yuya Ochiai 10213ad2c8 Fix an issue where application menu is not updated when config is saved 2017-02-17 23:31:49 +09:00
Yuya Ochiai 035800387b Remove deprecated features
- Hide menu bar (Windows, Linux)
- Toggle window visility when clicking on the tray icon (Windows)
- Minimize to tray (Mac)
2017-02-10 21:33:52 +09:00
Yuya Ochiai f7967cad9d Tweak fullscreenable flag
setFullScreenable() is no longer necessary.
2017-01-23 21:06:38 +09:00
Yuya Ochiai 490772a4da Tweak autostart for MacOS 2017-01-22 19:58:42 +09:00
Yuya Ochiai d89829502c Restore maximized window state on autostart 2017-01-22 19:28:08 +09:00
Jason Blais c6d554535d Update main.js 2017-01-18 10:50:12 -05:00
Jason Blais 3d09b6ae01 Update default window dimensions to 1000x700 2017-01-18 09:28:22 -05:00
Yuya Ochiai 7c8a676f8a Set minimum window size
Close #389
2017-01-17 23:52:53 +09:00
Yuya Ochiai f8fadcb844 Show mainWindow gracefully
http://electron.atom.io/docs/api/browser-window#showing-window-gracefully
2017-01-16 21:25:25 +09:00
Yuya Ochiai 3bf41ca3e5 Add --data-dir to switch userData directory 2016-12-27 21:19:01 +09:00
Jonas Schwabe 4e6d0ee145 Fixes #378 2016-12-25 17:59:26 +01:00
Yuya Ochiai 48cb8a2bbf Suppress unnecessary window while install/uninstalling 2016-12-22 23:26:18 +09:00
Jonas Schwabe 89e3a52ef2 Add a fallback when the notification icon theme is not valid - the app did not start up successfully before 2016-12-11 18:00:10 +01:00
Yuya Ochiai f60d1fe0e4 Fix confused cursor in HiDPI
https://github.com/electron/electron/issues/7655#issuecomment-259688853
2016-12-06 22:09:54 +09:00
Yuya Ochiai 0a702e62da Fix eslint error 2016-11-30 20:37:39 +09:00
Yuya Ochiai ee06c09237 Rename src/resource to src/assets
- `dist/resources` was not included in linux packages.
- There were two "resources" directories.

Close #360
2016-11-10 22:31:10 +09:00
Yuya Ochiai 16788b5a6f Fix eslint errors 2016-10-28 00:49:52 +09:00
Yuya Ochiai 4ecbc14b06 Merge pull request #324 from itsmartin/fix-linux-tray-settings
Fix linux tray settings
2016-10-28 00:25:03 +09:00
Jonas Schwabe 08d0fff557 Remove cache on app update, fixes #342 2016-10-20 15:46:44 +02:00
Martin Gondermann 5baa424e1b Prettyfied code 2016-10-04 20:36:46 +02:00
Martin Gondermann 26689f0a51 Fix for #302
On Mac, a download in desktop app defaulted to Macintosh HD instead of the download folder
2016-10-04 20:34:52 +02:00
Martin f3f0f84db1 Fix the minimise to tray option never being enabled on Linux 2016-09-29 10:34:01 +01:00
Yuya Ochiai e28bcf6298 Merge pull request #296 from Razzeee/update-fix-autolaunch
Make sure our auto launch link is up do date
2016-09-21 21:05:24 +09:00
Kolja Lampe a8bfe709ba Make sure our auto launch link is up do date 2016-09-20 22:19:52 +02:00
Yuya Ochiai e8590e61d5 Fix ApplicationUserModelID in the start menu shortcut
The application expected "com.squirrel.mattermost.Mattermost"
due to electron-winstaller. But probably the package name,
"mattermost-desktop" was used when creating the shortcut.

This might affect the internal name of .deb package.

Close #287
2016-09-17 00:03:14 +09:00