Commit Graph

1460 Commits

Author SHA1 Message Date
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 f02f16d9c5 Use IEC units instead of SI units for file sizes 2019-09-26 10:41:52 +02:00
Benoit Marty 62b7a83a31 Update after Dominaezzz's review 2019-09-26 10:08:44 +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 1b66d1f746 Fix bad rendering of file item if the filename is long 2019-09-25 15:25:26 +02:00
Benoit Marty 643a2baabf Set click and long click listener even if information data are not displayed 2019-09-25 15:03:16 +02:00
Benoit Marty cd62e87266 Human readable error 2019-09-25 14:44:34 +02:00
Benoit Marty 17cba1a432 Display progress in the timeline when uploading file 2019-09-25 14:39:33 +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 b24a372262 Show "Clear message queue" option (in debug mode) 2019-09-25 10:50:13 +02:00
Benoit Marty d1a61f29e4
Merge pull request #586 from vector-im/feature/persist_tab
Persist opened tab between session (i.e. after application restart)
2019-09-24 16:12:28 +02:00
Benoit Marty f6373221de Dagger cleanup 2019-09-24 16:05:08 +02:00
Benoit Marty b5f2f01c8d Merge branch 'hotfix/dimensionConverter' into develop 2019-09-24 14:28:51 +02:00
Benoit Marty 21d808c1ce Fix crash: MergedHeaderItem was missing dimensionConverter 2019-09-24 14:28:34 +02:00
Benoit Marty 1e963bc0dc Fix crash: MergedHeaderItem was missing dimensionConverter 2019-09-24 14:23:13 +02:00
Benoit Marty 0d80750507 Create interface for UiStateRepository and an implementation with SharedPrefs 2019-09-24 13:43:50 +02:00
Benoit Marty 1c9cf7a810 Dagger code cleanup 2019-09-24 13:40:03 +02:00
Benoit Marty 9e1ded941f Persist active tab between sessions (#503) 2019-09-24 12:29:37 +02:00
Benoit Marty af433266c8 Move currentDisplayMode to the ViewState 2019-09-24 11:32:55 +02:00
Benoit Marty 6890f83810 Cleanup dead code 2019-09-24 10:47:29 +02:00
Benoit Marty 51568c30a6 Version++ 2019-09-24 10:23:51 +02:00
Benoit Marty cc832633a5 Merge branch 'release/0.6.0' 2019-09-24 10:22:42 +02:00
Benoit Marty e019ec6596 Merge branch 'release/0.6.0' into develop 2019-09-24 10:22:42 +02:00
Benoit Marty eadea9016b Prepare release 0.6.0 2019-09-24 10:22:36 +02:00
Benoit Marty 6422d946c9
Merge pull request #584 from vector-im/feature/hasUnread
isEventRead() returns true if the event has been sent by the user
2019-09-24 10:17:52 +02:00
Benoit Marty 5cc3dc00e3
Merge pull request #581 from vector-im/feature/talk_back
Fix a few accessibility issues
2019-09-24 10:06:28 +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
Benoit Marty c1f2e9f171 Fix a few accessibility issues - home menu (best compromise) 2019-09-23 17:48:13 +02:00
Benoit Marty 620ba279d8 Fix a few accessibility issues 2019-09-23 16:32:54 +02:00
Benoit Marty 3fcfa33364
Merge pull request #573 from vector-im/feature/notif_invit
Clean up push rules management and fixes several issues
2019-09-23 16:23:35 +02:00
Benoit Marty 546da0f173
Merge branch 'develop' into feature/notif_invit 2019-09-23 16:23:22 +02:00
Benoit Marty 001711d5a3
Merge pull request #574 from vector-im/feature/big_emoji
Embiggen messages with multiple emojis also for edited messages
2019-09-23 16:22:53 +02:00
Benoit Marty 8e1a964679 After Ganfra's review 2019-09-23 15:08:18 +02:00
Benoit Marty b25a130db1 Rename DimensionUtils to DimensionConverter, and inject resources instead of context. 2019-09-23 14:39:52 +02:00
Benoit Marty 8a9e6497e8
Merge pull request #578 from vector-im/feature/fix_focus_login
Fix infinite focus on HS field
2019-09-23 10:05:43 +02:00
Valere 47e3797b7e Fix infinite focus on HS field 2019-09-23 09:44:32 +02:00
Benoit Marty 5cbc90e06a Embiggen messages with multiple emojis also for edited messages (#458)
And daggerize DimensionUtils
2019-09-20 19:22:42 +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