Commit Graph

4853 Commits

Author SHA1 Message Date
Pavel Djundik
2ea57a4133 Merge pull request #1538 from thelounge/astorije/eslint-console
Enable `no-console` and `no-alert` ESLint rules
2017-09-18 13:06:44 +03:00
Jérémie Astori
aa377ee59b
Switch Font Awesome build script to use our logger 2017-09-17 22:20:20 -04:00
Jérémie Astori
82c4898715
Use explicit keywords instead of cryptic codes in ESLint config
Bikeshedding at its best, isn't it?
2017-09-17 22:04:29 -04:00
Jérémie Astori
64cc4927b3
Make sure we never ship with JS alerts by accident 2017-09-17 21:50:41 -04:00
Jérémie Astori
b8399471b3
Enable ESLint no-console rule to avoid future mistakes 2017-09-17 21:50:21 -04:00
Jérémie Astori
2e2e201784 Merge pull request #1266 from thelounge/yamanickill/1228-theme-management
Allow themes from npm
2017-09-17 20:05:59 -04:00
Alistair McKinlay
59d2f93f61
Allow themes from npm 2017-09-17 19:47:29 -04:00
Jérémie Astori
90cb79ac91 Merge pull request #845 from MaxLeiter/MaxLeiter/away-notify
Use away-notify to show updates on users away state
2017-09-17 14:45:27 -04:00
Max Leiter
163cfaba3c Use away-notify to show user away status change 2017-09-17 11:16:48 -07:00
Jérémie Astori
4f38bc9077 Merge pull request #1535 from thelounge/astorije/fix-master
Fix references to undefined `this`
2017-09-17 02:57:43 -04:00
Jérémie Astori
cb1b6db14e
Fix references to undefined this 2017-09-17 02:24:54 -04:00
Al McKinlay
948f304bb9 Merge pull request #1511 from thelounge/xpaw/checkered-background
Checkered background for transparent images in image viewer
2017-09-16 20:53:13 +01:00
Al McKinlay
ec6307d55f Merge pull request #1517 from thelounge/xpaw/move-unread-in-history
Move unread marker when loading more history
2017-09-16 20:51:55 +01:00
Al McKinlay
aace1aab05 Merge pull request #1528 from thelounge/xpaw/move-log-function
Move user log function where it belongs
2017-09-16 20:50:06 +01:00
Pavel Djundik
59a5f6237c Merge pull request #1532 from thelounge/greenkeeper/eslint-4.7.0
Update eslint to the latest version 🚀
2017-09-16 10:32:42 +03:00
Jérémie Astori
3bf6ba5802 Merge pull request #1531 from thelounge/greenkeeper/webpack-3.6.0
Update webpack to the latest version 🚀
2017-09-16 02:47:26 -04:00
greenkeeper[bot]
90d6916b10 chore(package): update eslint to version 4.7.0 2017-09-15 20:57:02 +00:00
greenkeeper[bot]
474fbc0a9c chore(package): update webpack to version 3.6.0 2017-09-15 09:06:48 +00:00
Max Leiter
c4ebd141c5 Add anchor tag to URL to signify open page for reloading 2017-09-14 13:25:20 -07:00
Pavel Djundik
9e008a76b7 Merge pull request #1527 from dgw/kick-modes
Display correct kick modes
2017-09-14 10:46:35 +03:00
Pavel Djundik
17dd18a605 Write correct timestamp to user log 2017-09-14 10:42:21 +03:00
Pavel Djundik
79eb83d82f Move userLog function where it belongs
Fixes #438
2017-09-14 10:41:50 +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
ssstratos
6708261368 Add touch-action to more elements
- Add touch-action: pan-y to .container, .networks, .sidebar, #form
#input
- Add touch-action: none to body
2017-09-14 01:04:03 +03: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
ssstratos
32da456c84 Add touch-action to Messages, Sidebar and User list
This commit fixes #1035
2017-09-12 23:50:31 +03: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
706943af26 Move unread marker when loading more history
Fixes #835
2017-09-12 15:40:26 +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
a921d7bf04
[Squash me] Fix bug refusing to switch channel when clicking back after closing image viewer 2017-09-10 15:00:27 -04:00
Jérémie Astori
b33ea0f567
Squash me when ready 2017-09-10 14:28:00 -04:00