Commit Graph

2625 Commits

Author SHA1 Message Date
dgw
09cd9ce33a Abort img prefetch if Content-Length exceeds limit
If the Content-Length header is present in the response when an image
is prefetched, The Lounge can avoid wasting bandwidth (both for itself
and for the image's host) if the value of the header exceeds the
prefetch size limit by aborting the request immediately.
2017-09-25 05:31:21 -05:00
Pavel Djundik
9e008a76b7 Merge pull request #1527 from dgw/kick-modes
Display correct kick modes
2017-09-14 10:46:35 +03:00
dgw
e4c6d78762 Display correct kick modes
Defining both the kicker and the target before any code touches the
channel user list ensures that everything is passed to the template.
2017-09-14 02:39:00 -05:00
Al McKinlay
676cc01203 Merge pull request #1518 from thelounge/xpaw/cleanup-jquery
Remove unnecessary end() calls
2017-09-14 07:25:55 +01:00
Al McKinlay
171449c81e Merge pull request #1519 from thelounge/xpaw/fix-show-more-when-empty
Fix requesting last messages when no message id is known
2017-09-14 07:25:17 +01:00
Al McKinlay
f2fb05e7c9 Merge pull request #1526 from thelounge/astorije/rm-clear
Get rid of `/clear` command and keybind
2017-09-14 07:23:36 +01:00
Pavel Djundik
4431616822 Merge pull request #1476 from eliemichel/pr-part-other
Take an optional argument in /part
2017-09-14 09:20:44 +03:00
Élie Michel
f26c2dad0f
Take an optional argument in /part
Fix #1430
2017-09-13 20:24:45 -04:00
Jérémie Astori
92f8c2bfef
Get rid of /clear command and keybind
Since the introduction of infinite scrolling, `/clear` is now broken. As far as I can tell, there is no way to reproduce something decent (and working!) without drastically changing its behavior from "hide the messages in current channel" to "permanently destroy all messages in memory in the current channel", which is not a great change to introduce sneakily 😂.

The code for this was very trivial, so removing it now until there is a better way to do so, if this is ever possible.

Also, `/clear` was not even autocompleted, sooo...
2017-09-13 20:06:03 -04:00
Jérémie Astori
376e7a60fb Merge pull request #1524 from thelounge/astorije/fix-hover
Fix hovering condensed messages
2017-09-13 01:53:12 -04:00
Jérémie Astori
c63dfc66b3 Merge pull request #1521 from thelounge/greenkeeper/fs-extra-4.0.2
Update fs-extra to the latest version 🚀
2017-09-13 01:47:39 -04:00
Jérémie Astori
6d08b8d087
Fix hovering condensed messages 2017-09-13 01:36:11 -04:00
greenkeeper[bot]
0e40d7f82f fix(package): update fs-extra to version 4.0.2 2017-09-12 23:08:50 +00:00
Pavel Djundik
14cac93e10 Fix requesting last messages when no message id is known
Fixes #1460
2017-09-12 16:05:40 +03:00
Pavel Djundik
712bdafd9e Remove unnecessary end() calls 2017-09-12 15:52:16 +03:00
Pavel Djundik
15b922595f Merge pull request #1515 from thelounge/greenkeeper/mocha-3.5.3
Update mocha to the latest version 🚀
2017-09-12 15:25:23 +03:00
Pavel Djundik
103b315ccf Merge pull request #1516 from thelounge/greenkeeper/web-push-3.2.3
Update web-push to the latest version 🚀
2017-09-12 15:25:11 +03:00
greenkeeper[bot]
519b5de4ef fix(package): update web-push to version 3.2.3 2017-09-12 01:27:40 +00:00
greenkeeper[bot]
b2a3b3c0f3 chore(package): update mocha to version 3.5.3 2017-09-11 22:04:51 +00:00
Pavel Djundik
bc9faa733a Merge pull request #1514 from thelounge/greenkeeper/mocha-3.5.2
Update mocha to the latest version 🚀
2017-09-11 21:39:15 +03:00
Pavel Djundik
8de7f44b98 Merge pull request #1500 from thelounge/xpaw/even-more-modules
Move even more code out of lounge.js
2017-09-11 21:38:56 +03:00
Pavel Djundik
17127e9fc2 Move keybinds to another file 2017-09-11 20:48:35 +03:00
Pavel Djundik
41b9ffb5e7 Move 'show more' to same event file 2017-09-11 20:48:35 +03:00
Pavel Djundik
17af195994 Move message notification code to msg file 2017-09-11 20:48:35 +03:00
greenkeeper[bot]
c3f141f82e chore(package): update mocha to version 3.5.2 2017-09-10 22:07:29 +00:00
Jérémie Astori
2d61c018b0 Merge pull request #1513 from thelounge/greenkeeper/mocha-3.5.1
Update mocha to the latest version 🚀
2017-09-10 14:20:25 -04:00
greenkeeper[bot]
2a510c38a2 chore(package): update mocha to version 3.5.1 2017-09-10 05:54:46 +00:00
Jérémie Astori
a44eea61a1 Merge pull request #1512 from thelounge/xpaw/fix-black-previews
Fix image viewer turning black sometimes
2017-09-09 12:45:08 -04:00
Pavel Djundik
67da82c151 Fix image viewer turning black sometimes 2017-09-09 18:46:49 +03:00
Jérémie Astori
9d7d5a110c Merge pull request #1509 from thelounge/astorije/fix-expand-preview
Fix `/expand` command also expanding condensed status messages
2017-09-09 10:47:57 -04:00
Jérémie Astori
d82f4007ec
Fix /expand command also expanding condensed status messages 2017-09-07 19:50:00 -04:00
Pavel Djundik
3b049f174c Merge pull request #1507 from thelounge/greenkeeper/webpack-3.5.6
Update webpack to the latest version 🚀
2017-09-07 08:29:15 +03:00
Jérémie Astori
4d8fae1ab8 Merge pull request #1508 from thelounge/xpaw/msg-preview-idle
Render link previews in browser idle event
2017-09-06 19:34:23 -04:00
Pavel Djundik
c81a74a20c Render link previews in browser idle event
Fixes #1504
2017-09-06 22:03:56 +03:00
greenkeeper[bot]
86289f0a6e chore(package): update webpack to version 3.5.6 2017-09-06 16:08:19 +00:00
Pavel Djundik
9a981a526e Merge pull request #1505 from thelounge/greenkeeper/nyc-11.2.1
Update nyc to the latest version 🚀
2017-09-06 19:07:22 +03:00
greenkeeper[bot]
8304f5da81 chore(package): update nyc to version 11.2.1 2017-09-06 06:33:07 +00:00
Jérémie Astori
87d6918358 Merge pull request #1495 from thelounge/xpaw/only-order-autocomplete-on-msg
Only change nick autocompletion when receiving a message
2017-09-05 19:50:08 -04:00
Pavel Djundik
65e4e386da Merge pull request #1499 from thelounge/greenkeeper/stylelint-8.1.1
chore(package): update stylelint to version 8.1.1
2017-09-05 18:36:21 +03:00
Pavel Djundik
e2a122c3ca Only change nick autocompletion when receiving a message
And other minor optimizations and fixes
2017-09-05 18:28:01 +03:00
Al McKinlay
3d2d8495f5 Merge pull request #1498 from thelounge/greenkeeper/nyc-11.2.0
Update nyc to the latest version
2017-09-05 16:17:45 +01:00
greenkeeper[bot]
07de177b0e chore(package): update stylelint to version 8.1.1
Closes #1494
2017-09-05 11:45:00 +00:00
Al McKinlay
845db70969 Merge pull request #1496 from MaxLeiter/commands
Add /list to autocomplete
2017-09-05 10:15:11 +01:00
greenkeeper[bot]
f885ce456e chore(package): update nyc to version 11.2.0 2017-09-05 05:29:05 +00:00
Max Leiter
d80efdfe23 Add /list to autocomplete 2017-09-04 15:33:33 -07:00
Pavel Djundik
6b1be79026 Merge pull request #1493 from thelounge/greenkeeper/eslint-4.6.1
Update eslint to the latest version 🚀
2017-09-04 09:06:16 +03:00
Pavel Djundik
099fb058c6 Merge pull request #1478 from eliemichel/pr-proper-ldap--rebased
Implement a proper LDAP authentication process
2017-09-04 09:02:58 +03:00
greenkeeper[bot]
477736a231 chore(package): update eslint to version 4.6.1 2017-09-03 21:53:07 +00:00
Elie Michel
32e1a36980 Generalize auth plugin fallback mechanism
@astorije this is for you ;)
https://github.com/thelounge/lounge/pull/1478#discussion_r136492534
2017-09-03 23:00:25 +02:00
Elie Michel
435e14669b Change string formatting style 2017-09-03 23:00:25 +02:00