Jérémie Astori
dff1a48e05
Prevent sound notification to throw an exception on mobile
2016-11-08 01:02:56 -05:00
Jérémie Astori
e21ec8b447
Silence failures to trigger notifications when not available
...
Recent Chrome versions are dropping out `new Notification` in favor of `ServiceWorkerRegistration.showNotification`.
This makes sure nothing bad happens until we have proper support for Service Workers.
See:
- https://stackoverflow.com/questions/29774836/failed-to-construct-notification-illegal-constructor
- https://stackoverflow.com/questions/31512504/html5-notification-not-working-in-mobile-chrome
2016-11-08 01:02:25 -05:00
Pavel Djundik
837f78f1ae
Merge pull request #483 from williamboman/fix/focus-input-on-submit
...
client: re-focus input on chat form submit
2016-10-28 19:14:26 +03:00
Jérémie Astori
e9b118ea71
Merge pull request #708 from thelounge/astorije/nick-cycle
...
Add a UI element to cycle through nick completions on mobile
2016-10-25 18:45:07 -04:00
Maxime Poulin
0bef9e9cde
Merge pull request #720 from stepie22/unread-counters-fix
...
Fix unread counters resetting when they shouldn't
2016-10-25 12:41:10 -04:00
stepie22
ee1a629be9
Fix incorrect selector for undead badge on channels
2016-10-25 13:58:28 +02:00
Jérémie Astori
ddaf7ff300
Add a way to cycle through nicks on mobile
...
This was heavily inspired by https://github.com/maxpoulin64/lounge/commit/a877e46 .
Clearly not a definitive solution but a good start to have and to improve upon.
2016-10-25 01:03:43 -04:00
Jérémie Astori
61a582f71f
Merge pull request #702 from stepie22/dragndrop-fix
...
Fix channels behaving strangely while dragging
2016-10-23 10:34:02 -04:00
Jérémie Astori
c85e4070b1
Merge pull request #716 from thelounge/xpaw/match-h2-color
...
Match window title border line to text color
2016-10-23 09:55:02 -04:00
stepie22
1a4974b7df
Fix channels drag'n'droping
2016-10-23 11:47:33 +02:00
Pavel Djundik
35af3b1710
Add id to submit button
2016-10-23 11:16:55 +03:00
Pavel Djundik
b93fa12494
Match window title border line to text color
2016-10-23 11:11:04 +03:00
Jérémie Astori
d82a894b7b
Remove browser notification polyfill and inform user when unsupported
2016-10-22 17:26:34 -04:00
Jérémie Astori
f5af8a4986
Merge pull request #674 from MaxLeiter/MaxLeiter/override-defaults
...
Override defaults with URL
2016-10-17 02:11:30 -04:00
Pavel Djundik
a1f56c7395
Improve support for opening multiple clients at once
...
- Synchornize unread counter with the server
- Fix unread marker on no attached clients
- Increase unread counter for server messages
2016-10-17 01:31:22 -04:00
Pavel Djundik
a58b7839a7
Merge pull request #685 from thelounge/astorije/fix-nick-in-logs
...
Fix nick changes not being properly reported in the logs
2016-10-15 14:00:47 +03:00
Pavel Djundik
4f5bb55951
Revert "Do not trigger a DOM event on every message"
2016-10-14 18:49:08 +03:00
William Boman
aabdf562a6
client: re-focus input on chat form submit
2016-10-11 10:43:27 +02:00
Max Leiter
0d058a5ef7
Begin work on overriding defaults in URL
2016-10-10 10:35:33 -07:00
Jérémie Astori
310ab8f43c
Fix nick changes not being properly reported in the logs
...
Before:
```
[2016-10-10 15:17:47] * nick
```
After:
```
[2016-10-10 16:32:47] * astorije nick astorije2
```
2016-10-10 13:08:23 -04:00
Pavel Djundik
aa02fd5180
Enforce more eslint rules
2016-10-09 17:55:37 -04:00
Jérémie Astori
6b597d3b2f
Merge pull request #684 from thelounge/astorije/strict-mode
...
Strict mode for all JS files
2016-10-09 17:55:19 -04:00
Pavel Djundik
b28bba6dd4
Remove svg and ttf font formats
2016-10-09 15:21:04 -04:00
Jérémie Astori
caa46042bf
Enforce strict mode across all JS files with ESLint
...
Several ES6 additions are only available in strict mode. Example:
> SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
Strict mode was also enabled in a few of our files already, and it is a good thing to have anyway.
2016-10-09 15:14:02 -04:00
Jérémie Astori
e9d7d77cbd
Merge pull request #661 from thelounge/xpaw/no-dom-event
...
Do not trigger a DOM event on every message
2016-10-08 16:35:14 -04:00
Pavel Djundik
94781c98d4
Merge pull request #653 from MaxLeiter/MaxLeiter/crypto-unhandled
...
Fix unhandled message color in Crypto theme
2016-10-07 19:40:05 +03:00
Max Leiter
565e37e873
Fix unhandled message color in Crypto theme
2016-10-03 10:20:06 -07:00
Pavel Djundik
024369d4c3
Implement our own /nick command to allow editing nick when not connected
2016-10-01 16:51:35 -04:00
Jérémie Astori
4328946f80
Add tooltips to nick editor buttons
2016-10-01 16:51:35 -04:00
Jérémie Astori
12839af684
Make nick badge editable to set it in the UI
2016-10-01 16:51:34 -04:00
Jérémie Astori
4e1d89f567
Consolidate locale time helpers
...
When working on #660 , I missed that helper already existed, added in #167 .
2016-10-01 15:38:06 -04:00
Pavel Djundik
743d4b61d5
Do not trigger a DOM event on every message
2016-10-01 13:09:57 +03:00
Jérémie Astori
fc03a338fc
Display localized timestamp in title of message times
2016-10-01 02:46:19 -04:00
Jérémie Astori
f2c4d08801
Fix title icons for channels and channel lists
...
This bug slipped when adding `/list` support in #258 .
2016-09-30 01:50:54 -04:00
Jérémie Astori
28b5fdb8ce
Merge pull request #637 from thelounge/xpaw/extra-loading
...
Display extra loading messages
2016-09-30 01:34:05 -04:00
Jérémie Astori
ad4a79cbca
Merge pull request #400 from maxpoulin64/slide
...
Add touch slideout menu for mobile
2016-09-30 00:03:04 -04:00
Jérémie Astori
3b8e4f36eb
Merge pull request #652 from innovandalism/master
...
Themes: Fixed CSS rule selectors for highlight messages
2016-09-30 00:01:41 -04:00
Jérémie Astori
345aac1a27
Merge pull request #258 from maxpoulin64/channel-list
...
Implement /list
2016-09-29 02:47:34 -04:00
Alexander Schittler
65ba8af660
Themes: Fixed CSS rule selectors for highlight messages
2016-09-28 20:23:06 +02:00
Pavel Djundik
396a9cffb1
Display extra loading messages
2016-09-25 09:52:16 +03:00
Pavel Djundik
98b7908c2b
Merge pull request #618 from thelounge/astorije/disable-pull-to-refresh
...
Disable pull-to-refresh on mobile that conflicts with scrolling the message list
2016-09-25 08:28:54 +03:00
Jérémie Astori
7b15235489
Merge pull request #359 from thelounge/xpaw/simplify-base-theme
...
Move Shout theme borders to example theme
2016-09-25 01:21:56 -04:00
Jérémie Astori
937cc4ebed
Merge pull request #625 from thelounge/astorije/safe-localstorage
...
Ensure localStorage cannot fail because of quota or Safari private browsing
2016-09-25 00:44:29 -04:00
Pavel Djundik
bdb4d0de6a
Remove -ms-transform and add missed -webkit-transform
2016-09-24 10:46:02 +03:00
Pavel Djundik
62ee13833b
Move Shout theme borders to example theme
2016-09-24 00:16:00 +03:00
Pavel Djundik
2bb782fe81
Merge pull request #617 from thelounge/astorije/fix-sidebar-loading
...
Hide sidebar when app is loading in themes
2016-09-24 00:14:24 +03:00
Gilles Gauthier
8bd5d800d0
Fixing display: flex for iOS 8
2016-09-20 21:59:59 -07:00
Jérémie Astori
813572de47
Ensure localStorage cannot fail because of quota or Safari private browsing
...
See http://stackoverflow.com/q/14555347/1935861
2016-09-20 23:43:23 -04:00
Jérémie Astori
578328d208
Disable pull-to-refresh on mobile that conflicts with scrolling the message list
...
See http://stackoverflow.com/a/29313685/1935861
2016-09-18 19:28:27 -04:00
Jérémie Astori
701e333d78
Hide sidebar when app is loading in themes
...
This change was originally made in #420 then I broke it for themes in #615 , sigh...
2016-09-17 20:43:29 -04:00