Commit Graph

60 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire a42ae467c0 Client
- Renamed `authenticate(string username, string password)` to `authenticate_impl(string username, string password)`
- Implemented `authenticate(string username, string password)` (Still a work-in-progress)

Client (unitests)

- Updated unittest for auth testing
- Authenticate before sending a message
2023-11-23 09:28:31 +02:00
Tristan B. Velloza Kildaire 3b0b1d8466 Client
- Set the from field in the message sent (such that server validation passes)
- Updates `sendMessage_imp(...)`
2023-11-22 10:44:48 +02:00
Tristan B. Velloza Kildaire 5f5fb841ae Client
- Working on adding support for sending of messages
2023-11-21 14:11:43 +02:00
Tristan B. Velloza Kildaire 1a9a992fb6 Client
- Implemented `sendMessage_imp(string[] recipients, string message)`
2023-11-20 20:55:19 +02:00
Tristan B. Velloza Kildaire b465585e91 Client (unittest)
- Added try-and-catch

Client

- Fixed error handling in `joinChannel(string)`
2023-11-18 11:42:35 +02:00
Tristan B. Velloza Kildaire 4ad56763d8 Client
- Added `joinChannel_imp(string channelName)` which performs the joining of a channel and returns a `Future`
- Added `joinChannel(string channelName)` which is a neat wrapper around the above
- `enumerateChannels(ulong offset, ubyte limit)` now handles incorrect replies by throwing a `ProtocolException` on wrong reply type

Client (unittests)

- Added a unit test for `joinChannel(string channelName)`
2023-11-18 11:13:20 +02:00
Tristan B. Velloza Kildaire 455bd6fa06 Tings
- Added some testing mixin template
2023-11-18 11:11:54 +02:00
Tristan B. Velloza Kildaire 0d5b7c42e4 Exceptions
- Added `DanteException`
- Added `ProtocolException`
- Added `CommandException`
2023-11-18 11:11:37 +02:00
Tristan B. Velloza Kildaire 8040bde4e9 Dub
- Added `niknaks` dependency

Client (unittests)

- Use `dumpArray`
2023-11-10 18:24:11 +02:00
Tristan B. Velloza Kildaire 3479d380c3 Client
- Added authentication command support
- Added channel enumeration support
- Added some helper methods for the channel enumeration support

Client (unittests)

- Added unittests for the above
2023-11-10 15:26:03 +02:00
Tristan B. Velloza Kildaire 7f467b5385 Dub
- USe at least version `0.1.11` of `davinci`
2023-11-10 12:48:41 +02:00
Tristan B. Velloza Kildaire 8f8917c55e Dub
- Use `~master`
2023-11-09 23:03:51 +02:00
Tristan B. Velloza Kildaire e410dbf8e1 Client
- Fixed `makeRequest(...)` runtime issue
2023-11-09 23:03:48 +02:00
Tristan B. Velloza Kildaire 6d5444d7ac Revert "Dub"
This reverts commit de631bab52.
2023-11-09 21:31:52 +02:00
Tristan B. Velloza Kildaire de631bab52 Dub
- Use `~master`
2023-11-09 21:23:42 +02:00
Tristan B. Velloza Kildaire 88b36b5e1e Client
- Fixed typo
2023-10-02 22:27:54 +02:00
Tristan B. Velloza Kildaire 7b10478a36 Client
- `makeRequest(BaseMessage request, Queue responseQueue, bool releaseAfterUse = false)` now will only deregister the queue if requested
- `makeRequest(BaseMessage request)` now requests queuew deregistration
2023-10-02 22:22:50 +02:00
Tristan B. Velloza Kildaire d6d9b40d41 Client
- We nwo release the queue passed to `makeRequest(BaseMessage request, Queue responseQueue)`
2023-10-02 22:20:23 +02:00
Tristan B. Velloza Kildaire d0c0c4a7ed Client
- Use the queue-registration-less `makeRequest(BaseMessage)` in `nopRequest()`
2023-10-02 22:04:42 +02:00
Tristan B. Velloza Kildaire 9406422a92 Client
- Added a note about resource-leak easily fixable
2023-10-02 22:04:04 +02:00
Tristan B. Velloza Kildaire 3c0d82fd85 Client
- Compilation error fix
2023-10-02 22:03:05 +02:00
Tristan B. Velloza Kildaire c3b90192e6 Client
- Added `makeRequest(BaseMessage request)`
2023-10-02 22:02:44 +02:00
Tristan B. Velloza Kildaire 5704397b74 Client
- Removed duplicate semicolons
2023-10-02 22:00:18 +02:00
Tristan B. Velloza Kildaire dd12a719d5 Client
- Removed now-completed TODOs
2023-10-02 21:59:50 +02:00
Tristan B. Velloza Kildaire 113e793111 Client
- Added `makeRequest(BaseMessage request, Queue responseQueue)`
2023-10-02 21:59:12 +02:00
Tristan B. Velloza Kildaire 8bdaec9ded Dub
- Actually, updated `davinci`
2023-10-02 21:47:12 +02:00
Tristan B. Velloza Kildaire aa2a0e3107 Client
- Testing out setting of fields with `nopRequest()`

Dub

- Update `davinci`
2023-10-02 21:47:03 +02:00
Tristan B. Velloza Kildaire 0df1de7b60 Client
- Upgraded to `NopMessage` naming

Dub

- Updated `davinci`
2023-10-02 20:43:16 +02:00
Tristan B. Velloza Kildaire 177c8081e4 Client
- Attack and start a `Sequential` provider to the `Executor` in constructor
- Added `stop()` method which stops the tristanable manager and the provider associated with the executor

Client (unit tests)

- Hoist result from future
- Stop client at end
- Removed while loop
2023-10-01 22:43:22 +02:00
Tristan B. Velloza Kildaire d0e920c347 Client
- `nopRequest()` now returns a future

Client (unittests)

- Added a test using `nopRequest()` (doesn't do much now as server never replies)
2023-10-01 22:24:39 +02:00
Tristan B. Velloza Kildaire 00646cb9ee Client
- `nopRequest()` now registers a tristanable queue, then creates a delegate which sends the message and waits on said queue, we submit this delegate to the guillotine executor
2023-10-01 21:49:06 +02:00
Tristan B. Velloza Kildaire 8fecd9409b Dub
- Require at minimum `guillotine`version `0.2.1-alpha`
2023-10-01 21:47:54 +02:00
Tristan B. Velloza Kildaire d6ea346887 Nop
- Removed

Client

- Encode within the `nopRequest()` method
2023-10-01 21:20:38 +02:00
Tristan B. Velloza Kildaire 61760a0719 Client
- Switched to guillotine
2023-10-01 21:19:16 +02:00
Tristan B. Velloza Kildaire 9227113608 Nop
- Removed any reference to `tasky`
2023-10-01 21:19:06 +02:00
Tristan B. Velloza Kildaire ee93a504e2 DUb
- Require `guillotine` `0.2.0-alpha` at bare minimum
2023-10-01 21:13:37 +02:00
Tristan B. Velloza Kildaire 53d343283f Dub
- Removed `tasky` dependency
2023-10-01 21:08:31 +02:00
Tristan B. Velloza Kildaire a1ea4bdf30 Dub
- Require a minimum of `river` `0.3.7`
- Require minimum of gogga `2.1.18`
2023-10-01 21:08:09 +02:00
Tristan B. Velloza Kildaire ff234952ee Dub
- Require `tristanable` version `4.0.0-beta` at minimum
2023-10-01 21:05:42 +02:00
Tristan B. Velloza Kildaire 9600aecb07 - Fixed build issues 2023-05-06 00:04:16 +02:00
Tristan B. Velloza Kildaire a698fdae57 - Upgraded `davinci` to version `0.1.2` 2023-05-06 00:01:43 +02:00
Tristan B. Velloza Kildaire ba264b6a6c - Require at minimum version `0.1.1` of `davinci` 2023-05-05 23:57:09 +02:00
Tristan B. Velloza Kildaire 48efccca2d - I put the new forgis on the jeep 2023-05-05 10:02:21 +02:00
Tristan B. Velloza Kildaire 91a76dc826 - Fixed compilation issue 2023-05-05 09:56:44 +02:00
Tristan B. Velloza Kildaire 90b92bdb5d - Fixed version requirements for dependency `davinci` 2023-05-04 20:09:09 +02:00
Tristan B. Velloza Kildaire 7d5341cda9 - Upgraded to davinci `v0.0.4`
- Made `NopRequest` encode a davinci-based message
2023-05-04 19:37:45 +02:00
Tristan B. Velloza Kildaire b7f90122dd Nop
- Added a new message type `Nop`

Client

- Added a `nopRequest()` to generate a `NopRequest` for testing
2023-05-04 15:46:26 +02:00
Tristan B. Velloza Kildaire 27a0404b84 - Added a debug system 2023-05-04 15:12:27 +02:00
Tristan B. Velloza Kildaire 4e5781a020 DanteClient
- Removed testing code
2023-05-04 15:08:53 +02:00
Tristan B. Velloza Kildaire 35345460fb - Publically import `dante.client` 2023-05-04 14:57:14 +02:00