Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inter-process communication #585

Merged
merged 459 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
459 commits
Select commit Hold shift + click to select a range
d5c19e9
Refactor transport types to different module.
tmpfs Dec 3, 2024
d49e8d7
Prepare SyncDirection type.
tmpfs Dec 3, 2024
0cd8f0f
Add local server draft implementations.
tmpfs Dec 3, 2024
22c39a9
Move storage into LocalAccount.
tmpfs Dec 3, 2024
a592ece
Prepare for optional storage.
tmpfs Dec 3, 2024
59d2438
Remove obsolete struct.
tmpfs Dec 3, 2024
5315619
Update sync(pull) logic to check if local account exists.
tmpfs Dec 3, 2024
0a177ce
Local server impl for fetch_account().
tmpfs Dec 3, 2024
98a0440
Support import_account_events().
tmpfs Dec 3, 2024
ad8f68c
Fix conditional files statements.
tmpfs Dec 3, 2024
799d4bd
Tidy obsolete imports.
tmpfs Dec 3, 2024
22a787d
Local server update_account() is forbidden for now.
tmpfs Dec 3, 2024
9949b1a
Implement sync_account() on local server.
tmpfs Dec 4, 2024
b0b8464
Prepare LinkedAccount to call sync().
tmpfs Dec 4, 2024
051df34
Improve local sync test spec.
tmpfs Dec 4, 2024
5b95d6b
Implement events_diff() on local server.
tmpfs Dec 4, 2024
c7cae2d
Use shared server helpers.
tmpfs Dec 4, 2024
71b8ac8
Update dependencies.
tmpfs Dec 4, 2024
08fc6d7
Fix wasm builds.
tmpfs Dec 4, 2024
6d1a694
Implement Merge for NetworkAccount.
tmpfs Dec 4, 2024
20fbaa8
Update generated types.
tmpfs Dec 4, 2024
60bc079
Rename types.
tmpfs Dec 4, 2024
e760c6a
Transfer status code as u16.
tmpfs Dec 4, 2024
6726cc6
Update type aliases.
tmpfs Dec 4, 2024
6c40ab5
Remove Send requirement for wasm32.
tmpfs Dec 4, 2024
aa1f2d4
Fix missing StreamExt import.
tmpfs Dec 4, 2024
434332c
Use shared NetworkError type.
tmpfs Dec 4, 2024
52c8b8e
Set default serde for local transport types.
tmpfs Dec 4, 2024
e911062
Serialize and deserialize headers as a list.
tmpfs Dec 4, 2024
0264bf4
Tweak Debug implementations for LocalTransport types.
tmpfs Dec 4, 2024
0d5a533
Improve internal server error handling.
tmpfs Dec 4, 2024
2a57a89
Move error variant.
tmpfs Dec 4, 2024
ef14bac
Remove variant.
tmpfs Dec 4, 2024
bef2df5
Initialize client storage if the account looks usable.
tmpfs Dec 4, 2024
f659ccb
Tidy dependencies.
tmpfs Dec 4, 2024
4113a8d
Debug statements in change_set().
tmpfs Dec 4, 2024
ba68273
Remove tracing statements.
tmpfs Dec 4, 2024
6a5dbc1
fix: Replace tokio imports and spawn_blocking function with async/awa…
tmpfs Dec 5, 2024
e090bb5
Update vfs memory file to use futures.
tmpfs Dec 5, 2024
cab682b
Debug encoding error.
tmpfs Dec 5, 2024
0a25cbc
Bump patch version of vfs crate.
tmpfs Dec 5, 2024
2cf43a0
Update vfs tests, debug encoding issue.
tmpfs Dec 5, 2024
86fab97
Add AsyncSeek bound and workaround for wasm bug.
tmpfs Dec 5, 2024
0773338
Simplify format_identity_bytes impl.
tmpfs Dec 5, 2024
20e365a
Improve logs when importing account events.
tmpfs Dec 5, 2024
3f3516d
Add read_folders() to client storage.
tmpfs Dec 5, 2024
c4ed2af
Always use same socket name for debug/release builds.
tmpfs Dec 5, 2024
4aa7bf5
Ensure folders are loaded in ClientStorage::empty().
tmpfs Dec 5, 2024
7708430
Rename client storage constructors.
tmpfs Dec 5, 2024
193b328
Explore xz compression for local server.
tmpfs Dec 5, 2024
64cb1a9
Switch to zstd.
tmpfs Dec 5, 2024
0ee5ae4
Switch to zlib compression due to wasm compiler failure.
tmpfs Dec 5, 2024
058f7f5
Move constants.
tmpfs Dec 5, 2024
5e66c8a
Add local server endpoint for listing accounts.
tmpfs Dec 5, 2024
ad1e3b4
Ignore ipc tests for now.
tmpfs Dec 5, 2024
6a44c24
Remove obsolete variants.
tmpfs Dec 5, 2024
a59e0d9
Refactor to prefer LocalRequest and LocalResponse.
tmpfs Dec 5, 2024
4f0a8d1
Remove obsolete protobuf encodings.
tmpfs Dec 5, 2024
2f14443
Move client and server modules.
tmpfs Dec 5, 2024
b269d05
Refactor and simplify types and generics.
tmpfs Dec 5, 2024
9950d87
Delete obsolete ipc tests.
tmpfs Dec 5, 2024
3430784
Tidy dependencies in ipc crate.
tmpfs Dec 5, 2024
09b24eb
WIP: refactor to HTTP transport.
tmpfs Dec 5, 2024
dbe5fb3
Update server to expect HTTP on named pipe.
tmpfs Dec 6, 2024
0b6c92c
Tidy server options.
tmpfs Dec 6, 2024
7dc17d4
Convert client to HTTP transport.
tmpfs Dec 6, 2024
189f9d5
Remove obsolete codec module.
tmpfs Dec 6, 2024
e3a2479
Remove all protobuf code from the ipc crate.
tmpfs Dec 6, 2024
d2632e4
Rename module.
tmpfs Dec 6, 2024
efecc8d
Tidy ipc dependencies.
tmpfs Dec 6, 2024
4c29f47
Rename type.
tmpfs Dec 6, 2024
8104605
Fix compression logic.
tmpfs Dec 6, 2024
21498c9
Rename types, improve error conversion.
tmpfs Dec 6, 2024
e210571
Remove check from native bridge.
tmpfs Dec 6, 2024
1dfda01
Tidy features and modules.
tmpfs Dec 6, 2024
b3f1270
Tidy debug statements.
tmpfs Dec 6, 2024
a561d53
Bump patch version.
tmpfs Dec 6, 2024
1530806
Fix error variant.
tmpfs Dec 6, 2024
349e953
Tidy error variants.
tmpfs Dec 6, 2024
162ea70
Bump patch version.
tmpfs Dec 6, 2024
fcbe4d8
Tidy modules and docs.
tmpfs Dec 6, 2024
223e8bb
Tidy dependencies.
tmpfs Dec 6, 2024
f141193
Bump versions.
tmpfs Dec 6, 2024
4b8a5fd
Update doc comments.
tmpfs Dec 6, 2024
9e1072b
Update features for docs.rs.
tmpfs Dec 6, 2024
e891599
Update error.
tmpfs Dec 6, 2024
64ca05b
Improve feature handling.
tmpfs Dec 6, 2024
fea1500
Fix feature flags.
tmpfs Dec 6, 2024
cae6416
Update type definitions.
tmpfs Dec 6, 2024
a5b16b6
Add initial native bridge test specs.
tmpfs Dec 6, 2024
b195e43
Improve native bridge client.
tmpfs Dec 6, 2024
aeb76a3
Update comment.
tmpfs Dec 6, 2024
4860824
Add HttpMessage trait.
tmpfs Dec 6, 2024
1530f6d
Use NativeBridgeServer.
tmpfs Dec 6, 2024
eefa2ff
Improve client implementation.
tmpfs Dec 6, 2024
5f96d11
Prepare logic to handle chunks in native bridge.
tmpfs Dec 6, 2024
641f83b
Fix feature dependency.
tmpfs Dec 6, 2024
81b6bc1
Support intercept routes in native bridge server.
tmpfs Dec 7, 2024
e234433
Add test for chunks in native bridge.
tmpfs Dec 7, 2024
fc65128
Use struct fields to make typeshare happy.
tmpfs Dec 7, 2024
8a1ce08
Tidy debug statements.
tmpfs Dec 7, 2024
9d6eec7
Update doc comments.
tmpfs Dec 7, 2024
7bad6b1
Update types.
tmpfs Dec 7, 2024
a168673
Improve request id handling.
tmpfs Dec 7, 2024
4e2184f
Update typedefs.
tmpfs Dec 7, 2024
23f3126
WIP exploring using duplex stream in native bridge.
tmpfs Dec 7, 2024
d6b409a
In-memory HTTP server.
tmpfs Dec 8, 2024
712846f
Remove compression support.
tmpfs Dec 8, 2024
175e583
Tidy obsolete code.
tmpfs Dec 8, 2024
8c7ae24
Update features.
tmpfs Dec 8, 2024
e36a851
Remove obsolete status route.
tmpfs Dec 8, 2024
423cc81
Remove obsolete status route.
tmpfs Dec 8, 2024
5ec491a
Update open url handling.
tmpfs Dec 8, 2024
d250949
Fix open URL handling.
tmpfs Dec 8, 2024
d684626
Tidy routing in native bridge.
tmpfs Dec 8, 2024
6ae5c70
Tidy imports.
tmpfs Dec 8, 2024
f2ad44e
Add and use ErrorExt trait.
tmpfs Dec 8, 2024
37de163
Add keyring routes.
tmpfs Dec 8, 2024
b12990b
Remove obsolete routes.
tmpfs Dec 8, 2024
1d7d19c
Restore list_accounts() route.
tmpfs Dec 8, 2024
e006388
Support listing authenticated state.
tmpfs Dec 8, 2024
5993742
Use POST request body.
tmpfs Dec 8, 2024
ffdddf7
Improve native bridge server error replies.
tmpfs Dec 9, 2024
2e73081
Add sign out routes.
tmpfs Dec 9, 2024
a23d526
Support listing folders.
tmpfs Dec 9, 2024
b546c71
Add search functions to ipc service.
tmpfs Dec 9, 2024
8d13f48
Improve account listing in ipc service.
tmpfs Dec 9, 2024
c6af8a7
Restoring clipboard logic, move to new crate.
tmpfs Dec 9, 2024
a78d5e8
Improve clipboard handling.
tmpfs Dec 9, 2024
faa7814
Update route path.
tmpfs Dec 9, 2024
e633f4f
Split IPC web service routes.
tmpfs Dec 9, 2024
23f3313
Support read secret route.
tmpfs Dec 9, 2024
a3a1b19
Update type definitions.
tmpfs Dec 10, 2024
0e1211e
Add copy_clipboard() to the Account trait.
tmpfs Dec 10, 2024
d62c232
Support JSON path queries in copy_clipboard().
tmpfs Dec 10, 2024
b751396
Update type definitions.
tmpfs Dec 10, 2024
e3dd5b0
Tweak type name.
tmpfs Dec 10, 2024
9b5e000
Remove obsolete QualifiedPath.
tmpfs Dec 10, 2024
1f8269a
Tidy type definitions.
tmpfs Dec 10, 2024
700fd46
Write secret variants typescript types by hand.
tmpfs Dec 10, 2024
ded4e69
Update types.
tmpfs Dec 10, 2024
8864330
Declare Secret union type.
tmpfs Dec 10, 2024
3377a66
More forgiving in JSON Value to string conversion.
tmpfs Dec 10, 2024
548abc4
Declare FileContent typescript types manually.
tmpfs Dec 10, 2024
c8f1f33
Tidy type definitions.
tmpfs Dec 10, 2024
63852ab
Fix type of authenticated list.
tmpfs Dec 10, 2024
6418916
Revert sort change.
tmpfs Dec 11, 2024
1efda4d
Add redact() to Secret.
tmpfs Dec 11, 2024
8cca222
Redact in native bridge web service.
tmpfs Dec 11, 2024
bad9e4a
Update vcard4.
tmpfs Dec 11, 2024
7978da1
Update dependencies.
tmpfs Dec 11, 2024
a30e66d
Update security framework for macos.
tmpfs Dec 11, 2024
e51b311
Update to latest vcard4.
tmpfs Dec 11, 2024
4f0e542
Improve copy to clipboard API.
tmpfs Dec 11, 2024
3cdffba
Bump logos and plist dependencies.
tmpfs Dec 12, 2024
b7a02b0
Update vcard dependency.
tmpfs Dec 12, 2024
127d53d
Update vcard.
tmpfs Dec 12, 2024
73c257d
Expose /avatar route in ipc web service.
tmpfs Dec 12, 2024
05a0a36
Fix route definition.
tmpfs Dec 12, 2024
cbb2eaf
Improve error responses in ipc web service.
tmpfs Dec 12, 2024
b8a585e
Improve error reporting in json().
tmpfs Dec 12, 2024
eb17106
Bump vcard.
tmpfs Dec 12, 2024
a21aedb
Sketch platform authenticator crate.
tmpfs Dec 14, 2024
f2889f9
Add basic local_auth module support.
tmpfs Dec 15, 2024
2076ae8
Derive default for unsupported AuthenticateOptions.
tmpfs Dec 15, 2024
ca3d577
Update strings for windows.
tmpfs Dec 15, 2024
62367f1
Initial work on unified keyring password manager.
tmpfs Dec 15, 2024
a796420
Improve sign in logic in IPC web service.
tmpfs Dec 15, 2024
326b522
Initial interface for platform keyring access.
tmpfs Dec 15, 2024
42b4e8b
Add error conversion.
tmpfs Dec 15, 2024
92d8f28
Update doc comments.
tmpfs Dec 15, 2024
4395a20
Update default SERVICE_NAME.
tmpfs Dec 16, 2024
e3d8a15
Use different service namespace for debug builds.
tmpfs Dec 16, 2024
08131e3
Use sign_in() in sos-platform-authenticator.
tmpfs Dec 16, 2024
f13514c
Tidy obsolete functions.
tmpfs Dec 16, 2024
a4f262c
Remove interprocess and named pipe support from ipc crate.
tmpfs Dec 16, 2024
2f9d3af
Map status code in IPC web service.
tmpfs Dec 16, 2024
5e09df7
Rename function.
tmpfs Dec 16, 2024
e95061e
Rename feature flag.
tmpfs Dec 16, 2024
b831d35
Improve IPC test specs.
tmpfs Dec 16, 2024
b41341d
Remove obsolete, unused test spec.
tmpfs Dec 16, 2024
76cf5bb
Add test spec to IPC tests.
tmpfs Dec 16, 2024
3ab41ee
Improve IPC test specs.
tmpfs Dec 16, 2024
d979ab8
Remove obsolete constants, prepare to restore test spec.
tmpfs Dec 16, 2024
44f3509
Prepare to move LinkedAccount to separate crate.
tmpfs Dec 16, 2024
7dfa282
Move networking client code to the protocol crate.
tmpfs Dec 16, 2024
ce85352
Add web crate with LinkedAccount.
tmpfs Dec 16, 2024
a708de5
Add Clipboard placeholders for mobile platforms.
tmpfs Dec 17, 2024
4f89512
Update for newer typed-generational-arena.
tmpfs Dec 17, 2024
c71828c
Refactor preferences handling.
tmpfs Dec 18, 2024
9eb9de6
Support global preferences.
tmpfs Dec 18, 2024
2ebc585
Add test spec for global preferences.
tmpfs Dec 18, 2024
8963bb4
Tidy preference test specs.
tmpfs Dec 18, 2024
a9726b8
Support format modifiers when copying to clipboard.
tmpfs Dec 18, 2024
efe87d6
Handle time zone adjustment.
tmpfs Dec 18, 2024
65224a0
Rename native-bridge to extension-helper.
tmpfs Dec 18, 2024
95b7765
Tweak comment.
tmpfs Dec 18, 2024
94d6632
Bump dependencies.
tmpfs Dec 18, 2024
dd3d639
Build test executable ahead of time.
tmpfs Dec 18, 2024
5d5d5e3
Explore new advisory file lock logic.
tmpfs Dec 18, 2024
cd7db02
Trying async-fd-lock as part of vfs.
tmpfs Dec 18, 2024
20510e0
Remove obsolete module.
tmpfs Dec 18, 2024
e8889c5
Add test spec for preferences concurrent write.
tmpfs Dec 18, 2024
e449da8
Improve preferences concurrency test spec.
tmpfs Dec 19, 2024
6a10c12
Fix make task.
tmpfs Dec 19, 2024
999bb8a
Rename task.
tmpfs Dec 19, 2024
d5097c3
Add task to check wasm32-unknown-unknown compatibility.
tmpfs Dec 19, 2024
6cf36ad
Use read_exclusive() and write_exclusive() for system messages.
tmpfs Dec 19, 2024
3f5e413
Fix assertion on linux.
tmpfs Dec 19, 2024
382795e
Use advisory file locks for audit log file.
tmpfs Dec 19, 2024
875a7dc
Improve advisory lock module.
tmpfs Dec 19, 2024
5fd5c30
Update dependencies.
tmpfs Dec 19, 2024
24b12b9
Use advisory locks in VaultWriter.
tmpfs Dec 19, 2024
7b829f4
Tidy test handling in vfs crate.
tmpfs Dec 19, 2024
3be01a0
Prefer write_exclusive().
tmpfs Dec 19, 2024
fa8a25c
Remove FileLock and file-guard dependency.
tmpfs Dec 19, 2024
dd8bb15
Update export_archive_file().
tmpfs Dec 19, 2024
47d5eda
Do not call set_len() via advisory lock.
tmpfs Dec 19, 2024
8eb149a
Do not create global preferences in constructor.
tmpfs Dec 19, 2024
7656650
Harden wait logic in websocket test specs.
tmpfs Dec 19, 2024
5de10aa
Disable file lock in audit file to test on windows.
tmpfs Dec 19, 2024
694398e
Restore audit log locks.
tmpfs Dec 19, 2024
d30fd5d
Disable advisory locks for windows at the moment.
tmpfs Dec 19, 2024
a4365a3
Restore some tests for windows.
tmpfs Dec 19, 2024
bc14197
Do not use path to fork of security-framework.
tmpfs Dec 19, 2024
43a8cfe
Be specific about the version we need for security-framework.
tmpfs Dec 19, 2024
289f8db
Bump versions in workflow.
tmpfs Dec 19, 2024
7da98e1
Use explicit security-framework version.
tmpfs Dec 20, 2024
f3fb0c8
Prepare file system watcher.
tmpfs Dec 20, 2024
810ece2
Support opening debug app when SOS_DEBUG_APP.
tmpfs Dec 20, 2024
0c0837b
Change watch directory, update dependencies.
tmpfs Dec 20, 2024
c39d9cd
Bump tokio-rustls-acme.
tmpfs Dec 20, 2024
0a4c171
Rename types.
tmpfs Dec 20, 2024
f4fe996
Refine watchers to only watch folder event files.
tmpfs Dec 20, 2024
47896c1
Detect and send account/folder events in RESET_CONTENT.
tmpfs Dec 20, 2024
fd7540c
Rename type and update typegen definitions.
tmpfs Dec 20, 2024
25ab9c2
Add logic to update search index, move type to module.
tmpfs Dec 21, 2024
680fe1c
Reload event log tree after patch for change records.
tmpfs Dec 21, 2024
ce018dc
Update type definitions.
tmpfs Dec 21, 2024
07523c0
Update type definitions.
tmpfs Dec 21, 2024
a35c594
Update types.
tmpfs Dec 21, 2024
4d2f727
Reload vault data when updating search index.
tmpfs Dec 21, 2024
8f5f565
Fix type definition.
tmpfs Dec 21, 2024
6adf476
Fix bug with vault reloading.
tmpfs Dec 21, 2024
b755778
Call load_folders() when accounts events change.
tmpfs Dec 21, 2024
029a846
Improve handling as folders are created and deleted.
tmpfs Dec 22, 2024
8e55dad
Fix logic for watching for folder create.
tmpfs Dec 22, 2024
3d39860
Remove obsolete feature from sdk.
tmpfs Dec 23, 2024
6d2b207
Bump patch version.
tmpfs Dec 23, 2024
227d1d3
Update deny.toml to ignore unmaintained instant crate.
tmpfs Dec 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:

# Install
- name: Install release tools
uses: jaxxstorm/action-install-gh-release@v1.11.0
uses: jaxxstorm/action-install-gh-release@v1.14.0
with:
token: ${{ secrets.GH_RELEASE_DOWNLOAD }}
repo: saveoursecrets/release-tools
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Check cosign install
run: cosign version
- name: Install release tools
uses: jaxxstorm/action-install-gh-release@v1.11.0
uses: jaxxstorm/action-install-gh-release@v1.14.0
with:
token: ${{ secrets.GH_RELEASE_DOWNLOAD }}
repo: saveoursecrets/release-tools
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ server.lock
tests/server_public_key.txt
geiger-report.txt
.aider*
node_modules
Loading
Loading