Pavel Djundik
d06c279f02
Lazily load user list
2017-07-21 11:05:36 +03:00
Pavel Djundik
7af573fd96
Handle auto completion order on the server
...
Fixes #289 .
2017-07-21 11:05:21 +03:00
Jérémie Astori
4e7eed7958
Merge pull request #1334 from MaxLeiter/MaxLeiter/emoji
...
Emoji fuzzysearching
2017-07-20 01:20:57 -04:00
Max Leiter
4a56870c08
Emoji fuzzysearching
2017-07-19 11:33:16 -07:00
Alistair McKinlay
e01e21cdbe
Change more to use id rather than count.
2017-07-19 07:37:13 +01:00
Jérémie Astori
f88d1e3bef
Merge pull request #1242 from starquake/newlines-fix
...
Correctly show whitespace and newlines in messages
2017-07-19 02:05:31 -04:00
Jan Visser
f0e6e397a4
Correctly handle multiple successive whitespace characters
2017-07-18 16:54:35 +02:00
Pavel Djundik
70d09841d9
Fix incorrect mode on kick target
2017-07-18 17:38:24 +03:00
Pavel Djundik
488dd7aeb4
Merge pull request #1347 from thelounge/astorije/fix-empty-preview
...
Hide empty preview divs when there are no previews loaded
2017-07-18 15:44:51 +03:00
Pavel Djundik
ff757d4386
Merge pull request #1348 from thelounge/astorije/fix-action-previews
...
Fix previews in actions ("/me") after page reload
2017-07-18 15:44:31 +03:00
Pavel Djundik
f35a2809a7
Store preview images on disk for privacy, security and caching
2017-07-18 11:37:16 +03:00
Jérémie Astori
5fb34ce93f
Fix previews in actions ("/me") after page reload
2017-07-18 01:27:18 -04:00
Jérémie Astori
e5bace1794
Hide empty preview divs when there are no previews loaded
2017-07-18 00:37:45 -04:00
Jérémie Astori
511b173b6f
Add an image viewer for thumbnails and image previews
2017-07-16 19:25:48 -04:00
Jérémie Astori
a010973766
Fix some button styling
2017-07-15 12:27:39 -04:00
Pavel Djundik
e2c5468d27
Merge pull request #1328 from thelounge/xpaw/remove-ie-compat
...
Remove X-UA-Compatible
2017-07-15 11:56:38 +03:00
Pavel Djundik
4837699d5c
Merge pull request #1329 from MaxLeiter/MaxLeiter/safari-icon
...
Add mask-icon for pinned safari tab
2017-07-15 11:54:04 +03:00
Pavel Djundik
7869f09949
Merge pull request #1336 from thelounge/astorije/fix-autocomplete-transition
...
Remove "in" transition on autocomplete items to fix a visual glitch on value refresh
2017-07-15 11:48:46 +03:00
Max Leiter
46b7296b87
Add mask-icon for pinned safari tab
2017-07-14 18:32:54 -07:00
Jérémie Astori
1110097664
Remove "in" transition on autocomplete items to fix a visual glitch on value refresh
2017-07-14 20:43:47 -04:00
Jérémie Astori
d2a3287800
Fix preview toggle button on Morning
2017-07-14 20:22:45 -04:00
Pavel Djundik
43f1b6b627
Remove X-UA-Compatible
...
Ref: https://stackoverflow.com/a/26348511/2200891
2017-07-14 12:18:01 +03:00
Jérémie Astori
9937fcdbf9
Fix background of toggle button and margin glitch of toggle body on Zenburn
2017-07-12 02:56:58 -04:00
Pavel Djundik
199bc459b4
Merge pull request #1303 from thelounge/astorije/multiple-previews
...
Support multiple previews per message
2017-07-09 18:29:31 +03:00
Al McKinlay
2d853f20aa
Merge pull request #1309 from thelounge/astorije/collapse-previews
...
Add collapse/expand commands to toggle all previews
2017-07-09 15:20:48 +01:00
Jérémie Astori
7fb527847e
Fix missing transitions
2017-07-08 21:17:03 -04:00
Jérémie Astori
28200830ed
Move preview toggle buttons next to their respective URLs and switch from ellipsis to caret
2017-07-08 04:36:26 -04:00
Jérémie Astori
64ebe0f437
Support multiple previews per message
...
- Load up to 5 previews per message (to avoid abuse)
- Do not load multiple times the same URL
- Prepare preview containers per message instead of appending (to maintain correct order)
- Store an array of previews instead of a single preview in `Msg` objects
- Consolidate preview rendering for new messages and upon refresh/load history (when rendering entire channels)
- Update `parse` tests to reflect previous point
- Add test for multiple URLs
- Switch preview tests from `assert` API to `expect` API
2017-07-08 04:34:12 -04:00
Jérémie Astori
b1fa78665c
Merge pull request #1294 from awalgarg/autocomplete-optout
...
Allow opting out of autocomplete
2017-07-08 03:46:35 -04:00
Jérémie Astori
cff76d033d
Reword link preview settings to better match reality
...
- s/Links and URLs/Link previews/: From a user perspective, these are the same thing... These options are for the prefetcher, not the URLs themselves
- s/thumbnails/images/: What we call thumbnails are for "site" previews, not actual image links
- s/links/websites/: Technically, both image and non-image links are links, "websites" carries a tiny bit better the meaning
2017-07-07 02:23:44 -04:00
Jérémie Astori
e08f18f447
Add collapse/expand commands to toggle all previews
2017-07-07 00:18:37 -04:00
Pavel Djundik
818a21b52e
Fix jumps when toggling link preview
2017-07-04 20:51:22 +03:00
Jérémie Astori
a96b071fb3
Fix background color contrast on Zenburn previews
2017-07-04 13:39:39 -04:00
Jérémie Astori
a7ddfbc8a3
Merge pull request #1296 from thelounge/astorije/previews-crypto
...
Fix too big line height previews text on Crypto
2017-07-04 13:34:40 -04:00
Jérémie Astori
1ba8f10440
Fix too big line height previews text on Crypto
2017-07-04 13:15:55 -04:00
Jérémie Astori
ec5b5ef565
Add title attributes to previews
...
This is useful on long preview titles/descriptions that truncate. We currently do the same for topics
2017-07-04 12:56:57 -04:00
Pavel Djundik
c62bc2fa35
Do not truncate link previews if viewport can fit more text
...
Fixes #1084
2017-07-04 09:51:35 +03:00
Awal Garg
8c8d683348
Allow opting out of autocomplete
2017-07-03 22:37:38 +05:30
Pavel Djundik
14b2ad7938
Refactor link previews
2017-07-03 00:41:18 +03:00
Jérémie Astori
aee518365d
Merge pull request #1252 from thelounge/bews/username-template
...
Move nickname rendering to a single template
2017-06-26 01:49:50 -04:00
Pavel Djundik
c9f63fc699
Merge pull request #1217 from MaxLeiter/patch-3
...
Fix MOTD underline in Safari
2017-06-24 12:19:14 +03:00
Max Leiter
e76019b82c
Fix MOTD underline in Safari
...
before: https://sr.ht/mdPx.png
after: https://sr.ht/h45R.png
Basically, safari's user agent CSS applies an underline to <abbr> tags, which bootstrap already does as well (but bootstrap doesn't use text-decoration so it's not overriden).
2017-06-23 14:30:08 -07:00
Pavel Djundik
25fefd5e54
Hide link time element on small devices
2017-06-23 20:51:36 +03:00
Jérémie Astori
358852cecb
Merge pull request #1253 from thelounge/xpaw/nick-fade-pos
...
Fix nick fade positioning
2017-06-23 02:02:43 -04:00
Jérémie Astori
96e6ac8111
Merge pull request #1249 from thelounge/xpaw/stylelint-config-standard
...
Use stylelint-config-standard
2017-06-23 01:44:18 -04:00
Pavel Djundik
714580e94a
Fix nick fade positioning
2017-06-22 22:05:13 +03:00
Niko Bews
eb4a4c7dfe
Move nickname rendering to a single template
...
Closes #1241
2017-06-22 13:28:17 +03:00
Pavel Djundik
c1068164f5
Fix stray end tag
2017-06-22 11:34:47 +03:00
Pavel Djundik
138111b16e
Use stylelint-config-standard
2017-06-22 11:23:50 +03:00
Jérémie Astori
0b85582744
Merge pull request #1175 from thelounge/yamanickill/socket-modules
...
Add modules for socket events
2017-06-20 23:42:52 -04:00