Commit graph

1518 commits

Author SHA1 Message Date
Jérémie Astori 6bf4ea9f43
Merge pull request #2399 from thelounge/xpaw/fix-2389
Fix `aria-controls` on collapse button
2018-04-29 14:50:33 -04:00
Pavel Djundik 38f3557e0b Fix aria-controls on collapse button
Fixes #2389
2018-04-29 15:20:06 +03:00
Jérémie Astori 37a35eeece
Merge pull request #2398 from thelounge/xpaw/data-attr
Use attr() on user-controlled data
2018-04-29 02:13:07 -04:00
Jérémie Astori 1daad45f11
Use the new logo for favicons, notifications badges, and homescreen app icons 2018-04-28 12:14:41 -04:00
Pavel Djundik 14cc8b7827 Use attr() on user-controlled data
See https://www.reddit.com/r/javascript/comments/8f57i1/psa_there_are_over_1000_people_in_the_us_named/dy0rib2/
2018-04-28 11:19:49 +03:00
Jérémie Astori 92c4df6e9c
Merge pull request #2390 from thelounge/xpaw/network-uuid
Remove network ids and use uuids everywhere
2018-04-27 01:23:49 -04:00
Pavel Djundik 02db91bcc9 Correctly add quits to parts 2018-04-26 13:36:56 +03:00
Pavel Djundik e136edb6ac Remove network ids and use uuids everywhere 2018-04-26 12:37:28 +03:00
Jérémie Astori 4ff5995617
Merge pull request #2386 from thelounge/xpaw/quits-parts
Count quits as parts in condensed messages to reduce information density
2018-04-25 21:24:58 -04:00
Pavel Djundik bf2a80a7b5
Count quits as parts in condensed messages to reduce information density
See https://github.com/thelounge/thelounge/pull/2383#discussion_r183915328 for discussion
2018-04-25 21:08:06 -04:00
Pavel Djundik 810ecd429a
Make condensed joins and parts shorter 2018-04-24 13:01:20 +03:00
Pavel Djundik f6b7ce7383
Fix your own nick in auto completion 2018-04-23 15:34:22 +03:00
Jérémie Astori ccb01d964c
Merge pull request #2355 from Jay2k1/Jay2k1-opvoice
Add 'op' and 'voice' user context menu items
2018-04-21 22:12:41 +02:00
Jay2k1 808b2b249b add 'op' and 'voice' context menu entries 2018-04-21 00:53:59 +02:00
Jérémie Astori 49c5e6a502
Merge pull request #2369 from thelounge/astorije/show-older-msg-btn
Make "Show older messages" style consistent with other buttons
2018-04-20 19:04:52 +02:00
Jérémie Astori bb260c4c04
Merge pull request #2368 from thelounge/astorije/window-header
Remove header border on non-chat windows and reduce top margin a bit more
2018-04-20 19:04:20 +02:00
Jérémie Astori ec8e4fc458
Make sure the channel list button stays always visible 2018-04-20 17:05:53 +02:00
Pavel Djundik b381c9161d
Merge pull request #2364 from thelounge/astorije/fix-userlist-bottom
Fix user list scroll area expanding behind the message input on mobile
2018-04-18 10:17:51 +03:00
Jérémie Astori 1762db8bd4
Make "Show older messages" style consistent with other buttons
Also store the loading text in a `data` attribute instead of duplicate in template + JS, in order to help with future internationalization
2018-04-18 00:12:24 +02:00
Jérémie Astori c9dc323bcc
Remove header border on non-chat windows and reduce top margin a bit more 2018-04-17 23:36:30 +02:00
Jérémie Astori 235a3dad92
Quick-fix tooltips not being loaded by Webpack 2018-04-17 23:07:12 +02:00
Jérémie Astori 0661b4aa37
Fix user list scroll area expanding behind the message input on mobile 2018-04-17 00:27:36 +02:00
Jérémie Astori 31646f2a28
Merge pull request #2337 from thelounge/xpaw/remove-nick-edit
Remove nick editor
2018-04-16 19:53:17 +02:00
Pavel Djundik 73b1124dce Fix nicks with special characters being colored incorrectly in messages
Fixes #2362
2018-04-16 14:45:08 +03:00
Pavel Djundik a392a08c7a Remove nick editor 2018-04-15 22:17:30 +03:00
Pavel Djundik efae5fd28d
Merge pull request #2229 from thelounge/xpaw/edit-networks
Allow editing networks via UI
2018-04-15 22:10:02 +03:00
Pavel Djundik 09482aed7b
Update placeholder rules for modern browsers 2018-04-14 10:24:39 +03:00
Pavel Djundik f86d73972d Implement network editing UI and object updating 2018-04-12 10:38:35 +03:00
Jérémie Astori ee6fb8c619
Fix color of "More" preview button in Morning 2018-04-12 00:52:05 -04:00
Jérémie Astori 2b051194c8
Fix preview text color overriding inherited color
This messes up dark themes, or really any theme that does not use #222 as body color...
2018-04-12 00:45:49 -04:00
Jérémie Astori b08b23d59e
Merge pull request #2328 from thelounge/astorije/local-themes
Local themes
2018-04-12 00:23:11 -04:00
Jérémie Astori 39ca8f74ae
Merge pull request #2272 from thelounge/astorije/improve-previews
Improve UI of previews
2018-04-12 00:21:38 -04:00
Jérémie Astori 6f3c88663a
Merge pull request #2317 from creesch/syncDefault
Enable sync on empty localstorage, force sync, sync on both load and reconnect.
2018-04-11 01:30:03 -04:00
Jérémie Astori bb16b3e30b
Simplify showing/hiding "More" button of a new preview on active channel 2018-04-09 21:39:41 -04:00
Jérémie Astori d55420faae
Bind a single resize event, debounced, instead of one handler per preview 2018-04-09 21:39:41 -04:00
Jérémie Astori ac02bd370b
Do not compute preview "More" buttons on mobile 2018-04-09 21:39:40 -04:00
Jérémie Astori dbabdd83dc
Lighten the "More" button handler when checks are not necessary 2018-04-09 21:39:40 -04:00
Jérémie Astori 8d255fc331
Only bind preview "More" buttons on link previews 2018-04-09 21:39:40 -04:00
Jérémie Astori 1ccdeb015c
Trigger the correct event directly instead of resize when opening/closing a menu 2018-04-09 21:39:39 -04:00
Jérémie Astori 53a2101de3
Make sure preview "More" button computation does nothing when preview is collapsed 2018-04-09 21:39:39 -04:00
Jérémie Astori 5bff07f6f6
Fix handling preview More buttons on inactive channels 2018-04-09 21:39:38 -04:00
Jérémie Astori 527cac4c75
Debounce resize event to avoid performance bottleneck 2018-04-09 21:39:38 -04:00
Jérémie Astori 7355db94d6
Improve UI of previews
- Remove margins around thumbnails and images, increase radius, etc. for a fresher look overall
- Increase preview body contrast just enough to pass AA standards
- Add a `More`/`Less` button to expand previews that take more than one line. Button is added only when necessary
- Use a zoom-in cursor on hover for thumbnails
- Improve preview message errors
2018-04-09 21:39:38 -04:00
Pavel Djundik c28a5c25b9 Add css-loader 2018-04-06 12:52:53 +03:00
Pavel Djundik d4b9b6ed32 Fix line-height showing scrollbar on mobile 2018-04-04 12:40:42 +03:00
Jérémie Astori 62fb5524ae
Switch client to default theme when it is using a theme that has been removed 2018-04-02 23:51:59 -04:00
Jérémie Astori be591d016a
Rename Example theme 2018-04-02 23:51:57 -04:00
Jérémie Astori 7b13c6f076
Remove Crypto and Zenburn themes from the core codebase 2018-04-01 20:01:38 -04:00
Jérémie Astori 36a62fb365
Merge pull request #2321 from MaxLeiter/header-margin
Fix .container margins
2018-04-01 18:38:07 -04:00
creesch 63c84cd362 Don't use event delegation for sync button 2018-03-31 22:28:39 +02:00