Commit Graph

2020 Commits

Author SHA1 Message Date
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
8ec6d969d1 Merge pull request #697 from cloudron-io/ldap_crashfix
Fix crash when LDAP server is unreachable
2016-10-23 10:10:48 -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
Jérémie Astori
f09cb0abfb Merge pull request #717 from thelounge/xpaw/submit-id
Add id to submit button
2016-10-23 09:54:20 -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
5ff1496061 Merge pull request #711 from thelounge/xpaw/bcrypt
Change bcrypt rounds from 8 to 11
2016-10-23 00:51:56 -04:00
Jérémie Astori
3c3436e3e2 Merge pull request #713 from thelounge/readme-badges
Update badges in readme
2016-10-22 17:43:29 -04:00
Pavel Djundik
3231097e0d Reduce badge size in readme 2016-10-23 00:39:22 +03:00
Jérémie Astori
dba885be47 Merge pull request #709 from thelounge/astorije/rm-notification-poyfill
Remove browser notification polyfill and inform user when unsupported
2016-10-22 17:36:26 -04:00
Jérémie Astori
d82a894b7b Remove browser notification polyfill and inform user when unsupported 2016-10-22 17:26:34 -04:00
Pavel Djundik
c5e0dee3a3 Change bcrypt rounds from 8 to 11 2016-10-22 09:24:27 +03:00
Pavel Djundik
f3f933ed44 Merge pull request #707 from thelounge/astorije/rm-rf-osx
Get rid of OSX CI builds until they get much faster
2016-10-21 22:38:40 +03:00
Pavel Djundik
45554ec7b7 Merge pull request #703 from thelounge/astorije/test-handlebars
Add a simple (first) test for localetime Handlebars helper
2016-10-20 16:53:48 +03:00
Jérémie Astori
dec9a173bf Get rid of OSX CI builds until they get much faster
OSX builds have been nothing but a pain on Travis CI: they fail with no good reason, they stay pending forever, etc.

As far as I can tell, I can't remember one valid build they failed and we legitimately discovered a bug. Dev env on OSX is very close to Linux so it's good enough to have it here.
2016-10-20 01:40:20 -04:00
Jérémie Astori
1ff011dfaf Add a simple (first) test for localetime Handlebars helper 2016-10-20 01:49:34 +02:00
Jérémie Astori
04f23704b8 Merge pull request #679 from thelounge/xpaw/fix-mode-command
Fix /mode command to correctly assume target
2016-10-17 15:30:02 -04:00
Jérémie Astori
427a630094 Merge pull request #700 from thelounge/astorije/appveyor-cache
Fix AppVeyor cache never being successfully built
2016-10-17 03:34:09 -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
Jérémie Astori
794b5e4734 Merge pull request #636 from thelounge/xpaw/sync-channels
Improve support for opening multiple clients at once
2016-10-17 01:56:12 -04:00
Jérémie Astori
79e20c83d5 Fix AppVeyor cache never being successfully built
Oh that wonderful Windows world...
2016-10-17 01:41:14 -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
Jérémie Astori
b2a0cae626 2.1.0 2016-10-17 00:49:52 -04:00
Jérémie Astori
38efe89f56 Add change log entry for upcoming v2.1.0 2016-10-17 00:49:48 -04:00
Girish Ramakrishnan
09f2d069de Fix crash when LDAP server is unreachable
Fixes #667
2016-10-16 11:27:09 -07:00
Max Leiter
b503b8cb4f Add image to readme 2016-10-15 13:48:26 -07:00
Jérémie Astori
5598da73d9 Merge pull request #689 from thelounge/astorije/es5-es6-love
Replace lodash's each/map with ES5 native forEach/map
2016-10-15 16:32:56 -04:00
Jérémie Astori
e905c139d7 Use native ES5 map method instead of lodash's 2016-10-15 15:58:49 -04:00
Jérémie Astori
089c315a8e Use forEach instead of lodash's each, and ES6 fat arrows like it's 2015 2016-10-15 15:58:48 -04:00
Pavel Djundik
93053d497d Add mode command test suite 2016-10-15 14:23:39 +03:00
Pavel Djundik
bfeaeee873 Fix /mode command to correctly assume target 2016-10-15 14:17:45 +03:00
Pavel Djundik
3711aefc2d Merge pull request #664 from thelounge/xpaw/fix-defaults
Fix memory and reference shuffling when creating models
2016-10-15 14:14:53 +03:00
Pavel Djundik
db1dc3675a Merge pull request #592 from williamboman/fix/git-describe
consolidate version numbers throughout all interfaces
2016-10-15 14:06:52 +03: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
Jérémie Astori
3a0017583b Merge pull request #687 from thelounge/astorije/ci-caches
Use CI caches for downloaded files instead of installed ones
2016-10-14 23:31:21 -04:00
Pavel Djundik
ebd70824f0 Merge pull request #693 from thelounge/revert-661-xpaw/no-dom-event
Revert "Do not trigger a DOM event on every message"
2016-10-14 20:11:02 +03:00
Pavel Djundik
4f5bb55951 Revert "Do not trigger a DOM event on every message" 2016-10-14 18:49:08 +03:00
Jérémie Astori
93c4c14b72 Merge pull request #647 from nornagon/prefix-lookup
Fill in prefixLookup on network initialization
2016-10-12 03:37:06 -04:00
Jeremy Apthorp
b7814bc571 Fill in prefixLookup on network initialization
Fixes #644.
2016-10-11 22:17:58 -07:00
Jérémie Astori
6dac7b1897 Use CI caches for downloaded files instead of installed ones
This allows for a more meaningful build: if a newer version of a sub-package breaks,
builds would still pass as it uses the cached version. This uses a cache for downloaded packages instead.

I am expecting this to slow down a little bit the builds (but we are OK overall)
but be more accurate in practice.

See https://docs.npmjs.com/cli/cache#configuration and https://docs.npmjs.com/files/folders#node-modules.
2016-10-11 22:30:08 -04:00
William Boman
aabdf562a6 client: re-focus input on chat form submit 2016-10-11 10:43:27 +02:00
William Boman
99218341ec consolidate version numbers throughout all interfaces 2016-10-10 21:56:57 +02:00
Max Leiter
0d058a5ef7 Begin work on overriding defaults in URL 2016-10-10 10:35:33 -07:00