Commit Graph

4367 Commits

Author SHA1 Message Date
Pavel Djundik
7d981d60d8 Recycle existing User objects in names event
This is required to keep lastMessage correct. This will also be useful for the away tracking PR.
2017-07-21 11:05:37 +03:00
Pavel Djundik
48d367e379 Use findUser 2017-07-21 11:05:37 +03:00
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
900d41bf47
Re-use .previews to order incoming previews instead of extra links 2017-07-21 01:51:51 -04:00
Jérémie Astori
1c8ea0b75c
Fix preserved whitespace-related issues for previews by separating them from main text 2017-07-21 01:50:09 -04:00
Jérémie Astori
a13c08a45b
Enforce correct order for previews on server-side prefectch rather than at client parsing
This has the benefit of not adding `.preview` divs everywhere, anytime we use `parse()`, and also to un-tie the position of the preview blocks from the result of the helper. This means that templates that call `parse` and have some extra markup after that are not constrained anymore.

This is effectively an alternative, better way to fix https://github.com/thelounge/lounge/issues/1343, but the initial fix that was put in place (https://github.com/thelounge/lounge/pull/1347) is still relevant, for example to make sure a preview stays hidden (and does not add extra margin/padding/etc.) if the link does not prefetch.
2017-07-21 01:06:42 -04:00
Al McKinlay
d839a9e64a Merge pull request #1319 from MaxLeiter/patch-1
Update README for when to run `npm run build`
2017-07-20 08:56:26 +01:00
Max Leiter
e0d6e11d4c Update README directions on when to npm run build
need to `npm run build` a lot more since webpack was added
2017-07-19 22:28:02 -07:00
Jérémie Astori
4e7eed7958 Merge pull request #1334 from MaxLeiter/MaxLeiter/emoji
Emoji fuzzysearching
2017-07-20 01:20:57 -04:00
Jérémie Astori
9a5f577ae8 Merge pull request #1354 from thelounge/yamanickill/more-index
Change more to use id rather than count.
2017-07-20 01:18:52 -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
Jérémie Astori
03d6f284fb Merge pull request #1330 from MaxLeiter/MaxLeiter/TIME
Add SOURCE CTCP Command
2017-07-19 02:00:50 -04:00
Jérémie Astori
c6dd350a0b Merge pull request #1352 from thelounge/xPaw/kick-target-mode
Fix incorrect mode on kick target
2017-07-18 12:35:53 -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
06d0189237 Merge pull request #1307 from thelounge/xpaw/image-proxy
Store preview images on disk for privacy, security and caching
2017-07-18 11:47:05 +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
ce0e460368 Merge pull request #1325 from thelounge/astorije/image-viewer
An image viewer popup for thumbnails and image previews
2017-07-18 00:09:21 -04:00
Pavel Djundik
8727957710 Merge pull request #1345 from MaxLeiter/patch-3
Update README badge to new demo URL
2017-07-18 01:20:46 +03:00
Max Leiter
2fdd4ab16e Update README badge to new demo URL 2017-07-17 15:17:01 -07:00
Max Leiter
58cf481d86 Add SOURCE CTCP Command 2017-07-17 11:09:20 -07: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
9735f2b7a1 Merge pull request #1340 from thelounge/greenkeeper/stylelint-8.0.0
Update stylelint to the latest version 🚀
2017-07-16 13:06:07 -04:00
greenkeeper[bot]
b7a1700908 chore(package): update stylelint to version 8.0.0 2017-07-16 15:56:58 +03:00
Jérémie Astori
a010973766
Fix some button styling 2017-07-15 12:27:39 -04:00
Pavel Djundik
1ee67abd72 Merge pull request #1338 from thelounge/greenkeeper/webpack-3.3.0
Update webpack to the latest version 🚀
2017-07-15 17:58:13 +03:00
Jérémie Astori
dedb3d0381 Merge pull request #1332 from thelounge/greenkeeper/fs-extra-4.0.0
Update fs-extra to the latest version 🚀
2017-07-15 10:50:21 -04:00
greenkeeper[bot]
bcf11eca55 chore(package): update webpack to version 3.3.0 2017-07-15 14:07:12 +00:00
Pavel Djundik
265673674d Merge pull request #1326 from MaxLeiter/MaxLeiter/readme-image-update
Update screenshot in README
2017-07-15 12:12:17 +03: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
Pavel Djundik
244d0f84f8 Merge pull request #1335 from thelounge/astorije/fix-morning-toggle
Fix preview toggle button background on Morning
2017-07-15 11:42:52 +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
greenkeeper[bot]
48bae15939 fix(package): update fs-extra to version 4.0.0 2017-07-14 17:53:45 +00:00
Pavel Djundik
43f1b6b627 Remove X-UA-Compatible
Ref: https://stackoverflow.com/a/26348511/2200891
2017-07-14 12:18:01 +03:00
Max Leiter
0b68b07e3b Update screenshot in README 2017-07-12 15:47:13 -07:00
Pavel Djundik
6823fc2c29 Merge pull request #1323 from thelounge/greenkeeper/chai-4.1.0
Update chai to the latest version 🚀
2017-07-12 11:10:54 +03:00
Pavel Djundik
a3d81adbd2 Merge pull request #1322 from thelounge/greenkeeper/webpack-3.2.0
Update webpack to the latest version 🚀
2017-07-12 11:10:45 +03:00
Jérémie Astori
2e3101547e Merge pull request #1324 from thelounge/astorije/fix-zenburn-previews
Fix background of toggle button and margin glitch of toggle body on Zenburn
2017-07-12 03:51:22 -04: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