Sheogorath
b0d5e41bd9
Add ability to send messages to channel
5 years ago
Sheogorath
0251dda8ad
Add sendMsg function to channel class
This function implements sending messages to all users in a channel
while sending the channel name as target to the user's socket.
5 years ago
Jenkins
54ae018c1e
Merge commit 'fd860b54eea4adade9eb1d46b66c507134151d34' into HEAD
5 years ago
Sheogorath
fd860b54ee
Implement channel parting on the channel object
This patch allows the channel to part users from it. This provides the
basics for the future implementation of the PART command.
5 years ago
Sheogorath
e879f3814e
Add real unit tests for channel
Before we tested channel implicitly by running it through the tests on
the server.js. After some learning today, it's time to add an own set of
unit tests to channel.
5 years ago
Jenkins
1346da5a1b
Merge commit 'ba6a424bfe2e20fa2200ed94087e28e85aa0b955' into HEAD
5 years ago
Sheogorath
ba6a424bfe
Implement non-direct messages to users
In order to send channel messages, we need to set a different target
than the user himself. This patch adds a new parameter `to` to the
`sendMsg()` function of the user object and allows to provide a string
as target.
This uses by default the user's nickname as target, which makes the
parameter optional and doesn't break the existing interface.
5 years ago
Jenkins
e68a23ecc3
Merge commit 'b55e1cc810d08a7294642615b4b9a6be4152f47b' into HEAD
5 years ago
Sheogorath
b55e1cc810
Add basic unit test file for users
After learning today that testing the leaves is more important, some
fixing for the unit test coverage towards users. Time to do better.
5 years ago
Sheogorath
b7bc3f3d4c
Remove external grab into the object
This change removes server object interacting with an internal variable
from the user object creation and reduces the amount of code from 3 to 1
line. This also simplifies future testing.
5 years ago
Sheogorath
4ac6e94b60
Remove unused setPassword function
5 years ago
Jenkins
4d08dfe4e3
Merge commit 'a9c6b0d1dc13ea24d58c938de710c52423265dbc' into HEAD
5 years ago
Sheogorath
a9c6b0d1dc
Rework user.sendMsg() to use user.sendRaw()
5 years ago
Jenkins
27ba643205
Merge commit '394384689b7d8467c5b4a96cd187499bebb33d3e' into HEAD
5 years ago
Sheogorath
394384689b
Add ability to join channel with multiple users
Joining channels allone is nice, but defeats the purpose of channels.
This patch adds the ability to join a channel with multiple users.
5 years ago
Sheogorath
233a9aef72
Add concept of channels and allow users to create them
5 years ago
Jenkins
a13bb4368d
Merge commit 'd61f97d0348e08a5123ae8826c5d5a530f17a4a2' into HEAD
5 years ago
wayne
d61f97d034
added: do not expect a error message for successful QUIT commands
5 years ago
Jenkins
5c9fabc9ae
Merge commit 'f816cd1adad6c29df25c97b754bed59c30862206' into HEAD
5 years ago
wayne
f816cd1ada
added test case to not send to unregistered users
5 years ago
Jenkins
d189abba50
Merge commit '6ffedcd74e47cd0c71119200cb5078a41b2e2ef5' into HEAD
5 years ago
Sheogorath
6ffedcd74e
Add test for wrong password
5 years ago
Sheogorath
0768520839
Fix password comand behavior to match real protocol
5 years ago
Jenkins
c8afd9959a
Merge commit 'e9cba7c2a4566139ca4d32a97e8043b87fb1e2fd' into HEAD
5 years ago
Sheogorath
e9cba7c2a4
Add README.md
5 years ago
Jenkins
589d8ce18a
Merge commit '4ef2a6f885ac124e4bd8d086f338eb6079fcb8dc' into HEAD
5 years ago
Sheogorath
4ef2a6f885
Merge branch 'develop' of https://gogs.informatik.hs-fulda.de/sheogorath/ircd-js into feature/index.js
5 years ago
Sheogorath
7cff627c6e
Fix: Add server prefix to indicate server notices
5 years ago
Sheogorath
6888af127b
Fix: Real world messages
IRC is specified to have `\r\n` at the end of each command. If not
messages are not considered complete.
This patch fixes our implementation to answer with real command aka.
things that end with `\r\n`.
5 years ago
Jenkins
933454d2d9
Merge commit '806dee970a4df81cae83ee69c97ce7aba4fd3df7' into HEAD
5 years ago
Sheogorath
806dee970a
Feature: Add index.js that starts the actual server
5 years ago
Jenkins
daf1a1b804
Merge commit '3b00c69e073100ceccec3062446627fb2e8810fc' into HEAD
5 years ago
Wayne
3b00c69e07
added command_pass test + implementation
5 years ago
Jenkins
c5b505a819
Merge commit '8a00bf6cb860bec9ecf0e8318615b2daa71a9db7' into HEAD
5 years ago
Sheogorath
8a00bf6cb8
Extend tests to check multi-user messages
5 years ago
Jenkins
3156da3cc7
Merge commit '1306db1929db7701bb9d99fab2361568201a434a' into HEAD
5 years ago
Wayne
1306db1929
Merge branch 'develop' of https://gogs.informatik.hs-fulda.de/sheogorath/ircd-js into feature/command_quit
# Conflicts:
# src/server.js
# src/user.js
# test/command_quit.js
5 years ago
Jenkins
4f585b68aa
Merge commit '9ea3e9bccfe6edf1a1c9fee3ef628c79f4fd163f' into HEAD
5 years ago
Wayne
9ea3e9bccf
Merge branch 'develop' of https://gogs.informatik.hs-fulda.de/sheogorath/ircd-js into feature/command_quit
# Conflicts:
# src/server.js
# src/user.js
# test/command_quit.js
5 years ago
Wayne
53f75858bb
finished command_quit command tests
5 years ago
Jenkins
125abcbce0
Merge commit 'c249bda7e03ee5a50122a705b6b7a25e53b68256' into HEAD
5 years ago
Sheogorath
c249bda7e0
Feature: Add PRIVMSG command
5 years ago
Wayne
08b3bfaf23
added command_quit command
5 years ago
Jenkins
c5e9d98816
Merge commit '8d7959355998406eaebd6b2e513486e685c1aeb6' into HEAD
5 years ago
Sheogorath
8d79593559
Revert "added realname variable + setter method"
This reverts commit d70ba0584f
.
5 years ago
Sheogorath
2d4c4d3de3
Revert "added command_nick test"
This reverts commit 6e363bc651
.
5 years ago
Wayne
b9d4d6b2f3
added command_quit command
5 years ago
Wayne
6e363bc651
added command_nick test
5 years ago
Wayne
d70ba0584f
added realname variable + setter method
5 years ago
Jenkins
1f4703c4cd
Merge commit '7d02c4d4a56eead8a2b6cc028c3311280b534ae2' into HEAD
5 years ago