Jonas Platte
f93baf7ed4
chore(base): Store name event's ID in BaseRoomInfo
2022-05-06 14:08:01 +02:00
Jonas Platte
9e058b6202
chore(base): Store join_rules event's ID in BaseRoomInfo
2022-05-06 14:08:01 +02:00
Jonas Platte
a5e81ebcc9
chore(base): Store history_visibility event's ID in BaseRoomInfo
2022-05-06 14:08:01 +02:00
Jonas Platte
aa7fc8ff47
chore(base): Store guest_access event's ID in BaseRoomInfo
2022-05-06 14:08:01 +02:00
Jonas Platte
849fbe94f1
chore(base): Store create event's ID in BaseRoomInfo
2022-05-06 14:08:01 +02:00
Jonas Platte
c9527e7263
chore(base): Store canonical_alias event's ID in BaseRoomInfo
2022-05-06 14:08:01 +02:00
Jonas Platte
9a3b81178f
chore(base): Store avatar event's ID in BaseRoomInfo
...
Required to make redactions work properly.
2022-05-06 14:08:01 +02:00
Jonas Platte
1e9e13ab63
chore(base): Use RoomInfo::room_version accessor
2022-05-06 14:08:01 +02:00
Jonas Platte
b95aea9cf0
chore(crypto): Fix new clippy warning
2022-05-06 11:29:35 +02:00
Julian Sparber
12cdf8c159
chore(sdk): Use OnceCell to store server versions
2022-05-06 11:08:10 +02:00
Benjamin Kampmann
2054f5deef
docs(crypto-ffi) Fix a typo in the README.md
...
Merge pull request #645 from Hywan/doc-readme-typo
2022-05-06 08:23:28 +02:00
Benjamin Kampmann
0a6983512a
Merge pull request #646 from Hywan/doc-sdk-base-readme-typo
...
docs(sdk-base) Fix a typo in the `README.md`
2022-05-06 08:07:34 +02:00
Ivan Enderlin
977438207c
docs(sdk-base) Fix a typo in the README.md.
2022-05-05 13:42:34 +02:00
Ivan Enderlin
87b849a95b
docs(crypto-ffi) Fix a typo in the README.md.
2022-05-05 13:36:39 +02:00
Damir Jelić
3a4656cedd
Merge branch 'poljar/cleanup-verification-constructors'
2022-05-05 13:16:34 +02:00
Benjamin Kampmann
7e399e1e8d
Merge pull request #644 from matrix-org/poljar/fix-sled-cryptostore-only-compilation
...
fix(sled): Fix the compilation if only the cryptostore is enabled
2022-05-05 12:43:38 +02:00
Benjamin Kampmann
b9e92886de
refactor!: Put timeline behind experimental-timeline-feature-flag
2022-05-05 12:31:02 +02:00
Damir Jelić
2c415abce8
fix(sled): Fix the compilation if only the cryptostore is enabled
2022-05-05 12:22:16 +02:00
Benjamin Kampmann
3de2a9ad22
feat(sled): Add state store db schema version support
...
Merge pull request #640 from matrix-org/gnunicorn/issue585
2022-05-05 12:13:30 +02:00
Benjamin Kampmann
0f95687bec
fix(base): Don't create empty changeset for each run
2022-05-05 12:11:33 +02:00
Damir Jelić
2a5f17005d
refactor(crypto): Make the transaction id non-optional in the Sas constructor
2022-05-05 11:55:00 +02:00
Benjamin Kampmann
5fce18f4dd
chore: remove unneccessary feature-flag
2022-05-05 11:21:34 +02:00
Benjamin Kampmann
93b42236fe
chore: Merge remote-tracking branch 'origin/main' into b-featureflag-timeline
2022-05-05 10:33:56 +02:00
Benjamin Kampmann
26935ee1c0
Fix(room)!: Calculate display_name correctly for invited rooms
...
- [x] Make the `DisplayName` an actual type to allow API users to localize the generic name
- [x] tests for various naming use cases
- [x] fix the cases where we currently calculate a faulty name, fixes #133
- [x] strong-typed EitherMemberEvent from storage
- [x] add tests for eithermember in store integration tests
- [x] update sled store for new trait signature
- [x] update indexeddb store for new signature
- [x] rename `DisplayName::Computed` to `DisplayName::Calculated`
- [x] fix renaming failing test(s)
2022-05-04 20:04:07 +02:00
Benjamin Kampmann
ab08ce6ff1
style(sled): cargo fmt
2022-05-04 16:54:03 +02:00
Benjamin Kampmann
ae3cd70904
feat(sled): Add store db schema version support
2022-05-04 16:39:08 +02:00
Benjamin Kampmann
7b21166784
chore: Merge remote-tracking branch 'origin/main' into b-featureflag-timeline
2022-05-04 16:17:06 +02:00
Benjamin Kampmann
403ce9b711
chore: Merge remote-tracking branch 'origin/main' into gnunicorn/issue133
2022-05-04 16:10:22 +02:00
Benjamin Kampmann
98fa629f38
fix(memstore): Separate stripped and regular user indixes
2022-05-04 16:09:54 +02:00
Benjamin Kampmann
75f0fe94e8
fix(indexeddb): Separate stripped and regular user_id indixes
2022-05-04 16:02:02 +02:00
Benjamin Kampmann
c0c4c603aa
refactor!: Cleaning up feature gates
...
Merge pull request #591 from matrix-org/ben-feature-fixup
- [x] switches to latest rust 1.60 as MSRV
- [x] renames `encryption`-feature to `e2e-encryption` for clarity
- [x] combines the `*-state-store`/`*-crypto-store` features into a single feature `sled` and `indexeddb` respectivly
- [x] and combines them with weak `e2e-encryption`-dependencies to activate the features as necessary
- [x] moves the code back to the sled-store, where it belongs
- [x] updates the docs accordingly
BREAKING CHANGE
2022-05-04 15:26:20 +02:00
Benjamin Kampmann
0abdebfe8b
docs: typo in feature name
...
Co-authored-by: Damir Jelić <poljar@termina.org.uk >
2022-05-04 15:15:06 +02:00
Benjamin Kampmann
8e2e4e6058
style(xtask): Fixing formatting
2022-05-04 13:54:55 +02:00
Benjamin Kampmann
aaee28b34f
style: Improved wording
...
As suggested in the review.
Co-authored-by: Damir Jelić <poljar@termina.org.uk >
2022-05-04 13:48:11 +02:00
Benjamin Kampmann
335a7d03c3
fix: Put all MSRV to 1.60
2022-05-04 13:41:07 +02:00
Benjamin Kampmann
f61248cbbd
style: Put warnings aside by feature-gating properly
2022-05-04 13:38:08 +02:00
Damir Jelić
83d6e8ea82
refactor(crypto): Simplify the verification object constructors
...
This patch moves all the important identities that we need for
verification into the already existing IdentitiesBeingVerified struct.
It adds a method to get those identities to the store, and streamlines
our to-device and in-room verification constructors.
2022-05-04 13:36:26 +02:00
Benjamin Kampmann
fdcbd59557
fix(SDK): Put timeline behind a feature-flag
2022-05-04 12:55:01 +02:00
Benjamin Kampmann
3a06908755
fix(sled): Put timeline behind feature-flag
2022-05-04 12:42:34 +02:00
Benjamin Kampmann
5f6e0ae033
fix(base): Put further timeline features behind feature-flag
2022-05-04 12:36:53 +02:00
Benjamin Kampmann
e1e919dd2c
fix(indexeddb): Put timeline feature behind feature-flag
2022-05-04 12:24:21 +02:00
Benjamin Kampmann
98d2b8a0fe
fix(base): Put timeline behind exprimental-timeline-feature-flag
2022-05-04 11:54:14 +02:00
Benjamin Kampmann
e60d2fde7e
fixing xtask wasm-pack cli command
2022-05-04 11:11:01 +02:00
Benjamin Kampmann
5d3351f5cc
chore(sledstore): Revert user-id removing code
2022-05-04 10:52:42 +02:00
Jonas Platte
b2273ab7a1
chore: Add semicolons after unit-typed expressions
2022-05-03 14:23:29 +02:00
Jonas Platte
17a26bfe68
chore: Use Entry::or_default() where applicable
2022-05-03 14:23:29 +02:00
Jonas Platte
d44f2657f4
chore(base): Fix inconsistent order of common function parameters
2022-05-03 14:23:29 +02:00
Jonas Platte
1c3890651d
chore(base): Simplify signature of handle_invited_state
2022-05-03 14:23:29 +02:00
Jonas Platte
92f3737be6
chore: Remove unneeded lint silencing
2022-05-03 14:23:29 +02:00
Benjamin Kampmann
3cc5e48aac
ci: Fix new no-crypto ci wasm command
2022-05-03 12:05:34 +02:00