Skip to content

Commit

Permalink
put rendered images into the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jcgruenhage committed Nov 3, 2020
1 parent 884b0f6 commit f2702c2
Show file tree
Hide file tree
Showing 9 changed files with 64 additions and 4 deletions.
9 changes: 5 additions & 4 deletions proposals/2846-decentralising-media-through-cids.md

Large diffs are not rendered by default.

Binary file added proposals/images/2846-receiving-current.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions proposals/images/2846-receiving-current.mermaid
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
sequenceDiagram
participant C as Client
participant S as Server
participant O as Origin
C->>S: req file
activate S
opt fetch file
S->>O: req file
activate O
O-->>S: serve file
deactivate O
end
S-->>C: serve file
deactivate S
Binary file added proposals/images/2846-receiving-proposed.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions proposals/images/2846-receiving-proposed.mermaid
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
sequenceDiagram
participant C as Client
participant S as Server
participant R as Remote
C->>S: req file with CID and hint
Note over C,S: The (optional) hint is a room+event ID
activate S
opt fetch file from remote
loop try potential remotes
S->>R: req file
activate R
R-->>S: serve file
deactivate R
end
end
S->>S: verify the CID
S-->>C: serve file
deactivate S
opt verify CID
C->>C: verify the CID
end
Binary file added proposals/images/2846-sending-current.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions proposals/images/2846-sending-current.mermaid
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
sequenceDiagram
participant C as Client
participant S as Server
C->>S: upload file
S-->>C: return MXC URL
C->>S: send event with MXC URL
S-->>C: return event ID
Binary file added proposals/images/2846-sending-proposed.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions proposals/images/2846-sending-proposed.mermaid
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
sequenceDiagram
participant C as Client
participant S as Server
C->>S: upload file
activate S
S->>S: calculate CID
S-->>C: return MXC URL with CID
deactivate S

opt verify CID
C->>C: verify the CID
end

C->>S: send event with MXC URL
activate S
S-->>C: event ID
deactivate S

0 comments on commit f2702c2

Please sign in to comment.