Valere
e71ad0e515
Simple strategy to Ignore old verification messages
2019-12-12 12:03:59 +01:00
Valere
553604423e
Support verification using room transport
2019-12-12 12:03:42 +01:00
Valere
be723256d3
FIx / room transport was not updating state
2019-12-12 10:49:42 +01:00
Valere
819d7182bb
rebase
2019-12-12 10:49:42 +01:00
Valere
0a2ffdbdf1
Convert KeyVerificationStart to data class
2019-12-12 10:49:42 +01:00
Valere
7fc57bdf9b
Fix / Use transport to start verification
2019-12-12 10:49:42 +01:00
Valere
d370f6d7c8
Simple strategy to Ignore old verification messages
2019-12-12 10:49:42 +01:00
Valere
46ef442139
cleaning
2019-12-12 10:49:42 +01:00
Benoit Marty
5f3dc73440
Code review
2019-12-12 10:49:42 +01:00
Valere
6137a88a6f
Support verification using room transport
2019-12-12 10:49:42 +01:00
Valere
82af848c33
Fix / Verification Request Local Echo
2019-12-12 10:27:58 +01:00
ganfra
6b61c95843
Coroutines: introduce a sequencer
2019-12-11 20:39:07 +01:00
Benoit Marty
261b4be287
Follow naming convention
2019-12-11 18:51:46 +01:00
Benoit Marty
205fc0d9d6
Soft Logout - issue with device display name
2019-12-11 18:49:44 +01:00
Benoit Marty
7699560458
Soft Logout - WIP
2019-12-11 18:35:30 +01:00
Benoit Marty
284dc8602f
InvalidToken: Regular Signed out screen
2019-12-11 18:34:21 +01:00
Benoit Marty
29087d4a87
InvalidToken: Rework MainActivity args
2019-12-11 18:34:21 +01:00
Benoit Marty
18649ebddb
InvalidToken: notify the app - WIP
2019-12-11 18:34:21 +01:00
Benoit Marty
d5935a13ac
MatrixError: add some MatrixError from the spec and copy paste documentation
2019-12-11 18:34:21 +01:00
Benoit Marty
670d4dc34e
MatrixError: rename the constants to follow the spec
2019-12-11 18:34:21 +01:00
Benoit Marty
5435a1739e
SoftLogout: parse the parameter from server response
2019-12-11 18:34:21 +01:00
Valere
a673bf092d
Show untrusted conclusions
2019-12-11 18:19:32 +01:00
Valere
0776a301ea
Incoming DM verification handling in timeline
2019-12-11 16:49:34 +01:00
ganfra
3a269be2ef
Sync: fix crash on gplay flavor and reschedule when no network instead of showing a potential notification all the time
2019-12-11 16:24:30 +01:00
Valere
02f03e6b23
Fix test compilation
2019-12-11 16:00:53 +01:00
Valere
8305ce67dd
Aggregate Event References for DM verifications
2019-12-11 14:44:31 +01:00
ganfra
5338f93852
Sync: use a foreground service for initialSync.
2019-12-10 19:52:12 +01:00
Valere
73f0132d5d
FIx / room transport was not updating state
2019-12-10 16:37:54 +01:00
Valere
c462d15bcf
rebase
2019-12-10 14:23:56 +01:00
Valere
3cdd373368
Convert KeyVerificationStart to data class
2019-12-10 11:14:52 +01:00
Valere
2aa9c3ea22
Fix / Use transport to start verification
2019-12-10 11:14:52 +01:00
Valere
bbd9738452
Simple strategy to Ignore old verification messages
2019-12-10 11:14:52 +01:00
Valere
36c5566b07
cleaning
2019-12-10 11:14:52 +01:00
Benoit Marty
ce63332a2f
Code review
2019-12-10 11:14:52 +01:00
Valere
26b4b6e194
Support verification using room transport
2019-12-10 11:14:20 +01:00
Benoit Marty
3ac53d20e9
Bugfix: react several times with the same reaction was possible (was a TODO).
2019-12-10 01:05:20 +01:00
ganfra
9a01b4ace9
Make it through bunch of classes removing potential leaks
2019-12-09 17:41:29 +01:00
Benoit Marty
8b1701e537
Merge pull request #738 from vector-im/feature/ban_reason
...
Displaay ban and other membership events reason
2019-12-09 14:53:06 +01:00
Benoit Marty
41d1b77370
Merge pull request #749 from vector-im/feature/hs_discovery
...
Support entering a RiotWeb client URL instead of the homeserver URL
2019-12-09 14:10:55 +01:00
Benoit Marty
2f26f4b8bb
Add default value (fix test compilation issue)
2019-12-09 14:09:03 +01:00
Benoit Marty
6d82ac7c59
Add default param values
2019-12-09 14:09:03 +01:00
Benoit Marty
57354cbd69
Add reason to slash commands
2019-12-09 14:09:03 +01:00
Benoit Marty
d28700e2bf
Add reason for all membership events ( https://github.com/matrix-org/matrix-doc/pull/2367 )
2019-12-09 14:08:06 +01:00
Benoit Marty
18beef14cf
"ban" event are not rendered correctly ( #716 )
2019-12-09 14:08:06 +01:00
Benoit Marty
e73923dca3
Merge pull request #741 from vector-im/feature/breadcrumbs
...
Breadcrumbs
2019-12-09 14:06:27 +01:00
Benoit Marty
94afd3e66d
Add example of config without default homeserver url
2019-12-07 11:05:18 +01:00
Benoit Marty
5f540a5b45
Support entering a RiotWeb client URL instead of the homeserver URL during connection ( #744 )
2019-12-06 23:46:40 +01:00
Valere
8e3e9876b8
Fixes #739
2019-12-06 10:31:40 +01:00
Benoit Marty
9a4d8f87f6
Breadcrumbs: auto-review
2019-12-05 22:38:49 +01:00
Benoit Marty
0768bd5c88
Breadcrumbs: nicer algorithm
2019-12-05 22:05:37 +01:00
Benoit Marty
65333e6031
Cleanup some Realm queries
2019-12-05 21:49:01 +01:00
Benoit Marty
849e7c613c
Breadcrumbs: live update in correct order
2019-12-05 21:27:56 +01:00
Benoit Marty
ad4d5e5c02
Breadcrumbs: limit number to 20
2019-12-05 17:43:23 +01:00
ganfra
eb9775e307
Fix some crypto realm issues
2019-12-05 17:14:56 +01:00
ganfra
aa9d66b991
Allow returning a value from an async transaction
2019-12-05 17:14:38 +01:00
Benoit Marty
4ff12605e9
Breadcrumbs: notify viewed rooms
2019-12-05 16:06:47 +01:00
Benoit Marty
cec08a20e5
Handle breadcrumbs from account data
2019-12-05 12:13:45 +01:00
Benoit Marty
f31c1b69cb
Remove delay when waiting for first sync to finish and add number of sent keys in the log
2019-12-04 16:52:55 +01:00
Benoit Marty
bdb9d2fbb8
Improve and cleanup OneTimeKey uploader
...
Fix boolean reset if request fails
Implement https://github.com/matrix-org/matrix-js-sdk/pull/493
2019-12-04 16:34:25 +01:00
Benoit Marty
9fb50dde32
Merge pull request #726 from vector-im/feature/sign_x_stabilization
...
Registration stabilization
2019-12-04 16:26:48 +01:00
Benoit Marty
a145aae0aa
Avoid using !!
2019-12-04 15:38:16 +01:00
Benoit Marty
3623072f08
Attempt to properly cancel the crypto module when user signs out ( #724 )
...
Attempt to properly cancel the crypto module when user signs out (#724 )
2019-12-04 15:38:16 +01:00
Benoit Marty
e7a47ae32a
Some cleanup
2019-12-04 11:42:18 +01:00
ganfra
0376de08f4
Clean files
2019-12-04 11:41:54 +01:00
ganfra
90c472fef9
Read marker: fix mark all as read
2019-12-04 11:41:54 +01:00
ganfra
64d73ae8e6
Read marker: handle the jump to read marker
2019-12-04 11:41:54 +01:00
ganfra
d9982076f9
Read marker: continue rework [WIP]
2019-12-04 11:39:51 +01:00
ganfra
5e07e96bdb
Read marker: start reworking how we manage it [WIP]
2019-12-04 11:33:06 +01:00
Benoit Marty
998d9f2c59
Bugfix: Text after the last pill was not send
2019-12-03 14:48:41 +01:00
Benoit Marty
3c6eb4bccf
Rework FilterEntityQueries to fix issue of ghost Realm reference
2019-12-03 11:10:43 +01:00
Benoit Marty
49178dc633
Reduce some log level
2019-12-03 11:10:43 +01:00
Benoit Marty
490ce4b51d
Fix issue of closing Realm in another thread ( #725 )
2019-12-03 10:05:10 +01:00
Benoit Marty
5b63856d96
Add log to detect if a realm instance is not properly closed
2019-12-02 18:33:31 +01:00
Benoit Marty
538c4d1a64
typo
2019-12-02 18:15:21 +01:00
Benoit Marty
1cadbb8eed
Ensure credentials can be stored, even if they already exist
2019-12-02 13:48:20 +01:00
Benoit Marty
3f4f7457c7
Merge pull request #689 from vector-im/feature/signin_signup
...
Login and Registration
2019-12-02 13:47:28 +01:00
Benoit Marty
f11cd47df3
Pills: cleanup
2019-11-29 13:27:26 +01:00
Benoit Marty
f984758d37
Pills: Daggerization
2019-11-29 13:27:26 +01:00
Valere
97766404d6
klint
2019-11-29 13:27:26 +01:00
Valere
38b93c527b
Ensure received pills spans do not overlap
2019-11-29 13:27:26 +01:00
Valere
62bae67080
Code review
2019-11-29 13:27:26 +01:00
Valere
2a4cdec020
klint cleaning
2019-11-29 13:27:26 +01:00
Valere
6bd7257cf2
Send mention pills from composer
2019-11-29 13:27:26 +01:00
Benoit Marty
33925fcf57
Login screens: fix crash on back navigation
2019-11-28 12:09:28 +01:00
Benoit Marty
bb1c988a49
Login screens: Update the local pendingSessionData synchronously, store asynchronously
2019-11-27 16:36:35 +01:00
Benoit Marty
f063abe068
Login screens: keep PendingSessionData member up to date
2019-11-27 16:15:51 +01:00
Benoit Marty
db87d8f644
Login screens: Realm migration for Auth DB
2019-11-27 15:52:02 +01:00
Benoit Marty
fd90f3b9fc
Login screens: reset SDK when home server url is deleted
2019-11-27 15:08:36 +01:00
Benoit Marty
aa51764068
Login screens: save isRegistrationStarted in DB
2019-11-27 15:04:00 +01:00
Benoit Marty
0a19ded167
Login screens: extract some classes
2019-11-27 14:34:07 +01:00
Benoit Marty
2e3763e8b4
Login screens: persist all data during login or registration
2019-11-27 14:26:06 +01:00
Benoit Marty
0c4e0890b1
Use Realm.use { }
2019-11-27 10:49:33 +01:00
Benoit Marty
fbde8d7d18
ktlint
2019-11-26 18:04:42 +01:00
ganfra
ab4cab05cf
Room profile: continue working on UI
2019-11-26 13:22:07 +01:00
Benoit Marty
3eb2e1655f
Login screens: ensure homeserver version is supported - fix bug for SSO
2019-11-26 12:16:39 +01:00
Benoit Marty
9b207dd5dc
Login screens: ensure homeserver version is supported
2019-11-26 11:39:33 +01:00
Benoit Marty
a9526cdd92
Login screens: use homeserver and identity server Uri provided along with the credential is any
2019-11-25 18:32:24 +01:00
Benoit Marty
ab4d42fb20
Login screens: mutualize the code which create session from the credentials
2019-11-25 18:16:57 +01:00
Benoit Marty
6cb3c222a9
Login screens: handle mandatory dummy stage automatically
2019-11-25 16:47:17 +01:00
Benoit Marty
f84ec08847
Code cleanup, restore comment, and fix regression on delay
2019-11-25 14:11:38 +01:00
ganfra
9d0188cbf1
Create user from userId during initialSync
2019-11-22 20:28:52 +01:00
ganfra
73462a3045
Clean some coroutine code
2019-11-22 20:04:11 +01:00
Benoit Marty
91fcf428dd
Login screens: login with unknown email
2019-11-22 14:21:14 +01:00
Benoit Marty
8de1fa835b
Improve M_LIMIT_EXCEEDED error rendering
2019-11-22 12:15:19 +01:00
Benoit Marty
49f7ce3554
Login screens: better API
2019-11-22 12:15:19 +01:00
Benoit Marty
a3111dc2d8
Login screens: rename a few classes and packages
2019-11-22 12:15:19 +01:00
Benoit Marty
be95542110
Login screens: dummy stage shoud not be mandatory
2019-11-22 12:15:19 +01:00
Benoit Marty
6723a566c2
Login screens: refacto: create an AuthenticationWizard
2019-11-22 12:15:19 +01:00
Benoit Marty
90027cc4d5
Login screens: reset password WIP
2019-11-22 12:15:19 +01:00
Benoit Marty
42c5adf08d
ktlint
2019-11-22 12:15:19 +01:00
Benoit Marty
491a38a79f
Login screens: send again 3pid
2019-11-22 12:15:19 +01:00
Benoit Marty
1a603742d0
Cleanup
2019-11-22 12:15:19 +01:00
Benoit Marty
dd44078297
Login screens: fix several issue with check email screen
2019-11-22 12:15:19 +01:00
Benoit Marty
5770023593
Login screens: code cleanup
2019-11-22 12:15:19 +01:00
Benoit Marty
2e4c3f850a
Cleanup
2019-11-22 12:15:19 +01:00
Benoit Marty
127916a8d9
Login screens: add MSISDN
2019-11-22 12:15:19 +01:00
Benoit Marty
248a584e1a
Login screens: Add Msisdn - WIP
2019-11-22 12:15:19 +01:00
Benoit Marty
b8a3ad0c43
Login screens: Wait for email validation screen
2019-11-22 12:15:19 +01:00
Benoit Marty
1f161b7e23
Login screens: Add 3Pid step 1
2019-11-22 12:15:19 +01:00
Benoit Marty
20ad3abb60
Login screens: set initial device name
2019-11-22 12:15:19 +01:00
Benoit Marty
1dc7dfc896
Login screens: registration fallback
2019-11-22 12:15:19 +01:00
Benoit Marty
1c03163a33
Login screens: prepare email and msisdn
2019-11-22 12:15:19 +01:00
Benoit Marty
9aa270c7ad
Login screens: Perform dummy action when user does not want to enter an email -> account created!
2019-11-22 12:15:19 +01:00
Benoit Marty
3f80076fb1
Login screens: Terms step for registration
2019-11-22 12:15:19 +01:00
Benoit Marty
dfbf448bb7
Login screens: Captcha step for registration
2019-11-22 12:15:19 +01:00
Benoit Marty
41ac2c6d70
Login screens: Registration WIP
2019-11-22 12:15:19 +01:00
Benoit Marty
9a628c7b5d
ktlint
2019-11-22 12:15:19 +01:00
Benoit Marty
fb46a14172
Fix compilation issue after rebase
2019-11-22 12:15:19 +01:00
Benoit Marty
2871e4f5b1
Login screens: forget password screens
2019-11-22 12:15:19 +01:00
Benoit Marty
4485d1c685
Registration flow: SDK side
2019-11-22 12:14:48 +01:00
Matthew Hodgson
2e87e0b4c1
fix typo
2019-11-21 01:41:59 +00:00
ganfra
6b1b3bec85
Clean code for klint
2019-11-14 13:25:04 +01:00
ganfra
6bd6ececb7
Timeline: handle sticker events
2019-11-14 13:23:12 +01:00
ganfra
c7db695e67
Timeline: handle join rules event
2019-11-14 12:21:55 +01:00
ganfra
79350899c5
Read receipts: use primary key to query
2019-11-13 19:21:14 +01:00
ganfra
2e50d2a36e
Clean code for klint
2019-11-13 11:38:30 +01:00
ganfra
643c062858
Merge branch 'develop' into feature/perf_again
2019-11-13 10:44:59 +01:00
ganfra
ec71b53c1e
RoomSummary: don't map read receipts
2019-11-12 19:25:21 +01:00
Benoit Marty
fc91694bdd
Merge pull request #673 from vector-im/feature/us
...
Update strings
2019-11-12 12:08:55 +01:00
ganfra
1bd2c0d220
Merge branch 'develop' into feature/perf_again
2019-11-08 17:09:22 +01:00
ganfra
bcb811a7e8
Realm perf: use Dispatchers.Default for write, as we don't want to create so many threads (and we can only have one write transaction at a time)
2019-11-08 17:08:44 +01:00
ganfra
17f3614288
Perf: try to optimize room summary updates
2019-11-08 13:48:35 +01:00
ganfra
61ac250e2b
Merge branch 'develop' into feature/room_list_actions
2019-11-07 15:43:21 +01:00
Benoit Marty
b6bb714264
Display name and avatar of the user
2019-11-07 14:18:57 +01:00
Benoit Marty
a87310ac15
update comment
2019-11-07 14:18:57 +01:00
Benoit Marty
032e1b3d19
ktlint
2019-11-07 14:18:57 +01:00
Benoit Marty
9c952b6bc8
Display ignored users list
2019-11-07 14:18:57 +01:00
Benoit Marty
fbae3d27c2
Ignore/Unignore userIds
2019-11-07 14:13:29 +01:00
Benoit Marty
2f7d1f9f01
Ignored Users account data
2019-11-07 14:13:29 +01:00
Benoit Marty
114101699d
Fix potential ignoring of account data (return@foreach)
2019-11-07 14:13:29 +01:00
Benoit Marty
2027802f82
Add debug screen for all SAS emoji
2019-11-07 10:37:49 +01:00
ganfra
3af7ca9ab0
Retrofit: lazy init okhttp
2019-11-06 20:07:28 +01:00
ganfra
93ef3edab3
Remove some use of sync write in realm
2019-11-06 18:47:11 +01:00
Benoit Marty
d0c3271628
Import string from Riot-Android and fix #671
2019-11-06 18:19:37 +01:00
ganfra
ad9a48d5fa
Clean code
2019-11-05 18:36:30 +01:00
Benoit Marty
9d478dbfe2
Import change form https://github.com/matrix-org/matrix-android-sdk/pull/505
2019-11-05 11:18:22 +01:00
ganfra
93df8c56a8
Fix compilation error and use mockk instead of manual mocking (prone to error)
2019-11-04 17:09:03 +01:00
ganfra
6177e69855
Merge branch 'develop' into feature/room_list_actions
2019-11-04 15:11:20 +01:00
ganfra
5c71cabb5f
Clean code
2019-11-04 15:08:08 +01:00
Benoit Marty
a85b5af761
Merge pull request #641 from vector-im/feature/fix_crash
...
Fix crash
2019-11-04 14:28:31 +01:00
ganfra
d47cf7e932
Merge branch 'develop' into feature/fix_#498
2019-10-30 19:26:11 +01:00
ganfra
101057520b
Fix disambiguated with empty senderName
2019-10-30 19:25:24 +01:00
Benoit Marty
118870bc41
ktlint cleanup
2019-10-29 17:02:55 +01:00
Benoit Marty
d001ab5bef
Merge pull request #640 from Dominaezzz/kotlinify
...
The last of the clean up.
2019-10-29 17:01:38 +01:00
ganfra
035359cb35
Update CHANGES and clean code
2019-10-28 17:01:41 +01:00
ganfra
57b640622b
Sender Name: we should use disambiguated display name over senderName. PrevContent fallback is now handled in SDK
2019-10-28 16:48:55 +01:00
ganfra
00ca5dc70a
RoomListActions: handle room notification state. Still need to branch UI
2019-10-25 18:23:47 +02:00
Benoit Marty
0040f8e924
Fix crash reported by Rageshake, stateKey can be null
2019-10-24 18:51:47 +02:00
Benoit Marty
2929b8f617
Ensure Android tests compile and fix warnings
2019-10-24 17:24:42 +02:00
Benoit Marty
7c567b04bb
Make test compile and pass
2019-10-24 16:36:12 +02:00
Dominic Fischer
1ac99e92a6
Light refactoring.
...
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-10-24 14:58:11 +01:00
Dominic Fischer
5ab975cc5c
General kotlinification.
...
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-10-24 14:53:44 +01:00
Dominic Fischer
2cf63ea92a
Remove import java.util.*
from kotlin files.
...
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-10-24 14:53:10 +01:00
ganfra
b17b54d218
Merge pull request #637 from vector-im/feature/fix_room_summary
...
Feature/fix some room related stuff
2019-10-23 17:29:14 +02:00
ganfra
187e2a26db
Clean after Benoit's review
2019-10-23 17:26:56 +02:00
ganfra
2f5fdbb7e2
Clean and fix lint
2019-10-23 16:20:38 +02:00
ganfra
8b1411f533
Read marker: test if local echo before hitting the SDK to change read marker id + reduce a bit delay
2019-10-23 16:13:35 +02:00
Benoit Marty
ff81715783
Import Strings from Riot
2019-10-23 14:18:40 +02:00
ganfra
50bf6df7fe
Room summary: fix some issues with local echo and sending event
2019-10-23 11:55:19 +02:00
Benoit Marty
377a228f88
Improve code
2019-10-22 17:31:07 +02:00
Benoit Marty
f43dcb1183
Update room summary when saving local echo from DefaultRelationService
2019-10-22 16:54:48 +02:00
Benoit Marty
492ed3954a
code cleanup
2019-10-22 16:54:48 +02:00
Benoit Marty
7890e83204
Merge pull request #630 from vector-im/feature/crypto_lock
...
Fix dead lock on crypto
2019-10-22 16:53:33 +02:00
Benoit Marty
00d1a2c380
Merge pull request #629 from vector-im/feature/fix_malformed_event_bug
...
Fix / event mapper persist the clear type in type
2019-10-22 14:47:08 +02:00
Benoit Marty
78dfd6b3e6
Fix potential lock due to nested synchronized(unknownSessionsFailure)
2019-10-22 14:20:43 +02:00
Benoit Marty
3abce34484
Add in existingRequest only if not filtered
2019-10-22 12:45:36 +02:00
Benoit Marty
7416fec93e
Do not decrypt event if session is unknown
2019-10-22 12:37:17 +02:00
Benoit Marty
3c40f64fb7
Add a few comments
2019-10-22 12:33:25 +02:00
Benoit Marty
b57c71b1c9
Remove unused import
2019-10-22 12:27:55 +02:00
Benoit Marty
fea54952d3
Code quality
2019-10-22 12:26:56 +02:00
Benoit Marty
3dc5ef54ab
Fix compilation warnings
2019-10-22 12:21:50 +02:00
Benoit Marty
cebd8136da
Merge branch 'develop' into kotlinify
2019-10-22 12:16:20 +02:00
Valere
64b3568d51
Fix / event mapper persist the clear type in type
2019-10-22 11:57:11 +02:00
Dominic Fischer
5e4e54153c
Fix build error.
...
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-10-21 22:52:58 +01:00
Dominic Fischer
d071324694
Address review comments.
...
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-10-21 22:29:36 +01:00
Benoit Marty
e39c4a7925
fix ktlint issue
2019-10-21 17:22:28 +02:00
Benoit Marty
a7a19dab11
Report content: Service and REST request
2019-10-21 17:22:00 +02:00
Benoit Marty
723a007c39
Merge pull request #626 from vector-im/feature/myUserIdInject
...
Inject userId where possible
2019-10-21 16:01:48 +02:00
Benoit Marty
b1710fde60
Merge pull request #618 from vector-im/feature/mark_all_read
...
Mark all as read
2019-10-18 15:02:16 +02:00
Benoit Marty
cd0a40c18d
Fix compil test issue
2019-10-18 14:34:44 +02:00
Benoit Marty
17636019e0
Change order of parameters
2019-10-18 14:32:34 +02:00
Benoit Marty
3986839801
Inject userId
2019-10-18 14:25:19 +02:00
Dominic Fischer
f7f97e2098
Typos
...
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-10-12 16:04:47 +01:00
Dominic Fischer
e28e2dadb9
Some more clean up
...
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-10-12 15:37:20 +01:00
Benoit Marty
3622c0ecb4
Mark all as read
2019-10-11 16:22:32 +02:00
Benoit Marty
fbb23dfb66
ktlint: fix (no-empty-first-line-in-method-block) issues
2019-10-09 16:43:12 +02:00
Benoit Marty
e5779d425a
ktlint: fix (experimental:multiline-if-else) issues
2019-10-09 16:40:44 +02:00
Benoit Marty
30e43e47cd
Fix filename ktlint issues
2019-10-09 15:44:01 +02:00
Benoit Marty
15dc4d6369
Fix ktlint issue automatically by running ./ktlint --android -v -F
2019-10-09 15:24:05 +02:00
Benoit Marty
eec470f2ce
Fix code quality issues
2019-10-09 15:15:15 +02:00
Benoit Marty
cdfc402599
Fix Timber error in formatting
2019-10-09 15:06:38 +02:00
Benoit Marty
a9c474105a
Fix warnings in the SDK
2019-10-09 12:49:00 +02:00
Benoit Marty
36c5f9af13
Merge pull request #583 from vector-im/feature/invot_notification
...
Invitation notifications are not dismissed automatically if room is joined from another client (#347 )
2019-10-09 12:48:07 +02:00
Benoit Marty
549f749682
Nest the try catch blocks
2019-10-08 14:00:11 +02:00
Benoit Marty
e80191b2e0
Use mutableSet
2019-10-08 13:52:26 +02:00
Benoit Marty
c62c77f14c
Stop sending bus event from SDK to App.
2019-10-08 12:00:40 +02:00
Benoit Marty
50a0660ab6
Invitation notifications are not dismissed automatically if room is joined from another client ( #347 )
2019-10-08 10:56:47 +02:00
Benoit Marty
3f9b7813bc
Remove undocumented attribute and fix issue with image size when it contains exif rotation
2019-10-08 10:53:21 +02:00
Benoit Marty
f34f28b668
Add Exif orientation info to ContentAttachmentData
2019-10-08 10:52:54 +02:00
Benoit Marty
adf0382d28
Merge pull request #603 from vector-im/feature/clear_corrupted_realm
...
Feature/clear corrupted realm
2019-10-07 16:35:23 +02:00
Benoit Marty
8b04fdab77
Upgrade other libraries
2019-10-07 16:22:09 +02:00
ganfra
4f7ec91255
Merge pull request #604 from vector-im/feature/performance
...
Feature/performance
2019-10-07 16:08:39 +02:00
Benoit Marty
979b42aa30
Do not delete the crypto DB when deleting the session DB
2019-10-07 16:07:57 +02:00
Benoit Marty
d2b9668d4e
Inject element where they are used
2019-10-07 15:25:54 +02:00
ganfra
8e39fd2a70
Clean after benoit's review
2019-10-07 14:45:58 +02:00
ganfra
abbc62dd35
Clear corrupted db: add some logs
2019-10-04 19:42:27 +02:00
ganfra
77de059dc9
Timeline: fix potential issues when starting/disposing the timeline
2019-10-04 19:37:44 +02:00
ganfra
1931a1a4a4
Sync: use some suspending function where it makes sense
2019-10-04 19:37:23 +02:00
ganfra
4e4fb4c565
Crypto store: fix potential issue with realm open/close process
2019-10-04 19:36:10 +02:00
ganfra
0582d0f641
Timeline: fix some crashes
2019-10-04 12:12:39 +02:00
ganfra
ef2af14529
Realm: remove RealmLiveData and use Optional for LiveData with potential null value
2019-10-03 19:19:53 +02:00
ganfra
275dd20412
Optimize: don't build OkHttp in Application OnCreate if we don't need it
2019-10-01 20:12:01 +02:00
ganfra
42e0a45f3f
Merge branch 'develop' into feature/read_marker
2019-10-01 13:37:21 +02:00
ganfra
e842bf13b2
Timeline: fix back pagination state
2019-10-01 12:32:48 +02:00
ganfra
b5c6c1af0d
Realm: allow to clear corrupted session db
2019-09-30 19:09:10 +02:00
Benoit Marty
53b1b89c47
after login, the icon in the top left is a green 'A' for (all communities) rather than my avatar ( #267 )
2019-09-26 17:30:30 +02:00
ganfra
8605095668
Fix quality code issues
2019-09-26 16:49:41 +02:00
ganfra
737959f616
Merge branch 'develop' into feature/read_marker
2019-09-26 15:15:34 +02:00
Benoit Marty
a060431aaf
Fix my dirty code
2019-09-26 13:51:44 +02:00
ganfra
a3f561d788
Merge branch 'develop' into feature/read_marker
2019-09-26 12:19:40 +02:00
ganfra
0ea878af8a
Timeline: fix some more issues
2019-09-26 11:55:16 +02:00
Benoit Marty
99de40c980
Merge pull request #589 from vector-im/feature/media_upload_failure
...
Fix media upload failure
2019-09-26 11:30:54 +02:00
Benoit Marty
810a97c639
Import string from Android-SDK ( #355 )
2019-09-26 11:14:13 +02:00
Benoit Marty
62b7a83a31
Update after Dominaezzz's review
2019-09-26 10:08:44 +02:00
ganfra
4a80df082c
Timeline: refact [WIP]
2019-09-25 19:14:12 +02:00
Benoit Marty
60f6b3ef02
Auto review
2019-09-25 17:08:58 +02:00
Benoit Marty
a0b1ef3216
Do not upload file to big for the homeserver ( #587 )
...
Also create a HomeServerCapabilitiesService which provide configuration of the homeserver.
Data are retrieved every 8 hours (as RiotWeb?)
2019-09-25 16:59:50 +02:00
Benoit Marty
f077cc8467
Stop sending media in an infinite loop in case of error (part of #587 )
...
Not sure how this commit fix it, but the issue is not observed anymore with it
2019-09-25 14:09:26 +02:00
Benoit Marty
f3039601bf
throw Failure instead of meaning less IOException
2019-09-25 11:27:23 +02:00
Benoit Marty
4c04014e4d
Do not log big data request (ex: file upload)
2019-09-25 11:26:49 +02:00
Benoit Marty
ae8bceacba
Create Extension to convert a Response to a Failure -> expose to other object
2019-09-25 11:26:13 +02:00
Benoit Marty
9b91b6ea87
Create Extension to convert a Response to a Failure
2019-09-25 10:56:18 +02:00
Benoit Marty
1c9cf7a810
Dagger code cleanup
2019-09-24 13:40:03 +02:00
ganfra
05d09bf950
Merge branch 'develop' into feature/read_marker
2019-09-24 11:10:59 +02:00
Benoit Marty
5a2a9f908a
isEventRead() returns true if the event has been sent by the user
2019-09-24 10:04:57 +02:00
ganfra
f6d34ec7fd
Timeline: update state management
2019-09-23 17:43:37 +02:00
Benoit Marty
546da0f173
Merge branch 'develop' into feature/notif_invit
2019-09-23 16:23:22 +02:00
Benoit Marty
8e1a964679
After Ganfra's review
2019-09-23 15:08:18 +02:00
ganfra
7e29665fd0
Timeline: add some comments and checks
2019-09-20 18:34:31 +02:00
Benoit Marty
e04bf31faa
Fix wrong "no network" banner
2019-09-20 18:18:55 +02:00
Benoit Marty
d25cf79b07
Cleanup
2019-09-20 17:50:57 +02:00
Benoit Marty
faa8e6bbb2
m.notice messages trigger push notifications ( #238 )
2019-09-20 17:50:57 +02:00
Benoit Marty
d3d4deb884
Rework Action (better kotlin code)
2019-09-20 17:50:57 +02:00
Benoit Marty
f6b8e0c479
Fix issue: push rules was not retrieved after a clear cache.
...
We now store push rules from the sync response
2019-09-20 17:50:57 +02:00
Benoit Marty
2a726f54a2
Remove userId from PushRulesEntity and PusherEntity objects
2019-09-20 17:50:15 +02:00
Benoit Marty
1197d4021d
Fix regression on PushRulesApi
2019-09-20 17:50:15 +02:00
Benoit Marty
03f8120b7d
Create enum for Push rules. Also add some TODOs
2019-09-20 17:50:15 +02:00
Benoit Marty
acd7a709de
Dagger: create @UserId to inject userId
2019-09-20 17:50:15 +02:00
Benoit Marty
b3e1c3969d
Little changes after review
2019-09-20 17:34:50 +02:00
ganfra
90eeb68d36
Timeline: fix permalink towards an hidden event
2019-09-20 17:22:04 +02:00
Benoit Marty
a993a30203
Handle left group from sync
2019-09-19 17:08:22 +02:00
ganfra
ea0809ff87
Merge branch 'develop' into feature/read_marker
2019-09-19 16:57:00 +02:00
ganfra
9668487b6b
Timeline/Read: update read receipt locally to
2019-09-19 16:17:58 +02:00
Benoit Marty
36866dd24e
Save draft of a message when exiting a room with non empty composer ( #329 )
2019-09-19 13:09:08 +02:00
Benoit Marty
7da9cafcc2
Remove any notification of a redacted event ( #563 )
...
Also do some cleanup and kotlinification on the code
2019-09-19 13:01:00 +02:00
Benoit Marty
468bd5bcc9
Message Editing: Update notifications ( #128 )
2019-09-19 12:57:58 +02:00
Benoit Marty
3169093c50
Quick fix on the no connection banner displayed when internet is available
2019-09-19 12:55:39 +02:00
Benoit Marty
0ffb5e627e
Cleanup injected constructors
2019-09-19 12:43:39 +02:00
Benoit Marty
b4a13f9504
Add unread indent on room list
2019-09-19 12:43:39 +02:00
ganfra
88fb9667a3
Timeline: continue fixing issues + read marker
2019-09-18 20:21:42 +02:00
ganfra
3066d5f303
Timeline\ReadMarker: continue fixing issues
2019-09-17 19:38:05 +02:00
Benoit Marty
9bf484cf1e
Create a Failure to handle cancellation, and use it to ignore cancellation on room search
2019-09-17 14:55:48 +02:00
Benoit Marty
4453f0ced9
Merge pull request #560 from vector-im/feature/no_network
...
Display a "No network" banner when the device has no network
2019-09-17 14:40:42 +02:00
Benoit Marty
25e9a179d2
SyncThread: Fix issue when network is back and the app was in background: do not restart the thread
2019-09-17 14:26:30 +02:00
Benoit Marty
73ec0f5a83
NetworkConnectivityChecker: filter onConnected callbacks (several callback if Wifi and LTE is connected)
...
Also do not use merlinsBeard.isConnected, which return trus even if there is no internet access (ex: with Wifi hotspot)
2019-09-17 14:22:08 +02:00
Benoit Marty
695d8cce00
Display a no network indicator when there is no network ( #559 )
2019-09-17 10:59:58 +02:00
Benoit Marty
07e99901e1
SecretStoringUtils -> move to internal package
2019-09-17 10:38:37 +02:00
Benoit Marty
ced72aff4f
Revert change done to save alias for the client
2019-09-17 10:32:09 +02:00
Benoit Marty
384dd100e9
Daggerization and Kotlinification of SecretStoringUtils
2019-09-16 19:19:14 +02:00
Benoit Marty
1ba8a58219
Cleanup SecretStoringUtils, and delete keys when user signs out
2019-09-16 18:29:06 +02:00
ganfra
69fb7bdf95
Timeline\Read marker: continue fixing potential issues
2019-09-16 18:14:41 +02:00
Benoit Marty
c8010561fc
Rework on sign out task
2019-09-16 17:45:26 +02:00
Benoit Marty
1f127335bc
Daggerization of RealmKeysUtils
2019-09-16 15:50:56 +02:00
Benoit Marty
138a210a73
Dagger: Screen component now exposes ActiveSessionHolder instead of Session
2019-09-16 14:43:39 +02:00
Benoit Marty
ca6bcde82d
Re add the remove CurlLoggingInterceptor
2019-09-16 14:43:08 +02:00
ganfra
5d6d0202a9
Timeline: try to fix some issues with permalink [WIP]
2019-09-14 14:11:41 +02:00
Benoit Marty
3e6b65e174
Handle M_CONSENT_NOT_GIVEN error ( #64 )
2019-09-13 18:21:56 +02:00
Benoit Marty
137dcab734
Curl login interceptor now log the AT (on debug mode)
2019-09-13 16:20:19 +02:00
Benoit Marty
5fbd271b1c
Login: add SSO support
2019-09-13 15:19:45 +02:00
Benoit Marty
db8ea0f5e8
Login: check login flow - step 1
2019-09-13 11:08:54 +02:00
ganfra
f4ab770be9
Merge branch 'develop' into feature/read_marker
2019-09-12 17:24:50 +02:00
Benoit Marty
012840abba
Progress in initial sync dialog is decreasing for a step and should not ( #532 )
2019-09-05 18:14:05 +02:00
Benoit Marty
a5975a099e
Cleanup and document DefaultInitialSyncProgressService
2019-09-05 17:23:09 +02:00
Benoit Marty
38da4b9ee5
Cleanup and document DefaultInitialSyncProgressService
2019-09-05 17:02:03 +02:00
Benoit Marty
242e60fcaa
Rename CryptoManager to DefaultCryptoService
2019-09-05 16:14:34 +02:00
Benoit Marty
a23be05cbf
Better type
2019-09-05 16:04:41 +02:00
Benoit Marty
ed39b02924
Avoid using keyword for variable names
2019-09-05 16:04:41 +02:00
Benoit Marty
fe931b5361
Merge pull request #418 from Dominaezzz/kotlinify-1
...
Some more kotlinification
2019-09-05 16:02:30 +02:00
Benoit Marty
90d9cd0587
Merge pull request #416 from Dominaezzz/kt-remove_java_util
...
Remove most usages of the java.util package
2019-09-05 15:33:03 +02:00
Benoit Marty
47d22a3d5e
Import translation from Riot and MatrixSDK
2019-08-30 11:21:43 +02:00
Valere
1b394527b6
cleaning + code review
2019-08-28 10:22:51 +02:00
Valere
825760d17e
Fix / regression on e2e reply and edit of reply
2019-08-27 17:05:04 +02:00
ganfra
51a4c93676
Read markers: continue working on ui
2019-08-23 16:54:32 +02:00
ganfra
d8f449388c
Read marker: start working on it (no UI)
2019-08-20 18:30:24 +02:00
ganfra
5402902bc2
Merge branch 'develop' into feature/di_clean
2019-08-19 15:04:26 +02:00
ganfra
fd74e3dfb1
Read receipts: clean code after review
2019-08-19 14:08:15 +02:00
ganfra
e0628da1cb
Dagger: use AssistedInjectModule for viewModel + use AssistedFactory for room dependencies
2019-08-14 19:09:56 +02:00
ganfra
501474b720
Fix code quality issues
2019-08-14 14:53:40 +02:00
ganfra
d3827b8673
Read receipts: branch settings to show/hide them
2019-08-14 10:51:09 +02:00
ganfra
25a4240a5a
Merge branch 'develop' into feature/timeline_read_receipts
2019-08-13 15:16:10 +02:00
ganfra
06dcf75a32
Read receipts: fix not appearing RR
2019-08-13 12:06:49 +02:00
ganfra
21deb2551d
Read receipts: handle read receipts set on filtered events + let BottomSheet takes a snapshot instead of being live.
2019-08-12 17:59:07 +02:00
ganfra
70639f180c
Read receipts: add read receipts bottom sheet
2019-08-08 19:59:20 +02:00
ganfra
c313ce78cb
Read receipts: sort descending by timestamp
2019-08-08 17:49:50 +02:00
ganfra
39f58d048b
Read receipts: fix dummy being overrided
2019-08-08 17:49:31 +02:00
Benoit Marty
eaf6a9923a
Cancel sync request on pause and timeout to 0 after pause ( #404 )
2019-08-08 16:04:53 +02:00
ganfra
d98567045c
Read receipts: use a simpler strategy when it's initialSync
2019-08-08 15:03:36 +02:00
ganfra
b4ce8748cb
First step in handling read receipts
2019-08-08 14:32:11 +02:00
ganfra
7fef063e15
Merge pull request #468 from vector-im/feature/fix_realm_issues
...
Feature/fix realm issues
2019-08-07 18:05:06 +02:00
Benoit Marty
24f391dac0
Merge pull request #467 from vector-im/feature/playstore_crash
...
Feature/playstore crash
2019-08-07 17:10:49 +02:00
Benoit Marty
81c7f694d6
Import Strings form Riot
2019-08-07 16:10:50 +02:00
Benoit Marty
9f53406e99
Fix crash (KotlinNullPointerException) observed on PlayStore
2019-08-07 13:35:44 +02:00
Benoit Marty
20437446b4
Add "View Edit History" item in the message bottom sheet ( #401 )
2019-08-07 13:05:22 +02:00
ganfra
0949d29f9c
Let TimelineEvent be queried by SendState
2019-08-07 10:54:54 +02:00
ganfra
7f09e64d63
Fix timeline forward loader showing when sending events
2019-08-07 09:59:37 +02:00
ganfra
585f0ba4b7
Add an identifier method on ChunkEntity
2019-08-06 21:32:45 +02:00
ganfra
245fbe86d9
Get enum safe with realm entities
2019-08-06 21:32:40 +02:00
Dominic Fischer
456908c851
Merge branch 'develop' into kt-remove_java_util
2019-08-06 18:27:39 +01:00
Benoit Marty
7a6fc4936b
Start chain: create extension
2019-08-06 18:15:15 +02:00
Benoit Marty
d82fd10f3b
Start chain: add missing cases
2019-08-06 18:15:15 +02:00
Benoit Marty
4009f2c176
Add comment to explain why we use a AlwaysSuccessfulWorker
2019-08-06 18:15:15 +02:00
Benoit Marty
15c4b03340
Event: do not display sendState in View Source and cleanup the class
2019-08-06 18:14:24 +02:00
Benoit Marty
357123743f
Search firstIndexOf, because server url can contains port (This is what JS does, but Riot Android is also bugged)
2019-08-06 18:14:24 +02:00
Benoit Marty
acae0fad3e
Better private method name
2019-08-06 18:14:24 +02:00
Benoit Marty
4deb7eb865
Javadoc for NoMerger
2019-08-06 18:14:24 +02:00
Benoit Marty
f910cd6f97
More robust SDK: retry only when on failure
2019-08-06 18:14:24 +02:00
Benoit Marty
652ac81fa1
simple code
2019-08-06 18:14:24 +02:00
Benoit Marty
c0b94f4111
Typo
2019-08-06 18:14:24 +02:00
Benoit Marty
1462fa0484
Simple code
2019-08-06 18:14:24 +02:00
Benoit Marty
dafdc1d3ad
Cleaner API
2019-08-06 18:07:35 +02:00
ganfra
dae8b5c196
Merge pull request #460 from vector-im/feature/fix_cancellations
...
Feature/fix cancellations
2019-08-06 18:06:05 +02:00
Dominic Fischer
215324a03e
Some kotlinification
...
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-08-06 11:36:39 +01:00
ganfra
d3ce4c491c
Clean code after review
2019-08-06 11:45:06 +02:00
Benoit Marty
ed6d28bd3b
Merge pull request #417 from Dominaezzz/kt-opt
...
Some optimisations
2019-08-06 11:42:07 +02:00
Benoit Marty
c2e053b62b
Merge pull request #414 from Dominaezzz/kt-leak
...
Fix potential resource leak
2019-08-06 11:39:51 +02:00
Benoit Marty
c450849cc3
Merge pull request #425 from Cadair/patch-1
...
Fix reply fallback prefix
2019-08-06 11:23:37 +02:00
ganfra
fe884dba2d
Update CHANGES.md and fix code quality
2019-08-05 20:28:50 +02:00
ganfra
3fa4dbaa25
Make async transaction working with suspend method
2019-08-05 20:17:59 +02:00
ganfra
4a74f58516
Task: use a builder with DSL and introduce Constraints (only boolean connectedToNetwork at the moment)
2019-08-05 20:17:36 +02:00
ganfra
c413321a22
Remove unnecessary code and fix signout
2019-08-02 13:15:56 +02:00
ganfra
d696bd2830
Send worker: let LIMIT_EXCEEDED error to be retry
2019-08-02 11:36:32 +02:00
ganfra
a2b6bd0f62
Fix network reconnection with sync
2019-08-02 11:35:58 +02:00
ganfra
9cc922a8a2
Optimize imports
2019-08-02 11:35:27 +02:00
ganfra
fd09a1224e
Remove Try from suspending functions
2019-08-01 17:15:17 +02:00
ganfra
77c4355aed
Merge branch 'develop' into feature/room_update
2019-07-31 14:27:12 +02:00
ganfra
1a92562182
Clean code after review
2019-07-31 14:06:10 +02:00
ganfra
95089b91b8
UserAccountData: optimize helper and clean code.
2019-07-30 21:41:29 +02:00
ganfra
eb446d7b49
Fix code quality issues
2019-07-30 21:20:30 +02:00
ganfra
dc4786ecf0
Room upgrade: add rx flux and handle failures more precisely
2019-07-30 19:13:09 +02:00
Stuart Mumford
90fad23493
Fix reply fallback prefix
...
Plain text reply fallback should be prefixed with "> " not ">" (as per spec).
Signed-off-by: Stuart Mumford <stuart@cadair.com>
2019-07-30 12:09:29 -04:00
Valere
000db4b192
Basic Message Failure support + Resend (text only)
...
+ clean worker inputs when starting new independent task in unique queue
2019-07-30 17:53:43 +02:00
ganfra
ef6c1cfc63
RoomSummaryUpdater: remove unused params
2019-07-30 17:37:16 +02:00
ganfra
4b4156996d
User Account Data: fix sync issues with direct invites
2019-07-30 17:32:31 +02:00
Valere
087cc0e6e3
Merge pull request #448 from danteissaias/develop
...
Fix #447
2019-07-30 17:07:22 +02:00
ganfra
f4df27c2dc
Merge branch 'develop' into feature/room_update
2019-07-30 15:51:56 +02:00
ganfra
ab25980c4e
Merge pull request #437 from vector-im/feature/create_direct_room
...
Feature/create direct room
2019-07-30 15:13:30 +02:00
Dante Issaias
2763fbb496
fix #447
...
Signed-off-by: Dante Issaias <dante.issaias@gmail.com>
2019-07-30 13:57:04 +01:00
ganfra
6deba31111
Direct room: finally use PagedList as we can get a lot of users in DB.
2019-07-30 14:51:14 +02:00
ganfra
65f0af918f
Remove default identity server as we don't use it.
2019-07-29 18:26:26 +02:00
ganfra
ac38a6461c
Tombstone : handle joining viaserver params
2019-07-26 19:17:12 +02:00
ganfra
9a1e16a170
Tombstone : add notification area and handle links
2019-07-26 14:51:14 +02:00
ganfra
9e5c70dda3
Room update: start handling tombstone and room create events [WIP]
2019-07-25 19:34:39 +02:00
ganfra
76a9625f25
Direct chat : finalize flow
2019-07-25 16:34:27 +02:00
ganfra
507bc2f622
UserEntity: fix not inserted at all
2019-07-23 21:31:58 +02:00
ganfra
125eacb20b
Direct messages: try to handle selecting/deselecting users (WIP)
2019-07-23 19:53:47 +02:00
Valere
3aea0a50ca
Merge branch 'develop' into feature/pending_edits_ux
2019-07-22 23:53:16 +02:00
ganfra
151ae7f4dd
Direct chat: handle user account data
2019-07-22 18:58:55 +02:00
Dominic Fischer
a34b053efe
Some optimisations
...
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-07-21 23:35:38 +01:00
Dominic Fischer
02e342849f
Remove most usages of the java.util package
...
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-07-21 23:23:56 +01:00
Dominic Fischer
b59017938b
Fix potential leak
...
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-07-21 19:11:53 +01:00
ganfra
2c81e41288
Merge branch 'develop' into feature/create_direct_room
2019-07-19 18:18:22 +02:00
ganfra
cb44ab547c
Create direct room: almost finished, still need to handle showing selected users in search field
2019-07-19 18:12:42 +02:00
Benoit Marty
6d01a570fd
Clear notification for a room left on another client
2019-07-19 16:44:30 +02:00
Valere
40a68c3e9f
Show pending edits by fading the event body #193
...
+ Fix issues with edits local echo management in aggregation
2019-07-19 16:13:35 +02:00
ganfra
cb274d6a33
Add some cancelable on service methods and start branching Rx
2019-07-19 11:21:16 +02:00
ganfra
001603cf9a
Create direct room: add filtering and enhance design a bit
2019-07-18 17:42:22 +02:00
Valere
d87ee32422
Merge pull request #384 from vector-im/feature/edit_e2e
...
Feature/edit e2e
2019-07-18 16:44:44 +02:00
Benoit Marty
e218691bf2
Import strings and translation from Riot
2019-07-18 14:25:34 +02:00
Benoit Marty
d48ae967bd
Remove dead code
2019-07-18 11:11:42 +02:00
Benoit Marty
0afde3b021
Rename class member for code clarity
2019-07-18 11:07:09 +02:00
ganfra
4341b0d0f5
Merge branch 'develop' into feature/create_direct_room
2019-07-18 09:47:25 +02:00
Valere
51fdccb393
cleaning
2019-07-18 09:29:27 +02:00
ganfra
7e3b300130
Fix sync state progress bar
2019-07-17 19:45:35 +02:00
ganfra
838003b68a
Create direct room: start creating all the required stuff
2019-07-17 18:30:14 +02:00
Valere
7d41352918
Fix / edit reply was quoting wrong text
...
+ e2e reply of edit
2019-07-17 16:46:56 +02:00
Valere
077396a832
E2E replies
...
+ Edit History / support e2e and use original event
2019-07-17 16:20:12 +02:00
Benoit Marty
32b79bd50e
Remove extra space around userId
2019-07-17 15:13:12 +02:00
Benoit Marty
844f6d16a4
Code quality
2019-07-17 15:05:29 +02:00
Benoit Marty
fc9ef579ca
Merge pull request #381 from vector-im/feature/room_members_perf
...
Feature/room members perf
2019-07-17 15:01:06 +02:00
ganfra
2948018453
Clean code after review
2019-07-17 14:56:00 +02:00
Benoit Marty
173452d38c
Merge pull request #367 from Dominaezzz/kotlinify-3
...
Some more kotlinification.
2019-07-17 14:38:16 +02:00
Benoit Marty
927cd7285d
Merge pull request #378 from vector-im/feature/fix_sync_thread_wrong_autostart
...
Fix / SyncThread was started in background
2019-07-17 14:32:19 +02:00
Benoit Marty
8e78d8a58d
Merge pull request #380 from vector-im/feature/rs_crash_steve
...
Fix a crash in notificationwhen display name is empty
2019-07-17 14:22:45 +02:00
Benoit Marty
477920f411
Add some comment
2019-07-17 14:14:02 +02:00
Valere
87de7bd3e6
fix lint code quality
2019-07-17 11:41:14 +02:00
ganfra
b7e0b400fb
Timeline : set bigger initial load size
2019-07-16 17:48:32 +02:00
ganfra
a8f06f609b
Use latest retrofit version to properly cancel requests
...
Fix cancelation requests
2019-07-16 17:46:52 +02:00
ganfra
d469299f42
RoomMembers: should fix state events issues
2019-07-16 17:46:52 +02:00
Benoit Marty
45f7d3e9c4
Kotlin style
2019-07-16 15:59:08 +02:00
Benoit Marty
0f7a56d005
Use Session.myUserId whereas it's possible
2019-07-16 15:54:00 +02:00
Valere
63d2861bc8
Fix / SyncThread was started in background
...
Upon reception of a push, is the session is instantiated the sync thread was starting to loop
2019-07-16 15:44:08 +02:00
Valere
c6fd625761
code review
2019-07-16 14:56:16 +02:00
Valere
d8092abc4e
fix / strip reply prefix on history
2019-07-16 14:39:46 +02:00
Valere
6effb90361
Fix / edit of reply and edit of edit of reply
2019-07-16 14:39:05 +02:00
Valere
25f1d21bc7
Edit history
...
Get history from API
cleaning
Updated change log
Missing copyrights
Code review
cleaning
2019-07-15 14:57:12 +02:00
Dominic Fischer
1822fc4fbb
Some more kotlinification
...
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-07-13 15:35:10 +01:00
Dominic Fischer
e6dd1fbfec
Use GlobalScope instead of temp scope
...
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-07-13 15:18:16 +01:00
ganfra
9182f2ce4e
RoomMembers/User : get a better and faster handling (still need to fix one small issue)
2019-07-12 13:59:37 +02:00
Benoit Marty
34d14eb304
Fix regression on permalink click
2019-07-12 13:51:37 +02:00
ganfra
10e4d0190f
Try to insert users directly to see if perfs are better [WIP]
2019-07-11 18:55:13 +02:00
ganfra
252b2ea30a
Merge pull request #334 from vector-im/feature/general_perf
...
Feature/general perf
2019-07-11 15:52:00 +02:00
ganfra
f493ce44f2
RealmLiveEntity: passes the results and changeSet instead of filtering as it's more efficient
2019-07-11 15:30:01 +02:00
Benoit Marty
9e3d29b7d7
Create a TimeOutInterceptor to set specific timeout on some request: login and sync ( Fixes #170 )
2019-07-11 15:16:25 +02:00
Benoit Marty
65e123d87f
Split long lines
2019-07-11 13:32:28 +02:00
Valere
d0b145d031
Edit emote
2019-07-11 12:29:02 +02:00
ganfra
1b95336ad3
EventEntity|TimelineEventEntity : remove UUID as primary key and use auto-incremented Long
2019-07-11 10:25:30 +02:00
ganfra
f007fb04b8
Timeline: clean listeners
2019-07-11 10:25:30 +02:00
ganfra
141434e8f8
Try getting things off the main thread
2019-07-11 10:25:30 +02:00
ganfra
b8669d5ed2
Sync: use a single threaded executor to ensure we have only one sync at a time
2019-07-11 10:23:24 +02:00
Benoit Marty
7a08a11b19
Fix compilation of test
2019-07-10 18:17:03 +02:00
Valere
54b1d18812
Merge remote-tracking branch 'origin/feature/clean' into feature/clean
2019-07-10 18:07:03 +02:00
Valere
3aa30e5f15
Fix reply of reply
2019-07-10 18:06:44 +02:00
Benoit Marty
794fd650a4
Mutualize code, and also, when replying to an edited event, use the last text in the reply prefix content
2019-07-10 17:37:22 +02:00
Benoit Marty
06699eaefc
Cleaner code
2019-07-10 14:40:08 +02:00
Benoit Marty
e5082f662c
Fix actually done TODO
2019-07-10 14:19:59 +02:00
Benoit Marty
e6409d4c60
Create a common canReact() method
2019-07-10 12:10:55 +02:00
Benoit Marty
1918302297
Reply with formatted content
2019-07-10 11:29:47 +02:00
Benoit Marty
92e3a02389
Create data class instead of Pair
2019-07-10 10:34:32 +02:00
Benoit Marty
0a54801fcc
Code clarity
2019-07-10 10:16:21 +02:00
Benoit Marty
228ee52563
Remove extra space in <mx-reply>
2019-07-10 10:07:45 +02:00
Benoit Marty
e6c74dc1fe
Convert a Task to a ConfigurableTask without parameter
2019-07-09 18:41:08 +02:00
Benoit Marty
fe82ad2002
Format
2019-07-09 18:31:04 +02:00
Benoit Marty
f66739491a
Merge pull request #321 from vector-im/feature/workManager_clean
...
Fix bug on WorkManager: clean by tag
2019-07-09 18:30:07 +02:00
Benoit Marty
c5dc9d4a9a
Fix test
2019-07-09 18:29:32 +02:00
Valere
8f858f8119
Fix / line too long
2019-07-09 18:20:00 +02:00
Benoit Marty
5e832e07cd
Code cleanup
2019-07-09 18:04:19 +02:00
Benoit Marty
e9700e04d8
Move method to JsonCanonicalizer and fix test compilation
2019-07-09 18:04:19 +02:00
Benoit Marty
c19b1f917f
Javadoc
2019-07-09 18:04:19 +02:00
Benoit Marty
4281b5967a
Create object for work constraint
2019-07-09 18:04:19 +02:00
Benoit Marty
aa743d8469
Ensure we do not cancel Work from other lib or SDK client
2019-07-09 18:04:19 +02:00
Valere
a09850b16c
Merge pull request #316 from vector-im/feature/initial_sync_progress
...
Feature/initial sync progress
2019-07-09 17:58:24 +02:00
Valere
6cb94dd4d6
Fine tune task weights + more measure
2019-07-09 17:42:53 +02:00
Benoit Marty
34ac987494
Cleanup
2019-07-09 16:36:46 +02:00
Benoit Marty
ffe0b9712c
Convert file to Kotlin
2019-07-09 15:50:15 +02:00
Benoit Marty
d92c090c30
Code quality: HashMap / HashSet
2019-07-09 15:40:49 +02:00
Valere
1a4157a663
review
2019-07-09 15:38:44 +02:00
Valere
4aae1f78d8
moved new strings + @StringRes annotation
2019-07-09 15:38:44 +02:00
Valere
8159a52bd7
cleaning
2019-07-09 15:38:44 +02:00
Valere
95d83db90c
WIP
2019-07-09 15:38:44 +02:00
Benoit Marty
e80473903e
Code quality: import static
2019-07-09 15:35:27 +02:00
Benoit Marty
d08778c674
Code quality: equalTo
2019-07-09 15:33:31 +02:00
Benoit Marty
0919b9460d
Code quality: split long lines
2019-07-09 15:26:32 +02:00
Benoit Marty
66a018c79e
Code quality: trim()
2019-07-09 15:11:20 +02:00
Benoit Marty
9a4eb8e9a4
add getFileUrl extension
2019-07-09 15:03:21 +02:00
Benoit Marty
058e7153a1
Fix bug
2019-07-09 15:03:21 +02:00
Benoit Marty
b0c939866f
Download file - typo
2019-07-09 15:03:21 +02:00
Benoit Marty
a07f8b615e
Download file - WIP
2019-07-09 15:03:21 +02:00
Benoit Marty
12bd85e0a9
Decrypt video file
2019-07-09 15:02:31 +02:00
Benoit Marty
c13ab62187
Fix issue when sending video in encrypted room
2019-07-09 15:02:31 +02:00
Benoit Marty
ea77686746
Send file: cleanup
2019-07-09 15:02:31 +02:00
Benoit Marty
8a5612be3d
Send file: improve UI feedback
2019-07-09 15:02:31 +02:00
Benoit Marty
d24ce27903
Add missing call to contentUploadStateTracker.setFailure
2019-07-09 15:02:31 +02:00
Benoit Marty
2099965508
Avoid returning Result.failure() from appendable worker.
2019-07-09 15:02:31 +02:00
Benoit Marty
829e8da8dc
lastFailureMessage is val, not var
2019-07-09 15:02:31 +02:00
Benoit Marty
e149ee53de
Fix bad mime type for encrypted thumbnail
2019-07-09 15:02:31 +02:00
Valere
61d7f23870
remove dead code
2019-07-09 15:00:37 +02:00
ganfra
b5650b2b8f
Pagination : avoid breaking timeline when paginating twice from same token (race condition)
2019-07-09 14:44:59 +02:00
Valere
8777d13d8b
Fix / view source, decrypted source was not correct
2019-07-09 14:22:40 +02:00
ganfra
dd07f5c2a6
TimelineEvent : update sender data when loading room members and prune event (+ remove RoomSummaryMapper param)
2019-07-08 15:32:24 +02:00
Valere
57bd103de8
Fix / decrypt room summary latest event
2019-07-08 14:58:49 +02:00
Valere
e4c52484b1
Fix / ensure equals check for encryption result
2019-07-08 14:57:02 +02:00
Valere
a30da07fd1
Fix / timeline auto refresh on new session
2019-07-08 14:12:46 +02:00
Valere
ee27d3e047
Fix / clear unknown session map before re-request decrypt
2019-07-08 12:49:22 +02:00
Valere
7096094224
wip crypto
2019-07-08 12:05:41 +02:00
Valere
94b4351e19
wip async crypto + persist
2019-07-08 11:18:27 +02:00
Valere
e50dd265d4
merge develop
2019-07-08 10:58:41 +02:00
Valere
4521ea14ee
Merge branch 'develop' into feature/realm_entity_rework
2019-07-08 10:55:20 +02:00
Valere
98a7652403
Put back local echo
2019-07-05 19:13:34 +02:00
ganfra
78951b9155
Timeline event: handle displayName/avatar [WIP]
2019-07-05 19:07:33 +02:00
Benoit Marty
8c86a653b2
Merge pull request #309 from vector-im/feature/crypto_cleanup
...
Rework Crypto using Try
2019-07-05 19:03:59 +02:00
Valere
c503445092
Branch back relation summaries
2019-07-05 18:38:20 +02:00
Benoit Marty
205af8b122
Merge pull request #280 from Dominaezzz/kotlinify-1
...
Enhance CancelableBag
2019-07-05 18:34:28 +02:00
ganfra
79a704d240
Timeline : Uncomment liveChunk to make pagination working
2019-07-05 17:27:24 +02:00
Valere
f01e796271
Timeline is back
2019-07-05 17:00:13 +02:00
Benoit Marty
302d23ba96
Create a realm locker to fast up next Realm.getInstance calls
2019-07-05 16:28:15 +02:00
Benoit Marty
03050c3f25
Cleanup
2019-07-05 16:11:54 +02:00
ganfra
cbfd2af74b
Start branching TimelineEventEntity
2019-07-05 16:07:12 +02:00
Benoit Marty
f3fab0dc08
Rename ErrorTypes
2019-07-05 15:52:37 +02:00
Benoit Marty
4a512d2425
Create enum for errorType and fix a few issues
2019-07-05 15:43:28 +02:00
Benoit Marty
87dec337d8
Rework Crypto using Try
2019-07-05 14:41:32 +02:00
ganfra
b37877746a
Introduce TimelineEventEntity to begin with the rework
2019-07-05 14:39:15 +02:00
Dominic Fischer
b0e5612bdc
Convert java-esque code to Kotlin
...
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-07-05 12:32:21 +01:00
ganfra
25b0cd0e4b
Remove some work from UI thread
2019-07-04 19:02:37 +02:00
Benoit Marty
f2a52f0253
Merge pull request #297 from vector-im/feature/crypto_stabilization
...
Safely remove all usage of `!![`
2019-07-04 15:17:26 +02:00
Benoit Marty
baaf493cb4
Merge pull request #299 from vector-im/feature/dix_concurrent_sync
...
Fix / Push worker could launch concurrent syncs
2019-07-04 15:10:18 +02:00
Benoit Marty
6cbd6d3a33
Valere's review
2019-07-04 14:59:29 +02:00
Benoit Marty
c0f085cdf8
SyncTask now handles by itself the sync token
2019-07-04 14:46:59 +02:00
Valere
10bc2297d4
Fix / Push worker could launch concurrent syncs
2019-07-04 14:04:36 +02:00
Benoit Marty
8fa5e63b07
Fix issue: reply to e2e event does not contain the base message
2019-07-04 12:52:43 +02:00
Benoit Marty
9d0c50907c
Fix issue when quoting event in e2e rooms ( Fixes #295 )
2019-07-04 12:39:59 +02:00
Benoit Marty
e5958983d8
Safely remove all usage of !![
2019-07-04 11:44:09 +02:00
ganfra
9ff24cbf2a
Merge branch 'feature/fix_issues' into develop
2019-07-03 19:46:34 +02:00
Valere
4041e2e8ca
code review
2019-07-03 18:40:42 +02:00
Valere
031c4e5746
Crash on loggout
...
https://github.com/matrix-org/riot-android-rageshakes/issues/5881
2019-07-03 18:40:04 +02:00
Valere
b4ea85fc76
Fix / Rageshake crashes + cleaning !!
...
https://github.com/matrix-org/riot-android-rageshakes/issues/5880
https://github.com/matrix-org/riot-android-rageshakes/issues/5877
https://github.com/matrix-org/riot-android-rageshakes/issues/5873
https://github.com/matrix-org/riot-android-rageshakes/issues/5871
2019-07-03 18:40:04 +02:00
Benoit Marty
9cdecced57
Merge pull request #291 from vector-im/feature/start_crypto_earlier
...
Start crypto manager before handling first sync events
2019-07-03 18:05:44 +02:00
Benoit Marty
60d46538de
Merge pull request #292 from vector-im/feature/sonar_fix
...
Feature sonar fix and convert remaining Java files to Kotlin
2019-07-03 18:03:23 +02:00
Benoit Marty
223295c2f1
Convert MXUsersDevicesMap to kotlin - Fix issue
2019-07-03 18:01:28 +02:00
Benoit Marty
f789fb275d
Convert MXUsersDevicesMap to kotlin
2019-07-03 17:34:22 +02:00
Valere
a7c12aeb93
Start crypto manager before handling first sync events
2019-07-03 17:17:58 +02:00
Benoit Marty
0ca9a5f68b
Convert MXKey to kotlin
2019-07-03 16:45:08 +02:00
Benoit Marty
7d5c31c510
Fix Javadoc issues
2019-07-03 15:52:53 +02:00
Benoit Marty
1ee1c31b9c
Fix bugs detected by Sonar
2019-07-03 15:42:35 +02:00
Benoit Marty
e9eada77f9
Add comment to run sonar analysis and fix compilation issue
2019-07-03 15:42:35 +02:00
ganfra
93ce0cc5e9
Realm: avoid using monarchy thread for custom work
2019-07-03 14:48:45 +02:00
ganfra
eefd09d022
Dagger: don't create MatrixCoroutineDispatchers multiple time!!
2019-07-03 14:48:03 +02:00
ganfra
ef597cc67a
RoomSummary: set unreadNotification to 0 by default
2019-07-03 14:47:33 +02:00
Valere
5d171e0240
Moved incoming key/verif to active session holder
2019-07-03 12:56:08 +02:00
Valere
39070820be
Merge pull request #283 from vector-im/feature/check_pushrule_on_sync_only
...
Check Push rule on sync only + fix bad room name in notif
2019-07-03 12:37:49 +02:00
Valere
1fdad38b9d
Check Push rule on sync only + fix bad room name in notif
2019-07-03 11:59:45 +02:00
Benoit Marty
f41c0311fa
Fix done TODO
2019-07-03 11:58:50 +02:00
Benoit Marty
a476ac71da
Import translations from Riot
2019-07-03 10:20:07 +02:00
ganfra
bc2d321a84
Merge branch 'feature/Perf' into develop
2019-07-02 23:07:16 +02:00
Dominic Fischer
0f3a63e366
Enhance CancelableBag
...
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-07-02 21:46:44 +01:00
ganfra
2f66321c2a
RoomSummary: don't fetch last event by default as it takes some time
2019-07-02 19:59:01 +02:00
ganfra
5b102485bc
Perf: timeline should reuse one background looper thread
2019-07-02 19:12:20 +02:00
Valere
ec5ec3375a
Fix / sometime sent reaction is count twice
...
Now use eventId format to check if local echo instead of state
2019-07-02 18:05:14 +02:00
ganfra
11bf00030d
Merge branch 'develop' into feature/Perf
2019-07-02 17:00:09 +02:00
Benoit Marty
73277c5b08
Merge pull request #259 from vector-im/feature/fix_read_receipts_not_updated
...
Fix / send read marker for collapsed items
2019-07-02 16:51:53 +02:00
Benoit Marty
f21f4dbe91
Merge pull request #262 from vector-im/feature/update_timeline_when_new_key
...
Update timeline on new session
2019-07-02 16:51:07 +02:00
Benoit Marty
62d2443b85
Remove duplicated method
2019-07-02 16:48:58 +02:00
Benoit Marty
bc1edcf33d
Code review
2019-07-02 16:48:58 +02:00
Valere
363f52b10c
Encrypt Realm databases
2019-07-02 16:48:58 +02:00
Benoit Marty
498b1f2b06
Merge pull request #261 from vector-im/feature/e2e_file
...
Encrypt attachment in e2e rooms
2019-07-02 16:44:17 +02:00
Valere
92222c269e
Update timeline on new session
2019-07-02 16:18:16 +02:00
Benoit Marty
994ee1d23f
Encrypt file + propagate error between chained workers
2019-07-02 14:07:48 +02:00
Benoit Marty
f0e43d31f5
Encrypt file WIP
2019-07-02 12:34:56 +02:00
Valere
85e850bcde
Fix / unwanted auto-mardown when trailing space
2019-07-02 12:29:36 +02:00
Valere
6cf24cc43b
Fix / some state events are missing context action (view source)
2019-07-02 12:21:27 +02:00
Valere
c7df433a44
Fix / send read marker for collapsed items
...
Also remove unnecessary check on matrix id format
2019-07-02 12:08:44 +02:00
ganfra
9378d30601
Merge branch 'develop' into feature/Perf
2019-07-02 11:25:39 +02:00
Benoit Marty
0c2d3f36c3
Encrypt file WIP
2019-07-02 09:56:20 +02:00
ganfra
164c8dab09
Glide: try to handle encrypted image. [WIP]
2019-07-02 09:56:20 +02:00
Benoit Marty
b54ca5a8a0
Decrypt Attachment - WIP
2019-07-02 09:56:20 +02:00
Benoit Marty
707a4712fc
Add some javadoc from Matrix spec and add EncryptedFileInfo where necessary
2019-07-02 09:56:20 +02:00
Benoit Marty
8e76700c8d
Handle redacted e2e event
2019-07-02 09:56:20 +02:00
Benoit Marty
3f74c4e933
Report change from https://github.com/matrix-org/matrix-android-sdk/pull/471
2019-07-02 09:56:20 +02:00
Valere
f4b124d29f
Merge pull request #257 from vector-im/feature/room_list_improvements
...
Room list: last event preview - invitations list
2019-07-01 20:38:32 +02:00
Valere
8e653979fd
Merge pull request #258 from vector-im/feature/fix_signout
...
Fix / signout sign-in not working
2019-07-01 20:37:32 +02:00
Valere
a5584d27af
QuickFIx / regression cannot decrypt message (no sender_key)
2019-07-01 20:34:42 +02:00
Valere
95d64008aa
Move to sdk
2019-07-01 20:12:05 +02:00
ganfra
19202cfca6
Perf: try to get better
2019-07-01 20:05:48 +02:00
Valere
ca2223f201
Force passing realm to TimelineEvent factory
2019-07-01 19:46:18 +02:00
Valere
a1ddd73d7d
Fix / signout sign-in not working
2019-07-01 18:55:40 +02:00
Benoit Marty
01e3e71f98
Handle room invitation actions
2019-07-01 18:50:33 +02:00
Benoit Marty
5e9ecfbcc0
Room summary; handle encrypted events
2019-07-01 15:12:35 +02:00
Benoit Marty
4d79485fee
Last event on room list
2019-07-01 15:12:35 +02:00
Valere
9224fcabfa
Fix #253 / Image with no mimetype in info
2019-07-01 15:10:12 +02:00
Valere
0d433b2620
fix / missing reaction event in filter
2019-07-01 13:53:10 +02:00
Valere
6a829caf0f
Perf / filter events for aggregation updater
2019-07-01 13:33:43 +02:00
ganfra
d643abbb22
Sender name: fix for not synced events.
2019-07-01 13:20:03 +02:00
Valere
e838794587
Do not check push rule on initial sync
2019-07-01 13:08:16 +02:00
Valere
b0ad568df0
Fix / fdroid notif was broken due to merge
2019-07-01 13:07:52 +02:00
Valere
3960742f38
Merge pull request #250 from vector-im/feature/fix_impure_reducers
...
Fix impure reducer and use live event
2019-07-01 11:33:34 +02:00
Benoit Marty
466a39d239
Robustness
2019-07-01 11:08:05 +02:00
Valere
a734c699ad
Fix impure reducer and use live event
2019-07-01 09:56:00 +02:00
Valere
419ef7b46f
Merge pull request #243 from vector-im/feature/reply_e2e
...
Reply in e2e room
2019-06-28 16:07:08 +02:00
Benoit Marty
4ad23f0f37
Fix bad copyright block
2019-06-28 16:05:36 +02:00
Benoit Marty
0f039fce32
Add 30 missing copyright block
2019-06-28 15:59:20 +02:00
Valere
75c1718252
code review
2019-06-28 14:57:22 +02:00
Valere
f83491fdfc
Fix / impure reducer in action view model
2019-06-28 14:57:22 +02:00
Valere
a9dd06562a
Reply in e2e room
...
+ Add reply option in e2e room
+ Fix bug 242
+ Show preview of messages in menu and in text composer preview
2019-06-28 14:57:22 +02:00
Benoit Marty
cea8abb9b1
Fix issue in test and add a test for Json canonicalization (will pass when reply_e2e branch will be merged)
2019-06-28 14:27:08 +02:00
Benoit Marty
13a0b809e1
Fix compilation issue in release
2019-06-28 14:08:38 +02:00
Valere
b92cc524b6
Fix / Day separator flickering in timeline
...
Sending events were not filtered, so sending events like reactions would make the day separator appear
2019-06-28 11:33:33 +02:00
Benoit Marty
7187cc23a1
code quality
2019-06-28 10:23:27 +02:00
ganfra
f18bc9bd00
Dagger: fix no session
2019-06-27 19:12:46 +02:00
ganfra
2063a3e535
Merge branch 'develop' into feature/dagger
2019-06-27 18:56:23 +02:00
ganfra
1fa7b7367a
Dagger: merge develop compiling now.
2019-06-27 15:25:01 +02:00
Valere
338de3ebf5
Cleans notification pref screen
...
+ fix troubleshoots
2019-06-27 12:21:38 +02:00
Benoit Marty
ae7e617fdd
Rename and format and remove duplicate EventType.REDACTION
2019-06-27 10:46:04 +02:00
ganfra
b2d2582e0f
Merge branch 'develop' into feature/dagger [WIP]
2019-06-26 20:58:46 +02:00
ganfra
6e7adaec59
Dagger: prepare for multi session [WIP]
2019-06-26 17:51:24 +02:00
Benoit Marty
134c2fcd42
Notification: Fix TestAccountSettings test
2019-06-26 12:19:54 +02:00
Benoit Marty
2625e11508
rename method
2019-06-26 12:19:54 +02:00
Benoit Marty
71ae99012b
Code review and cleanup
2019-06-26 12:19:54 +02:00
Benoit Marty
ab0141a5c6
Fix issue after rebase
2019-06-26 12:19:54 +02:00
Valere
1feb1f9c3f
Fix test
2019-06-26 12:19:54 +02:00
Valere
090ee1d4e9
Fix / ignore message sent by me in push rules
2019-06-26 12:19:54 +02:00
Valere
7821ca12fd
Fix / fetch from realm without copy (proxy error)
2019-06-26 12:19:54 +02:00
Valere
74099be316
Remove / Add pusher from enable notif preference
...
+Added Retrofit/Moshi null serializer for pusher kind
2019-06-26 12:19:54 +02:00
Valere
4e6b34b9d1
Fix issues on Notification Event resolver
2019-06-26 12:19:54 +02:00
Valere
6743dc6273
Set sync timeout to 30s when in foreground
2019-06-26 12:19:54 +02:00
Valere
0584fc3666
Get real push rules from server and evaluate them
2019-06-26 12:19:54 +02:00
Valere
2e417a9143
Basic FCM vs fdroid mode
2019-06-26 12:19:54 +02:00
Valere
0e46fc4c0a
WIP
2019-06-26 12:19:54 +02:00
Valere
4505d13385
Fix / SAS verification infinite waiting on last step
...
Missing state update to verified after mac verification
2019-06-26 10:46:58 +02:00
Valere
8fe0bd5abe
Merge pull request #214 from vector-im/feature/update_quick_reactions
...
Feature/ Update quick reactions
2019-06-25 15:47:17 +02:00
Benoit Marty
76ade2957e
Handle permalink click
2019-06-25 09:34:12 +02:00
Benoit Marty
b1e009f8b4
Handle eventId v4 ( https://matrix.org/docs/spec/rooms/v4#event-ids )
2019-06-25 09:33:52 +02:00
Valere
43ead66991
Update quick reactions to new design
2019-06-24 16:13:58 +02:00
Benoit Marty
1cfc85a772
Display some version of Riot and SDK ( Fix #185 )
2019-06-21 11:13:16 +02:00
ganfra
47968c9447
Dagger: everything should be injected ok now
2019-06-21 10:36:02 +02:00
ganfra
07fee8ed3d
Dagger: continue reworking on app and sdk [WIP]
2019-06-20 19:26:59 +02:00
Benoit Marty
285da114e7
better code (ganfra's review)
2019-06-20 17:27:15 +02:00
ganfra
9c1f870694
Dagger: start handling app dependencies [WIP]
2019-06-18 20:00:20 +02:00
Benoit Marty
56e0680398
Remove unused class
2019-06-18 16:11:24 +02:00
Benoit Marty
8c0a1ed37d
Rename "sender" to "senderId" for code clarity
2019-06-18 16:11:24 +02:00
Benoit Marty
625500212d
Manage display name disambiguation ( Fixes #172 )
2019-06-18 16:09:48 +02:00
Benoit Marty
02f84a3b53
View source of encrypted event
2019-06-18 13:14:39 +02:00
Benoit Marty
0497d14a08
SAS: import change from https://github.com/matrix-org/matrix-android-sdk/pull/467
2019-06-17 19:06:32 +02:00
Benoit Marty
191d80e5f5
Fix issue with key importation
2019-06-17 19:05:26 +02:00
Benoit Marty
659ba34fb3
Remove CryptoAsyncHelper and use only coroutine
2019-06-17 19:05:26 +02:00
Benoit Marty
38b1d24953
Use foldToCallback() whenever it's possible
2019-06-17 19:04:48 +02:00
Benoit Marty
5f0d1d9536
Crypto: export room keys
2019-06-17 19:04:48 +02:00
ganfra
c2c2d0b21e
Dagger: make SDK DI working
2019-06-17 18:17:37 +02:00
Benoit Marty
6266f9e6a1
Handle device deletion the proper way
2019-06-17 17:32:35 +02:00
Benoit Marty
9649e190ef
Fix compilation issue after rebase
2019-06-17 16:28:27 +02:00
ganfra
1547045165
Request can now be canceled properly: it should fix the issue with live chunk being deleted.
2019-06-17 15:08:16 +02:00
Benoit Marty
97b066b8fa
Import strings from Riot
2019-06-17 14:55:17 +02:00
ganfra
4be0ab87fc
Dagger: continue adding it to SDK [WIP]
2019-06-16 17:00:47 +02:00
ganfra
3d465f6fdf
Start to introduce Dagger into SDK [WIP]
2019-06-14 16:32:23 +02:00
Benoit Marty
02ef1172ce
Merge pull request #179 from vector-im/feature/cryptoFinalization
...
Crypto: Delete device
2019-06-14 16:06:23 +02:00
Benoit Marty
8f6f72ca48
Review: Added optional to stage and renamed to "InteractiveAuthenticationFlow"
2019-06-14 16:06:07 +02:00
ganfra
df4f0eac20
Merge branch 'feature/sync_ui' into develop
2019-06-13 18:16:45 +02:00
Benoit Marty
d353e9314b
Crypto: Delete device
2019-06-13 16:48:42 +02:00
ganfra
9dc1684179
Crypto: check for encryption state event to know if room isEncrypted
2019-06-13 11:49:11 +02:00
Benoit Marty
c20b256b24
Move KeysBackupStateListener to a dedicated file
2019-06-13 11:13:05 +02:00
Benoit Marty
02d3fea4a9
Move javadoc to interface
2019-06-13 11:10:26 +02:00
Benoit Marty
ca98ff5864
Clear crypto database when signing out
2019-06-13 10:58:45 +02:00
Benoit Marty
480d197ffa
Keys share request handling
2019-06-12 18:32:24 +02:00
ganfra
0204bade8b
Content: hide some internal methods
2019-06-12 10:54:26 +02:00
ganfra
3dd161d65a
Sync: add progress indicator for sync, need UI inputs.
2019-06-11 16:54:44 +02:00
Benoit Marty
61b1d83bbd
Clean
2019-06-11 14:37:02 +02:00
Benoit Marty
64e5fed7ac
Fix issue: lastSeenTs can be null
2019-06-11 13:57:35 +02:00
Benoit Marty
f6c36670c3
Rename class members and class name for code clarity
2019-06-11 13:32:09 +02:00
Benoit Marty
6dacb9894e
Merge branch 'develop' into feature/crypto
2019-06-11 10:11:53 +02:00
ganfra
612b13808f
Crypto: clean some code + add failure send state (but not handled yet).
2019-06-10 19:22:48 +02:00
Benoit Marty
3439a9ca27
Merge pull request #173 from vector-im/feature/create_room
...
Create Room screen
2019-06-10 17:01:44 +02:00
Benoit Marty
9772bbe157
Ganfra's review: revert change
2019-06-10 16:58:48 +02:00
Benoit Marty
b437837809
Ganfra's review: use RealmQueryLatch
2019-06-10 16:35:51 +02:00
Benoit Marty
33f8059846
Increase connect timeout from 30 seconds to 1 minute, for slow Homeserver (should fix #170 )
2019-06-10 15:57:42 +02:00
Benoit Marty
4c5bffe0f5
Create room screen - WIP TODO: screen rotation - navigate to created room
2019-06-10 13:39:51 +02:00
ganfra
f2722f4766
Crypto: fix a small issue
2019-06-07 20:38:39 +02:00
ganfra
07c516ccdd
Merge branch 'develop' into feature/crypto
2019-06-07 19:25:55 +02:00
ganfra
81330d30cf
Merge branch 'develop' into feature/crypto
2019-06-07 18:53:24 +02:00
Valere
a4a813708c
Fix / send state always returning Unknown
2019-06-07 16:39:45 +02:00
ganfra
664e5354d3
Crypto: continue cleaning + fix some issues.
2019-06-07 16:01:24 +02:00
Valere
220e6224e7
Merge develop
2019-06-07 15:42:04 +02:00
Valere
d3518c4944
Merge pull request #161 from vector-im/feature/fix_timeline_clicks
...
Fix / click|longclick link interference
2019-06-07 14:43:04 +02:00
Valere
7409003949
Fix / Bug aggregation on initial sync
...
fix / All messages were not processed due to a test exiting the for loop
+ started adding context menu for non room messages
2019-06-07 14:14:51 +02:00
Valere
297f202005
Fix / Local echo taking too much time
2019-06-07 14:14:51 +02:00
Valere
440442bb99
New View Reactions bottom sheet
...
+ visible on reaction long click
+ Reaction pills size adapt to count, and number format
2019-06-07 14:14:51 +02:00
Valere
53c91dc0c2
Ignore server aggregation until API ready
2019-06-07 14:14:51 +02:00
Valere
1b3ec2d0fb
fix / review
2019-06-07 13:38:58 +02:00
ganfra
c4d7711d2f
Crypto: finally get a working encrypt/decrypt + SAS
2019-06-06 19:10:04 +02:00
ganfra
6b0ab10231
Crypto: continue threading rework. WIP to shash
2019-06-05 22:18:16 +02:00
Benoit Marty
2ba7ec48f6
Code cleanup, remove duplicate code, and add some comments
2019-06-04 17:36:49 +02:00
ganfra
e125862794
Crypto: start reworking threading - WIP (to squash)
2019-06-04 16:26:37 +02:00
Benoit Marty
2b6eee4237
Merge branch 'develop' into feature/home_rework
2019-06-04 12:54:16 +02:00
Valere
471170a3e0
Fix / click|longclick link interference
...
+ some missing long click (image content wrapper)
+ update markwon version
2019-06-04 10:29:56 +02:00
ganfra
3d50393b33
Crypto: continue cleaning. Need threading refactoring
2019-06-03 18:39:37 +02:00
Valere
424fd1347d
Code review
2019-06-03 18:23:40 +02:00
ganfra
784d55c16c
Crypto: WIP cleaning
2019-06-02 20:34:19 +02:00
Valere
99925d7cf9
Local echo for reactions/edits/redacts
2019-05-29 18:43:33 +02:00
ganfra
3f7d20ec5b
Crypto: make encryption working.
2019-05-28 15:54:16 +02:00
Valere
466be1dca5
Fix / issue with avatar url
2019-05-28 15:17:06 +02:00
Valere
deba756598
Added doc
2019-05-28 10:51:02 +02:00
Valere
3cb99ff64f
Renamed package .internal.session.room.annotation to xx.relation
2019-05-28 10:45:58 +02:00
Valere
20e903914c
Cleaning / code review
2019-05-28 10:43:36 +02:00
Valere
71ea1c5f9b
Fix / avoid newlines and ws in reply event representations
2019-05-27 18:21:59 +02:00
Valere
4a4c0a3da1
Added auto markdown (as per preference)
...
Fix / show formatted message preview upon composer in edit/quote/reply
Fix / use aggregated content to decide for actions on long click
2019-05-27 18:08:29 +02:00
Benoit Marty
8f2754493c
Fix issue with Avatar URL
2019-05-27 17:42:29 +02:00
Valere
00d66ffd48
Merge branch 'develop' into feature/edit_message
2019-05-27 17:08:39 +02:00
ganfra
b9d76f5047
Room list & event : decouple notice events formatting to be used within room controller
2019-05-27 15:37:18 +02:00
ganfra
275521db70
Home: continue architecture rework. WIP
2019-05-27 15:30:47 +02:00
Valere
0e06908a48
Design update
...
+ Reply
+ Better preview in action menu
2019-05-27 11:55:52 +02:00
ganfra
af338b0607
Crypto: decryption is working (but still a lot to do)
2019-05-26 19:21:45 +02:00
Benoit Marty
2404eeadf0
RoomDirectoryPicker WIP
2019-05-24 15:43:12 +02:00
Benoit Marty
877de1f597
Get Public rooms and join public room
2019-05-24 11:36:04 +02:00
ganfra
3519ad7c8d
Crypto : WIP
2019-05-23 19:12:06 +02:00
Valere
45ea5c356e
WIP / edit message
2019-05-23 16:44:51 +02:00
Benoit Marty
71f8ce001d
Fix Crash when connecting to a homeserver URL with a subpath ( Fixes #133 )
2019-05-22 15:23:36 +02:00
Benoit Marty
bb39db3f42
WIP
2019-05-21 16:33:43 +02:00
Benoit Marty
52d9adad70
WIP
2019-05-21 15:42:09 +02:00
Valere
118a4392a2
Fix / Support redaction of a m.replace event
...
+ refactoring
2019-05-21 15:33:16 +02:00
Valere
6f103101b6
Show edited annotation in timeline + simple edit history
2019-05-21 14:12:18 +02:00
Valere
a5a9fa3750
Color provider need to be aware of theme
2019-05-21 14:10:19 +02:00
Valere
efcac6b3e4
Fix / Missing schema for realm
2019-05-21 09:50:10 +02:00
Valere
8cb884f10e
Support message edition
2019-05-20 18:52:48 +02:00
Benoit Marty
6d8000b957
Log
2019-05-20 17:13:08 +02:00
Benoit Marty
f5bd215f36
rework
2019-05-20 16:55:45 +02:00
Benoit Marty
532a028e41
Split again
2019-05-20 16:13:50 +02:00
Valere
2da4823e33
Fix / crash on logout
...
cannot access deleted object from delete
2019-05-20 13:58:45 +02:00
Valere
70c4b7528d
Fix doc
2019-05-20 12:49:35 +02:00
Valere
5dfc0b3c0e
Toggle Quick React (agree/disagree like/dislike)
2019-05-20 12:43:02 +02:00
Valere
71e50b1bb9
Fix / Missing inject after rebase
2019-05-20 10:16:00 +02:00
Valere
64c307077f
Refactoring / PruneWorker should be a task not a worker
2019-05-20 10:16:00 +02:00
Valere
054d339b48
Fix / Reaction stays highlighted when undone
...
When undoing my reaction, the reactji stays selected as if i have done the reaction
2019-05-20 10:16:00 +02:00
Valere
e3b9031e71
Fix / day separator flicker when adding reaction
...
When adding a reaction, the tmp local echo force the display of a new 'day separator' at the bottom if there was no new message for this day yet (then disappears just after -flicker-)
2019-05-20 10:16:00 +02:00
Valere
6eafa3c43d
Undo Reaction
2019-05-20 10:16:00 +02:00
ganfra
2780ca30a8
Merge branch 'feature/invites' into develop
2019-05-17 17:38:09 +02:00
Benoit Marty
e0e41d9e5c
Create common action
2019-05-17 15:33:38 +02:00
Benoit Marty
340830d45f
Test passed
2019-05-17 15:21:44 +02:00
Benoit Marty
de4662b9d5
Remove all async thread
2019-05-17 15:05:07 +02:00
Benoit Marty
c66e82c4ae
Create OneTimeKeysManager
2019-05-17 12:39:18 +02:00
Benoit Marty
a2210a6b0d
WIP
2019-05-17 11:20:22 +02:00
Benoit Marty
102bc9c01b
SAS Tested
2019-05-16 17:28:51 +02:00
Valere
ef26519993
Send reaction view quick react and picker
...
+ fix / Error when to many reactions in cells (more than placeholders -8-)
+ fix / DefaultTimeline quick map access was not shifted when items inserted at given index
2019-05-16 16:35:54 +02:00
Benoit Marty
e70fd8e351
canonicalize
2019-05-16 15:36:51 +02:00
Valere
6fe455dac0
Support AddedByMe in reaction + context menu reflect agree/like state
2019-05-16 10:49:52 +02:00
Benoit Marty
1436667e7d
Crypto
2019-05-16 10:34:17 +02:00
Valere
d68b447874
Relations Model + Aggregation + Reactions Summary
2019-05-16 09:21:10 +02:00
ganfra
8d0322c0c3
Hot fix LL not working
2019-05-15 11:11:38 +02:00
Valere
6bf1deb99b
Code Review
2019-05-10 12:14:40 +02:00
Valere
cfca4927e2
Cleaning
2019-05-10 09:28:52 +02:00
ganfra
c39cfbe2ae
Invites : allow to accept or reject the invite + clean some code. Require UI polishing.
2019-05-07 19:33:58 +02:00
Valere
56a2a3a065
[WIP] Emoji Reactions
2019-05-07 18:01:51 +02:00
ganfra
72cd409735
Invites : start handling invite/left sync
2019-05-06 19:17:30 +02:00
ganfra
ceac06caf6
Merge pull request #109 from vector-im/feature/timeline_formatting
2019-05-06 15:01:08 +02:00
ganfra
694df9d845
Timeline : fix some timeline rendering issues (senderName, merge item, left event). Still need to work on it.
2019-05-06 14:26:41 +02:00
Benoit Marty
b1b526a516
Clear cache and rework Signout
2019-04-17 15:55:38 +02:00
Benoit Marty
ab7b807740
Rename APIs
2019-04-17 12:06:15 +02:00
Benoit Marty
4c02721ada
Create realm module to avoid losing credentials when Realm model change.
2019-04-17 12:06:15 +02:00
Benoit Marty
5dca31e6f9
Do not loop sync in case of JsonEncodingException (if HS is down)
2019-04-17 12:05:39 +02:00
Benoit Marty
d2e1aff453
Convert JsonFilter to FilterId
2019-04-17 12:05:39 +02:00
ganfra
dab80466c5
Timeline : extract video thumbnail and upload it
2019-04-16 17:24:28 +02:00
ganfra
2c83ba0824
Timeline : start to handle video media. Probably to amend
2019-04-12 13:46:59 +02:00
ganfra
dcac9aed55
Merge branch 'feature/media_attachment' into develop
2019-04-11 13:21:51 +02:00
ganfra
0225fc7120
Media upload: handle local echo by pinning at the bottom... will probably be changed
2019-04-11 12:48:35 +02:00
Benoit Marty
2a2b4e7bd9
Merge pull request #104 from vector-im/feature/emote
...
Send emote and update room topic
2019-04-10 09:40:32 +02:00
Benoit Marty
0055514f90
Update room topic
2019-04-09 18:33:28 +02:00
Benoit Marty
6248cc5552
Send emote
2019-04-09 17:53:23 +02:00
Benoit Marty
347967700b
Linkification: import workaround done on Riot
2019-04-09 17:33:47 +02:00
Benoit Marty
81ddb8c5fb
SlashCommand: handle user invitation
2019-04-09 14:44:48 +02:00
ganfra
c9658918ed
Media upload : start handling progress.
2019-04-08 16:39:08 +02:00
Benoit Marty
6d3028c2d7
Autocomplete : start fetching users. Still need to adjust UI and manage selection.
2019-04-08 16:18:36 +02:00
Benoit Marty
aec7b73345
Introduce room member service
2019-04-08 15:53:02 +02:00
Benoit Marty
460a72e6b5
Create Room
2019-04-08 13:49:28 +02:00
Benoit Marty
748090d0f9
Avoid critical log for timeout on event thread
2019-04-05 11:07:45 +02:00
Benoit Marty
57cea677e4
Import resource from Riot
2019-04-05 10:14:45 +02:00
ganfra
c47eeb9cec
Send media: first working implementation. Then, need to fix local echo and handle other types than image.
2019-04-04 19:55:58 +02:00
Benoit Marty
43659dffd3
Improve signout task
2019-04-04 11:10:45 +02:00
ganfra
18591d0287
Media: start to play with uploading media
2019-04-03 23:06:17 +02:00
Benoit Marty
08dacacdda
SignOut
2019-04-03 18:25:39 +02:00
Benoit Marty
73580493ea
Import resource from riot
2019-04-03 14:34:52 +02:00
Benoit Marty
87c9f6b2a0
Improve lint configuration
2019-04-03 12:04:24 +02:00
Benoit Marty
6830957d31
Import settings from Riot - not all fonctional of course
2019-04-02 18:08:43 +02:00
Benoit Marty
10520fb1bd
Upgrade string from Riot
2019-04-02 11:57:12 +02:00
ganfra
04b4f32e16
Sync : add log and continue when read_receipts fail
2019-04-01 17:39:27 +02:00
ganfra
d110dac0a6
Merge feature/replace_paged_list into develop
2019-04-01 17:33:53 +02:00
ganfra
be6a4efacb
Timeline : make tests compile and pass
2019-04-01 15:18:52 +02:00
ganfra
94db36d6c4
Fix room summary not being updated when room members are loaded
2019-03-29 11:15:27 +01:00
Benoit Marty
317503aa2b
userAgent, userId and deviceId in rageshake
2019-03-28 17:49:13 +01:00
ganfra
a6366e47fe
Timeline : change some database details to make it faster
2019-03-28 12:00:45 +01:00
ganfra
4154df7c21
Timeline : stabilize the pagedList replacement. Seems ok for phase0
2019-03-27 19:57:36 +01:00
Benoit Marty
79e273b1ca
Add Doc
2019-03-27 18:03:36 +01:00
ganfra
2898eae566
Timeline : reactivate loaders and get off the main thread
2019-03-20 16:24:50 +01:00
Benoit Marty
cbd62b9e93
Rename Realm DB file
2019-03-20 14:36:47 +01:00
Benoit Marty
a4ef259bd2
Add FIXME
2019-03-19 18:17:40 +01:00
Benoit Marty
40d4e3fe83
Log http requests, for easy debugging
2019-03-19 12:55:14 +01:00
Benoit Marty
f4170f55b7
Configure user agent
2019-03-19 12:29:45 +01:00
Benoit Marty
e938866081
Fix issue in Strings
2019-03-18 16:42:19 +01:00
Benoit Marty
02c7deb783
Import strings from Riot and create a script to do so
2019-03-18 16:06:06 +01:00
ganfra
c12bc5e02d
Timeline rework : first version working for backward navigation (need more testing)
2019-03-15 19:27:56 +01:00
Benoit Marty
0db1d98f41
Fix compilation issue
2019-03-15 19:18:43 +01:00
ganfra
820709d433
Timeline rework : initial commit - to amend.
2019-03-13 22:30:05 +01:00
Benoit Marty
d5838262ea
Fix i18n issue
2019-03-13 18:36:57 +01:00
ganfra
2c0bc93f5a
Home: getting Room interface slow (blocking Main Thread). Maybe we should get this async.
2019-02-27 17:41:06 +01:00
ganfra
41b06bca60
User : rework UserEntityUpdater (and make others RealmLiveEntityObserver process on MonarchyThread instead of Main)
2019-02-26 19:32:01 +01:00
ganfra
f59977f884
Room state: fix sync state events duplicates with timeline
2019-02-26 14:50:53 +01:00
ganfra
40f1fcab18
User : start handling users. Need to fine a good strategy to process room member events.
2019-02-25 21:55:33 +01:00
ganfra
6c7bc2b40c
Timeline: get better perf
2019-02-25 18:10:37 +01:00
ganfra
ca890e1ef4
Room tag: let the tag order be anything to avoid breaking at the moment.
2019-02-20 18:09:07 +01:00
ganfra
28c837a47f
Timeline: handle call events
2019-02-20 15:47:20 +01:00
ganfra
42cf45c8f3
Timeline: handle room history visibility
2019-02-20 12:06:33 +01:00
ganfra
9477316b61
Sync : add timber log on sync failure
2019-02-19 19:37:16 +01:00
ganfra
b5f40f9732
Add stetho in debug to allow some inspection
2019-02-19 17:40:38 +01:00
ganfra
c42294a21e
Handle room v3 event id format
2019-02-18 17:41:35 +01:00
ganfra
03437885ef
Read receipts : fix issues with receipts not being sent
2019-02-18 17:41:21 +01:00
ganfra
30bfada5d2
Merge branch 'feature/room_list' into develop
2019-01-31 12:15:43 +01:00
ganfra
6c653287e1
Read receipts : fix read receipt being sent for dummyEvent + scroll appearing index
2019-01-31 11:45:11 +01:00
ganfra
6113bba703
Timeline : send read-receipt when scrolling. Still need to handle read marker.
2019-01-30 18:39:54 +01:00
ganfra
0e491af8ab
Room list : adjust some params
2019-01-29 18:31:11 +01:00
ganfra
6df8809ee0
Room list : add quick ordering
2019-01-29 16:02:42 +01:00
ganfra
d3d536f4f0
Room : add RoomTag to handle favourites, low priority and system alerts in room list.
2019-01-29 14:16:22 +01:00
ganfra
0f66fa0895
Room : refactoring how a room is created
2019-01-28 18:42:29 +01:00
ganfra
b2e2c14e69
Room : start to handle read markers. Only used when you open the room at the moment.
2019-01-28 17:56:23 +01:00
ganfra
ad2abd5cdd
Fix messages content info can be null
2019-01-25 18:40:02 +01:00
ganfra
9a42c121e4
Room list : show unread badge with room name. Still need to mark a room as read to update marker.
2019-01-25 18:04:08 +01:00
ganfra
c33e96b82c
Add comments in API packages
2019-01-25 15:44:41 +01:00
ganfra
9dccad11fe
Update copyright and add to last merged commits
2019-01-25 14:04:59 +01:00
ganfra
4c7a6dfe33
Merge branch 'feature/timeline_media' into develop
2019-01-25 12:36:01 +01:00
ganfra
7c4ac7b53a
Media : start to refact renderer to be more generic
2019-01-23 20:29:47 +01:00
ganfra
f9ca8f35bc
Fix MessageFileContent crash (no filename)
2019-01-23 16:25:51 +01:00
ganfra
cc4c1cf308
Content : make content url resolution aware of homeserver url
2019-01-23 16:25:24 +01:00
ganfra
1d400180bc
Timeline : start to handle media images/gif. Still a lot to do, but it's a first step.
2019-01-22 18:43:15 +01:00
ganfra
32b29c47e7
Hot fix : makes room topic optional as it may be null.
2019-01-21 18:31:19 +01:00
ganfra
dbb812ad84
Message type : add data classes for all the types
2019-01-21 18:16:15 +01:00
ganfra
57db4086cb
Start adding javadoc on public api of the SDK and move some files.
2019-01-18 16:26:17 +01:00
ganfra
9914939045
Add copyright to source code
2019-01-18 11:12:08 +01:00
ganfra
4a6b28aca1
Merge branch 'feature/timeline_events' into develop
2019-01-17 15:33:13 +01:00
ganfra
ac2d20ad3f
Migration androidx : first commit where it compiles. Updates some libs and android studio version in the same time.
2019-01-16 19:25:43 +01:00
ganfra
06dd3760c5
Timeline : start handling some state events display
2019-01-15 15:47:03 +01:00
ganfra
b2cdeb87f4
Fix some timeline issues and rename EnrichedEvent to TimelineEvent as it's only used in this context.
2019-01-14 16:46:54 +01:00
ganfra
34e08705dd
Timeline : still trying to adjust PagedList options
2019-01-14 16:46:54 +01:00
ganfra
d7de986365
Timeline : try using initialLoadKey to open PagedList around an event. Still need to scroll to the item.
2019-01-14 16:46:54 +01:00
ganfra
922609cb57
Timeline : try to get a better PagedList/Epoxy integration. Still need to be refined.
2019-01-14 16:46:54 +01:00
ganfra
de90cbe73e
Timeline : fix merging issues
2019-01-14 16:46:54 +01:00
ganfra
1269715b5c
Timeline : introduce timeline data class to allow listening for isLoadingForward and isLoadingBackward
2019-01-14 16:46:54 +01:00
ganfra
f5d64a5707
RoomSummary : clean some old code
2019-01-14 16:46:54 +01:00
ganfra
7669a94a64
Introduce retry on task executor and use it for pagination
2019-01-14 16:46:54 +01:00
ganfra
d288fb7c9c
Timeline : improve scrolling performances
2019-01-14 16:46:54 +01:00
ganfra
84645c17c8
Makes tests compile
2019-01-14 16:46:54 +01:00
ganfra
e9737dff75
Add roomId to EventEntity as it makes queries a lot faster and fixes performance issues.
2019-01-14 16:46:54 +01:00
ganfra
fd06606c45
Room : load room members is totally off the main thread now
2019-01-14 16:46:54 +01:00
ganfra
5a75e3db81
Clean some of the session code API
2019-01-14 16:46:54 +01:00
ganfra
aec620fb50
Move some files
2018-12-20 16:27:59 +01:00
ganfra
3713e71c8e
Refactor Matrix instance creation (using ContentProvider) + isolate Koin in matrix
2018-12-20 15:44:01 +01:00
ganfra
43dee60b92
Permalink parser should only look for fragment part
2018-12-20 14:13:23 +01:00
ganfra
9b8800ec55
Permalinks : add a parser to get data from permalink (userId, eventId...)
2018-12-19 19:08:30 +01:00
ganfra
fdd4642cbb
Use addLinks method on message. Next step is to proceed the url to navigate.
2018-12-19 11:50:44 +01:00
ganfra
58f60eaab4
Start importing permalink classes from old SDK/Riot
2018-12-18 18:43:37 +01:00
ganfra
39ad44e9aa
Refactor a bit EnrichedEvent and Content. Metadata will only be used for unexpected data.
2018-12-18 14:46:20 +01:00
ganfra
4656429d83
Introduce a localId for event, to avoid blink effect when sending
2018-12-17 18:25:02 +01:00
ganfra
0f667fe6e8
Introduce ContentMapper, allowing to map a content directly without going through an event entity.
2018-12-17 18:24:01 +01:00
ganfra
d9e24558ec
Makes task configurable to allow choosing threads
2018-12-17 16:42:22 +01:00
ganfra
faa68f4d52
Start testing timeline. Not working at the moment, have to figure it out.
2018-12-14 19:23:49 +01:00
ganfra
5cc128cbf3
Introduce Task interface and TaskExecutor to centralize task processing and easier testing (replace Request naming)
2018-12-14 19:22:39 +01:00
ganfra
168814149b
Update some dependencies
2018-12-13 11:00:50 +01:00
ganfra
14d807232f
Finally remove legacy package and clean some files.
2018-12-12 21:54:14 +01:00
ganfra
c8c31172b3
Try to configure okreplay for testing network + start to rework koin modules
2018-12-12 21:15:01 +01:00
ganfra
1d5587c5ba
Clean forgotten code
2018-12-12 11:51:29 +01:00
ganfra
17dcbc1cd6
Remove RequestExecutor as name is confusing at the moment.
2018-12-11 18:13:22 +01:00
ganfra
6ee272c376
Chunk : add some tests on merge
2018-12-11 16:39:44 +01:00
ganfra
0266380485
Start introducing tests
2018-12-11 15:36:09 +01:00
ganfra
683305030a
Timeline : check isUnlinked before and after merge
2018-12-11 15:35:46 +01:00
ganfra
0611661c46
WIP: Start to make permalink works
2018-11-29 18:35:24 +01:00
ganfra
9f79a5132d
Pagination/Permalink : extract persistence logic in a dedicated class
2018-11-29 12:20:09 +01:00
ganfra
c396c2bec7
WIP on chunk merging : required to merge chunks wherever they are (permalink)
2018-11-28 18:28:35 +01:00
ganfra
b3ba542e09
Start to add a flag (isUnlinked) to work with permalink. Still in progress (break state index at the moment)
2018-11-27 22:42:46 +01:00
ganfra
b6728ce9be
Clean some DI code
2018-11-27 12:23:15 +01:00
ganfra
580c898447
Revert "Rework injection of monarchy instances (introduce disk and memory)"
...
This reverts commit af79e1d0b5
.
2018-11-27 12:06:40 +01:00
ganfra
af79e1d0b5
Rework injection of monarchy instances (introduce disk and memory)
2018-11-26 17:09:49 +01:00
ganfra
660ba5436b
Send messages : add local echo. Maybe add directly to the pagedlist if possible
2018-11-25 16:17:47 +01:00
ganfra
e4c23b757e
Timeline : try to fix scroll issues...
2018-11-25 16:17:13 +01:00
ganfra
6fc0d884b2
Timeline UI : try to fix scrolling issues (not perfect but better)
2018-11-22 11:57:39 +01:00
ganfra
bc1462486d
State index : rework the algorithm to manage limited chunks and avoid using wrong state events (Int.Min overriding)
2018-11-22 11:20:50 +01:00
ganfra
d250d2bd27
Start introducing a way to open timeline around an event
2018-11-19 15:47:54 +01:00
ganfra
40fa326771
Introduce a displayIndex to keep insertion order when querying...
2018-11-15 19:00:15 +01:00
ganfra
bb0a70f3c0
Clean some code about chunk and fix merging chunk
2018-11-15 18:32:39 +01:00
ganfra
40f981e454
State index management should be ok now
2018-11-15 12:37:59 +01:00
ganfra
18af7c83f3
Introduce state index trying to replicate RoomState logic. WIP #2
2018-11-14 19:32:42 +01:00
ganfra
6115b05d97
Introduce state index trying to replicate RoomState logic. WIP
2018-11-13 19:17:59 +01:00
ganfra
d46ce8245d
Add a param "isLast" in chunk as we want live results in timeline... not sure it's the right way to do it.
2018-11-13 10:50:53 +01:00
ganfra
2c6b155794
Revert "Sending : add a basic local echo (still need to define sending states)"
...
This reverts commit a4abd20e73
.
2018-11-13 10:48:05 +01:00
ganfra
a4abd20e73
Sending : add a basic local echo (still need to define sending states)
2018-11-09 18:32:35 +01:00
ganfra
c8a987f932
Clean a bit Worker implementations
2018-11-09 14:06:23 +01:00
ganfra
0f34daf3b3
Use WorkManager for process we don't want to loose
2018-11-09 09:43:12 +01:00
ganfra
f050574728
Start sending message : introduce WorkManager. WIP - have to clean
2018-11-08 19:08:14 +01:00
ganfra
b2bb89ac94
Request : add some way to retry + introduce RequestExecutor
2018-11-08 13:56:07 +01:00
ganfra
240b4715fc
Add internal keyword where it makes sense
2018-11-08 11:04:40 +01:00
ganfra
7b6092cee1
Fix prevContent for room.member events
2018-11-07 23:11:24 +01:00
ganfra
be8b1287c7
Start handling prune events. WIP
2018-11-07 20:48:44 +01:00
ganfra
cd25232572
Group/Room list : show filtered room when a group is selected
2018-11-07 12:17:10 +01:00
ganfra
3028710122
Add group users API
2018-11-07 10:39:10 +01:00
ganfra
9cc3dc51cc
Use Try instead of Either as it makes more sens + add GroupRooms API
2018-11-06 16:39:29 +01:00
ganfra
56bbcf209f
Add forgotten annotation for json
2018-11-05 22:11:30 +01:00
ganfra
a3539153ef
Quick sync group management (WIP)
2018-11-05 18:33:17 +01:00
ganfra
3199f5dcd6
Sync : handle as a single write transaction
2018-11-05 14:31:45 +01:00
ganfra
b3fe742ec4
Allows authentication by email
2018-11-03 11:49:18 +01:00
ganfra
2885b510ab
Clean a bit code of timeline + show not handled events message
2018-11-02 17:37:37 +01:00
ganfra
9c48eba26c
Better date management
2018-11-02 11:53:31 +01:00
ganfra
455b860f06
Clean files and check if session is open
2018-11-02 10:30:50 +01:00
ganfra
18c6472f32
Fix some stupid issues
2018-11-01 10:09:27 +01:00
ganfra
536d7c33fe
Timeline : change page size
2018-10-31 16:23:02 +01:00
ganfra
6f2beef726
Makes the timeline a little more polished
2018-10-31 13:03:36 +01:00
ganfra
ecf728aef8
Handle epoxy timeline manually : get off the cache at the moment, will need to be improved
2018-10-31 11:22:42 +01:00
ganfra
bc8055c3cd
Room list : handle direct rooms
2018-10-30 18:22:29 +01:00
ganfra
cc29a387c7
Start introducing theme on app + branch toolbar to drawer, still requires refinements
2018-10-29 14:57:36 +01:00
ganfra
e5fc1e3412
Introduce MvRx in the application + start managing UI
2018-10-28 19:18:14 +01:00
ganfra
d0a241bd2d
Clean a bit code and reorganize files
2018-10-26 15:12:38 +02:00
ganfra
e942b54b56
Adding events to chunk is now faster by using query to check contains and no primary key
2018-10-26 12:48:56 +02:00
ganfra
7ba67d6c2b
Deport timeline in his own class
2018-10-25 18:15:22 +02:00
ganfra
2faba01662
Room : load all room members on first room opening
2018-10-25 16:56:32 +02:00
ganfra
7ecbe09661
Handle read receipt saving (still need to find a way to improve insertion )
2018-10-24 18:11:01 +02:00
ganfra
efceda1def
Remove data handler instance
2018-10-23 18:49:00 +02:00
ganfra
88362edece
Fix case where heroes is empty (fallback to display name of loaded members)
2018-10-23 18:31:33 +02:00
ganfra
f747d268c9
First attempt to handle room name + make app listen to room summaries instead of rooms
2018-10-23 18:25:28 +02:00
ganfra
279241974a
Add a way to enrich event with useful data to be displayed.
2018-10-22 19:36:29 +02:00
ganfra
0f4d15e488
Makes back pagination work. Still need to refine but ok for proto.
2018-10-22 15:24:27 +02:00
ganfra
d71ae02162
Still WIP for Paging integration
2018-10-21 20:27:50 +02:00
ganfra
702abccb38
Continue to work on timeline/pagination. WIP
2018-10-19 20:34:54 +02:00
ganfra
6e3992e70e
Fix some issues with sync (bad thread, bad use of last() )
2018-10-19 17:18:24 +02:00
ganfra
ecbc64082f
Use epoxy to render pagedList : WIP
2018-10-19 15:30:40 +02:00
ganfra
e323c858ab
Fix compilation issue and rename method
2018-10-19 14:26:13 +02:00
ganfra
0041b6273e
Start introducing PagedList management for timeline
2018-10-18 18:38:11 +02:00
ganfra
3f07ed9806
Trying monarchy to manage realm
2018-10-18 11:16:02 +02:00
ganfra
1646687e6d
Clean some files
2018-10-17 19:12:39 +02:00
ganfra
00188fde29
Try to have some cleaner hierarchy
2018-10-17 18:21:09 +02:00
ganfra
0f4a62b7bf
Remove persistence package for the moment
2018-10-17 15:35:26 +02:00
ganfra
e7f9bf86c6
Pause/Resume sync thread when app goes background/foreground
2018-10-17 15:20:26 +02:00
ganfra
d9f1d3fc85
Sync : save token
2018-10-17 14:46:36 +02:00
ganfra
44eb838610
Manage sync in an infinite thread
2018-10-17 13:59:21 +02:00
ganfra
4904ac894e
Start to insert room summaries and listen for changes
2018-10-16 15:52:30 +02:00
ganfra
b79d23ad24
Migrate to realm + better insertion
2018-10-15 19:42:13 +02:00
ganfra
95fd7190e4
Better coroutines management
2018-10-13 11:18:49 +02:00
ganfra
1a967b6326
Sync : start insertion in DB
2018-10-12 19:26:22 +02:00
ganfra
9bef41a13b
Start creating database model
2018-10-12 16:50:54 +02:00
ganfra
06456ae3e9
Translate some legacy SDK classes to kotlin
2018-10-11 21:32:23 +02:00
ganfra
11f860533c
Start working with RoomState (trying approaches for content parsing)
2018-10-11 20:01:08 +02:00
ganfra
c7ce5c61b1
Clean some files
2018-10-11 17:35:15 +02:00
ganfra
5baaecaea4
Add basic session management to avoid login each time
2018-10-11 09:58:28 +02:00
ganfra
f9e6f4b533
Integration with old SDK - make it works
2018-10-11 09:05:32 +02:00
ganfra
108fae2f28
WIP integration with old SDK (not working)
2018-10-10 19:46:43 +02:00
ganfra
3215fa47d5
Import old SDK as legacy code to replace smoothly
2018-10-09 12:30:01 +02:00
ganfra
058f1704fa
Make sync request works as initial sync
2018-10-08 17:52:45 +02:00
ganfra
a7eecdffae
Start importing some classes from the developed SDK... + rename packages
2018-10-05 18:14:32 +02:00
ganfra
c4316d5055
Make the sdk targeting android to win time
2018-10-04 15:19:03 +02:00
ganfra
b406e8301a
first commit
2018-10-03 17:58:12 +02:00