Pavel Djundik
aa02fd5180
Enforce more eslint rules
2016-10-09 17:55:37 -04:00
Jérémie Astori
caa46042bf
Enforce strict mode across all JS files with ESLint
...
Several ES6 additions are only available in strict mode. Example:
> SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
Strict mode was also enabled in a few of our files already, and it is a good thing to have anyway.
2016-10-09 15:14:02 -04:00
Pavel Djundik
024369d4c3
Implement our own /nick command to allow editing nick when not connected
2016-10-01 16:51:35 -04:00
Maxime Poulin
0f439545d4
Fix broken IRC servers with /list
2016-07-22 21:42:42 -04:00
Pavel Djundik
f57328ef5b
Only auto join actual channels
...
Fixes #450
2016-07-03 11:39:29 +03:00
Maxime Poulin
21eafef32d
Don't send completely empty messages
2016-05-25 03:27:25 -04:00
Pavel Djundik
a0010ca9f6
Allow /connect command to work on current network
2016-05-22 10:13:10 +03:00
Pavel Djundik
047a79ead6
Add separate /disconnect command
2016-05-22 10:13:08 +03:00
Jérémie Astori
0599a40df7
Merge pull request #320 from maxpoulin64/fix-space
...
Fix sending messages starting with a space
2016-05-21 13:11:09 -04:00
Pavel Djundik
ac5e96cddf
Update irc-framework
2016-05-12 10:15:37 +03:00
Maxime Poulin
5a3b07a698
Fix sending messages starting with a space
...
There really is no need to trim apart bringing more situations like this. If I want to put spaces in front of my message (say, for alignment purposes), then I should be able to.
Fixes #319
2016-05-10 21:31:42 -04:00
Pavel Djundik
4585583ebc
Save user when parting channels
2016-05-06 19:32:35 +03:00
Jérémie Astori
404bf2c4df
Merge pull request #270 from thelounge/ircv3/echo-message
...
Add support for echo-message and znc.in/self-message caps
2016-04-30 19:37:10 -04:00
Pavel Djundik
84685acdcd
Add support for echo-message cap
2016-04-22 19:38:13 +03:00
Pavel Djundik
6dc807ef07
Create a single helper function to write messages
2016-04-19 13:20:18 +03:00
Pavel Djundik
40a15b2676
Whitelist which commands are allowed while not being connected
2016-04-07 16:08:33 -04:00
Pavel Djundik
16370d8fcc
Add /ctcp command and handle ctcp responses
2016-04-07 16:08:31 -04:00
Maxime Poulin
9cd4c6744c
Support kick message in /kick command
2016-04-07 16:07:40 -04:00
Maxime Poulin
6c5ade3fe3
Fix the /topic command
2016-04-07 16:07:40 -04:00
Pavel Djundik
338116a01e
Prevent opening query windows for CHANTYPES and PREFIX
2016-04-07 16:07:40 -04:00
Pavel Djundik
e0fb454223
Search channel case insensitively
2016-04-07 16:07:37 -04:00
Pavel Djundik
db5fe00b60
A couple of fixes after rebasing and updating framework
2016-04-07 16:06:01 -04:00
Pavel Djundik
2244dda566
Update commands
2016-04-07 16:04:40 -04:00
Pavel Djundik
da425fefaf
Start working on moving to irc-framework
2016-04-07 16:04:28 -04:00
Pavel Djundik
05ec819f2d
Merge pull request #222 from maxpoulin64/fix-part
...
Fix /part command
2016-03-27 01:27:54 +02:00
Maxime Poulin
d5e67d6503
Fix /part command
...
Fixes the /part command closing the wrong window. The current implementation simply passes all arguments to slate, which ended up parting every arguments.
This changes the command to `/part message`, and always parts the current window. This will be fixed further once irc-framework is merged.
2016-03-26 16:13:34 -04:00
Jérémie Astori
fefc6c5132
Disallow /query on non-nicks
2016-03-26 13:18:55 -04:00
Pavel Djundik
7d7c3edcec
Add a query command that simply opens a query window
2016-03-24 22:40:36 +02:00
Jérémie Astori
eadcca0b5e
Merge pull request #208 from thelounge/xpaw/remove-commands
...
Remove join, nick and whois inputs, they are cleanly handled by the server
2016-03-22 02:03:50 -04:00
Pavel Djundik
83021cf0ac
Fix #195 : Support port in connect command
2016-03-20 19:35:20 +02:00
Pavel Djundik
9deb0489f6
Disallow parting from lobbies
2016-03-20 18:34:36 +02:00
Pavel Djundik
52b953c492
Remove join, nick and whois inputs, they are cleanly handled by the server
...
Fixes #201
2016-03-20 16:14:37 +02:00
Jérémie Astori
93a393f10d
Load input plugins at startup and call them directly when a command is received
2016-03-14 00:21:42 -04:00
Pavel Djundik
842b8d620c
Send unknown commands to the server
2016-03-10 10:05:56 +02:00
Pavel Djundik
42a7c54c0a
Fix #153 : Do not intercept service commands
2016-03-09 17:40:57 +02:00
Pavel Djundik
357e238a45
Fix how highlights are handled
2016-02-28 01:30:20 +02:00
Alistair McKinlay
b2625aebae
Merge pull request #38 from xPaw/lodash
...
Update lodash
2016-02-21 15:31:44 +00:00
Jérémie Astori
eb794ab080
Add a simplified way to invite a user in the current channel
2016-02-20 16:32:41 +00:00
Pavel Djundik
19bc4f37e0
Update lodash
2016-02-19 15:13:53 +02:00
Pavel Djundik
937126a43e
Fix #30 : Close channel on the client as soon as close event is registered
2016-02-14 12:08:38 +02:00
Pavel Djundik
bb98be475a
Render user actions separately
2016-01-24 16:59:13 +02:00
Pavel Djundik
06ce48c565
Render user actions separately
2016-01-17 23:18:43 +02:00
William Boman
8fdfd70c7e
Comply with ESLint
2015-10-26 03:01:47 +01:00
Mattias Erming
9b03be22b2
Added service shortcuts
2014-12-11 23:34:22 +01:00
Mattias Erming
152395d303
Remember network and channels
2014-10-12 01:59:01 +02:00
Kerry Peterson
6ed1a70f1c
Added custom quit message functionality. Resolves erming/shout#71
2014-09-16 19:46:14 -06:00
Mattias Erming
41027adc69
Normalize line endings
2014-09-13 14:29:45 -07:00
Mattias Erming
43e74d2908
Fix query windows
2014-09-09 14:28:01 -07:00
Mattias Erming
c66fab06a4
Allow commands on connect
2014-09-09 12:31:23 -07:00
Mattias Erming
5594d49d11
Fix broken queries
2014-08-27 07:34:03 -07:00