Commit Graph

2444 Commits

Author SHA1 Message Date
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
greenkeeper[bot]
50dc3cd01a chore(package): update chai to version 4.1.0 2017-07-12 00:40:14 +00:00
greenkeeper[bot]
20e4368865 chore(package): update webpack to version 3.2.0 2017-07-11 20:31:33 +00:00
Jérémie Astori
a8643ea5af Merge pull request #1321 from thelounge/greenkeeper/jquery-textcomplete-1.8.2
Update jquery-textcomplete to the latest version 🚀
2017-07-11 09:13:40 -04:00
Jérémie Astori
fb703004b1 Merge pull request #1320 from thelounge/greenkeeper/stylelint-7.13.0
Update stylelint to the latest version 🚀
2017-07-11 01:28:42 -04:00
greenkeeper[bot]
df883c509e chore(package): update jquery-textcomplete to version 1.8.2 2017-07-11 01:20:56 +00:00
greenkeeper[bot]
35c9e88c86 chore(package): update stylelint to version 7.13.0 2017-07-10 21:33:08 +00: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
841d3cd29e Merge pull request #1315 from thelounge/greenkeeper/eslint-4.2.0
Update eslint to the latest version
2017-07-09 15:21:39 +01: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
Al McKinlay
865900111d Merge pull request #1314 from thelounge/astorije/fix-missing-transitions
Fix missing transitions
2017-07-09 15:17:35 +01:00
Al McKinlay
590a63ae31 Merge pull request #1306 from thelounge/xpaw/remove-prettify
Remove hostname prettifier
2017-07-09 15:03:08 +01:00
greenkeeper[bot]
fabfaa4cbb chore(package): update eslint to version 4.2.0 2017-07-09 02:27:31 +00: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
c2f2c69e91 Merge pull request #1312 from thelounge/astorije/bump-express-socket.io
Bump express and socket.io to their latest patch versions
2017-07-08 03:53:31 -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
1af06eab4c Merge pull request #1310 from thelounge/astorije/reword-previews-settings
Reword link preview settings to better match reality
2017-07-07 19:35:44 -04:00
Jérémie Astori
82cba0b06f
Bump express and socket.io to their latest patch versions
Greenkeeper missed express because of their odd RC releases, and we are still stuck trying to bump socket.io to their v2
2017-07-07 19:24:06 -04:00
Pavel Djundik
336cc6f44b Merge pull request #1308 from thelounge/greenkeeper/webpack-3.1.0
Update webpack to the latest version 🚀
2017-07-07 14:14:26 +03: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