Commit graph

398 commits

Author SHA1 Message Date
Yuya Ochiai 22208b497e Merge pull request #258 from mattermost/experiment/search-box
CTRL/CMD+F on Desktop app puts cursor in Mattermost search box filtered to channel

Close #229
2016-08-22 20:27:37 +09:00
Kolja Lampe 92648d9067 Remove accelerators from tray menu
Closes #239
2016-08-22 10:15:19 +02: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
Yuya Ochiai e377d33652 Fill the search box with the current channel name at the shortcut
For #229
2016-08-21 16:07:26 +09:00
Yuya Ochiai f18710991f Merge pull request #255 from Razzeee/bump-prettify
Bump prettify dependencies and apply prettification
2016-08-21 15:33:14 +09:00
Yuya Ochiai 8c19c33911 Prevent updating window title by deactivated tabs 2016-08-20 22:45:30 +02:00
Kolja Lampe 5a5095de54 Prettified project after prettify bump 2016-08-20 22:38:34 +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
Kolja Lampe cf18e933d5 Bump dependencies 2016-08-16 19:47:00 +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
Yuya Ochiai 647e396fad Focus the search box on Ctrl/Cmd+F shortcut
For #229
2016-08-14 22:06:27 +09:00
Yuya Ochiai 1d851fd6de Merge pull request #219 from jnugh/forceReload
Workaround: Invalidate cache of the main page on load
2016-08-13 10:50:25 +09:00
Yuya Ochiai 312d34706b Merge pull request #187 from Razzeee/improve-menus
Improve menus due to improvements in electron
2016-08-13 10:46:49 +09:00
Akash Nimare e1a0c5adbf Enable zoom-in on CommandOrctrl + 2016-08-10 22:08:41 +05:30
Jonas Schwabe 93263aea3a Fix error handler which showed an error on reload, as the cancel event was triggered after the cacheInvalidated property has been set to true 2016-08-09 15:27:56 +02:00
Jonas Schwabe 61bf5344bf Workaround for bad cache handling in mattermost platform, fixes #212 2016-08-09 15:27:49 +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
Yuya Ochiai eac17decf6 Merge branch 'security-improvements'
For #220
2016-08-09 01:11:06 +09:00
Yuya Ochiai ce6cf485f6 Implementation and further tests for #220 2016-08-09 00:04:36 +09:00
Kolja Lampe 8c674e5b9f Use togglefullscreen role which is now part of electron
https://github.com/electron/electron/pull/6166
2016-08-07 20:45:04 +02:00
Kolja Lampe 32a5cd8fe2 Use quit role which is now part of electron
https://github.com/electron/electron/pull/6154
2016-08-07 20:45:03 +02:00
Yuya Ochiai 611f52647b Merge pull request #199 from jnugh/unityMessageBadge
Ubuntu Unity counter badge
2016-08-04 23:04:31 +09:00
Yuya Ochiai dcbf18e863 Merge branch 'improve-reloading'
Close #213 and #223
2016-08-03 23:27:37 +09:00
Yuya Ochiai 3e2d6be87e Merge pull request #201 from Razzeee/unread-badge
Make unread badge configurable
2016-08-01 12:17:25 +09:00
Kolja Lampe 51d828aa1a Make unread badge configurable 2016-07-28 18:00:15 +02:00
Yuya Ochiai bd354f21a5 Merge pull request #216 from Razzeee/align-unread-tabbar
Bold unread tabitem if there are unread messages
2016-07-28 23:02:00 +09:00
Yuya Ochiai 3feb833537 Refresh the inside of the current tab when reloading in the main window
For #213 and #223

As the side effect, this doesn't reload the settings page.
But it will not be problem in most cases.
2016-07-28 22:57:30 +09:00
Yuya Ochiai 7e34358053 Merge branch 'fix-win10-notifications-icon' 2016-07-27 00:22:57 +09:00
Tim Roes 32509ad8c2 Flash Window also without systray icon 2016-07-25 14:47:51 +02:00
Kolja Lampe 54849d6859 Added two security improvements as mentioned at http://electron.atom.io/docs/all/#checklist 2016-07-24 22:44:38 +02:00
Kolja Lampe 8c8df7086e Align unread tabbar to current display on task bar 2016-07-24 21:57:47 +02:00
Yuya Ochiai 74f78a918c Fix Windows 10 desktop notifications have black Mattermost logo
Electron can't know the background color of Windows 10.
So replace the icon with resources/appicon.png in override of notification.js.

Close #218
2016-07-24 22:26:28 +09: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
Jonas Schwabe 54f6447712 Implements #176 2016-07-17 14:15:14 +02:00
Yuya Ochiai 88f7bf20ca Revert "Merge pull request #145 from Razzeee/align-taskbar-to-trayicon"
This reverts commit 8d4f725556, reversing
changes made to 81bc16ca6e.

For #194
2016-07-13 01:22:03 +09: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 227bda3a93 Fix authentication dialog not working for proxy 2016-07-13 00:41:31 +09:00
Kolja Lampe 58687c955c Improved settings casing 2016-07-11 23:17:31 +02:00
Kolja Lampe ffb61c2c7c Rephrased wording of a setting
https://github.com/mattermost/desktop/issues/193#issuecomment-231553779
2016-07-11 23:14:49 +02:00
Yuya Ochiai 0b8d125bc4 Update version to 1.3.0 2016-07-07 22:38:08 +09:00
Yuya Ochiai b13a5ab687 Fix that the hidden main window doesn't appear when clicking toast notifications in Windows 10
Only in Windows 10, focus() was used to keep aero snap state.
2016-07-07 22:37:37 +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 081a82b74f Small style improvement 2016-07-05 20:57:39 +02: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
Yuya Ochiai f8194f80c1 Merge pull request #179 from magicmonty/HideWindowOnMinimize
Hide window to system tray on minimize/close in Windows/OSX
2016-07-04 22:56:21 +09:00
Yuya Ochiai 2ca5b0b598 Merge pull request #180 from Razzeee/get-help
Added a "Mattermost docs" link to the Help section
2016-07-04 21:08:36 +09: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
Kolja Lampe 0f9bdfeeee Added a "Mattermost docs" link to the Help section
Closes #177
2016-07-03 20:50:05 +02:00
Yuya Ochiai 17949d34ae Reset team edit form on clicking edit button 2016-07-04 00:12:58 +09:00
Yuya Ochiai 19134b08b0 Fix team edit form is not closed after submitting changes 2016-07-03 23:59:52 +09: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 f35393d73e Removed obsolete setting "minimizeToTray" 2016-07-03 15:05:04 +02:00
Martin Gondermann b3dd5e28e9 Reverted an obsolete change 2016-07-03 15:03:38 +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 0f6688b4cf The toggle setting is now independent of the "minimize to tray" setting 2016-06-30 18:04:05 +02:00
Martin Gondermann 5f14fb7d0e Minimize to tray on Close only 2016-06-30 13:54:46 +02:00
Martin Gondermann cdd1583e35 Match wording for minimize to tray with slack wording 2016-06-28 23:05:42 +02:00
Martin Gondermann 2f120e84dd Minimize to tray is enabled by default 2016-06-28 22:53:19 +02:00
Martin Gondermann 729f5a5511 Prettified results 2016-06-28 15:10:20 +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 d6de73458c MinimizeToTray-Setting is only shown on Windows 2016-06-27 09:36:22 +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 4fca00ec9d Add tests for settings 2016-06-23 00:03:04 +09:00
Yuya Ochiai 2347d5e299 Add tests for disablewebsecurity (Allow mixed contents) 2016-06-22 00:33:14 +09:00
Yuya Ochiai eda5d56d78 Refine headers and notifications config 2016-06-18 21:46:31 +09:00
Yuya Ochiai 056b508ac3 Move "Toggle Developer Tools" item to bottom of the menu 2016-06-18 20:41:11 +09:00
Yuya Ochiai b91e44a5fe Prettify code 2016-06-18 20:40:12 +09:00
Yuya Ochiai 3650967f4c Fix that edited team is adeed to bottom of the list 2016-06-18 00:53:03 +09: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 de5e6cf2ca Reload the tab after 30 sec when failed to load
Close #127
2016-06-13 23:55:26 +09:00
Yuya Ochiai f2e3b58e04 Fix obsolete 'shell' API 2016-06-12 22:56:22 +09: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
Yuya Ochiai 037e334544 Fix declaration for electron-squirrel-startup 2016-06-09 21:46:41 +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 5841231477 Suppress the second icon on OS X notification for #151 2016-06-08 00:45:10 +09: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 c6d91e7ae4 Update license entry in package.json 2016-06-06 00:45:30 +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
Yuya Ochiai d39446e9b6 Merge pull request #154 from Razzeee/menu-work
Added seperator in view menu, added new help menu and moved version i…
2016-06-05 20:17:36 +09:00
Kolja Lampe a2713885ab Improved badge descriptions 2016-06-04 01:41:15 +02:00
Kolja Lampe c615c54903 Change tooltip text on mentions/unread 2016-06-04 01:37:36 +02:00
Yuya Ochiai 20450916f9 Merge pull request #152 from MetalCar/editTeamsInSettings
Edit teams in settings window
2016-06-04 01:46:31 +09:00
Carmine D'Amico 9677607ae4 move "Add Team"-Button nearer to the "Teams" headline 2016-06-03 18:21:15 +02:00
Kolja Lampe 9bcf56aff1 Splitup darwin menu from others to make it more clear what's going on 2016-06-02 19:55:32 +02:00
Yuya Ochiai bd25d254d3 Merge branch 'release/v1.2.1' 2016-06-01 23:04:40 +09:00
Carmine D'Amico 186c520ab1 BUGFIX: fixed a problem with state, when editing first a team and then add a new one 2016-05-31 15:27:14 +02:00
Kolja Lampe e73a1431d3 Added seperator in view menu, added new help menu and moved version into it. 2016-05-26 22:14:48 +02:00
Carmine D'Amico 712cff2680 changed jsx code to a better code style 2016-05-25 23:19:36 +02:00
Carmine D'Amico c0e5cbd9ef run prettify on code 2016-05-25 22:36:59 +02:00
Carmine D'Amico 510f49a99b editing teams is possible now 2016-05-25 22:36:54 +02:00
Carmine D'Amico 7f52e0caec changed the way how to add a new team 2016-05-25 22:36:43 +02:00
Yuya Ochiai e43e212166 Update version to 1.2.1 2016-05-24 23:57:38 +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
Kolja Lampe 20e7f90bae Use a fitting border color for the taskbar badge status 2016-05-21 20:58:59 +02:00
Yuya Ochiai 8790dece0e Merge pull request #138 from Razzeee/create-installers
Implement installers via electron-builder
2016-05-21 23:35:46 +09:00
Yuya Ochiai a4f119bcae Update menu when the config is updated 2016-05-21 16:13:22 +09:00
Yuya Ochiai ab9bfad73a Keep zoomLevel after reloading
Knwon issue: rendered webview has incorect region until the window is
resized.
2016-05-21 15:23:42 +09:00
Kolja Lampe 273bf35dbc Use different colors for unread/mentioned in windows task bar. Like we do for tray icons. 2016-05-20 23:15:15 +02:00
Kolja Lampe 68b54ee4aa Implement installers via electron-builder 2016-05-20 22:58:32 +02:00
Yuya Ochiai be69b8f502 Add shortcuts to control zoom level
TODO: Keep zoom level when reloading
2016-05-21 03:06:38 +09:00
Yuya Ochiai 0bb56291ed Add shortcuts to select next/previous tab 2016-05-19 00:29:23 +09: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
Yuya Ochiai e2d7d18804 Add Ctrl+M shortcut to minimize window
Close #135
2016-05-18 21:56:33 +09:00
Yuya Ochiai 40b6e36ddb Add Ctrl+W shortcut to close/hide window
Close #52
2016-05-17 23:40:45 +09:00
Yuya Ochiai 4fb0bf67ba Merge pull request #128 from jnugh/linuxTrayIcon
Manually merged.
Conflicts:
	src/browser/settings.jsx
	src/common/settings.js
2016-05-17 21:41:07 +09:00
Yuya Ochiai aefc91a53f Add a missing bracket 2016-05-13 22:09:36 +09:00
JoramWilander ef599deab3 Update text for allowing http content, allow mixed content by default 2016-05-13 08:49:33 -04: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 0529cb8efc Fix author entry 2016-05-06 22:53:56 +09:00
Yuya Ochiai 68cc7a62d7 Update version to 1.2.0 2016-05-05 22:18:05 +09:00
Yuya Ochiai bc97163fd4 Fix error when saving bound-info.json 2016-05-04 00:36:54 +09:00
Yuya Ochiai a199f09216 Add tests for hideMenuBar 2016-05-03 00:42:13 +09:00
Yuya Ochiai 447c84578a Add "key" attribute to suppress warning 2016-05-02 20:21:51 +09:00
Yuya Ochiai 28dc6ac0d9 Merge branch 'feature/http-auth' into dev
Close #56
2016-04-27 21:52:36 +09:00
Yuya Ochiai 5fce592b01 Show proxy URL on login dialog 2016-04-27 20:48:01 +09:00
Yuya Ochiai 281669965f Use electron-builder to create deb packages 2016-04-26 22:40:30 +09:00
Yuya Ochiai 8c6a8f0338 Prettify previous commit 2016-04-26 22:40:21 +09:00
Yuya Ochiai 507889066a Tell whether the server is a proxy 2016-04-25 20:41:02 +09:00
Yuya Ochiai dc7e7181ec Allow only http and https to open a new window 2016-04-23 20:39:15 +09:00
Yuya Ochiai e051810ccc Improve codes to disable nodeIntegration 2016-04-23 20:37:57 +09:00
Yuya Ochiai a55eb6fa0f Change compatibility for react-bootstrap 2016-04-23 19:33:12 +09:00
Yuya Ochiai d81856629b Send login credentials on Enter key 2016-04-23 19:15:25 +09:00