1
0
mirror of https://github.com/deavmi/birchwood synced 2024-09-20 11:43:22 +02:00
Commit Graph

345 Commits

Author SHA1 Message Date
9070bf4573 Client
- Switched to `ReplyType.RPL_USPPORT`
2023-03-16 12:59:52 +02:00
c51d7f402f Merge branch 'master' into ircv3 2023-03-16 12:59:30 +02:00
49500580c6
Merge pull request #17 from deavmi/rfc2812
Rfc2812
2023-03-16 12:58:08 +02:00
d21229b899 Constants
- Typo fix
2023-03-16 12:56:28 +02:00
5782b84c5d Constants
- `005` is now `RPL_ISUPPORT` in ircv3 and not `RPL_BOUNCE` as in rf2812
2023-03-16 12:56:14 +02:00
2c25a20ffb Merge branch 'master' into rfc2812 2023-03-16 12:44:34 +02:00
e0f1f1f841 Merge branch 'master' into ircv3 2023-03-16 12:44:26 +02:00
d10ff8e7a2
Merge pull request #14 from deavmi/ping_pong_fix
Fix PING detection
2023-03-16 12:41:45 +02:00
f3b5246a1c Merge branch 'master' into ping_pong_fix 2023-03-16 08:41:13 +02:00
246e3d1474 Merge branch 'master' into ircv3 2023-03-16 08:40:19 +02:00
9ff29d177d Merge branch 'master' into rfc2812 2023-03-16 08:39:41 +02:00
9cc40938ee Receiver
- Added documentation for `rq`

Sender

- Added documentation for `sq`
2023-03-16 08:38:47 +02:00
d2acd08a98 Client
- Removed commented-out code
2023-03-16 08:37:04 +02:00
a0acaccdec Merge branch 'master' into rfc2812 2023-03-16 08:35:12 +02:00
93fecfaad5 Client
- Removed now-completed TODO
- Implemented `joinChannel(string[])`

Unit tests

- Use BNET test server
- Added test calls to `joinChannel(string[])`
2023-03-16 08:26:03 +02:00
66c3a02d6e Client
- Added missing documentation for `onDirectMessage`, `onChannelMessage`, `onGenericCommand` and `onCommandReply`
2023-03-16 08:17:56 +02:00
087eb954d1 Client
- Print out `RPL_BOUNCE` when it appears
2023-03-16 08:05:34 +02:00
66cd409234 Package (protocol)
- Make `ReplyType` available
2023-03-15 21:29:07 +02:00
3393b60993 Client
- Switch to BNET test server
2023-03-15 21:27:01 +02:00
d66bec5fa6 Client
- Switch back to BNET test server
2023-03-15 21:26:07 +02:00
09e8d2e1b7 Merge branch 'master' into rfc2812 2023-03-15 21:19:46 +02:00
57ce756120 Constants
- Added `ERR_NOCHANMODES`
2023-03-15 20:50:03 +02:00
454dc86e66 Constants
- Added `RPL_GLOBALUSERS` and `RPL_WHOISCERTFP`
2023-03-15 20:47:37 +02:00
3b0136d725 Constants
- Added `RPL_LOCALUSERS`
2023-03-15 20:43:09 +02:00
1f7e3a96af Constants
- Segmented into sections based on rfc
- Added a few new constants from RFC2812
- `RPL_BOUNCE` (`005`) is a numeric response to note as it has key-value pairs associated with it
2023-03-15 20:34:36 +02:00
7c8208182f Client
- Added TODOs for comments
2023-03-15 20:24:05 +02:00
672b8fee64 Client
- Added some TODOs for comments
2023-03-15 20:23:30 +02:00
681dfc042c Client
- Added TODO where response code handling needs to go
2023-03-15 20:07:10 +02:00
supremestdoggo
1fe990ac36 Minor edits 2023-03-15 12:43:10 -04:00
supremestdoggo
93ada2077b Change color functions 2023-03-15 12:33:31 -04:00
supremestdoggo
937494bfb0 Move formatting.d and add formatting functions 2023-03-15 12:26:12 -04:00
supremestdoggo
e785fbf8b6
Merge branch 'deavmi:master' into master 2023-03-15 12:16:44 -04:00
2a50c8efbb Unit tests
- Switch back to my IPv6-only server for testing
2023-03-15 17:15:25 +02:00
a42d913236 Receiver
- Parse all messages into a `Message` array (`SList`)
- If a PING is found then we put it aside and check if we have one and then reply
- The PING is removed and all normal messages remain and then get EVenty events triggered for them for `IRCEvent`
2023-03-15 17:13:30 +02:00
512eff727b Client
- Use freenode to test with for a little
2023-03-15 16:57:52 +02:00
f0ae335419 Receiver
- Documented a bug with the PING detection (#13)
2023-03-15 16:51:46 +02:00
44cce182ae ConnectionInfo
- Set default `fakeLag` to `1`
- Added `getFakeLag()` and `setFakeLag()`

Client

- Added `getConnInfo()` to return the client's associated `ConnectionInfo`

Sender

- Use the fakelag configured by user
2023-03-15 16:32:49 +02:00
044625194d Client
- Updated unittests to not use `command(Message)`
2023-03-15 08:56:56 +02:00
a00294989d Client
- Unittest now uses IPv6 accessible IRC server
- Placed any unittest-related imports into a `version(unittest) { ... }` block
2023-03-15 08:53:51 +02:00
9f6ab528c2 Client
- Updated header documentation for `sendMessage(Message)`
2023-03-15 08:47:40 +02:00
e4e1aaf0f4 Unit tests
- Updated unit test with some TODOs
2023-03-15 08:46:38 +02:00
75155795fa Client
- Updated `command(Message)` to use `sendMessage(Message)`
- Updated the `PongSignal` event handler to use `sendMessage(Message)` when sending the pong back
- Make `quit()` use the new `sendMessage(Message)`
- Disabled old `sendMessage(string)`
2023-03-15 08:43:45 +02:00
2b25f4933a Client
- Both variants of `channelMessage(..., ...)` now use `sendMessage(Message)`
2023-03-15 08:39:38 +02:00
52dbd12a24 Client
- `directMessage(string, string[])` now uses `sendMessage(Message)`
- `directMessage(string, string)` now uses `sendMessage(Message)`
2023-03-15 08:36:39 +02:00
4690c5a6c3 Client
- Updated `joinChannel(string)` to use `sendMessage(Message)`
- Added TODO relating to implementing `joinChannels(string[])`
- `leaveChannel(string[])` now uses the new `sendMessage(Message)`
- `leaveChannel(string)` now uses the new `sendMessage(Message)`
2023-03-15 08:32:14 +02:00
11dbd1a96f Client
- Fixed compilation error by adding missing `encodeMessage(string)` call
- If the encoded message (CRLF included) is over 512 bytes then throw an exception

Exceptions

- Added new `ErrorType` enum member
2023-03-15 08:24:56 +02:00
256369abc5 Client
- Implememted `sendMessage(Message)`
2023-03-15 08:19:07 +02:00
12883f93db Client
- Added a TODO
- Removed now-completed TODO
2023-03-14 23:58:22 +02:00
1f1796930d Messages
- Removed implicit `static`
- Added documentation to `ubyte[] encodeMessage(string)`
2023-03-14 23:57:40 +02:00
f4a2a75094 Formatting
- Added module `formatting` to hold formatting subroutines and constants

Package

- Publically import `birchwood.protocol.formatting`
2023-03-14 23:30:19 +02:00