status-go/server/pairing
frank a08319f615
fix(sync)_: sync fallback notification (#5888)
* fix(sync)_: Improve EnableInstallationAndSync and add EnableInstallationV2

- Refactor EnableInstallationAndSync for better error handling and response merging
- Add new EnableInstallationV2 method returning the installation
- Update tests to check for installation in response
- Deprecate old EnableInstallation method

* chore_: remove EnableInstallationV2

* fix(sync)_: create/delete AC notification only when targetInstallationID match

- Add targetInstallationID parameter to SendPairInstallation function
- Update protobuf SyncPairInstallation struct with TargetInstallationId field
- Modify method calls across multiple test files to include new parameter
- Update pairing.proto and pairing.pb.go with new field for local pairing

* chore_: rename stubEnableInstallationAndPair

chore_: move InstallationIDProvider

chore_: revert endpoints.go

test_: check AC with resp

chore_: rename ModifiedInstallationsTargetedToThisDevice

test_: add InstallationIDProvider

chore_: revert endpoints.go

chore_: remove comment

test_: add TestNewInstallationCreatedIsNotDeleted
2024-10-07 22:05:37 +08:00
..
peers feat_: log on panic (#5849) 2024-09-27 06:37:32 +08:00
preflight Fix/timesource offline (#4309) 2023-11-13 14:06:32 -05:00
statecontrol Added functionality to local pairing that makes client calls (more) idempotent 2023-08-21 15:44:32 +01:00
versioning Local Pairing: connection string version 2 with sharing multiple server addresses (#3909) 2023-08-22 19:18:14 +03:00
TODO.MD Added a (rough) roadmap to resolving a number of known issues 2023-08-14 15:10:54 +01:00
certs.go optimised finding server cert (#4148) 2023-10-18 14:17:49 +08:00
certs_test.go Reconciled duplicate cert funcs 2023-03-24 17:31:34 +00:00
challenge_management.go Addressed feedback from @ilmotta 2023-03-24 16:47:43 +00:00
client.go feat_: log on panic (#5849) 2024-09-27 06:37:32 +08:00
common.go chore!: simplify local pairing API (#5643) 2024-08-14 21:10:19 +01:00
components_test.go chore!: simplify local pairing API (#5643) 2024-08-14 21:10:19 +01:00
config.go chore!: simplify local pairing API (#5643) 2024-08-14 21:10:19 +01:00
config_test.go chore!: simplify local pairing API (#5643) 2024-08-14 21:10:19 +01:00
connection.go feat(sync)!: leftovers work for sync fallback (#5794) 2024-09-19 16:17:46 +08:00
connection_test.go feat(sync)!: leftovers work for sync fallback (#5794) 2024-09-19 16:17:46 +08:00
events.go chore: pairings file related properties removed from the local pairing 2023-09-13 17:15:32 +02:00
handlers.go [#4200] Avoid tx watching for addresses which were not exposed 2023-12-01 12:30:42 +01:00
interfaces.go Removed HandlerServer interface 2023-04-04 15:29:13 +01:00
payload_encryptor.go Refactored BasePayloadReceiver to handle Receive() 2023-04-04 11:56:40 +01:00
payload_management.go chore!: simplify local pairing API (#5643) 2024-08-14 21:10:19 +01:00
payload_management_test.go chore!: simplify local pairing API (#5643) 2024-08-14 21:10:19 +01:00
payload_mounter.go chore: pairings file related properties removed from the local pairing 2023-09-13 17:15:32 +02:00
payload_receiver.go chore!: simplify local pairing API (#5643) 2024-08-14 21:10:19 +01:00
peers.go optimised finding server cert (#4148) 2023-10-18 14:17:49 +08:00
raw_message_collector.go Refactored BasePayloadReceiver to handle Receive() 2023-04-04 11:56:40 +01:00
raw_message_handler.go fix(sync)_: sync fallback notification (#5888) 2024-10-07 22:05:37 +08:00
server.go chore!: simplify local pairing API (#5643) 2024-08-14 21:10:19 +01:00
server_pairing_test.go feat: fallback pairing seed (#5614) 2024-07-30 17:14:05 +08:00
sync_device_test.go fix(sync)_: sync fallback notification (#5888) 2024-10-07 22:05:37 +08:00
utils.go fix(pairing): Received installation event (#3422) 2023-04-26 14:48:49 +03:00