Commit graph

36 commits

Author SHA1 Message Date
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
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 a74c101e11 Count unread teams in team sidebar 2017-01-16 21:27:32 +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 16788b5a6f Fix eslint errors 2016-10-28 00:49:52 +09: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
Kolja Lampe b59f501a82 Some minor codestyle improvements due to jshint 2016-08-30 15:28:15 +02: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
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 647e396fad Focus the search box on Ctrl/Cmd+F shortcut
For #229
2016-08-14 22:06:27 +09:00
Yuya Ochiai ce6cf485f6 Implementation and further tests for #220 2016-08-09 00:04:36 +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 722807a5cb Refactor notification to simplify event handling 2016-06-16 23:01:37 +09:00
Yuya Ochiai 695c091bac Refactor desktop notification override 2016-03-01 23:42:42 +09:00
Yuya Ochiai 81baf05c78 Fix desktop notification not working with Mattermost 2.0
Fix #36
Notification.permission was missing in override
2016-02-20 21:45:15 +09:00
Yuya Ochiai 75bfb119e6 Add check for null/length 2016-02-13 20:20:56 +09:00
Yuya Ochiai 5a836c9573 Revert mention count with ignoring 'badge-notify'
'badge-notify' counts also unread channels.
2016-02-03 23:53:34 +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 49ef1d42e6 refactoring. 2016-01-27 21:20:55 +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
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 d4cc42299c delete debug code. 2016-01-19 11:20:06 +09:00
Tatsuya Niwa 611c205d23 Show mention count badge and unread * badge. 2016-01-19 10:53:17 +09:00
mid0111 930bce9a14 Remove unnecessary class name. 2016-01-15 06:50:31 +09:00
mid0111 c5f9ca19ce Count for active channel only when window is not focused. 2016-01-14 22:31:03 +09:00
Yuya Ochiai 3e300c78d6 Show badges when active channels have new messages 2016-01-06 22:15:35 +09:00
Yuya Ochiai f57e2a94ef Just focus mainWindow when notification is clicked on Windows
BrowserWindow.show() breaks Aero Snap state.
2015-12-23 17:42:59 +09:00
Yuya Ochiai 69a1c177a1 Switch to the team when notification is clicked 2015-12-23 17:16:53 +09:00
Yuya Ochiai c016c03741 Port core features from index.js (Open link, Unread count, Font) 2015-12-23 15:53:34 +09:00
Yuya Ochiai e381a89cd5 Adapt to rearranged directories 2015-12-22 23:35:22 +09:00
Yuya Ochiai 1be5077ebe Rearrange directories 2015-12-22 23:29:33 +09:00