Commit graph

157 commits

Author SHA1 Message Date
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
Yuya Ochiai 7cfde1e379 Merge pull request #230 from Razzeee/hide-autostart
Hide on autostart
2016-09-14 01:04:01 +09:00
Kolja Lampe bc154f56a7 Hide on autostart
Closes #228
2016-09-12 22:06:08 +02:00
Kolja Lampe b59f501a82 Some minor codestyle improvements due to jshint 2016-08-30 15:28:15 +02:00
Yuya Ochiai 59a18d3da0 Merge pull request #263 from Razzeee/fix-toggle-option
Fix for window toggle on tray click
2016-08-29 21:55:03 +09:00
Kolja Lampe 4c2ae2ec4f Fix for window toggle on tray click 2016-08-28 21:50:18 +02:00
Yuya Ochiai 7883693d73 Fix the next top-level window doesn't get focus when closing the main window in Windows 2016-08-28 22:05:27 +09:00
Yuya Ochiai a0453b5865 Fix pixelated application icons for Windows
Added 20x20, 24x24 and 40x40 icons to icon.ico

Top left of the window: #98
Taskbar icon: #192
2016-08-23 20:20:52 +09:00
Yuya Ochiai f85337db65 Merge pull request #251 from Razzeee/fix-window-state
Improved window state handling
2016-08-22 22:39:29 +09:00
Yuya Ochiai 5d9c74e8bd Merge pull request #247 from jgis/master
Force single app instance

Close #236
2016-08-22 00:17:29 +09:00
Kolja Lampe 7429df05f5 Improved window state handling
Closes #249
2016-08-21 09:53:29 +02:00
Kolja Lampe f01b6a98f2 Change window title to the one that's set from the platform for the current channel 2016-08-19 20:39:12 +02:00
Julian Gisser 725b84ca64 Restore window properly when maximized 2016-08-17 08:58:13 +02:00
Julian Gisser 0978a4efb2 beautify code 2016-08-16 16:34:04 +02:00
Julian Gisser 293d7134b4 Force single app instance on windows
fixes issue #236
2016-08-16 10:28:21 +02:00
Kolja Lampe 932f756570 Use the default electron roles and their naming/implemenation
See: https://github.com/electron/electron/pull/6190/files
2016-08-08 18:58:12 +02:00
Tim Roes 32509ad8c2 Flash Window also without systray icon 2016-07-25 14:47:51 +02:00
Jonas Schwabe 6f5c907ca6 📝 Add changelog entry for taskbar flashing on linux 2016-07-23 14:08:29 +02:00
Jonas Schwabe 028d0ac7f8 implements #122, urgent hint on linux 2016-07-23 14:03:53 +02:00
Yuya Ochiai 722d9b731d Revert the icon usage for the main window
Close #192
Side effect #98
2016-07-13 01:08:57 +09:00
Yuya Ochiai 55ae88d4db Refactor click event of trayIcon 2016-07-06 22:32:40 +09:00
Yuya Ochiai 1f0961c94c Replace isHidden with isVisible()
There is an API, BrowserWindow.isVisible().
2016-07-06 22:32:40 +09:00
Yuya Ochiai ad7f63127f Add feature to hide window into system tray in Linux 2016-07-06 22:31:35 +09:00
Kolja Lampe 81b40c68b3 Replace generic "Open mattermost" by a menu entry for each team. 2016-07-05 20:57:39 +02:00
Yuya Ochiai 47f1f0cd8a Merge pull request #188 from Razzeee/fix-devtron-problems
Added event handles for potential problems devtron showed and log the…
2016-07-05 08:33:20 +09:00
Kolja Lampe bbea5e570e Added event handles for potential problems devtron showed and log these to console 2016-07-04 20:45:36 +02:00
Martin Gondermann 04cbec9a5d Makes the check for the tray icon a bit more lightweight 2016-07-03 23:04:36 +02:00
Martin Gondermann 3c0c448502 Fix behaviour, if "Show icon on menu bar" was previously not selected 2016-07-03 22:13:48 +02:00
Martin Gondermann 2b4ee5f0bc Readded the Option to hide the window on close for OSX 2016-07-03 16:12:04 +02:00
Martin Gondermann 2919b1af5f Removed option to minimize to tray, this is now the default behaviour 2016-07-03 14:58:48 +02:00
Martin Gondermann 865b08105a OSX: Added Option to hide Window from dock on close 2016-06-30 22:17:31 +02:00
Martin Gondermann 5f14fb7d0e Minimize to tray on Close only 2016-06-30 13:54:46 +02:00
Martin Gondermann 1f312e1f7f Add setting for "Toggle the window on tray icon click" 2016-06-28 15:07:29 +02:00
Martin Gondermann fa1ddcb623 prettified the code 2016-06-27 09:14:55 +02:00
Martin Gondermann db4bdd0a9b Window is hidden also on minimize and a click on the tray icon toggles the window 2016-06-27 09:06:20 +02:00
Martin Gondermann f85cad72db Hide window on minimize 2016-06-27 08:09:52 +02:00
Yuya Ochiai 96e52b6e85 Update config of main process when the config file is updated 2016-06-17 23:50:41 +09:00
Yuya Ochiai 517cc16835 Merge branch 'master' into dev 2016-06-17 23:39:45 +09:00
Yuya Ochiai 3061598935 Merge pull request #159 from MetalCar/blinkNotification 2016-06-17 21:29:12 +09:00
Yuya Ochiai 722807a5cb Refactor notification to simplify event handling 2016-06-16 23:01:37 +09:00
Kolja Lampe 447f6ec41d Adds a setting to launch the app on system login 2016-06-15 17:23:10 +02:00
Yuya Ochiai 9ee7643ad1 Fix for non-darwin platforms 2016-06-12 21:40:59 +09:00
Yuya Ochiai bea3b59168 Support dark mode 2016-06-12 21:33:00 +09:00
Yuya Ochiai eb8036fdf0 Refactor declaration for Electron API 2016-06-12 21:06:49 +09:00
Yuya Ochiai 1f412a51d5 Add clicked icons 2016-06-12 20:51:43 +09:00
Yuya Ochiai 1575ada948 Add color to menu icons 2016-06-12 20:27:35 +09:00
Carmine D'Amico 73a11ea398 added todo for idle notification and add a text to explain notification config 2016-06-07 22:42:36 +02:00
Carmine D'Amico 84d3c377b4 first implementation for flash notification and settings to configure these 2016-06-07 22:39:58 +02:00
Yuya Ochiai 709f8363ed Fix pixelated/blurry icons on Windows
Close #66, #98
Side effect: Electron's icon appears on `npm run watch`
2016-06-06 23:35:21 +09:00
Yuya Ochiai 479b789629 Merge branch 'master' into dev 2016-06-06 21:30:23 +09:00
Yuya Ochiai 20d94a5985 Merge pull request #158 from Razzeee/improve-tray
Change tooltip text on mentions/unread
2016-06-05 20:19:37 +09:00
Kolja Lampe c615c54903 Change tooltip text on mentions/unread 2016-06-04 01:37:36 +02:00
Yuya Ochiai bd25d254d3 Merge branch 'release/v1.2.1' 2016-06-01 23:04:40 +09:00
Yuya Ochiai e711eb1893 Fix that "Electron" appears on the title bar for a while on startup. 2016-05-24 00:00:57 +09:00
Yuya Ochiai 850c642644 Open tray menu with right-click on OS X
Close #139
2016-05-23 23:48:10 +09:00
Yuya Ochiai 91e2346cc3 Add a tray icon menu to open the main window 2016-05-23 23:37:24 +09:00
Yuya Ochiai 32b743f98c Refactor the dialog to confirm protocol
Close #144
2016-05-23 23:29:36 +09:00
Yuya Ochiai 7c964d51f5 Add dialog to confirm non-http(s) link 2016-05-22 13:39:52 +09:00
Yuya Ochiai a4f119bcae Update menu when the config is updated 2016-05-21 16:13:22 +09:00
Kolja Lampe 68b54ee4aa Implement installers via electron-builder 2016-05-20 22:58:32 +02:00
Yuya Ochiai 8f936c1725 Add Ctrl+n shortcut to switch tab
This also shows the main window.
Close #51
2016-05-18 23:02:03 +09:00
Jonas Schwabe ecfa143526 Add tray icon theme settings to the settings dialog 2016-05-08 01:01:56 +02:00
Jonas Schwabe 5a201b7727 add config option to select an icon theme 2016-05-07 22:39:14 +02:00
Jonas Schwabe 5020031235 Add tray icon for linux (Ubuntu ambiance style for now). 2016-05-07 22:21:17 +02:00
Yuya Ochiai bc97163fd4 Fix error when saving bound-info.json 2016-05-04 00:36:54 +09:00
Yuya Ochiai 58f1ec5f9a Prototype http authentication 2016-04-21 23:29:44 +09:00
Yuya Ochiai f8678fbec3 Revert existing auth event 2016-04-19 20:44:07 +09:00
Yuya Ochiai 8883ce3229 Make the tray icon to be optional 2016-04-11 21:51:24 +09:00
Yuya Ochiai f027008bd1 Refactor TrayIcon codes 2016-04-07 23:15:12 +09:00
Yuya Ochiai 9e07f6213a Add the status menu for OS X 2016-04-07 00:49:20 +09:00
Yuya Ochiai e326ee394c Merge branch 'master' into release/v1.1.0 2016-03-30 20:47:13 +09:00
Michael Gielda dc644e9285 Prettified previous commit 2016-03-29 18:00:47 +02:00
Michael Gielda 3af9b31000 Simpler implementation of HTTP basic auth, fixes #56 2016-03-29 17:56:03 +02:00
Yuya Ochiai 7e71094133 Fix pixelated taskbar icon on HiDPI Windows 2016-03-23 23:04:03 +09:00
Yuya Ochiai ab18e33f7f Merge branch 'master' into release/v1.1.0 2016-03-22 23:24:04 +09:00
Yuya Ochiai fbead4de5e Fix application icon for Windows and Linux
See #85
2016-03-21 00:28:02 +09:00
Yuya Ochiai 7cf1308ad4 Remove the specific AppUserModelID
It's not necessary for Notification on the latest Electron.
2016-03-13 22:57:38 +09:00
Yuya Ochiai 066672205a Confirm to trust certificate when there is error
For #26
2016-03-06 22:00:23 +09:00
Yuya Ochiai c13afa3745 Show a dot on tray icon to notify unread messages
Tray icon is too small to show a number.
So a dot(small circle) is used.
2016-02-25 22:21:28 +09:00
Yuya Ochiai f8f525c6df Fix "Toggle Fullscreen" not working
win.setFullScreenable() is necessary from Electron v0.36.6.
fix #37
2016-02-19 00:59:40 +09:00
Yuya Ochiai 631415280e Fix window state restoration not working 2016-02-14 20:03:25 +09:00
Yuya Ochiai 528bd02414 Use numerical badge on Windows taskbar icon 2016-02-12 01:10:01 +09:00
Yuya Ochiai 0704cf544a Use webpack to build 2016-02-09 20:31:37 +09:00
Caleb Maclennan 64a5cb5605 Allow hiding menu bar on Linux
The UI feature to auto-hide the menu bar works on Linux as well as
Windows. Don't ignore it if the config value is set.
2016-01-23 12:59:40 +02:00
Yuya Ochiai 267d0e3ded Show menubar in default setttings on Windows, and add the option to hide 2016-01-14 22:50:12 +09:00
Yuya Ochiai 48f63b6bcb Restore maximized/fullscreen state on startup
Please refer to #4
2016-01-12 22:08:31 +09:00
Yuya Ochiai 6316df3c20 Improve development files 2015-12-24 23:41:42 +09:00
Yuya Ochiai 62b6e4c51b Fix for failed tests 2015-12-23 19:25:14 +09:00
Yuya Ochiai e381a89cd5 Adapt to rearranged directories 2015-12-22 23:35:22 +09:00
Yuya Ochiai 49392a984b Add --config-file=FILE option for testing 2015-12-12 20:32:06 +09:00
Yuya Ochiai b3bcc89a4d Save window position and size when exiting usually 2015-12-05 19:32:24 +09:00
Yuya Ochiai f8f38ba0de Restore window position and size on startup 2015-12-05 15:41:33 +09:00
Yuya Ochiai 6f18b921b2 Set Application User Model ID and use Electron's notification 2015-11-24 00:12:48 +09:00
Yuya Ochiai bcf578a4e2 Use electron module 2015-11-20 18:56:37 +09:00
Yuya Ochiai 07f42063e6 Stop using deprecated Electron API 2015-11-20 18:56:36 +09:00
Yuya Ochiai 6af69ff808 Minimize main window intead of closing it in Linux 2015-11-10 22:18:14 +09:00
Yuya Ochiai 97b6c437cc Set app icon in Windows notification 2015-11-10 22:04:53 +09:00
Yuya Ochiai d6f081918a Set app icon on all platforms 2015-11-10 21:59:10 +09:00
Yuya Ochiai 506891bb66 Rearrange directory 2015-11-10 21:53:46 +09:00