Pavel Djundik
853f67ab40
Synchornize channel state to the client
2019-02-12 12:48:44 +02:00
Pavel Djundik
7e704b2d73
Track channel state to allow removing channels user is not in
2018-02-13 12:30:26 +02:00
Pavel Djundik
0f75c1a138
Change users array to be a Map
2017-11-19 11:35:15 +02:00
Pavel Djundik
74dcc52657
Refactor how user object is sent to the client
2017-11-19 02:46:45 -05:00
Jérémie Astori
1dc92d8934
Enforce dangling commas with ESLint
...
¯\_(ツ)_/¯
2017-11-15 01:35:15 -05:00
Pavel Djundik
feb7d9d4bb
Fix #1692 when kicker is server
2017-11-08 23:10:17 +02: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
Pavel Djundik
48d367e379
Use findUser
2017-07-21 11:05:37 +03:00
Pavel Djundik
acf5dd5351
Do not store unnecessary information in user objects
2017-06-01 21:54:46 +03: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
6dc807ef07
Create a single helper function to write messages
2016-04-19 13:20:18 +03:00
Pavel Djundik
e0fb454223
Search channel case insensitively
2016-04-07 16:07:37 -04:00
Pavel Djundik
516ccd965f
Add support for IRCv3 server-time
2016-04-07 16:04:41 -04:00
Pavel Djundik
356851c3f2
Handle kick
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
2c8c84aec5
Move actions to templates
2016-02-23 18:22:41 +02:00
Alistair McKinlay
b2625aebae
Merge pull request #38 from xPaw/lodash
...
Update lodash
2016-02-21 15:31:44 +00:00
Pavel Djundik
19bc4f37e0
Update lodash
2016-02-19 15:13:53 +02:00
Maxime Poulin
5bf205195d
Only update the users list when needed
...
Currently, for join/part/kick/nick/... the server will send an updated list of users and the client will re-render the list entirely. This ends up being a very expensive operation when joined on large channels and causes the client to slow down a lot.
2016-02-17 04:35:55 -05:00
Pavel Djundik
bb98be475a
Render user actions separately
2016-01-24 16:59:13 +02:00
William Boman
8fdfd70c7e
Comply with ESLint
2015-10-26 03:01:47 +01:00
Mattias Erming
b801689eaa
Show user modes in channel
2014-10-04 05:31:45 -07:00
Mattias Erming
66785be200
Fix bugs
2014-09-14 11:49:42 -07:00
Fredrik Pettersen
fabbb43e18
Added boolean flag if message was sent from "me"
...
Your own messages now have a different color, and the possibility of
changing colors etc in css of all things sent by yourself
2014-09-14 19:06:56 +02:00
Mattias Erming
41027adc69
Normalize line endings
2014-09-13 14:29:45 -07:00
Mattias Erming
928220c6c1
Rename lib to src
2014-08-05 00:48:14 -07:00