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
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
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
Damir Jelić
c01cbdd3f2
fix(crypto-ffi): Allow room message requests to be marked as sent
2022-05-03 10:59:16 +02:00
ganfra
84d1af1332
[crypto-ffi] Add RoomMessage in RequestType
2022-05-03 10:49:17 +02:00
Benjamin Kampmann
e3016482e1
fix: Simplify UnknownError in SDK
2022-05-03 10:28:28 +02:00
Benjamin Kampmann
a58a58f30d
Merge remote-tracking branch 'origin/main' into ben-feature-fixup
2022-05-03 10:21:11 +02:00
Benjamin Kampmann
7dd7f5a611
Merge pull request #626 from matrix-org/gnunicorn/issue565
...
Fixing benchmarking,
fixes #565
2022-05-03 10:20:15 +02:00
Benjamin Kampmann
aad0cbe496
ci(benchmarking): disable benchmark runs other than manually requested
2022-05-03 09:39:35 +02:00
Benjamin Kampmann
68d5097d96
fix(sled): Unmix stripped and regular user_ids
2022-05-03 09:03:13 +02:00
Benjamin Kampmann
06085a0c74
Merge remote-tracking branch 'origin/main' into gnunicorn/issue133
2022-05-03 08:45:24 +02:00
Benjamin Kampmann
f416ebfdd8
fix(sled-store): Fix faulty mixing of stripped and regular user_ids
2022-05-03 08:44:52 +02:00
Benjamin Kampmann
4de29b8178
test(state tests): Put stripped_member test into its own DB to ensure separation
2022-05-03 08:22:57 +02:00
Benjamin Kampmann
12894aff99
ci(benchmark): Fixing output format
2022-05-02 17:01:56 +02:00
Benjamin Kampmann
f20390036b
fix(indexeddb): Ensure internal account info is up to date on regular save_changes
2022-05-02 16:58:21 +02:00
Benjamin Kampmann
9763c13a34
ci(benchmarks): Switch to Mr. B access token
2022-05-02 16:36:44 +02:00
Benjamin Kampmann
54c93e4982
ci(benchmarks): more specific cargo-bench params
2022-05-02 16:30:30 +02:00
Benjamin Kampmann
b6d71cbeba
fix(benchmarks): keep the temprorary dir until end of tests
2022-05-02 16:29:50 +02:00
Benjamin Kampmann
a4ec6cb6d6
fix(sled-crypto): Ensure cryptostore.save_changes for account updates internal account_info
2022-05-02 16:29:02 +02:00
Benjamin Kampmann
1ea377bdbf
chore: Merge pull request #625 from matrix-org/ben-ci-fixup
...
xtask fixup
2022-05-02 15:45:29 +02:00
Benjamin Kampmann
827f8c3e17
ci(benchmarking): Add github token to benchmarking
2022-05-02 14:17:13 +02:00
Benjamin Kampmann
32cd372f49
Merge remote-tracking branch 'origin/main' into ben-feature-fixup
2022-05-02 13:30:42 +02:00
Benjamin Kampmann
b592fc5cac
Update xtask/src/fixup.rs
...
Co-authored-by: Jonas Platte <jplatte@element.io >
2022-05-02 12:44:31 +02:00
Benjamin Kampmann
d077aa6a90
chore(indexeddb): Merge fixes
2022-05-02 12:07:40 +02:00
Benjamin Kampmann
392d48ba01
Merge remote-tracking branch 'origin/main' into gnunicorn/issue133
2022-05-02 11:51:26 +02:00
Benjamin Kampmann
d1aa463b7c
Apply suggestions from code review
...
Co-authored-by: Jonas Platte <jplatte@element.io >
2022-05-02 11:43:37 +02:00
Benjamin Kampmann
fb8ddfa07d
style: Fixing name
2022-04-29 17:56:50 +02:00