Commit Graph

1247 Commits

Author SHA1 Message Date
Evgeny Poberezkin 5a0402d0c4 random connection and message IDs 2020-10-17 11:07:09 +01:00
Evgeny Poberezkin ee40927506 random connection and message IDs 2020-10-17 11:03:38 +01:00
Evgeny Poberezkin 37eb4e7b71 remove connection ID from IDS response 2020-10-17 08:05:22 +01:00
Evgeny Poberezkin 9efcde6f57 fix: killing subscriber when smp connection is SUBd in another tcp connection 2020-10-16 22:29:21 +01:00
Evgeny Poberezkin 6d12adad94 refactor server and store 2020-10-16 21:33:17 +01:00
Evgeny Poberezkin 366e208ae0 server thread to track client smp connection subscriptions and notify clients when they should unsubscribe 2020-10-16 18:38:01 +01:00
Evgeny Poberezkin bd0f767282 message delivery 2020-10-16 13:24:26 +01:00
Evgeny Poberezkin f3658abfbe rename command HOLD to OFF 2020-10-15 21:32:15 +01:00
Evgeny Poberezkin 6ead1fb99c separate send thread 2020-10-15 20:50:16 +01:00
Evgeny Poberezkin fc2e51053a change command names and errors 2020-10-15 15:47:47 +01:00
Evgeny Poberezkin 693d9c529d change command names 2020-10-15 15:47:18 +01:00
Evgeny Poberezkin c6b96a9cb2 replace ERROR SYNTAX 7 with ERROR SIZE for bad message body size 2020-10-15 14:30:42 +01:00
Evgeny Poberezkin bedefb11b3 SUSPEND and DELETE connection 2020-10-15 11:55:10 +01:00
Evgeny Poberezkin 9f433285df hunit for assertions 2020-10-15 08:37:36 +01:00
Evgeny Poberezkin 7cb289e88a refactor: TCP transport 2020-10-15 07:08:21 +01:00
Evgeny Poberezkin a58ce378db refactor: use guards 2020-10-14 21:30:21 +01:00
Evgeny Poberezkin b1f41d10da use assert in tests 2020-10-14 21:16:28 +01:00
Evgeny Poberezkin 2ba27ed852 SECURE command, tests 2020-10-14 21:03:37 +01:00
Evgeny Poberezkin c7e194d3c7 replace TChan with TBQueue 2020-10-14 14:37:29 +01:00
Evgeny Poberezkin fbf17d3484 verify SEND command, refactor 2020-10-14 14:09:09 +01:00
Evgeny Poberezkin 989e0c7261 add error types 2020-10-14 11:37:45 +01:00
Evgeny Poberezkin 3ca687c179 refactor: separate transmission syntax verification from signature verification 2020-10-14 10:39:24 +01:00
Evgeny Poberezkin 3ec0ff9d90 update package.yaml 2020-10-13 18:55:07 +01:00
Evgeny Poberezkin a58089a4f4 update license 2020-10-13 18:48:41 +01:00
Evgeny Poberezkin 1daae74c67 syntax tests for all commands 2020-10-13 18:44:40 +01:00
Evgeny Poberezkin 00f61c1f68 protocol syntax tests 2020-10-13 18:17:41 +01:00
Evgeny Poberezkin e75a3c44df test client (WIP) 2020-10-13 12:43:44 +01:00
Evgeny Poberezkin bd39cf4cb0 create connection stub, verify signature stub 2020-10-13 11:35:41 +01:00
Evgeny Poberezkin 3f72f19b68 more syntax validation, read full SEND msgBody 2020-10-12 21:48:35 +01:00
Evgeny Poberezkin f08c4679cc add ReaderT, unliftio 2020-10-12 18:57:14 +01:00
Evgeny Poberezkin b11dc92bc6 echo protocol commands 2020-10-12 13:21:40 +01:00
Evgeny Poberezkin 2e51e4eab7 initial 2020-10-11 11:00:25 +01:00
Evgeny Poberezkin dc223f564d update syntax 2020-10-10 22:16:36 +01:00
Evgeny Poberezkin ea77a4653f unify and simplify SMP (#38)
* unify and simplify SMP

* use cameCase in ABNFs

* update diagrams

* update ABNF RFC

* update protocol syntax

* table of contents
2020-10-10 21:47:17 +01:00
Evgeny Poberezkin b80fd37a0f Remove connection ID and alternative flow (#22)
* docs: remove connection ID from simplex-messaging.md, #8

* docs: remove alternative flow in simplex-messaging, #20

* docs: update simplex diagrams to remove connection ID

* docs: remove connection ID from graph-chat

* docs: update duplex connection diagram to remove connection ID, closes #8
2020-01-26 21:34:14 +00:00
Efim Poberezkin 9d9afb1150 Rename edge-messaging to simplex messaging (#15)
* rename edge-messaging protocol related files

* rename edge-messaging protocol to simplex messaging protocol

* adjust wordings for simplex connections
2020-01-25 13:19:34 +04:00
Evgeny Poberezkin 12e9fbf75a Connection URIs (#11)
* simplex connection: why RU and SU should be different, closes #5

* remove api allowing connection URIs change
2020-01-22 19:09:07 +04:00
Evgeny Poberezkin 43c2c9d02d Split to edge-messaging and graph-chat (#1)
* docs: graph-messaging protocol [WIP]

* docs: creating and using graph-messaging connection

* docs: subtitle

* docs: [WIP] graph-chat protocol

* docs: graph-chat establishing duplex connection

* apply minor typo fixes and wording adjustments to protocols docs

* rename file graph-messaging -> edge-messaging

* update test graph-messaging -> edge-messaging

* correction re CID

* duplex connection correction

* rename folder graph-messaging -> edge-messaging

* add duplex connection

* update edge-messaging to match graph-chat

* update symbols in graph-chat

* sequence diagram: creating duplex connection

* fix indentation

* edge-messaging: REST API, crypto, IDs, URIs

* REST API endpoints summary

* Rest -> REST

* REST API additional requirements

* adjust wordings and fix typos (#2)

* update readme (#4)

* update readme

* send message story and diagram

* edge-messaging: alternative flow of creating connection

* remove old diagrams

* apply minor fixes

* correct readme

Co-authored-by: Efim Poberezkin <efim.poberezkin@gmail.com>

* graph-chat: added duplex connection types

* graph-chat: comment on user profile visibility

* clarify duplex diagram

Co-authored-by: Efim Poberezkin <efim.poberezkin@gmail.com>
2020-01-21 21:01:48 +00:00
Evgeny Poberezkin bea5f0525a docs: simplex connection 2019-12-23 23:18:17 +00:00
Evgeny Poberezkin 50074eb33b docs: update message diagram to account for user-server auth and encryption 2019-12-21 22:34:58 +00:00
Evgeny Poberezkin dfa80d6756 docs: update connection diagram to include user-server authentication and encryption 2019-12-21 22:20:56 +00:00
Evgeny Poberezkin 1b81010e4a docs: update connection diagram 2019-12-21 15:13:03 +00:00
Evgeny Poberezkin 91470bc65d docs: adding connection diagram 2019-12-21 15:04:51 +00:00
Evgeny Poberezkin b9f4c50771 docs: update sending message diagram 2019-12-21 14:31:42 +00:00
Evgeny Poberezkin d1022dc7fc docs: update sending message diagram 2019-12-21 14:21:01 +00:00
Evgeny Poberezkin b469a90116 docs: update sending message diagram 2019-12-21 14:11:51 +00:00
Evgeny Poberezkin 90d6857128 docs: sending message diagram 2019-12-21 14:08:57 +00:00