Commit graph

1053 commits

Author SHA1 Message Date
amyblais 477ba83c81
Update package.json 2018-01-18 12:51:59 -05:00
amyblais 8b93b53c05
Update package.json 2018-01-18 12:43:26 -05:00
Yuya Ochiai 92489aea30 Allow deep-linking protocol when opening a link 2018-01-19 00:24:08 +09:00
Jason Blais 1b9c53118b
Merge pull request #683 from mattermost/jasonblais-patch-2
Tweak setting help text for Dock icon bounce setting
2018-01-18 09:38:22 -05:00
Yuya Ochiai 71989b9c37 Use will-finish-launching event to set open-url event listener 2018-01-18 22:55:32 +09:00
Jason Blais 8dda44f023
Tweak setting help text for Dock icon bounce setting 2018-01-18 08:17:47 -05:00
Yuya Ochiai 4caf906ad6 Fix cache-purging not working 2018-01-18 00:32:19 +09:00
Yuya Ochiai 78ffa6466f Fix deep linking not working when the app is not already opened 2018-01-16 22:12:43 +09:00
Yuya Ochiai a96664c7b1 Replace loading animation 2017-12-15 00:04:26 +09:00
Yuya Ochiai 5eafe2e7fb Show permissions dialog only for untrusted origins 2017-12-05 00:59:54 +09:00
David Meza 4bf7069ea8 White label ErrorView.jsx 2017-11-27 14:24:56 -05:00
David Meza 8f91ea5b77 White label new setting message on SettingsPage.jsx 2017-11-27 12:40:16 -05:00
Yuya Ochiai a28176a6d7 Add the case where the user is not logged in webapp 2017-11-27 23:47:41 +09:00
Yuya Ochiai aabf18c6a0 Support React 16 of webapp for loading icon
data-reactroot is no longer used in React 16
https://stackoverflow.com/questions/47203183/missing-data-reactroot-attirbute-in-react-16
2017-11-24 00:55:41 +09:00
Yuya Ochiai aa003c7207
Merge pull request #655 from yuya-oc/fix-permission-dialog-lag
Fix permission dialog lag
2017-11-24 00:02:43 +09:00
Jason Blais 48701bf730
Update buildConfig.js 2017-11-17 10:13:55 -05:00
Yuya Ochiai f78dac4542 Remove findDOMNode 2017-11-17 00:31:40 +09:00
Yuya Ochiai ff7c783a3a Fix lag for PermissionRequestDialog 2017-11-17 00:28:22 +09:00
Jason Blais c315323545
Update SettingsPage.jsx 2017-11-15 10:07:56 -05:00
Wesley van der Sanden f970fda2e3 Select 'Once' option by default
Also fixes a small typo in an unrelated part of the code.

GH-514
2017-11-14 22:19:43 +01:00
Wesley van der Sanden 5cf940b314 Change default setting from 0 to false
GH-514
2017-11-13 23:22:44 +01:00
Wesley van der Sanden 53ba79294b Implement Mac bounce feature
Closes #514
2017-11-09 15:01:47 +01:00
Yuya Ochiai 5ccbeb080c
Merge pull request #647 from yuya-oc/ignore-gpu-process-crashed
Ignore "gpu-process-crashed" event then output the log to console
2017-11-09 01:41:15 +09:00
Yuya Ochiai 3a865f3d24
Merge pull request #633 from yuya-oc/simplify-two-config
Simplify and split config.json into defaultPreferences and buildConfig
2017-11-09 00:49:09 +09:00
Yuya Ochiai fdf0d51442 Update error message for buildConfig 2017-11-09 00:37:35 +09:00
Yuya Ochiai 45963a9eb1 Revert "Show error dialog when wrong buildConfig is used"
This reverts commit fa578fb37c.
2017-11-09 00:35:05 +09:00
Yuya Ochiai 09f24131fa Ignore "gpu-process-crashed" event then output the log to console 2017-11-08 23:23:25 +09:00
Yuya Ochiai 08b1058694 Add PermissionRequestDialog for when the app doesn't show the TabBar 2017-11-08 01:37:39 +09:00
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
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
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 67c58ac074 Merge pull request #466 from jnugh/addServerButtonAlignment
Align add server button in the tab bar vertically, fixes #460
2017-03-17 00:50:16 +09:00
Yuya Ochiai b70541517d Merge pull request #442 from jnugh/newServerModalWarnings
New server modal warnings
2017-03-17 00:25:12 +09:00
Yuya Ochiai 9836eaf468 Merge pull request #465 from yuya-oc/fix-tray-theme-save
Fix the setting not saved when changing tray icon theme
2017-03-16 20:19:29 +09:00
Jonas Schwabe 015993c9e2 Align add server button in the tab bar vertically, fixes #460 2017-03-15 20:31:01 +01:00
Jonas Schwabe eb76688009 Fix select handler for main tab bar handled a click on the add server button (and failed) 2017-03-15 20:22:21 +01:00
Jonas Schwabe a8effb0084 Fix warning due to using style properies named after css properties in react 2017-03-15 20:04:43 +01:00
Jonas Schwabe 1c786635a7 Fix React warning by correctly wrapping the new team modal trigger button into a NavItem 2017-03-15 20:04:43 +01:00
Jonas Schwabe 48ab30e652 Fix multiple React warnings due to invalid propTypes and bsStyle 2017-03-15 20:04:43 +01:00
Yuya Ochiai 7e9bd4b7c9 Remove unnecessary codes 2017-03-15 21:57:58 +09:00
Yuya Ochiai 538a622480 Fix an issue where tray icon theme is not auto-saved 2017-03-15 20:35:28 +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 ae1c079b95 Stop using dist directory to build 2017-03-03 23:07:06 +09:00
Yuya Ochiai d037568ebc Update react 2017-03-01 23:42:17 +09:00
Yuya Ochiai e3722292e4 Use "Dock" instead of "taskbar" on macOS 2017-02-24 23:35:55 +09:00
Yuya Ochiai 72a41e21d3 Merge pull request #453 from yuya-oc/fix-window-open
Fix window.open() looks not working
2017-02-23 01:08:44 +09:00
Yuya Ochiai 579e966e19 Tweak options style of window.open 2017-02-23 01:06:50 +09:00
Jason Blais 8ef371c1b5 Fix grammar error 2017-02-22 10:46:28 -05:00
Yuya Ochiai 1ff8ec5120 Fix window.open() looks not working
Intorduced by f8fadcb844
because {show:false} option was inherited from the main window.

https://github.com/electron/electron/blob/v1.4.13/docs/api/window-open.md

Close #450
2017-02-23 00:37:44 +09:00
Jason Blais a1db6d521c Update SettingsPage.jsx 2017-02-22 10:24:19 -05:00
Yuya Ochiai 53ba253c14 Fix an issue where server select menu was not working in settings page
Close #443
2017-02-21 20:08:10 +09:00
Yuya Ochiai a48f87d13a Update version to 3.6.0 2017-02-18 18:07:14 +09:00
Yuya Ochiai 9f55055cb3 Fix the timing to apply new config 2017-02-18 00:22:16 +09:00
Yuya Ochiai f234f1bc95 Merge pull request #425 from yuya-oc/issue400-part2
Open the corresponding tab when a server is clicked in settings page
2017-02-18 00:15:11 +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 0e32a2299c Make animation cancelable for auto-save indicator 2017-02-17 22:24:55 +09:00
Yuya Ochiai 831d758f2f Remove unnecessary handler 2017-02-17 21:04:23 +09:00
Yuya Ochiai 8acd7b99e7 Show "Saving..." for 0.5 seconds and show error if it occurred 2017-02-17 20:55:43 +09:00
Yuya Ochiai 949db4ffae Fix an issue where the indicator appears after canceling server updates 2017-02-17 20:50:50 +09:00
Yuya Ochiai a9e860a98e Tweak the layout for auto-save indicator 2017-02-17 20:50:50 +09:00
Yuya Ochiai ce455d2b0c Fix eslint error 2017-02-17 20:50:50 +09:00
Yuya Ochiai f2e26ec276 Fix tests for auto-saving 2017-02-17 20:50:50 +09:00
Yuya Ochiai 3447d49cbd Implement auto-saving 2017-02-17 20:50:49 +09:00
Yuya Ochiai 90623bcf84 Fix eslint error 2017-02-17 20:41:56 +09:00
Yuya Ochiai 5388ce08ba Tweak for clickable area and hover in server list 2017-02-17 20:41:56 +09:00
Yuya Ochiai 66f76c1ad8 Save settings when a server is clicked in settigns page 2017-02-17 20:40:54 +09:00
Yuya Ochiai e3ba17570e Fix warning for bind 2017-02-17 20:40:54 +09:00
Yuya Ochiai 803366872a Open the corresponding tab when a server is clicked in settings page 2017-02-17 20:39:18 +09:00
Yuya Ochiai e4d1ab2938 Merge pull request #428 from yuya-oc/app-options
Improve messages and options in "App Options" section
2017-02-17 19:52:14 +09:00
Yuya Ochiai e1a2175bcd Extend clickable area of checkbox 2017-02-17 00:09:45 +09:00
Yuya Ochiai 3bc7d389b0 Merge pull request #436 from asaadmahmood/ui-improvements
PLT-5448 - Updating styling of server tabs
2017-02-16 23:39:57 +09:00
Asaad Mahmood b45b623442 Updating tooltip 2017-02-15 20:08:34 +05:00
Asaad Mahmood 8e012fbf02 Updating mentions badge and tooltip 2017-02-15 16:55:23 +05:00
Asaad Mahmood bc36ab4e77 PLT-5448 - Updating styling of server tabs 2017-02-13 21:21:38 +05:00
Yuya Ochiai 9d2efeabdd Show NewServerModal when no servers exist in SettingsPage 2017-02-13 20:23:02 +09:00
Jason Blais 4d2a95cd32 Update help text on Settings page 2017-02-12 17:26:34 -05: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 62488e62b9 Fix title case 2017-02-10 21:14:14 +09:00
Yuya Ochiai faeccdb8a2 Fix eslint error 2017-02-10 21:14:14 +09:00
Yuya Ochiai 59c0da51bb Improve appearance of tray icon theme selection 2017-02-10 21:14:14 +09:00
Yuya Ochiai 77110a7a36 Update the order and messages of app options 2017-02-10 21:14:14 +09:00
Yuya Ochiai f5320197ab Remove options to be deprecated 2017-02-10 21:14:13 +09:00
Yuya Ochiai c76797e68e Merge pull request #415 from jnugh/ux-manage-servers
Ux manage servers
2017-02-10 20:19:27 +09:00
Jonas Schwabe 9996687bfe Use old url validation 2017-02-03 22:01:49 +01:00
Jonas Schwabe 63fe562349 Animate NewTeamModal close 2017-02-03 22:01:37 +01:00
Jonas Schwabe 77472369c1 Remvoe spaceing at the bottom of new team modal 2017-02-03 18:45:45 +01:00
Jonas Schwabe e82f0c3e6a Team URL should be Server URL 2017-02-03 18:41:07 +01:00
Yuya Ochiai 11f79b3f11 Remove Ctrl+S shortcut for searching within a team
Close #416
2017-02-03 23:32:23 +09:00
Yuya Ochiai ca5632342e Re-enable window.eval()
Close #333
2017-02-03 23:32:23 +09:00
Jonas Schwabe cb84d002c7 Fix inconsistency when new team modal is beeing used to edit teams 2017-01-31 15:26:20 +01:00
Jonas Schwabe 5e55c5496c Fix failig test 2017-01-30 22:28:46 +01:00
Jonas Schwabe d63fdccb00 Add Menu bar option to add a new team 2017-01-30 22:16:16 +01:00
Jonas Schwabe 872959af97 Do not change props inside of component 2017-01-30 21:58:55 +01:00
Jonas Schwabe bb21cf56d3 Use new modal for edit functionality 2017-01-30 21:46:58 +01:00
Jonas Schwabe b94303bfc5 Style error states 2017-01-30 21:19:05 +01:00
Jonas Schwabe 8db1973c9a Display error message in the bottom left corner 2017-01-30 21:11:46 +01:00
Jonas Schwabe c36f7f795d Only validate new team modal input when save has been clicked 2017-01-30 20:45:47 +01:00
Jonas Schwabe be2db91d05 Auto focus newly created server 2017-01-30 20:26:11 +01:00
Jonas Schwabe 9d119274ee Allow new team modal to be closed using key events 2017-01-30 20:26:11 +01:00
Jonas Schwabe 9af3b9598d Change labels and texts according to visual feedback 2017-01-30 20:26:11 +01:00
Jonas Schwabe ec214946ff add valid-url to package.json 2017-01-30 20:26:11 +01:00
Jonas Schwabe 8f3f59392d Add specs for new team modal 2017-01-30 20:26:11 +01:00
Jonas Schwabe 42c8f4e2ed Use new team modal in settings view as defined in #400 2017-01-30 20:17:56 +01:00
Jonas Schwabe aa862b293d Persist new Teams 2017-01-30 20:13:27 +01:00
Jonas Schwabe 5f7ab2d9a2 Add an add team button to the TabBar 2017-01-30 20:13:27 +01:00
Yuya Ochiai 396fa378ee Disable close button when no servers have been saved 2017-01-29 20:35:27 +09:00
Yuya Ochiai 6627ec45b0 Prevent settings page to be closed when there are no teams 2017-01-27 23:04:42 +09:00
Yuya Ochiai 66b7765d9b Fix labels 2017-01-27 22:50:17 +09:00
Yuya Ochiai 83a9d21d34 Delete global.Buffer in preload script
http://electron.atom.io/docs/tutorial/security/#buffer-global
2017-01-27 21:46:07 +09:00
Yuya Ochiai ee2e315199 Add "Remove Server" modal 2017-01-25 00:06:42 +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 7948514da9 Merge pull request #413 from yuya-oc/unread-team-sidebar
Count unread teams in team sidebar
2017-01-18 21:45:44 +09:00
Yuya Ochiai 7c8a676f8a Set minimum window size
Close #389
2017-01-17 23:52:53 +09:00
Yuya Ochiai a74c101e11 Count unread teams in team sidebar 2017-01-16 21:27:32 +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 97df4e1c42 Add context menu only once even if after reloading
Close #408
2017-01-11 22:07:06 +09:00
Yuya Ochiai 8d7bc31798 Remove remaining badges after logging out of the team
Close #396
2017-01-11 21:27:25 +09:00
Yuya Ochiai 0fae9a77c2 Fix missing initial theme of linux tray icon
Close #404
2016-12-27 23:39:39 +09:00
Yuya Ochiai 3bf41ca3e5 Add --data-dir to switch userData directory 2016-12-27 21:19:01 +09:00
Yuya Ochiai e11cf8439f Merge pull request #405 from yuya-oc/update-dependencies
Update dependencies

Close #397
2016-12-27 21:17:09 +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
Yuya Ochiai 13308f294c Update app dependencies 2016-12-22 21:23:55 +09:00
Yuya Ochiai c98e3eff3a Update dev dependencies 2016-12-20 23:53:37 +09:00
Jonas Schwabe d4f3ca23d3 Fixes a bug on the settings pane which rendered the notification theme icon as a checkbox 2016-12-11 18:00:15 +01: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
Jason Blais 915ff7695f Merge pull request #384 from yuya-oc/fix-confused-cursor-in-hidpi
Fix confused cursor in HiDPI
2016-12-08 01:59:58 -05:00
Yuya Ochiai 0ae07b964e Fix "Leave app running in notification area" checkbox not working on macOS 2016-12-07 01:16:00 +09: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
Jason Blais b4e5dec7e4 Merge pull request #372 from yuya-oc/hovering-links
Show URL when hovering over links
2016-11-30 12:30:59 -05:00
Jason Blais d49f9d7bfb Merge pull request #371 from yuya-oc/latest-react-bootstrap
Latest react bootstrap
2016-11-30 12:30:34 -05:00
Jason Blais dbf20dd11e Update package.json 2016-11-30 11:28:05 -05:00
Yuya Ochiai 0a702e62da Fix eslint error 2016-11-30 20:37:39 +09:00
Yuya Ochiai b333ca580f Make hovering URL unclickable 2016-11-30 20:27:57 +09:00
Yuya Ochiai 9d3a80a295 Suppress momentary URL disappearance when hovering over multiple links 2016-11-29 22:52:10 +09:00
Yuya Ochiai 14969a8c04 Improve visility of hevering URL
- Add top and bottom padding
- Add border lines
- Truncate long URL using ellipsis
2016-11-29 22:03:20 +09:00
Yuya Ochiai 16cd860901 Suppress yellow halo behind the first tab when devtools is closed 2016-11-29 21:08:37 +09:00
Yuya Ochiai 93c76861ed Add hovering animation 2016-11-26 15:01:09 +09:00
Yuya Ochiai e4e40ec7c0 Show URL when hovering over links 2016-11-26 00:37:32 +09:00
Yuya Ochiai e4f961f2f0 Add constructor to handle this 2016-11-23 21:11:05 +09:00
Yuya Ochiai 1752cec20d Use latest react-bootstrap 2016-11-23 21:11:04 +09:00
Yuya Ochiai 0249c534ee Divide settings.jsx into components 2016-11-23 21:11:03 +09:00
Yuya Ochiai d0f2d74425 Divide index.jsx into components 2016-11-23 21:11:02 +09:00
Jonas Schwabe 3d8d24c2ff Fixes #161 2016-11-16 09:24:35 +01: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 4267214a25 Fix jsx files are not tested 2016-11-08 23:54:53 +09:00
Amine Mouafik cbe2ca644c Add CTRL+SHIFT+MINUS as a shortcut for zooming out 2016-11-07 22:42:22 -08:00
Yuya Ochiai efa1171763 Fix eslint error 2016-11-07 23:14:50 +09:00
Yuya Ochiai 16788b5a6f Fix eslint errors 2016-10-28 00:49:52 +09:00
Yuya Ochiai 1f154cf3ac Prettify code 2016-10-28 00:42:31 +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
Yuya Ochiai 9a0c3f4075 Merge pull request #345 from jnugh/updateCacheClear
Purge cache on app update
2016-10-27 20:55:36 +09:00
Yuya Ochiai 40958d7274 Merge pull request #339 from yuya-oc/simplify-build-commands
Use only electron-builder to package the app
2016-10-27 20:43:21 +09:00
Yuya Ochiai 682c45aeab Suppress verbose error in certificateStore 2016-10-26 00:40:53 +09:00
Jonas Schwabe 08d0fff557 Remove cache on app update, fixes #342 2016-10-20 15:46:44 +02:00
Yuya Ochiai 46d0c41e60 Fix package name 2016-10-19 22:57:06 +09:00
Kolja Lampe 9557ca14bf Use default electron implementation for zoomin, zoomout and resetzoom
See: https://github.com/electron/electron/pull/6777
2016-10-12 21:39:58 +02:00
Yuya Ochiai 6f2d4a6d3d Merge pull request #331 from magicmonty/issue_299
"Cannot connect to Mattermost" is now on top of the page
2016-10-11 23:21:42 +09:00
Yuya Ochiai 133af47343 Use electron-builder for all artifacts 2016-10-08 17:04:12 +09:00
Yuya Ochiai 330988de45 Merge pull request #332 from magicmonty/issue_303
Fixes wrong cursor on settings page
2016-10-08 16:07:58 +09:00
Yuya Ochiai 216f917964 Merge pull request #307 from Razzeee/random-bump
Bump some dev dependencies
2016-10-08 00:05:24 +09:00
Martin Gondermann 704282dfff Fixes wrong cursor on settings page
There were wrong href's (hre instead of href) on the links.
Fixes #303
2016-10-05 21:08:41 +02:00
Martin Gondermann ca17edc2e4 "Cannot connect to Mattermost" is now on top of the page 2016-10-05 20:53:33 +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
Yuya Ochiai dc870ba125 Merge branch 'release-3.4' 2016-10-04 00:10:06 +09:00
Yuya Ochiai 9d9e5e02a7 Merge pull request #308 from Razzeee/bump-auto-launch
Bump auto launch
2016-10-03 23:06:13 +09:00
Kolja Lampe 3cfa73d658 Bump dependency to get rid of windows copy bug 2016-10-01 22:38:50 +02:00
Kolja Lampe 322413f637 Bump auto launch 2016-10-01 20:45:06 +02:00
Kolja Lampe 4f142f3e08 Bump some dev dependencies 2016-10-01 20:32:55 +02:00
Yuya Ochiai 84c8c7e2d6 Update version to 3.4.1 2016-10-01 01:24:07 +09:00
Yuya Ochiai 55ccaf33cd Fix the app window pops up second to foreground when a new message is received 2016-09-29 23:43:10 +09:00
Martin c078d1f607 Use correct terminology for tray setting on Linux 2016-09-29 13:44:32 +01: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 f96811e2c4 Merge pull request #295 from yuya-oc/disable-ctrl-shift-s
Disable search in current team `CTRL+SHIFT+S`
2016-09-20 01:43:26 +09:00
Yuya Ochiai 8dd5179d9d Merge pull request #294 from yuya-oc/fix-notification-shim
Fix Notification shim not working when clicking
2016-09-20 01:37:30 +09:00
Yuya Ochiai 5b79384521 Disable search in current team CTRL+SHIFT+S
Due to #293
Revert when DM search works properly https://mattermost.atlassian.net/browse/PLT-91
2016-09-20 01:20:09 +09:00
Yuya Ochiai a1b7371c43 Fix Notification shim not working when clicking
Probably this was caused by upgrading Electron
2016-09-20 00:01:35 +09:00
Jason Blais 82408e8e29 Updates to menu bar
Proposed updates to menu bar:
 - Change 'Help > Mattermost Docs' to 'Help > Learn More' and link to newly submitted desktop docs on docs.mattermost.com [to be merged within the next 48 hours]
 - Change 'Settings' and 'Learn More' to include '...' as they open a new page. This is standard to other desktop apps
2016-09-19 09:21:56 -04:00
Yuya Ochiai a12ec194ad Merge pull request #290 from yuya-oc/fix-application-user-model-id
Fix ApplicationUserModelID in the start menu shortcut
2016-09-19 14:00:26 +09:00
Yuya Ochiai d199c6c8e2 Merge pull request #284 from asaadmahmood/PLT-4174
plt-4174 - Improvements to the Settings UI
2016-09-17 09:12:36 +09: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 bccb3a208d Update version to 3.4.0 2016-09-14 20:39:17 +09:00
Asaad Mahmood e38dd49d95 Updating styles for error page 2016-09-14 06:25:41 +05:00
Asaad Mahmood 2865ab395a Running prettify 2016-09-13 22:30:04 +05:00
Asaad Mahmood 06a9081f98 Removing unnecessary code from settings page 2016-09-13 22:12:32 +05:00
Asaad Mahmood acf969ccfa Pretifying settings 2016-09-13 21:35:11 +05:00
Asaad Mahmood 1fdb6f3964 PLT-4174 - Settings UI Improvements 2016-09-13 21:35:11 +05:00
Yuya Ochiai 7cfde1e379 Merge pull request #230 from Razzeee/hide-autostart
Hide on autostart
2016-09-14 01:04:01 +09:00
Yuya Ochiai c4b4e2d95d Add missing padding-bottom in Settings UI
For #278
2016-09-14 00:19:01 +09:00
Yuya Ochiai d65c7b30bb Merge pull request #278 from yuya-oc/improve-settings
Improve settings UI
2016-09-13 22:51:33 +09:00
Kolja Lampe bc154f56a7 Hide on autostart
Closes #228
2016-09-12 22:06:08 +02:00
Yuya Ochiai c6ebf4ff36 Prettify codes 2016-09-13 01:02:11 +09:00
Yuya Ochiai 190a7b0ca1 Merge remote-tracking branch 'asaadmahmood/plt-4156' into improve-settings 2016-09-13 00:59:27 +09:00
Asaad Mahmood 71ab644aeb UI Improvements for settings page 2016-09-12 20:53:45 +05:00
Yuya Ochiai 6140628ae2 Merge pull request #275 from jnugh/revertCacheWorkaround
Revert pull #219 "Workaround: Invalidate cache of the main page on load"
2016-09-13 00:45:52 +09:00
Yuya Ochiai fb0b422815 Merge pull request #272 from jnugh/context-menu
Use electron-context-menu insted of bare contextmenu
2016-09-13 00:43:20 +09:00
Yuya Ochiai 7f23c496a2 Improve settings UI 2016-09-12 00:19:35 +09:00
Yuya Ochiai 7eaab5e06a Add simple validation for Name and URL in the settings page 2016-09-10 21:36:49 +09:00
Jonas Schwabe 561a93de8f Revert "add chaneglog for forceReload PR"
This reverts commit 58dfda760e.

Revert "Fix error handler which showed an error on reload, as the cancel event was triggered after the cacheInvalidated property has been set to true"

This reverts commit 93263aea3a.

Revert "Workaround for bad cache handling in mattermost platform, fixes #212"

This reverts commit 61bf5344bf.
2016-09-09 20:42:45 +02:00
Yuya Ochiai bd6982539b Merge pull request #268 from yuya-oc/browser-back-forward
Add back/forward features for the current tab
2016-09-10 00:23:37 +09:00
Yuya Ochiai 52f451e4a8 Merge pull request #254 from Razzeee/improve-error-wording
Changed wording of error page
2016-09-10 00:19:54 +09:00
Yuya Ochiai 93e419b488 Add back/forward features for the current tab
Close #245
2016-09-10 00:13:08 +09:00
Yuya Ochiai d19df3fc29 Merge pull request #273 from Razzeee/search
Move current search in channel function to Shift+CTRL+S

Close #270
2016-09-10 00:04:28 +09:00
Yuya Ochiai c7125a372e Merge pull request #262 from mattermost/fix-focus-of-webview
Fix webview doesn't get focus correctly

Close #231
2016-09-09 23:52:45 +09:00
Yuya Ochiai aba5333d58 Merge remote-tracking branch 'yuya-oc/zoom-in-shortcut'
For #234
2016-09-09 20:28:18 +09:00
Kolja Lampe b294a44e9b Updated error page to look nicer and read better 2016-09-07 22:16:42 +02:00
Jonas Schwabe af7dffbe3b Cleanup, remvoe old menu code 2016-09-05 19:18:05 +02:00
Jonas Schwabe 14ee822b0c Use electron-context-menu insted of bare contextmenu.
Fixes #123
2016-09-05 19:17:59 +02:00
Kolja Lampe 1f5546a250 Move current search in channel function to Shift+CTRL+S
Add search in team

Closes #270
2016-09-04 23:56:17 +02:00
Yuya Ochiai 1317d27328 Modify CmdOrCtrl + shortcut as a hidden one 2016-09-03 19:06:39 +09: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 538ebe705a Fix npm run watch not working in OS X
electron-connect 0.4.4 causes `The application has become unresponsive.`
2016-08-26 23:40:26 +09:00
Yuya Ochiai f16543ca44 Remove failed-to-load notification and reload the error tab on online event 2016-08-26 22:51:02 +09:00
Yuya Ochiai 87a30072f2 Add OS X features for #261 2016-08-26 01:17:50 +09:00
Yuya Ochiai 4d0e263ecd Fix webview doesn't get focus correctly
For #231

webview.focus() was used to focus on the webview, but it's DOM element function.
So only the tag was focused in the host window, and its webContents was not focused.
As the result, the shortcuts of Mattermost server didn't work in some cases.
Electron is upgraded to 1.2.8 because of webContents.isFocused().
2016-08-26 00:49:18 +09:00
Thomas de Saint-Exupéry 1d33fc6f6e Show or restore if minimized 2016-08-25 10:55:08 +02:00
Thomas de Saint-Exupéry fd80b758ed Add access to settings through tray menu 2016-08-23 15:25:58 +02: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 effb102224 Merge pull request #242 from Razzeee/remove-tray-accelerators
Remove accelerators from tray menu

Close #239
2016-08-22 20:32:51 +09:00
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