Commit Graph

791 Commits

Author SHA1 Message Date
Awal Garg
c066f25b17 fix: count only message items for show-more
the `messages` div contains a `date-marker` div and an `unread-marker` div. this causes the `count` variable to be 2 more than the expected value, which makes the show-more button skip two messages when loading history. this change filters the counted elements to fix this issue.
2017-04-06 00:45:28 +05:30
Pavel Djundik
110c0f0c87 Correctly append date marker when receiving a message 2017-04-01 11:06:01 +03:00
Jérémie Astori
953325aca3 Merge pull request #523 from thelounge/PR/fix-msg-width
Remove table layout for chat messages (and fix layout issues yet again)
2017-04-01 02:40:03 -04:00
Pavel Djundik
212703d162 Merge pull request #810 from thelounge/xpaw/color-hotkeys
Implement color hotkeys
2017-03-31 19:17:16 +03:00
Jérémie Astori
4363ef4abe Merge pull request #973 from thelounge/xpaw/use-require
Use require() instead of import in client code
2017-03-31 01:41:29 -04:00
Jérémie Astori
e62da5b1ea Remove extra newline to please ESLint
See https://travis-ci.org/thelounge/lounge/jobs/217041734#L1200
2017-03-31 01:26:37 -04:00
Jérémie Astori
abd155e881 Merge pull request #873 from PolarizedIons/fix-username-override
Fix filling in the nickname, overriding the username (in add network tab)
2017-03-31 01:20:12 -04:00
Jérémie Astori
fb672ab57f Improvements to the new flex layout for messages 2017-03-30 19:50:48 -04:00
Maxime Poulin
35b6b47de3 Remove table layout for chat messages (and fix layout issues yet again) 2017-03-30 19:50:48 -04:00
Pavel Djundik
2b85315b39 Merge pull request #992 from swordbeta/patch-1
Help page: commands can be autocompleted.
2017-03-30 11:32:25 +03:00
Jérémie Astori
da0a52e3cb Fix wrong font size in help center labels
This only concerns plain texts, not `<code>` or `<kbd>`.
2017-03-30 02:19:26 -04:00
Michael van Tricht
3f031ba6ff Help page: commands can be autocompleted. 2017-03-29 10:11:12 +02:00
Jérémie Astori
7487c1c1ac Merge pull request #978 from williamboman/feat/data-from
views/msg: set data-from attribute to allow styling messages from specific user(s)
2017-03-27 19:40:33 -04:00
William Boman
c6ed95e555 views/msg: set data-from attribute to allow styling messages from specific user(s) 2017-03-20 23:08:28 +01:00
Pavel Djundik
3b2e3fc08c Enforce more space and new line rules 2017-03-18 21:40:39 +02:00
Stephan
3318acd16b fix filling in nickname overriding username (in add network tab) 2017-03-18 18:11:43 +02:00
Pavel Djundik
dcefcd19cb Use require() instead of import in client code
Closes #895
2017-03-18 11:21:18 +02:00
Jérémie Astori
8ef99d7ad8 Add shortcuts for new formatting in help window 2017-03-13 01:58:39 -04:00
Pavel Djundik
f2e43b84be Implement color hotkeys 2017-03-12 11:50:18 +02:00
Jérémie Astori
c1fc185643 Move "About The Lounge" section from Settings to Help window 2017-03-10 20:23:45 -05:00
Jérémie Astori
0f9b12f2b8 Add a help window within the app
This brings commands and keyboard shortcuts from the website, after a massive overhaul. It comes as part of the big documentation rewrite that I am currently doing.

`kbd` design inspiration from GitHub, `code` design inspiration from Bootstrap.

This help page is accessible from an icon in the sidebar, near the Settings icon.
2017-03-10 20:23:45 -05:00
Al McKinlay
166e43ec39 Fix body height
#821 fixed #793, but it appears since then, Chrome has changed the behaviour back to what it was befor ethe fix, so 2.2.0 on Chrome 56+ is even more broken.
2017-02-06 12:41:17 +00:00
Jérémie Astori
dcc98c3efb Un-ellipsis placeholder and use ES6 template 2017-01-24 23:55:57 -05:00
Alistair McKinlay
0d8b58425e Merge pull request #855 from MaxLeiter/MaxLeiter/search
Fix searching for user in user list, closes #851
2017-01-04 11:15:14 +00:00
Jérémie Astori
a5cb6abf72 Merge pull request #829 from thelounge/xpaw/incrase-contrast
Increase IRC colors contrast
2017-01-04 01:49:27 -05:00
Jérémie Astori
280d145502 Merge pull request #836 from thelounge/xpaw/slideout-width
Calculate menu width on touch start
2017-01-04 01:48:38 -05:00
Max Leiter
ba00738f1f Fix searching for user in user list, closes #851 2016-12-29 18:03:05 -10:00
Pavel Djundik
c75771f13d Fix stuff that breaks in jQuery 3 2016-12-29 23:43:10 +02:00
Pavel Djundik
8fd1d161ea Remove vendor client code 2016-12-27 19:15:31 +02:00
Pavel Djundik
fb87bd3a58 Webpack 2016-12-27 19:15:30 +02:00
Jérémie Astori
7ae11babcb Add human-readable idle time in whois info 2016-12-22 00:21:16 -05:00
Jérémie Astori
0489d0f2ae Merge pull request #832 from thelounge/astorije/context-aware-placeholder
Remind channel name or nick in input placeholder
2016-12-21 18:16:06 -05:00
Jérémie Astori
783c8d41a3 Merge pull request #822 from thelounge/xpaw/hexip-username
Hide username field when hexip is enabled
2016-12-21 18:12:53 -05:00
Pavel Djundik
3017e67f3a Calculate menu width on touch start
Fixes #831
2016-12-21 19:58:36 +02:00
Jérémie Astori
4501c9f4f1 Fix missing placeholder prefixes and make styles consistent for Morning and Zenburn 2016-12-20 20:42:08 -05:00
Jérémie Astori
b07ec94bc3 Remind channel name or nick in input placeholder 2016-12-20 20:13:05 -05:00
Pavel Djundik
d0dee0c47a Remove margin on date marker on smallest screen size 2016-12-21 01:32:23 +02:00
Pavel Djundik
46689b96b3 Increase IRC colors contrast 2016-12-20 21:19:40 +02:00
Pavel Djundik
c37d2b435e Hide username field when hexip is enabled 2016-12-20 13:14:27 +02:00
Alistair McKinlay
6887b66f67 Merge pull request #820 from thelounge/xpaw/fix-unread-disappear
Fix unread marker being removed from DOM
2016-12-19 19:11:26 +00:00
Pavel Djundik
bf71c4b9bd Make html container take the entire screen estate 2016-12-19 15:12:29 +02:00
Pavel Djundik
7709847267 Fix unread marker being removed from DOM 2016-12-19 14:46:18 +02:00
Pavel Djundik
d24eb44991 Merge pull request #818 from thelounge/xpaw/no-notif-controls
Strip control characters from notifications
2016-12-19 12:52:12 +02:00
Pavel Djundik
8fff5ee829 Strip control characters from notifications 2016-12-18 18:19:03 +02:00
Pavel Djundik
3d6e4a38c6 Prevent focus on mobile 2016-12-17 21:17:23 +02:00
Pavel Djundik
7933b2453d Only append "says" to notifications if its a message 2016-12-17 13:05:12 +02:00
Jérémie Astori
3d0e1fd9f0 Merge pull request #745 from thelounge/xpaw/away-command
Implement /away and /back commands
2016-12-16 23:16:02 -05:00
Jérémie Astori
86358c619b Lock input message when app is disconnected 2016-12-14 01:35:32 -05:00
Jérémie Astori
c20813609b Style connection error message consistently with the rest of the app, above the message input 2016-12-13 01:58:05 -05:00
Pavel Djundik
a8926e2ced Stop refreshing the page on every socket.io error 2016-12-13 01:55:11 -05:00