Commit graph

1635 commits

Author SHA1 Message Date
Ivan Kozik 2a74ace48f Keep timestamps aligned when using a font with variable-width numbers
This improves the layout of the timestamps when using the San Francisco font.
2018-07-29 15:22:54 +00:00
Jérémie Astori 7b926f7c32
Merge pull request #2515 from thelounge/xpaw/transparent-sw-cache
Network-first service worker caches
2018-07-25 00:57:20 -04:00
Jérémie Astori 8c09be9db3
Reuse muted color var for unhandled messages, and remove channel list color overrides 2018-07-24 01:16:39 -04:00
Jérémie Astori 77d70d6d91
Center scroll lists when navigating with keyboard
- This applies to channel list and user list sidebars
- This avoids having a selected item behind a sticky header
- This provides better UX by starting the scroll before the bottom (or top) is reached, giving a preview of what comes next (or before)
2018-07-24 00:50:19 -04:00
Pavel Djundik b8db7a2f82
Fix closing tag being removed in user list
Fixes #2635
2018-07-21 02:25:18 -04:00
Jérémie Astori fbe8a4151c
Reuse CSS variable on muted texts (timestamp, self messages, etc.) and improve constrast accessibility
#767676 is the lightest gray that passes AA level of WCAG contrast recommendations
2018-07-21 02:25:18 -04:00
Jérémie Astori f69571847a
Make userlist section titles sticky on scroll 2018-07-21 02:25:17 -04:00
MiniDigger 8fa4a2833f
use replace over trimEnd to support ff60 2018-07-17 15:25:30 +02:00
Pavel Djundik 390d7c22ca
Merge pull request #2655 from realies/master
Change alert sound from ogg to wav
2018-07-17 11:07:48 +03:00
Pavel Djundik ee4c8d78d3 Use monospace font on MOTDs and set an icon 2018-07-17 10:13:50 +03:00
Pavel Djundik 5209b12d44 Fix MOTD display to actually only trim new lines 2018-07-17 10:13:50 +03:00
realies 8f5182b379 Change alert sound from ogg to wav 2018-07-17 09:14:58 +03:00
Pavel Djundik 4b84adb834
Merge pull request #2633 from thelounge/astorije/nicer-motd
Make the MOTDs a little nicer if possible
2018-07-15 13:40:58 +03:00
Pavel Djundik 71dad07480
Remove extra closing tag 2018-07-10 15:05:17 +03:00
Jérémie Astori 3eca924a7c
Make the MOTDs a little nicer if possible
This removes the leading hyphens from MOTD lines (under the condition they all do) and trims empty lines around the MOTD (but not inside).
2018-07-10 00:38:11 -04:00
Jérémie Astori 7f94a47a50
Merge pull request #2622 from thelounge/astorije/fix-highlight-mobile
Fix incorrect left padding for highlights on mobile
2018-07-08 15:03:10 -04:00
Jérémie Astori f58e171a69
Fix incorrect left padding for highlights on mobile 2018-07-08 14:46:55 -04:00
Pavel Djundik ff98f31be2
Fix disabling autocomplete and fix completing special channels 2018-07-08 18:21:15 +03:00
Pavel Djundik 9447b4894d Fix incorrect target in (dis)connect context menu 2018-07-06 21:21:57 +03:00
Pavel Djundik 28df906957 Implement caching for static resources 2018-07-06 15:38:57 +03:00
Pavel Djundik 0f6fd4dac5 Listen for beforeinstallprompt to trigger 'add to home' 2018-07-06 15:38:57 +03:00
Pavel Djundik 1f604a8556 Network-first cache in service worker 2018-07-06 12:35:02 +03:00
Jérémie Astori 21c4dea8a9
Merge pull request #2599 from thelounge/xpaw/userlist
Make userlist state consistent on mobile and desktop
2018-07-06 01:29:23 -04:00
Jérémie Astori 93fcd57b2d
Merge pull request #2571 from thelounge/xpaw/protocol-handler
Implement irc:// protocol handler
2018-07-05 22:08:07 -04:00
Jérémie Astori 2bd82fec6e
Merge pull request #2595 from joandrsn/master
Clarify /topic command without newtopic
2018-07-05 22:05:11 -04:00
Pavel Djundik 19ac4f72aa Implement irc:// protocol handler 2018-07-05 13:01:10 +03:00
christer88 251ed60f1c
Disable username autocapitalize on input field when signing on
Fixes https://github.com/thelounge/thelounge/issues/2616
2018-07-05 08:00:07 +02:00
Pavel Djundik d63f0ccc50 Make userlist state consistent on mobile and desktop 2018-07-04 10:26:07 +03:00
Trent Monahan 3a89935c29 Add reminder that ascii is awesome. 2018-07-03 19:51:10 +10:00
Jonas Andersen 90e55bd759 Removed 'the command' 2018-06-27 08:47:47 +02:00
Max Leiter f1b88e5216 switch close button text on channels to Leave and kept as Close for other types. 2018-06-26 21:11:04 -07:00
Jonas Andersen 1ebbacdb2a Clarify /topic command without newtopic 2018-06-26 11:52:20 +02:00
Adam Spotton 54e502c020 Add 'User information' (whois) support to the sidebar context menu 2018-06-24 11:52:55 -04:00
Jérémie Astori 7e8610bbac
Fix highlights when seconds are shown in timestamps 2018-06-23 14:58:17 -04:00
Jérémie Astori 1d6c6dd52b
Merge pull request #2526 from thelounge/astorije/higlight-border-and-bg
Replace current red-text highlight with a full background-color highlight
2018-06-23 14:20:44 -04:00
Jérémie Astori 4b19f79cb8
Merge pull request #2548 from thelounge/xpaw/input-height
Fix text not having enough space in <select> with some fonts
2018-06-21 21:10:40 -04:00
Jérémie Astori c2ce56292c
Use a combination background + left border for highlight messages 2018-06-21 13:30:29 -04:00
Pavel Djundik d00cf72614 Reset highlights on self messages; update title when other client opens a channel 2018-06-21 16:51:07 +03:00
Pavel Djundik 5091939aa4 Add support for WHOWAS
Fixes #2050

Co-Authored-By: jay2k1 <jay2k1@users.noreply.github.com>
2018-06-20 21:03:00 +03:00
Pavel Djundik b8d60ddaa6 Correctly handle away and back events
Also support for self messages

Co-Authored-By: jay2k1 <jay2k1@users.noreply.github.com>
2018-06-20 19:32:19 +03:00
Pavel Djundik a9413dc277 Update for changes in irc-framework 2018-06-20 18:30:32 +03:00
Pavel Djundik a124e7bdb8 Change input sizes to be consistent 2018-06-19 13:32:15 +03:00
Jérémie Astori e2602b28ad
Merge pull request #2315 from thelounge/astorije/ui
Revamp default theme a bit
2018-06-19 00:26:20 -04:00
Jérémie Astori 0be8de738a
Merge pull request #2377 from thelounge/xpaw/contextmenu-keyboard
Make context menus accessible with keyboard
2018-06-19 00:23:22 -04:00
Pavel Djundik 9a808b58e9 Do not remove date marker when loading history if date changes
Fixes #2566
2018-06-17 11:46:31 +03:00
Pavel Djundik 24531538fd Remove unnecessary code
This cause context menu to re-open when clicking on user in the context menu
2018-06-15 13:27:59 +03:00
Max Leiter 012ca805c1 Add role attributes in context menus 2018-06-15 13:27:59 +03:00
Pavel Djundik d178ac9749 Make context menus accessible with keyboard 2018-06-15 13:27:58 +03:00
Jérémie Astori f814d7369c
Introduce some CSS variables to simplify writing themes that stay close to the default style 2018-06-14 18:58:42 -04:00
Jérémie Astori 8137ece450
Make sidebar logo scroll with networks, wrap logos in div element 2018-06-14 18:49:56 -04:00