Commit Graph

202 Commits

Author SHA1 Message Date
Tristan B. Kildaire d00d4fea19 Added stub funciton, `sanityCheck`, to perform mail message validation. 2020-06-17 14:46:36 +02:00
Tristan B. Kildaire de1251fae2 Changed internal JSON structure to be solely the `"message"` block. 2020-06-17 14:44:53 +02:00
Tristan B. Kildaire 89dd2d0db7 Generate recipients list from `"mail"` JSON. 2020-06-17 14:41:56 +02:00
Tristan B. Kildaire 8b0afbab37 Added missing import. 2020-06-17 14:02:37 +02:00
Tristan B. Kildaire 02f1ae016e Added todo 2020-06-17 14:02:25 +02:00
Tristan B. Kildaire f707dc8a7c Added new stub function `deleteFolder`.
Set modifier to `public`.
2020-06-17 13:55:52 +02:00
Tristan B. Kildaire 966a6045d8 Added stub functions. 2020-06-17 13:52:12 +02:00
Tristan B. Kildaire 0206aff0a7 Added new type `Folder` 2020-06-17 13:41:57 +02:00
Tristan B. Kildaire a7dbd74c4f Added new type `Mail` 2020-06-17 13:40:52 +02:00
Tristan B. Kildaire 408675ef02 Added new module. 2020-06-17 13:37:54 +02:00
Tristan B. Kildaire f978eb4c18 Add stub handlers for commands mentioned in the protocol spec. so far 2020-06-17 13:35:42 +02:00
Tristan B. Kildaire b7cd22dc0d Added partial protocol spec. 2020-06-17 13:29:28 +02:00
Tristan B. Kildaire ed8ac7f71c Added receive to read-write loop. 2020-06-17 13:26:30 +02:00
Tristan B. Kildaire 138ebd3d15 Cleaned up app.d 2020-06-17 13:14:17 +02:00
Tristan B. Kildaire f482cf2dcd Fixed call to `parseAddress`. 2020-06-17 13:11:38 +02:00
Tristan B. Kildaire cd0f4dab31 Upgraded to bformat v1.0.7 2020-06-17 11:57:09 +02:00
Tristan B. Kildaire 729583e3b1 Start temporary server for testing i app.d 2020-06-17 11:32:35 +02:00
Tristan B. Kildaire 90165202f3 Close socket on disconnect. 2020-06-17 11:28:57 +02:00
Tristan B. Kildaire c6e57657e5 Fixed bug whereby the `active` variable was not defaulted to true. 2020-06-17 11:27:20 +02:00
Tristan B. Kildaire 937b79c79f Added socket instantiation. 2020-06-17 11:23:07 +02:00
Tristan B. Kildaire 3a090dc368 Start the client's worker thread. 2020-06-17 11:17:24 +02:00
Tristan B. Kildaire 2e2a0841e7 Instantiate a new ButterflyClient on each incoming connection. 2020-06-17 11:15:04 +02:00
Tristan B. Kildaire 72341b0fe2 Put loop in correct class. 2020-06-17 11:11:51 +02:00
Tristan B. Kildaire 6d0fafcddd Added bformat as dependancy. 2020-06-17 11:10:02 +02:00
Tristan B. Kildaire 8936fc6854 Added basic block for looping socket connection dequeuing. 2020-06-17 11:09:08 +02:00
Tristan B. Kildaire 2052438734 Added stub files. 2020-06-17 11:05:19 +02:00
Tristan B. Kildaire 61e68f63be Re initialized dub 2020-06-17 11:03:54 +02:00
Tristan B. Kildaire 88c579dfd7 Retsratng butterfly 2020-06-17 11:03:32 +02:00
Tristan B. Kildaire d318fd1726 Upgraded to new vibe version. 2020-05-13 12:14:42 +02:00
Tristan B. Kildaire 8354e37228 Send error message on JSON parsing error.
Removed uneeded dependancy.
2020-05-04 14:48:12 +02:00
Tristan B. Kildaire 0c922a721f Delete .gitignore 2020-05-04 10:53:53 +02:00
Tristan B. Kildaire 24108cb12f WIP: Sending mail 2020-05-04 10:53:48 +02:00
Tristan B. Kildaire c56054105b WIP: Bfids 2020-05-04 10:29:41 +02:00
Tristan B. Kildaire 544bc8184b Added comment. 2020-05-03 21:19:26 +02:00
Tristan B. Kildaire c92934d46f Added specificaiton. 2020-05-03 21:19:15 +02:00
Tristan B. Kildaire ddb0777adf Typo fix. 2020-05-03 18:42:30 +02:00
Tristan B. Kildaire 23c0f8cefe Added `vibe-d` and `bformat` as dependancies. 2020-05-03 18:40:34 +02:00
Tristan B. Kildaire 73958186d0 Make sure two arguments are provided. 2020-05-03 18:23:12 +02:00
Tristan B. Kildaire cee54bcddc Added todo 2020-05-03 17:47:32 +02:00
Tristan B. Kildaire 6baaa6d27c Comment fix. 2020-05-03 17:32:28 +02:00
Tristan B. Kildaire 941e78e777 Added Travis CI badge 2020-05-03 17:30:52 +02:00
Tristan B. Kildaire 3edb233446 Added travis build file. 2020-05-03 17:28:36 +02:00
Tristan B. Kildaire ba84a30182 Added comment for `ButterflyHandler` class. 2020-05-03 17:27:35 +02:00
Tristan B. Kildaire c9d799c323 Updated .gitignore. 2020-05-03 17:25:05 +02:00
Tristan B. Kildaire 5b5e610548 Set target type for dub registry compliance. 2020-05-03 17:24:35 +02:00
Tristan B. Kildaire 7847ce7cfb Added missing comment. 2020-05-03 17:23:50 +02:00
Tristan B. Kildaire 5b91c6f7ab Added socket dispatch loop. 2020-05-03 17:21:31 +02:00
Tristan B. Kildaire f7e8ab8ef4 Fixed compilation errors in `handler.d`. 2020-05-03 16:55:56 +02:00
Tristan B. Kildaire c8f57edc0f Fixed comment and added error handling to catch problems on address parse, socket bind and listen. 2020-05-03 16:45:28 +02:00
Tristan B. Kildaire 87ce7c3eb1 Added missing `.listen` call. 2020-05-03 16:35:00 +02:00