models and doc update
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
ycc
2024-05-22 10:06:00 +02:00
parent 2e2ebad364
commit d657e64ae4
25 changed files with 3675 additions and 427 deletions

View File

@ -0,0 +1,7 @@
@startuml Company Company
Employee -> Company: Join company with provided credentials
Company -> Employee: provide a full featured validated peer
Company -> All: Publishes Employee ContactCard and info
Company -> Employee: notify publication done, service active
Employee -> Company: search for contacts
@enduml

View File

@ -0,0 +1,10 @@
@startuml Public endpoint (free for chat)
User -> Endpoint: Create & send invitation for endpoint (Generate User ContactCard and create endpoint pending contact)
Endpoint -> User: Auto-accept invitation and answer (Generate Endpoint ContactCard and create finalized User contact)
User -> Endpoint: [auto]validate Answer, invitation finalize (Finalize Endpoint contact and notify Endpoint that communication is possible)
Endpoint -> User: query mandatory/optional info for profile publication
User -> Endpoint: provide info
Endpoint -> All: Publishes User ContactCard and info
Endpoint -> User: notify publication done, service active
User -> Endpoint: search for contacts
@enduml

View File

@ -0,0 +1,7 @@
@startuml Server Invitation Step 01
Bob -> MeowBob: Create invitation for alice (Generate Bob ContactCard and create Alice pending contact)
Bob -> Alice: Send invitation (Bob ContactCard)
Alice -> MeowAlice: Accept Invitation and create answer (Generate Alice ContactCard and create finalized Bob contact)
Alice -> Bob: Send answer (Alice ContactCard)
Bob -> MeowBob: Review Answer, invitation finalize (Finalize Alice contact and notify Alice that communication is possible)
@enduml

2816
doc/meow.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 467 KiB

View File

@ -0,0 +1,10 @@
@startuml
Client1 -> Server: Send Message (PubKeyClient2 + Payload)
Server -> Client1: Ack Message (Server UUID + DateReceived)
Client1 --> Server: Message delivery ? (PubKeyClient2 + Payload)
Server --> Client1: Message delivered (Server UUID + DateReceived)
Client2 -> Server: Get Messages (PubKeyClient2)
Server -> Client2: Get Messages [](PubKeyClient2 + Payload)
Client2 --> Server: Ack Messages Processed
@enduml

View File

@ -1,7 +0,0 @@
@startuml Server Invitation Step 01
Bob -> MeowBob: Create invitation for alice
Bob -> Alice: Send invitation
Alice -> MeowAlice: Accept Invitation and create answer
Alice -> Bob: Send answer
Bob -> MeowBob: Review Answer, invitation finalize
@enduml

View File

@ -1,8 +0,0 @@
@startuml
Client1 -> Server: Send Message (PubKeyClient2 + Payload)
Server --> Client1: Ack Message (Server UUID + DateReceived)
Client2 -> Server: Get Messages (PubKeyClient2 + IpPublish)
Server --> Client2: Available Messages list (UUID list cyphered with PubKeyClient2)
Client2 <- Server: Get Messages (decoded UUID signed with PK)
Server --> Client2: Messages [](PubKeyClient2 + Payload)
@enduml