Benoit Marty
0cb770334c
Move content data class to api package
2022-04-12 15:38:20 +02:00
Benoit Marty
1684ba1d14
Move ElementToDecrypt
to api package
2022-04-12 15:38:20 +02:00
Benoit Marty
24d044b147
Move DeviceTrustLevel
, DeviceTrustResult
and UserTrustResult
to api package
2022-04-12 15:38:20 +02:00
Benoit Marty
83570dc24b
Move TextContent class to api
package
...
It is used by the app. Make the extensions internal
2022-04-12 15:38:20 +02:00
Benoit Marty
26e80ba70b
KeysBackup: Better handling of 404 to avoid error log
2022-04-06 12:38:52 +02:00
Benoit Marty
ff1fb63bf6
Fix some ktlint issues, ignore some others
2022-03-28 18:22:04 +02:00
aringenbach
a7639f4424
Merge pull request #5544 from vector-im/aringenbach/5521_permalink_base_url_mention
...
Fix mentions using matrix.to rather than client defined permalink base url
2022-03-15 17:28:16 +01:00
Arnaud Ringenbach
15e3f258f3
Fix wildcard imports
2022-03-15 16:55:24 +01:00
Arnaud Ringenbach
56760ecddc
Create SpanTemplateType and factorize template creation
2022-03-15 16:33:59 +01:00
Aris Kotsomitopoulos
e0b93c2d2c
Merge pull request #5298 from vector-im/feature/aris/thread_live_thread_list
...
Live Threads
2022-03-15 15:14:26 +01:00
Arnaud Ringenbach
094ebe6764
Fix ktlint on TestPermalinkService
2022-03-15 14:57:59 +01:00
Arnaud Ringenbach
ea4addf446
Fix TestPermalinkService header
2022-03-15 14:45:04 +01:00
Arnaud Ringenbach
5b04686827
Fix MarkdownParser unit tests
2022-03-15 14:27:17 +01:00
Onuray Sahin
b4df6e1ae8
Merge branch 'develop' into feature/ons/poll_tests
...
* develop:
Fix lint error.
Fix lint error.
Avoid stable prefix
Support both unstable and stable prefixes.
2022-03-15 16:16:17 +03:00
Onuray Sahin
dd3178c36e
Merge branch 'develop' into feature/ons/poll_tests
...
* develop: (150 commits)
Removes changelog file
Fix PR comment
Adds changelog file
Refactors MessageBubbleView
Updating changelog copy
making use of the fake overrides for testing
extracting the personalization complete emitting to a dedicated function
making use of binding api instead of manual findviewbyid
using consistent method naming for setting the capabilities override
taking the personalization feature flag into account when calculating if personalization is supported - also removes a legacy loading workaround for the account creation step, we're navigating to a new screen AccountCreated so we have to stop the loading
adding changelog entry
using correct label for the avatar capability debug override
forwarding to the profile picture flow when display name changing isn't supported but pictures are when personalising the profile
formatting
dynamically switching the onboarding flow based on the capabilities of the homeserver - when avatars can't be changed we complete the personlisation flow
hiding the toolbar back button and handling system back as take the user home if the display name personalisation is not supported
adding test around account creation via dummy
dynamically changing the account created layout based on if the homeserver supports personalisation
adding entry points for injecting and overriding the homeserver capabilities
extracting method for the handling of the profile picture selection
...
2022-03-15 14:39:51 +03:00
Arnaud Ringenbach
4cf820cb12
Use client permalink base url on mentions if available
2022-03-15 10:34:04 +01:00
ariskotsomitopoulos
d215f03798
Merge branch 'develop' into feature/aris/thread_live_thread_list
2022-03-14 12:02:04 +01:00
Onuray Sahin
a12f918dd5
Add poll test for users try to change their votes after poll is ended.
2022-03-11 19:19:20 +03:00
Onuray Sahin
7c6167ace9
Add poll test for ended polls.
2022-03-11 18:59:27 +03:00
Benoit Marty
fa104adefc
Fix all warnings in file E2eeSanityTests.kt
2022-03-11 15:35:21 +01:00
Onuray Sahin
8b08d3db25
Fix poll test for users vote different options.
2022-03-11 11:36:06 +03:00
ariskotsomitopoulos
34cfdfb6fe
Merge branch 'develop' into feature/aris/thread_live_thread_list
2022-03-10 18:48:41 +02:00
Benoit Marty
becdd1ce29
Fix test compilation after method renaming
...
Also rename in the comment
2022-03-10 17:01:45 +01:00
Onuray Sahin
cd29b1aa4b
Add poll test for users vote different options.
2022-03-10 17:40:16 +03:00
Onuray Sahin
a5441fdf22
Add poll test for someone else chose the same option.
2022-03-10 16:51:23 +03:00
Onuray Sahin
f029759f9a
Add poll test for changing previous answer.
2022-03-10 15:47:40 +03:00
Onuray Sahin
1b348401bd
Add poll test for a single vote.
2022-03-10 15:31:32 +03:00
Onuray Sahin
fd3e5128c7
Test initial poll event.
2022-03-10 14:30:03 +03:00
ariskotsomitopoulos
21111922e6
Merge branch 'develop' into feature/aris/thread_live_thread_list
...
# Conflicts:
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/relation/threads/FetchThreadTimelineTask.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/sync/handler/room/RoomSyncHandler.kt
2022-03-10 12:55:13 +02:00
Benoit Marty
ce4ad8819a
Merge pull request #5380 from vector-im/feature/bca/crypto_fix_rolling_uisi
...
Refactoring for safer olm and megolm session usage
2022-03-10 11:13:07 +01:00
Benoit Marty
cbdc28dd9b
Merge pull request #5457 from vector-im/michaelk/ignore_flaky_test
...
Ignore flaky VerificationTest
2022-03-09 12:18:55 +01:00
Michael Kaye
67c9584215
Ignore flaky VerificationTest
2022-03-08 14:08:30 +00:00
Michael Kaye
ab3f3fba68
Attempt to prevent the deprecated warning/error about Provider usage.
2022-03-08 10:38:23 +00:00
Michael Kaye
1569c2f3c7
Missing import of at-Ignore annotation.
2022-03-07 14:46:01 +00:00
Michael Kaye
f32da28285
Ignore ThreadMessagingTest as it seems to cause other integration tests to fail.
2022-03-07 13:14:38 +00:00
Valere
5d952feef9
code review cleaning
2022-03-04 19:21:19 +01:00
Valere
ada83d0ba6
fix test
2022-03-04 19:21:19 +01:00
Valere
b7bf39b99a
resurrect unwedge test + cleaning
2022-03-04 19:21:19 +01:00
Valere
2d9beb67b4
extract test to dedicated class
2022-03-04 19:21:19 +01:00
Valere
122e785f14
clean test
2022-03-04 19:21:19 +01:00
Valere
2f665dd08f
cleaning
2022-03-04 19:21:19 +01:00
Valere
11e888162c
test forward better key
2022-03-04 19:21:19 +01:00
Valere
c97de48474
Added e2ee sanity tests
2022-03-04 19:21:19 +01:00
Valere
87d930819a
Fix test compilation
2022-03-04 19:21:19 +01:00
Valere
10ea166b2a
Extract olm cache store
2022-03-04 19:21:19 +01:00
ariskotsomitopoulos
e4282e5f29
Merge branch 'develop' into feature/aris/thread_live_thread_list
...
# Conflicts:
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/relation/DefaultRelationService.kt
2022-03-03 13:56:59 +02:00
Filip Rakić
1216dde9c5
ignore KeysBackup tests
2022-03-01 13:16:01 +01:00
ganfra
fb2ed9a7ac
Rename getTimeLine to getTimeline to align naming. Also create TimelineEventDataSource.
2022-02-23 18:00:31 +01:00
ariskotsomitopoulos
49b7726ac8
- Integrate /relations API to create a live thread timeline
2022-02-14 15:09:01 +02:00
fedrunov
06b5563ff6
join and leave methods moved from MembershipService to RoomService an… ( #5183 )
2022-02-10 10:05:03 +01:00
ariskotsomitopoulos
636474b748
Merge branch 'develop' into feature/aris/threads
...
# Conflicts:
# matrix-sdk-android-rx/src/main/java/org/matrix/android/sdk/rx/RxRoom.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/sync/handler/room/RoomSyncHandler.kt
# vector/src/main/java/im/vector/app/features/command/Command.kt
# vector/src/main/java/im/vector/app/features/command/CommandParser.kt
# vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewModel.kt
2022-01-18 12:41:40 +02:00
ariskotsomitopoulos
f6067977fe
Refactor ThreadMessagingTest
2022-01-17 14:27:30 +02:00
ariskotsomitopoulos
5b786e5749
Remove duplicate RetryTestRule
2022-01-17 14:26:39 +02:00
Benoit Marty
1b24b9d764
Merge pull request #4895 from vector-im/feature/bma/empty_state_key
...
Avoid allowing null String for state_key.
2022-01-13 12:00:48 +01:00
ariskotsomitopoulos
9d48ecea2f
Merge branch 'develop' into feature/aris/threads
...
# Conflicts:
# .github/workflows/integration.yml
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
# vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
# vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewState.kt
2022-01-12 18:20:50 +02:00
Benoit Marty
f8afe04a3b
Merge pull request #4842 from vector-im/feature/aris/integration_tests_improvement
...
Trying to fix integration tests
2022-01-12 17:11:16 +01:00
ariskotsomitopoulos
8adeab0ddd
- fix lint error
2022-01-11 16:14:26 +02:00
ariskotsomitopoulos
753e3e7519
- fix ktlint format
...
- Update Threads toolbar UI
2022-01-11 15:31:21 +02:00
Benoit Marty
7581a0b549
Fix test compilation
2022-01-10 18:36:04 +01:00
Benoit Marty
7be01ab7ae
Avoid allowing null String for state_key. Should always be an empty String according to the Matrix specification.
...
There is no functional change, just a change in the SDK API for clarity regarding the Matrix specs.
2022-01-10 17:47:27 +01:00
ariskotsomitopoulos
6503412928
Merge branch 'develop' into feature/aris/threads
...
# Conflicts:
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/send/LocalEchoEventFactory.kt
# vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewModel.kt
2022-01-10 13:26:57 +02:00
ariskotsomitopoulos
0fb26da355
PR Remarks
2022-01-10 11:26:03 +02:00
ariskotsomitopoulos
50e51cbe29
Merge branch 'develop' into feature/aris/threads
2022-01-07 16:36:48 +02:00
ariskotsomitopoulos
ae81f61958
fix integration test
2022-01-07 16:28:58 +02:00
Benoit Marty
37f0ffab8b
Fix test compilation issue
2022-01-07 14:46:40 +01:00
Benoit Marty
bcebfff1a2
Merge pull request #4864 from vector-im/feature/aris/linter_github_actions_improvement
...
Enhance Linter Github Actions Reporting
2022-01-07 14:25:29 +01:00
ariskotsomitopoulos
ac5caccdf9
Merge branch 'develop' into feature/aris/threads
...
# Conflicts:
# matrix-sdk-android/src/androidTest/java/org/matrix/android/sdk/common/CommonTestHelper.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/model/EventEntity.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/timeline/DefaultTimeline.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/timeline/TokenChunkEventPersistor.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/sync/handler/room/RoomSyncHandler.kt
# tools/check/forbidden_strings_in_code.txt
# vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewModel.kt
# vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
# vector/src/main/res/menu/menu_timeline.xml
2022-01-07 13:29:43 +02:00
ariskotsomitopoulos
33a4eac7d2
- Fix github actions ktlint reports
...
- Publish results on PR via commenting
- Support for all modules along with tests
- Code format & emoticons
2022-01-06 00:26:47 +02:00
ariskotsomitopoulos
261030f51e
- Fix integration tests (still not perfect while github actions are very very limited for that)
...
- Split them in msdk and app test along with multiple smaller steps.
- Mark the not working tests with @Ignore so that they will not run neither local or on github actions
- Add user friendly comment on PR to view the results
2022-01-05 23:42:57 +02:00
Benoit Marty
fc7beb7e5f
Prefer usage of any
or none
rather indexOfFirst
wherever it is possible
2022-01-05 15:24:20 +01:00
ariskotsomitopoulos
84c537315c
Github actions test
2022-01-04 00:38:50 +02:00
ariskotsomitopoulos
ef2c32e2c9
Github actions test
2022-01-04 00:32:39 +02:00
ariskotsomitopoulos
925c1671a6
Add more integrations tests for threads
2022-01-03 21:09:36 +02:00
ariskotsomitopoulos
3ef960c4c3
Update copyright
2022-01-03 19:45:48 +02:00
ariskotsomitopoulos
929cc29f77
Update copyright
2022-01-03 19:18:51 +02:00
ariskotsomitopoulos
e482ef4262
First local thread integration test
2022-01-03 16:51:12 +02:00
ganfra
bf287d1827
Timeline: clean up
2021-12-09 12:35:23 +01:00
ganfra
1e2e9e1070
Timeline: change a bit when postPagination is triggered
2021-12-09 12:26:40 +01:00
ganfra
29a4fd1e41
Timeline: make 3 integration tests passing (also add some suspend method on the timeline)
2021-12-07 21:13:41 +01:00
ganfra
667bf1a848
Tests: fix internal TestMatrix
2021-12-03 12:55:32 +01:00
ganfra
f0ecfbbab2
Tests: TestMatrix should only be used internally by sdk tests
2021-11-30 17:22:50 +01:00
ganfra
51f46d199f
Tests: clean after review
2021-11-30 14:15:18 +01:00
ganfra
cfaa7268a8
Tests: clean up a bit
2021-11-26 18:17:28 +01:00
ganfra
ccdeeeab4c
Tests: fix timeline tests + some small others
2021-11-26 18:16:27 +01:00
ganfra
1d9da6c7d3
Tests: do some clean-up and fix bunch of them
2021-11-25 12:46:16 +01:00
ganfra
69720ffdd3
Android tests: introduce TestBackgroundDetectionObserver so sync is not cancelled while testing + fix small warnings
2021-11-19 17:18:39 +01:00
ganfra
a24a9b43fa
Mavericks 2: make the UT happy. Let SDK exposes MatrixCoroutineDispatchers.
2021-10-12 13:47:32 +02:00
Benoit Marty
647b09739f
Fix test compilation
2021-10-04 22:48:43 +02:00
Benoit Marty
d1e9f3131a
Big annoying commit: execute command ./gradlew ktlintFormat
- Fix "colon-spacing"
2021-10-01 13:31:15 +02:00
Benoit Marty
a1caccbcc8
Big annoying commit: execute command ./gradlew ktlintFormat
- Fix "chain-wrapping"
2021-10-01 13:31:15 +02:00
Benoit Marty
2ca3c68611
Big annoying commit: execute command ./gradlew ktlintFormat
- Fix "import-ordering"
2021-10-01 13:31:15 +02:00
Benoit Marty
3f7e810f14
Handle change from WorkManager 2.6.0.
...
https://developer.android.com/jetpack/androidx/releases/work#2.6.0
2021-09-30 12:06:57 +02:00
Valere
94f88c80fc
Fix parent relation handling
2021-09-16 09:33:06 +02:00
Benoit Marty
6a1409ba59
Better management of SDK version
2021-09-09 09:55:24 +02:00
Benoit Marty
ffedd6fcfa
Fix other warning
2021-09-03 17:02:14 +02:00
Benoit Marty
fc22376050
Ignore warning in test.
...
There is probably a better way than using the GlobalScope, but I'm not sure how to do it now.
2021-09-03 17:02:14 +02:00
Benoit Marty
377c4e00a3
Merge pull request #3954 from vector-im/dependabot/gradle/com.android.tools.build-gradle-7.0.2
...
Bump gradle from 4.2.2 to 7.0.2
2021-09-03 12:11:52 +02:00
Valere
1c7e567187
Fix test compilation (autojoin descoped)
2021-09-02 11:56:16 +02:00
Benoit Marty
616e5b17f0
Fix warning
...
provider#androidx.work.impl.WorkManagerInitializer was tagged at AndroidManifest.xml:16 to remove other declarations but no other declaration present
2021-09-02 09:43:39 +02:00
Valere
69c84a2460
support email invite
2021-08-27 17:30:09 +02:00
Paulo Pinto
e61c8c28bb
Standardise spelling and casing of homeserver
...
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-07-15 15:58:50 +01:00
Valere
682e926965
Dnd enhancement
...
+ klint fix
2021-06-17 15:53:35 +02:00
Valere
944c9641a9
Code review
2021-06-17 14:44:24 +02:00
Valere
a1aad53769
Space top level ordering
2021-06-17 14:44:24 +02:00
ganfra
e368ba606b
Account data: allow querying room account data globally from session)
2021-06-09 18:44:30 +02:00
ganfra
0c6506da8c
Account data : define 2 services
2021-06-09 16:20:21 +02:00
Benoit Marty
ea4b5e19fe
VoIP: add protocols checks and third party lookups
...
Add RoomAccountData and handle RoomSyncAccountData
Virtual rooms: add CallUserMapper, branch onNewInvite and mapping, hide them on sdk side (not ideal solution)
Introduce SessionScopedProperty to handle session dependency in the app
Author: ganfra (rebased by Benoit)
2021-05-27 10:28:32 +02:00
Benoit Marty
8d94b5548d
Merge pull request #3316 from vector-im/feature/bma/secretstoring_migration
...
Feature/bma/secretstoring migration
2021-05-20 15:45:58 +02:00
Benoit Marty
babbcedd87
Fix warning 1.5: 'Char.toByte(): Byte' is deprecated
2021-05-14 12:49:38 +02:00
Benoit Marty
824a8a5c66
Fix copyright
2021-05-11 14:06:49 +02:00
Benoit Marty
91be2b6f3f
Add test and handle system upgrade
2021-05-11 14:06:49 +02:00
Benoit Marty
cef4cf09ec
Create a BuildVersionSdkIntProvider to be able to inject it and do some test
...
To merge with BuildVersionSdkIntProvider
To merge with fix add module
To merge with fix buildVersionSdkIntProvider
2021-05-11 13:52:08 +02:00
Valere
efe5176286
rename activeSpaceId to activeSpaceFilter
2021-05-05 22:36:27 +02:00
Valere
4abfc1fd2b
Fix space test + room history visibility bug
2021-05-05 17:46:58 +02:00
Benoit Marty
61380bf48a
Use Junit import
2021-05-04 15:28:52 +02:00
Valere
7d3d080603
Code review
2021-04-28 11:15:58 +02:00
Valere
7910e84d8e
Fix test compilation
2021-04-28 11:15:58 +02:00
Valere
8a35a786b4
Post rebase fixes
2021-04-28 11:15:58 +02:00
Benoit Marty
66ac298e95
Benoit Review: cleanup 2
2021-04-28 11:15:58 +02:00
Benoit Marty
46290f1ed4
Benoit Review: cleanup
2021-04-28 11:15:58 +02:00
Valere
dda45f1c2a
Fix public space guest access & history visibility
2021-04-28 11:15:58 +02:00
Valere
ea5e48b940
1 depth hierarchy support in space panel
2021-04-28 11:15:58 +02:00
Valere
0c5ca9f51b
Space hierachy SDK updates
2021-04-28 11:15:58 +02:00
Valere
883f70306f
Rebase Fixes
2021-04-28 11:15:58 +02:00
Valere
c8916ee83c
Udpate since msc 1772
2021-04-28 11:15:58 +02:00
Dominic Fischer
7ee87a0d4b
Merge branch 'develop' into suspend_functions_1
...
# Conflicts:
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/room/RoomService.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/DefaultRoomService.kt
# vector/src/main/java/im/vector/app/features/home/room/list/RoomListViewModel.kt
2021-04-10 16:50:30 +01:00
Benoit Marty
923715aeb3
Add method for name fallback when there is only one member
2021-04-07 15:19:33 +02:00
Benoit Marty
15c51cad17
Improve interface, name are not nullable
2021-04-07 15:17:02 +02:00
Benoit Marty
2d4866cdc5
Add better support for empty room name fallback
2021-04-06 09:57:33 +02:00
Dominic Fischer
55e8f519df
Convert RoomService to suspend functions
...
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2021-04-02 11:02:32 +01:00
Benoit Marty
0a0c8cde34
Cleanup the test
2021-03-31 11:26:23 +02:00
Benoit Marty
f49df59e10
Convert Room API to suspend ( #24499 )
2021-03-31 11:26:23 +02:00
Benoit Marty
79bee63515
Merge pull request #3079 from Dominaezzz/suspend_functions_9
...
Convert SharedSecretStorageService and AccountDataService to suspend functions
2021-03-31 09:28:20 +02:00
Benoit Marty
67c2b58f85
Merge pull request #3080 from Dominaezzz/suspend_functions_10
...
Convert MembershipService to suspend functions
2021-03-30 11:56:51 +02:00
Dominic Fischer
bc68075ae3
Convert MembershipService to suspend functions
...
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2021-03-29 20:10:41 +01:00
Dominic Fischer
b70585016c
Convert SharedSecretStorageService to suspend functions
...
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2021-03-28 11:50:59 +01:00
Dominic Fischer
8f67511b22
Convert VerificationService to suspend functions
...
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2021-03-27 19:20:16 +00:00
Benoit Marty
5cd86c685d
Copyright
2021-03-22 18:29:06 +01:00
Benoit Marty
d85d44bf4b
Add ApiInterceptor.removeListener()
2021-03-22 18:09:42 +01:00
Benoit Marty
f6e43a5305
Add Android test on ApiInterceptor
2021-03-22 17:13:16 +01:00
Benoit Marty
663fc28cd5
Fix copyright
2021-03-03 19:51:11 +01:00
Benoit Marty
68364e0a82
Fix test compilation issue
2021-03-03 18:50:21 +01:00
Valere
533a7bb180
Code Review
2021-03-02 18:52:32 +01:00
Onuray Sahin
fae484cb95
Create test for ensureOutboundSession function.
2021-03-02 18:50:43 +01:00
Benoit Marty
1294d211d6
Merge branch 'develop' into feature/bma/fix_redirection
2021-02-19 14:43:01 +01:00
Benoit Marty
9443b80811
Fix test: ensure the session is open
2021-02-18 18:46:23 +01:00
Benoit Marty
73e93e7d3d
Doc and method signature
2021-02-18 17:56:05 +01:00
Benoit Marty
c76ced68e0
Make the code a bit easier to understand (no other change)
2021-02-18 17:47:11 +01:00
Benoit Marty
dea76fd81b
Fix test compilation
2021-02-18 15:36:51 +01:00
Valere
e976100f1a
Fix test compilation error
2021-02-03 14:48:43 +01:00