Tristan B. Kildaire
|
c868dcfc90
|
Updated .gitignore
|
2020-06-18 21:30:56 +02:00 |
Tristan B. Kildaire
|
792b2382d6
|
Fixed file writing mode
|
2020-06-18 21:30:42 +02:00 |
Tristan B. Kildaire
|
35eadbb165
|
Check if the account already exists and return `false` if so, `true` otherwise.
|
2020-06-18 19:04:01 +02:00 |
Tristan B. Kildaire
|
4335984ebf
|
Ah timining
|
2020-06-18 18:24:23 +02:00 |
Tristan B. Kildaire
|
37b3a045e9
|
Added TODO to look into.
|
2020-06-18 18:20:33 +02:00 |
Tristan B. Kildaire
|
0099a185bf
|
Changed command "auth" to "authenticate"
|
2020-06-18 17:59:32 +02:00 |
Tristan B. Kildaire
|
a0a1177d2b
|
Changed listen port.
|
2020-06-18 17:48:49 +02:00 |
Tristan B. Kildaire
|
2beea98311
|
Removed unused function.
|
2020-06-18 16:58:49 +02:00 |
Tristan B. Kildaire
|
04117f16f1
|
Renamed `createChildFolder` to `createFolder`
|
2020-06-18 16:56:51 +02:00 |
Tristan B. Kildaire
|
a1514c1cba
|
Implemented `deleteMessage`
|
2020-06-18 16:55:13 +02:00 |
Tristan B. Kildaire
|
e960bc6fa0
|
Implemented `getMessage`
|
2020-06-18 16:42:20 +02:00 |
Tristan B. Kildaire
|
fae59bcd2a
|
Implemented mail fetching command 'fetchMail'
|
2020-06-18 16:26:30 +02:00 |
Tristan B. Kildaire
|
b5c5b3de6b
|
Set JSON `status` field for response Block
|
2020-06-18 16:19:47 +02:00 |
Tristan B. Kildaire
|
bdea323c9d
|
Store the sent message in the sent folder after delivering it.
|
2020-06-18 16:02:53 +02:00 |
Tristan B. Kildaire
|
433b4dca6f
|
Reworked mail message handling.
Implemented mail delivery on (for now) port 6969 (therefore all servers mjust listen on it).
Reworked mail delivery (as in receiving as the server).
|
2020-06-18 15:58:59 +02:00 |
Tristan B. Kildaire
|
3d03450296
|
Re-implemented `createMail`
|
2020-06-18 15:42:48 +02:00 |
Tristan B. Kildaire
|
e7c0be3e4b
|
WIP: Reworking mail messages
|
2020-06-18 15:30:01 +02:00 |
Tristan B. Kildaire
|
34d031d957
|
Corrected path construction of children folders in function `getFolders`
|
2020-06-18 15:27:40 +02:00 |
Tristan B. Kildaire
|
10542eda42
|
Fixed bug whereby non-directories could be returned by a call to `getFolders`
|
2020-06-18 15:26:33 +02:00 |
Tristan B. Kildaire
|
9a4eb3095c
|
Ensure folder exists, else (TODO: Throw exception)
|
2020-06-18 15:18:26 +02:00 |
Tristan B. Kildaire
|
a03075ddf8
|
WIP: Reworking folders.
|
2020-06-18 15:14:59 +02:00 |
Tristan B. Kildaire
|
9b65a8830f
|
Reworked use of `generateFolderPath`
|
2020-06-18 15:07:36 +02:00 |
Tristan B. Kildaire
|
73320e581d
|
Removed uneeded TODO
|
2020-06-18 15:06:34 +02:00 |
Tristan B. Kildaire
|
cf5e2d65b5
|
Print out the incoming JSON and the outgoing JSON on each iteration.
|
2020-06-18 12:20:43 +02:00 |
Tristan B. Kildaire
|
b724ed7150
|
Close session if send failed.
|
2020-06-18 12:09:27 +02:00 |
Tristan B. Kildaire
|
43eccd2686
|
Write JSON back to connected client.
|
2020-06-18 12:08:30 +02:00 |
Tristan B. Kildaire
|
6d89b08c86
|
Added plumbing for future JSON write-backs to be implemented.
Added logout command.
|
2020-06-18 12:06:52 +02:00 |
Tristan B. Kildaire
|
d7e5ed22f4
|
Added new command to protocol specification, `register`, for account registration.
|
2020-06-18 12:02:30 +02:00 |
Tristan B. Kildaire
|
3846d70a27
|
Added startup check to ensure there is an FS node at `mailboxes` and that it is a directory. If it doesn't exist, then create it.
|
2020-06-18 11:50:08 +02:00 |
Tristan B. Kildaire
|
79908b1b44
|
Typo fix.
|
2020-06-18 11:47:09 +02:00 |
Tristan B. Kildaire
|
ae19200c8f
|
Implemented `createChildFolder`
|
2020-06-18 11:46:44 +02:00 |
Tristan B. Kildaire
|
70b0eb0d64
|
Disabled code preventing successful compilation.
|
2020-06-18 11:45:28 +02:00 |
Tristan B. Kildaire
|
d2737a5493
|
Implemented `getFolders`
|
2020-06-18 11:45:03 +02:00 |
Tristan B. Kildaire
|
6883d7e993
|
Added some code for mailbox deletion
|
2020-06-18 11:20:05 +02:00 |
Tristan B. Kildaire
|
d1e3cfb585
|
Added stub folder sanity check.
|
2020-06-18 11:18:50 +02:00 |
Tristan B. Kildaire
|
ab8481305f
|
Create the base folders.
|
2020-06-18 11:18:35 +02:00 |
Tristan B. Kildaire
|
953da656b2
|
Added mailbox spec.
|
2020-06-18 11:16:54 +02:00 |
Tristan B. Kildaire
|
e56d510f8b
|
Re-enabled code.
|
2020-06-18 10:53:11 +02:00 |
Tristan B. Kildaire
|
f228a7bf6d
|
Updated authentication method.
|
2020-06-18 10:51:24 +02:00 |
Tristan B. Kildaire
|
bd5ff408d0
|
Added stub `authenticate` function.
|
2020-06-17 22:22:13 +02:00 |
Tristan B. Kildaire
|
dd81488cb0
|
Updated DUB ppackage description.
|
2020-06-17 21:11:42 +02:00 |
Tristan B. Kildaire
|
b68f985d30
|
Disabled broken code.
|
2020-06-17 18:46:11 +02:00 |
Tristan B. Kildaire
|
b94255c86d
|
Wait, we don't need a token.
|
2020-06-17 18:45:53 +02:00 |
Tristan B. Kildaire
|
4b7fcb09a8
|
All work for today.
|
2020-06-17 17:42:36 +02:00 |
Tristan B. Kildaire
|
a4828be4b0
|
Added check to make sure `deliverMail` can only be used by a server connection.
Also changed the variable name for the connection type.
|
2020-06-17 17:02:53 +02:00 |
Tristan B. Kildaire
|
4df01bb182
|
Added error handling to assure that certain commands can only be accessed if the connection had authenticated which implies a client connection.
|
2020-06-17 17:00:22 +02:00 |
Tristan B. Kildaire
|
68eb9444f0
|
Added mail delivery.
|
2020-06-17 16:04:47 +02:00 |
Tristan B. Kildaire
|
4aae9d47d9
|
Added remote mail delivery message generaiton.
|
2020-06-17 15:47:08 +02:00 |
Tristan B. Kildaire
|
f5d01e7478
|
Check message recipient's domain against domain of local server.
|
2020-06-17 15:09:35 +02:00 |
Tristan B. Kildaire
|
eb88a1a716
|
Fixed compilation issues.
|
2020-06-17 15:04:29 +02:00 |