Commit graph

55 commits

Author SHA1 Message Date
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 5020031235 Add tray icon for linux (Ubuntu ambiance style for now). 2016-05-07 22:21:17 +02:00
Yuya Ochiai 28dc6ac0d9 Merge branch 'feature/http-auth' into dev
Close #56
2016-04-27 21:52:36 +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 b0a40c66fb Add the dialog to login 2016-04-23 01:12:00 +09:00
Yuya Ochiai 58f1ec5f9a Prototype http authentication 2016-04-21 23:29:44 +09:00
Yuya Ochiai 06ebee8299 Merge branch 'experiment/disablewebsecurity' into dev 2016-04-19 20:32:20 +09:00
Yuya Ochiai e1b008a3e0 Make "disablewebsecurity" optional 2016-04-17 23:07:17 +09:00
Yuya Ochiai 902c16b080 Disable nodeIntegration on window.open() 2016-04-17 22:11:01 +09:00
Yuya Ochiai 2eae1d42d2 Merge branch 'dev' into experiment/disablewebsecurity 2016-04-17 12:50:39 +09:00
Yuya Ochiai 3dd72b1aa1 Merge pull request #110 from asaadmahmoodspin/ui-improvements into dev 2016-04-14 22:35:41 +09:00
Asaad Mahmood 6e65cceb44 Updating notification styles
Pretifying changes
2016-04-14 05:49:24 +05:00
Yuya Ochiai 9e07f6213a Add the status menu for OS X 2016-04-07 00:49:20 +09:00
Yuya Ochiai 001a65f5eb Fix React.js warning by adding unique "key" prop 2016-03-30 23:05:24 +09:00
Yuya Ochiai ab18e33f7f Merge branch 'master' into release/v1.1.0 2016-03-22 23:24:04 +09:00
Yuya Ochiai e82d6be0b5 Rename electron-mattermost to Mattermost at implementation
npm package name (package.json: name) is "mattermost-desktop"
display name (package.json: productName) is "Mattermost"
2016-03-13 22:55:08 +09:00
Yuya Ochiai fcbfae69a7 Disable websecurity for webview
Only for source code.
This option should not be enabled to prevent XSS.

ref: #35, #55 and #59
2016-03-11 21:47:39 +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 f9387d251d Notify the error 2016-03-06 14:23:31 +09:00
Yuya Ochiai 1ccb7cebce Add test for failed to load URL 2016-03-05 20:57:16 +09:00
Yuya Ochiai 1fad30aed7 Fixup messages 2016-03-05 20:26:13 +09:00
Yuya Ochiai 3ea313743d Add error view when failed to load the URL 2016-03-04 01:51:34 +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 fea44a09c2 Switch log levels for muxed logs 2016-02-13 20:17:16 +09:00
Yuya Ochiai 87efd4e48a Mux webview console messages into main window 2016-02-13 19:30:37 +09:00
Yuya Ochiai cec2b0f5dc Fix prettify-task 2016-02-12 01:13:03 +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
Yuya Ochiai 929e5e6f88 Fix mention count becomes twice or unexpected string
1. 'badge-notify' exists on navbar-toggle in mobile layout.
   It has also 'badge' class, so the mention count became twice.
2. [] accessor was missing in counting.
2016-02-02 01:11:42 +09:00
Tatsuya Niwa fc0459ee29 fix mention count bug. 2016-02-01 23:58:59 +09:00
Tatsuya Niwa f69f1f6016 * refactoring
* bugfix: Post to active channel/DM with mention when window isn't focused, I expect count badge appear but unread badge appear.
2016-01-26 00:35:59 +09:00
Tatsuya Niwa 95f393dc63 fix 2 bugs. see #12 and #18.
bug1.
  Mention count does not disappear on active CHANNEL.

bug2.
  Mention count and Unread badge does not appear on active DM.
2016-01-24 14:31:56 +09:00
Yuya Ochiai 2e4a330b2d Merge pull request #12 from mid0111/topic-active-channel-badge
Count for active channel only when window is not focused.

Manually merged.
2016-01-23 21:12:15 +09:00
Tatsuya Niwa a847a0ad80 fix Badge * mark at tab. 2016-01-22 00:56:17 +09:00
Tatsuya Niwa dc10546596 fix Badge * mark 2016-01-21 22:05:34 +09:00
mid0111 ec9c8ad2cd Fixed bug due to refactoring. 2016-01-19 13:15:24 +09:00
mid0111 9438358817 Changed to count unread count of active channel from the desktop notification event. 2016-01-19 12:43:32 +09:00
Tatsuya Niwa 611c205d23 Show mention count badge and unread * badge. 2016-01-19 10:53:17 +09:00
Yuya Ochiai 54f7eb3657 Fix some error cases when the number of teams is zero
* There is no config.json
* config.teams.length === 0
2016-01-14 23:27:37 +09:00
Yuya Ochiai d6afda37f2 Remove 'focus' event listener when leaving from index.html 2016-01-14 21:51:06 +09:00
Yuya Ochiai 1cc68197d2 Hide tabs when the number of teams is 1 2016-01-13 22:34:51 +09:00
Yuya Ochiai f2209aa9dd Keep focus on webview after switching to main window
When switching window focus, webview lost its focus. Please refer to #10
2016-01-12 21:37:34 +09:00
Yuya Ochiai e53a43d17a Use primitive and promise-style test cases
On OS X, tests for multiple elements often failed (#5). So I replaced them with primitive way.
2016-01-10 00:54:32 +09:00
Yuya Ochiai 7fb2dc9cb6 Add tests for tabs 2015-12-23 20:53:54 +09:00
Yuya Ochiai 62b6e4c51b Fix for failed tests 2015-12-23 19:25:14 +09:00
Yuya Ochiai d010d09ef4 Add context menu for cut, copy, paste, select all 2015-12-23 17:55:39 +09:00
Yuya Ochiai 69a1c177a1 Switch to the team when notification is clicked 2015-12-23 17:16:53 +09:00