-
Notifications
You must be signed in to change notification settings - Fork 258
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
IndexedDB support for wasm/browser environments #414
Merged
Merged
Changes from all commits
Commits
Show all changes
119 commits
Select commit
Hold shift + click to select a range
8a2732a
first steps
gnunicorn b8af613
big batch
gnunicorn 5bba24c
activating browser tests
gnunicorn e7ec861
generic tests passing'
gnunicorn e603496
implement custom value
gnunicorn a2b80f0
move and unify usage of store_key
gnunicorn 3e11e0d
fixing style
gnunicorn 7df36e3
first attempt at creating a CI job for wasm tests
gnunicorn b16c660
fixing typo
gnunicorn 3fcfe98
minor clippy fixes
gnunicorn 10d4fe5
clarify API
gnunicorn 76454e6
style fix
gnunicorn 917e901
clean up API and corresponding docs
gnunicorn 9e83bcb
fixing browser test
gnunicorn 94d3ffa
infrastructure for indexeddb cryptostore
gnunicorn 4c0bbeb
Merge remote-tracking branch 'upstream/main' into ben-wasm-store
gnunicorn 5cf56ad
Adding result-signature support for wasm32 async-test-macro
gnunicorn 4268016
fix up CI test
gnunicorn 4c60db9
Implement helper for wasm32 MilliSecondsSinceUnixEpoch
gnunicorn 32a8ec7
minor wasm32 fixes
gnunicorn 47dff21
update trait impl of indexeddb
gnunicorn 6d9920c
various minor cleanups of unused imports
gnunicorn 229a81b
Implement saving
gnunicorn b42b04e
account loading and saving
gnunicorn 47168ca
implement saving user
gnunicorn fe257ef
properly open encrypted state db
gnunicorn 8338026
implement devices saving and deleting
gnunicorn 41faa59
implement keyrequests
gnunicorn c9a1035
implement olm_hashes
gnunicorn 85dde94
implement sessions
gnunicorn d509eaa
implement tracked user
gnunicorn 59e3baf
cover more inbound_group_session functions
gnunicorn 1e654ac
backup and reset for inbound_groups
gnunicorn e3c6282
test and impl for outbound
gnunicorn 954cce4
make cryptostore tests reusable
gnunicorn 9f0fe18
fix async_test for non-wasm32 envs
gnunicorn f185aa2
reuse cryptostore for sled
gnunicorn 968f80c
minor fix
gnunicorn 9b7c1d7
Merge remote-tracking branch 'upstream/main' into ben-wasm-store
gnunicorn 9a0cf2b
Merge remote-tracking branch 'upstream/main' into ben-wasm-store
gnunicorn 97d675f
fix formatting
gnunicorn c5e7ca0
undo my olm-sys-hack
gnunicorn 4fdada5
fixing typo
gnunicorn 1a20e62
remove trouble causing unnecessary ref-clone
gnunicorn a1b62a1
allow helper to be unused
gnunicorn c7a9fc6
syntax fix
gnunicorn 9d5c1fc
move store tests into separate reusable macro, too
gnunicorn 4b12260
move store implementations into files
gnunicorn b150dea
fix style
gnunicorn afaeae8
unify indexeddb-features and improve example build
gnunicorn 293700c
checking all crates for wasm32
gnunicorn 787f826
fixing CI
gnunicorn 8ab5df4
remove appservice, as it won't support wasm for a while
gnunicorn 6b3f008
ensure Instant::now is working properly
gnunicorn 2ee7a95
(now really) ensure Instant::now is working properly
gnunicorn f548508
limit test execution to platforms that support it
gnunicorn 470c81b
be specific with dead_code
gnunicorn ac2771b
add docs
gnunicorn d039590
activate available tests for wasm32
gnunicorn 7e6ac42
cleaning up store
gnunicorn d155f9a
can work on wasm32
gnunicorn 1bbe38e
compiling matrix-sdk for wasm
gnunicorn d0838d6
fixing style
gnunicorn 53ad581
typo fixes
gnunicorn 652ef6e
sled store needs tokio
gnunicorn aab1fd2
fixing ci job
gnunicorn 9883ca0
[CI] parallel and the correct crates
gnunicorn 10e2753
fix CI format
gnunicorn 4e18286
remove another dependency
gnunicorn 5734afc
[CI] fixing test syntax
gnunicorn 8952324
fixing main sdk wasm testing
gnunicorn 2ccb1d2
don't pickle
gnunicorn 3de6f60
remove unneccessary imports and compiler flags
gnunicorn a6dbd6b
escaped characters for indexeddb keys
gnunicorn 007b7e2
outsource SafeEncode helper
gnunicorn 186bd97
reuse SafeEncode for indexeddb_cryptostore
gnunicorn bf9ad7a
fix typo
gnunicorn e02407e
Merge remote-tracking branch 'upstream/main' into ben-wasm-store
gnunicorn 35f2a00
style and docs fixes
gnunicorn 3f9b551
activate IdbKeyRange feature on web-sys dependency
gnunicorn 2982741
minor style fix
gnunicorn 7fc040d
Merge remote-tracking branch 'upstream/main' into ben-wasm-store
gnunicorn 678527e
libolm is fixed, so should our code be
gnunicorn fa00cba
fixing style
gnunicorn 4f93e73
fixing typo
gnunicorn 71bc043
extended testing for wasm example
gnunicorn 7ad5bc7
version listing
gnunicorn 8feab72
[CI] dynamic node version
gnunicorn 9d4d866
latest and node
gnunicorn afe7d05
[ci] fix syntax
gnunicorn 1a206ff
let them all run out
gnunicorn e619cc1
don't combine
gnunicorn 8dda7ea
please consider all includes
gnunicorn 1f5a084
don't fail fast
gnunicorn 5748933
refine wasm tests
gnunicorn 98beff4
resolve clippy complaints
gnunicorn cbd4aa0
disable test failing on macosx
gnunicorn 3cde28a
trying older emscripten
gnunicorn 15cdaea
fix broken now call
gnunicorn 9ff4609
testing emcc versions
gnunicorn 8ce622d
fixin style
gnunicorn 3468773
create sync token store
gnunicorn e1ad8fe
Merge remote-tracking branch 'upstream/main' into ben-wasm-store
gnunicorn 0937c2e
[fix ci] remove unused import
gnunicorn 278d934
fix broken merge
gnunicorn fb81ebf
fixing style again
gnunicorn 92044ce
fixing style again
gnunicorn a0f2e38
Merge remote-tracking branch 'upstream/main' into ben-wasm-store
gnunicorn 93c75c1
fixing build warnings and clippy lints
gnunicorn e2c6dc3
Merge remote-tracking branch 'upstream/main' into ben-wasm-store
gnunicorn ea959a1
Merge remote-tracking branch 'upstream/main' into ben-wasm-store
gnunicorn b4d5ad9
fixing style
gnunicorn c07c284
fixing docs for await
gnunicorn 7e008d0
fixing linux tests
gnunicorn 666bec4
fixing indexeddb types merge
gnunicorn b8d93d0
implementing room removal for indexeddb
gnunicorn 64709f1
fixing style
gnunicorn 990b897
switch tokio:test to async_test
gnunicorn fa60881
disable broken test
gnunicorn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will still turn our CI state into a ❌, oh well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, github actions don't have a proper ignore-failure switch ... what I could offer is to comment the specific test (which would also mean we don't waste these resources every time) until we have it fixed up ...?!?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, sounds good.