Commit graph

4297 commits

Author SHA1 Message Date
ericdecanini
a173accfa5 Replaces use of LoginType.value with name 2022-03-15 14:59:09 +01:00
ericdecanini
ae540297b1 Adds custom and direct login types 2022-03-15 14:53:59 +01:00
ericdecanini
70b5b9855a Removes debug global error 2022-03-09 12:26:52 +01:00
ericdecanini
6836a12557 Fixes legal comments 2022-03-07 13:49:23 +01:00
ericdecanini
e1f227a545 Fixes legal comments in matrix sdk files added 2022-03-07 13:14:10 +01:00
ericdecanini
0d75273121 Adds stubbing and verification for migration setRequired 2022-03-07 12:22:25 +01:00
ericdecanini
085dd943ff Fixes wrong legal comment on LoginType 2022-03-07 12:13:33 +01:00
ericdecanini
e8432f3140 Adds setRequired to migration 2022-03-07 12:07:41 +01:00
ericdecanini
6338941885 Temporarily removes unit tests 2022-03-07 10:28:48 +01:00
ericdecanini
858923846d Adds Uri static mocking 2022-03-07 09:56:44 +01:00
ericdecanini
9bd3254e41 Removes HomeServerConnectionConfigFixture in fake adapter 2022-03-04 23:27:21 +01:00
ericdecanini
7896bf9023 Removes HomeServerConnectionConfigFixture 2022-03-04 21:36:10 +01:00
ericdecanini
2d07b80ace Fixes broken migration test 2022-03-04 21:14:27 +01:00
ericdecanini
c996f876a2 Fixes Uri EMPTY must not be null 2022-03-04 21:10:52 +01:00
ericdecanini
489670cf6b Adds validation failed test for SessionParamsCreator 2022-03-04 21:07:12 +01:00
ericdecanini
bcd802d335 Changes login types in wizards 2022-03-04 20:58:30 +01:00
ericdecanini
bb2369dad2 Fixes broken tests due to uninitialised HomeServerConnectionConfig homeServerUri 2022-03-04 15:02:03 +01:00
ericdecanini
275505b3e6 Fixes lint errors 2022-03-04 14:53:16 +01:00
ericdecanini
2fda593c3c Adds login types to auth flows 2022-03-04 14:29:42 +01:00
ericdecanini
32bde5a344 Adds loginType UNSUPPORTED 2022-03-04 14:24:47 +01:00
ericdecanini
ea53462107 Adds loginType to DefaultLegacySessionImporter 2022-03-03 17:54:45 +01:00
ericdecanini
40dee006dd Refactors SessionCreator with added tests 2022-03-03 17:51:50 +01:00
ericdecanini
47d5d09af2 Fixes lint errors 2022-03-03 14:46:11 +01:00
ericdecanini
d3d99dd3ba Replaces mocks with fixtures in fake json adapters 2022-03-03 13:21:04 +01:00
ericdecanini
b82efe95bd Moves test packages 2022-03-03 13:18:02 +01:00
ericdecanini
dffd568e14 Adds AuthTo005 realm migration 2022-03-03 13:14:49 +01:00
ericdecanini
d33081c349 Refactors SessionParamsMapperTest by adding fake json adapters 2022-03-03 11:47:31 +01:00
ericdecanini
187502c358 Refactors SessionParamsMapperTest by adding fake moshi 2022-03-03 11:32:23 +01:00
ericdecanini
25e73e5bd0 Adds SessionParamsMapper tests 2022-03-03 10:56:07 +01:00
ericdecanini
209a442d5b Adds LoginType to SessionParams and its entity 2022-03-03 10:55:51 +01:00
ericdecanini
448e8e001f Reimplements soft logout simulation 2022-03-02 14:51:22 +01:00
Tiago Loureiro
ad8809196f Fix overflow on media cache size 2022-03-01 13:12:46 -03:00
Filip Rakić
1216dde9c5 ignore KeysBackup tests 2022-03-01 13:16:01 +01:00
Benoit Marty
9cc35644a3
Merge pull request #5379 from vector-im/feature/aris/cleanup_threads_build_config
Cleanup enabling threads from buildConfig
2022-02-28 21:10:20 +01:00
Benoit Marty
71aac37ec7
Merge pull request #5330 from vector-im/feature/fga/more_realm_fixing
Feature/fga/more realm fixing
2022-02-28 21:02:10 +01:00
ariskotsomitopoulos
ae98185c9d Cleanup enabling threads from buildConfig 2022-02-28 17:39:40 +02:00
dependabot[bot]
ca56865dd1
Bump libphonenumber from 8.12.43 to 8.12.44
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.43 to 8.12.44.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.43...v8.12.44)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-24 23:10:16 +00:00
Benoit Marty
ca8b69e377
Use correct copyright 2022-02-24 14:20:48 +01:00
ganfra
f7c79a6de2 Realm: fix remaining frozen result 2022-02-23 18:02:02 +01:00
ganfra
beeee7c84b Realm: avoid opening realm if not necessary in ReadReceiptsSummaryMapper 2022-02-23 18:01:19 +01:00
ganfra
fb2ed9a7ac Rename getTimeLine to getTimeline to align naming. Also create TimelineEventDataSource. 2022-02-23 18:00:31 +01:00
Erik Johnston
7997435003 Also record next_batch 2022-02-23 11:23:05 +00:00
Erik Johnston
6105d7bea9
Log since token when doing an incremental sync
This aids debugging when `/sync` does something weird server side. Since we already log a line each time we do an incremental sync this shouldn't cause a problem.
2022-02-23 10:22:03 +00:00
Benoit Marty
cc77afbf66 Version++ 2022-02-22 21:33:20 +01:00
Benoit Marty
ed80fe517d Revert recent change to fix a crash
`readReceiptsSummaryEntity.realm` is null
2022-02-22 21:06:41 +01:00
ganfra
4cc80162ca Clean and add Changelog 2022-02-22 14:23:45 +01:00
ganfra
80d19fa497 Realm transactions: use Realm.WRITE_EXECUTOR (and use in Create/Join Room tasks) 2022-02-22 13:00:22 +01:00
ganfra
d27acfa64f Read receipts: use RoomMember instead of User and avoid creating realm instance each time 2022-02-22 12:45:54 +01:00
ganfra
fcca75ee23 Realm: remove usage of freeze as it was not necessary (unique thread) 2022-02-22 12:45:10 +01:00
Benoit Marty
95c00a1cce Udpate comment 2022-02-21 17:52:26 +01:00