Commit Graph

3378 Commits

Author SHA1 Message Date
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
Elie Michel
803cff92c8 Set public to true for websocket tests
A side effect of LDAP auth tests was breaking these other tests,
that should have already forced public instance in their pre-condition.
2017-09-03 23:00:24 +02:00
Elie Michel
00e54e49ac Add tests for LDAP auth plugin 2017-09-03 23:00:24 +02:00
Elie Michel
12ba10f688 Reorganize auth plugins 2017-09-03 23:00:23 +02:00
Élie Michel
cfa6db10c7 Make new LDAP options backward compatible
Also draft some kind of plugin system for auth, although it essentially consists in writing a function
and there is no mechanism to automatically fallback from one auth to another
2017-09-03 23:00:23 +02:00
Jérémie Astori
d7d185d06a Merge pull request #1492 from thelounge/xpaw/simpler-server-error
One line server startup errors
2017-09-03 14:37:03 -04:00
Pavel Djundik
c845d5723d One line server startup errors 2017-09-03 15:13:56 +03:00
Pavel Djundik
704dae9dec Merge pull request #1464 from thelounge/xpaw/clipboard
Format messages on copy
2017-09-03 14:19:21 +03:00
Pavel Djundik
7ee808169d Format messages on copy
Fixes #1146
2017-09-03 11:27:53 +03:00
Pavel Djundik
43c8f6fd96 Merge pull request #1485 from thelounge/xpaw/always-condense
Always create condensed wrapper
2017-09-03 11:26:31 +03:00
Jérémie Astori
f9757786be Merge pull request #1490 from thelounge/astorije/bump-prefetch-limit
Bump default image prefetch limit
2017-09-02 20:31:14 -04:00
Jérémie Astori
d543123095 Bump default image prefetch limit to 2MB 2017-09-02 21:17:46 +03:00
realies
bb1e3ee917 Focus a channel by joining it, refactor user commands #1189 2017-09-02 19:28:36 +03:00
Pavel Djundik
94d40256d9 Always create condensed wrapper 2017-09-02 18:31:47 +03:00
Jérémie Astori
77e9cb65d5 Merge pull request #1318 from thelounge/xpaw/infinite-scroll
Automatically load history when scrolling upwards
2017-09-01 19:45:49 -04:00
Pavel Djundik
e2db8b23a4
Add IntersectionObserver polyfill 2017-09-01 19:38:15 -04:00
Pavel Djundik
838eca8fe5
Fix scrolling issue 2017-09-01 19:33:55 -04:00
Pavel Djundik
629592d641
Implement infinite scroll using IntersectionObserver 2017-09-01 19:33:54 -04:00
Pavel Djundik
72a534f42b
Correctly calculate scroll when loading more history 2017-09-01 19:33:54 -04:00
Jérémie Astori
08fbcd4958 Merge pull request #1487 from thelounge/greenkeeper/handlebars-loader-1.6.0
Update handlebars-loader to the latest version 🚀
2017-09-01 19:15:31 -04:00
Jérémie Astori
f18ba07be6 Merge pull request #1488 from thelounge/xpaw/eslint-semicolons
Enforce semicolon spacing
2017-09-01 19:12:11 -04:00
Pavel Djundik
111453aeaf Enforce semicolon spacing 2017-09-01 21:17:45 +03:00
greenkeeper[bot]
9b19024ba5 chore(package): update handlebars-loader to version 1.6.0 2017-09-01 17:14:54 +00:00
Pavel Djundik
9e1296d303 Merge pull request #1479 from thelounge/xpaw/unix-socket
Add support for binding to unix sockets
2017-09-01 11:25:00 +03:00
Pavel Djundik
f65fb6573b Merge pull request #1481 from MaxLeiter/emoji-title
Change vertical alignment of emoji in topics, fixes #1480
2017-09-01 11:23:39 +03:00
Pavel Djundik
4a6b79d147 Merge pull request #1482 from thelounge/greenkeeper/chai-4.1.2
Update chai to the latest version 🚀
2017-09-01 10:22:53 +03:00
Jérémie Astori
220af0e180 Merge pull request #1449 from dgw/cycle-command
Add /cycle command (a.k.a. /rejoin)
2017-08-31 23:45:54 -04:00
Jérémie Astori
1c1faf2dd9 Merge pull request #1465 from thelounge/astorije/rm-remember-me
Remove the "Stay signed in" checkbox at login
2017-08-31 23:38:59 -04:00
Jérémie Astori
ad8ec4b1e6
Remove the "Stay signed in" checkbox at login
This option is less and less the norm on modern webapps, it is fair to assume this is the default behavior. In fact, we were making it the default.

But more importantly, coming soon is the ability of remotely logging out of your other sessions, which is well handled through token deletion. That means we need to know about said tokens, which are not sent in no-"Stay signed in" version.
2017-08-31 23:07:43 -04:00
greenkeeper[bot]
4381395ca6 chore(package): update chai to version 4.1.2 2017-08-31 22:04:54 +00:00
Max Leiter
05aa5da6e0 Change vertical alignment of emoji in topics, fixes #1480 2017-08-31 13:53:21 -07:00
Pavel Djundik
918b7382b8 Merge pull request #1475 from thelounge/xpaw/condensed-css
Implement condensed messages option entirely with CSS
2017-08-31 22:16:42 +03:00
Pavel Djundik
271948b0fb Merge pull request #1477 from thelounge/xpaw/graceful-quit
Gracefully quit on Ctrl+C
2017-08-31 22:12:08 +03:00
Pavel Djundik
b79a6cce0c Add support for binding to unix sockets
Fixes #686.
Fixes #691.
2017-08-31 21:56:20 +03:00
dgw
bed6053cec Add /cycle command (a.k.a. /rejoin)
Closes #1436
2017-08-31 06:43:32 -05:00
Jérémie Astori
a53169627e Merge pull request #1473 from thelounge/greenkeeper/jquery-textcomplete-1.8.3
Update jquery-textcomplete to the latest version 🚀
2017-08-30 21:00:20 -04:00
greenkeeper[bot]
1e54018f15
chore(package): update jquery-textcomplete to version 1.8.4 2017-08-30 20:52:32 -04:00
Pavel Djundik
0d57df81af Gracefully quit on Ctrl+C
Fixes #268
2017-08-30 20:26:45 +03:00
Pavel Djundik
d814abd1cf Implement condensed messages option entirely with CSS
Fixes #1432
2017-08-30 15:43:31 +03:00
Jérémie Astori
5821247b3d Merge pull request #1472 from thelounge/xpaw/css-escape
Escape channel names in slugify helper correctly
2017-08-29 21:28:10 -04:00
Jérémie Astori
2920f5f24a Merge pull request #1474 from thelounge/xpaw/fix-user-remove
Deleting a user should log them out
2017-08-29 21:27:06 -04:00
Pavel Djundik
05f8bfe906 Deleting a user should log them out
Fixes #916
2017-08-29 15:43:52 +03:00
Pavel Djundik
53ebee195c Escape channel names in slugify helper correctly
Fixes #1172.
2017-08-29 12:38:29 +03:00
Pavel Djundik
d8f2d7fc10 Merge pull request #1452 from thelounge/xpaw/refactor-dates
Completely refactor how date markers are inserted
2017-08-29 11:59:35 +03:00
Élie Michel
19710b90c0 Merge branch 'master' into pr-proper-ldap 2017-08-29 08:42:26 +02:00
Jérémie Astori
c8a78d447a Merge pull request #1466 from thelounge/greenkeeper/npm-run-all-4.1.1
Update npm-run-all to the latest version 🚀
2017-08-28 20:40:57 -04:00
greenkeeper[bot]
0929358b9a chore(package): update npm-run-all to version 4.1.1 2017-08-28 08:33:07 +00:00
Pavel Djundik
99400421ef Completely refactor how date markers are inserted 2017-08-27 11:38:23 +03:00
Al McKinlay
099d9219fd Merge pull request #1457 from thelounge/xpaw/requestIdleCallback
Process chat messages in requestIdleCallback if available
2017-08-26 20:57:15 +01:00