Skip to content

Conversation

@epoberezkin
Copy link
Member

@epoberezkin epoberezkin commented Mar 26, 2025

* smp protocol: short links types and other changes from RFC

* add fields for queue link ID and data

* create queue and ntf credentials with NEW command

* all tests

* simplfiy types, update rfc

* update rfc

* include SenderId in NEW request in case queue data is sent

* store queue data and generate link ID if needed

* update rfc

* agent API and types

* SMP commands and persistence for short links

* SMP client functions for short links

* agent client functions for short links

* create rcv queue with short link (TODO secret_box)

* encryption and encoding for link data, postgres client migration

* test creating short link

* get link and data, tests

* comments

* type signature
@epoberezkin epoberezkin requested a review from spaced4ndy as a code owner March 26, 2025 17:28
…ecured (#1496)

* agent: join connection when 1-time invitation short link is already secured

* do not pass short link to join

* delete short link record after connection
* agent: set/update and delete contact short link data

* delete contact link data, tests

* comments

* type signature for GHC 8.10.7
@epoberezkin epoberezkin changed the title smp protocol: short links and improved notifications smp protocol: short 1-time invitations and contact address links Mar 30, 2025
epoberezkin and others added 15 commits March 30, 2025 19:56
)

* agent: replace sndSecure with queueMode in queue URIs and records

* fix test
* agent: binary protocol encoding for connection request

* enable tests

* test
* agent: types and encodings to use from the app

* use action forks
…tests (#1505)

* agent: padded encryption for link data, tests

* lambda

* test short links via proxy

* tests: server persistence with short links

* rfc: group links

* shorten, restore, test short links encoding

* rfc
* smp server: short links and owners for channels

* types

* support mutliple rcv keys

* fix down migration, test/create server schema dump

* reduce schema dump

* parameterize type for link data by connection type

* return full connection link data

* test version

* change short link encoding

* test: print pg_dump output

* server pages, link encoding

* fix connection request when queue data and sender ID are created for old servers

* test, change pattern

* ci: install postgresql tools in runner (#1507)

* ci: install postgresql tools in runner

* ci: docker shell abort on error

* fix pattern for ghc 8.10.7

* patch ConnReqUriData SMP encoding to preserve queue mode after decoding

* test for RKEY

* fix/test store log with RKEY

---------

Co-authored-by: sh <[email protected]>
…andle preset server links (#1510)

* smp server: .well-known folder for server pages for SimpleX apps to handle preset server links

* add short link group path

* test
…I for apps (#1511)

* smp server: update server page for short links to correctly change URI for apps

* change page titles
@epoberezkin epoberezkin merged commit c784d5c into master Apr 14, 2025
2 of 3 checks passed
@epoberezkin epoberezkin deleted the short-links branch April 14, 2025 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants