Commit Graph

889 Commits

Author SHA1 Message Date
ganfra 0ca8696e88 Attachments/Share: cleaning code and add contact picking 2019-10-11 16:41:04 +02:00
Benoit Marty 3622c0ecb4 Mark all as read 2019-10-11 16:22:32 +02:00
Benoit Marty 116d569fa8 Fix regression after merge conflict: big font for messages with only big emoji 2019-10-11 14:35:37 +02:00
ganfra ee5ebb4b83 Attachments: get better layout 2019-10-11 12:20:39 +02:00
Benoit Marty 0a0c344bfb Upgrade RecyclerView version to fix issues with a11y.
Also minor upgrade of some other libs
2019-10-11 10:10:16 +02:00
ganfra 20696353b8 Attachments: try to improve a bit the UI and adding options [WIP] 2019-10-10 19:12:16 +02:00
ganfra ae5b6bd2b9 Attachments/Sharing: refact a bit and handle more data. 2019-10-10 16:55:50 +02:00
ganfra 6e39164b20 Sharing: start handling incoming share [WIP] 2019-10-09 20:05:37 +02:00
ganfra 0a9ebb6bf6 Attachments: use a lib which handles for us all the intent stuff. 2019-10-09 19:51:00 +02:00
Benoit Marty db009ce683 Fix warning on release build 2019-10-09 16:47:27 +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 3f8ddbe880 Opening links from RiotX reuses browser tab (#599) 2019-10-09 16:23:35 +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 119e4c0d32 Fix warnings in the App 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 c2682c7f4b
Merge pull request #609 from vector-im/feature/remove_event_bus
Stop sending bus event from SDK to App.
2019-10-09 12:47:06 +02:00
ganfra 3073470c38 Attachments: start working on new UI (using system file picker) [WIP] 2019-10-08 19:59:09 +02:00
Benoit Marty d4dfb76e80 Change constant value (for application upgrade reason) 2019-10-08 13:57:32 +02:00
Benoit Marty c62c77f14c Stop sending bus event from SDK to App. 2019-10-08 12:00:40 +02:00
Benoit Marty d6e5c5a857
Merge pull request #608 from vector-im/feature/a11y_review
Feature/a11y review
2019-10-08 11:16:08 +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 2cd1d697fe Cleanup after Gafnra's review 2019-10-08 10:53:21 +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 53572a3be6 Fix crash observed on the PlayStore 2019-10-08 10:52:54 +02:00
Benoit Marty 90b6199e10 Fix compilation issue 2019-10-08 10:45:45 +02:00
Benoit Marty 0aa299aa37 Private 2019-10-07 19:11:53 +02:00
Benoit Marty d387c310c8 Cleanup code after a11y PR (#596) and fix some merging issues 2019-10-07 18:41:44 +02:00
Benoit Marty ac6aff9175
Merge pull request #596 from pvagner/a11y
more a11y tweaks
2019-10-07 17:15:29 +02:00
Benoit Marty c1c1c3f999 Use latest coroutine lib: v1.3.2 2019-10-07 16:22:09 +02:00
Benoit Marty 8b04fdab77 Upgrade other libraries 2019-10-07 16:22:09 +02:00
Benoit Marty f8b665a245 Fix warning 2019-10-07 16:21:18 +02:00
Benoit Marty d68a9a5342 Split long line 2019-10-07 16:21:18 +02:00
Benoit Marty d6c278288d upgrade google play services plugin 2019-10-07 16:21:18 +02:00
Benoit Marty 4ad86a13a0 Upgrade the dependencies to the latest version 2019-10-07 16:21:18 +02:00
ganfra 4f7ec91255
Merge pull request #604 from vector-im/feature/performance
Feature/performance
2019-10-07 16:08:39 +02:00
ganfra fc49de080c Clean after benoit's review 2019-10-07 16:00:11 +02:00
ganfra 8e39fd2a70 Clean after benoit's review 2019-10-07 14:45:58 +02:00
ganfra 9c5987b682 SAS: fix potential crash 2019-10-04 19:36:22 +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 525da17678 Optimization: try to get a more performant reactions display management 2019-10-03 19:15:11 +02:00
Peter Vágner aab41d7358 Code quality
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2019-10-03 16:34:31 +02:00
Peter Vágner 5db3c81aa9 Add contentDescription to the jump to botton view
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2019-10-02 20:51:57 +02:00
ganfra c763635845 Optimize: try to optimize a text message items 2019-10-02 20:36:52 +02:00
Peter Vágner 53543453b3 Login: add contentDescription to password reveal
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2019-10-02 20:04:33 +02:00
Peter Vágner d4be68191c Fix conflicts after rebase
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2019-10-02 20:04:33 +02:00
Peter Vágner 7ef471ad0d Add contentDescription for the read receipts
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2019-10-02 20:04:33 +02:00
Peter Vágner 73dd735ba6 Reactions: Add content descriptions to emoji chooser category tabs and individual emojis
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2019-10-02 20:04:33 +02:00
Peter Vágner 2f6d3adb17 Message composer: describe the image button for dismissing as cancel rather than close
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2019-10-02 20:04:33 +02:00
Peter Vágner 2edfd4e830 Message composer: add content descriptions to image buttons
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2019-10-02 20:04:33 +02:00
ganfra ff7856c535 Optimize: start removing some constraint layout from timeline 2019-10-02 19:30:01 +02:00
ganfra 650a151b18 Optimize: remove some epoxy building from main thread 2019-10-01 20:12:15 +02:00
ganfra 44f6391cb4 Optimize: use LazyThreeTen 2019-10-01 20:11:15 +02:00
ganfra 588e5d6e63 Hot fix: fix home navigation issue 2019-10-01 17:39:20 +02:00
ganfra 42e0a45f3f Merge branch 'develop' into feature/read_marker 2019-10-01 13:37:21 +02:00
ganfra 31397869b2 Read marker: refine JumpToReafMarkerView 2019-10-01 12:33:38 +02:00
ganfra 0814f53fed Group avatar: clean and optimize a bit. 2019-10-01 11:25:41 +02:00
Benoit Marty de30e7c1c6 Code cleanup 2019-09-26 19:00:38 +02:00
Benoit Marty 2d95fe921d after login, the icon in the top left is a green 'A' for (all communities) rather than my avatar (#267) - part2 (Toolbar) 2019-09-26 18:42:27 +02:00
Benoit Marty 84542326f4 HomeDetailFragment observe the selectedGroupStore instead of passing argument 2019-09-26 18:06:24 +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
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 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
ganfra 4a80df082c Timeline: refact [WIP] 2019-09-25 19:14:12 +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 b24a372262 Show "Clear message queue" option (in debug mode) 2019-09-25 10:50:13 +02:00
ganfra 63b43de4b8 Read marker: final refact [WIP] 2019-09-24 22:52:43 +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 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
ganfra c6d01fbcf4 ReadMarker: extract from ViewModel the jump to read marker visibility logic as it's easier to deal with. 2019-09-24 12:57:32 +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
ganfra 05d09bf950 Merge branch 'develop' into feature/read_marker 2019-09-24 11:10:59 +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 c1f2e9f171 Fix a few accessibility issues - home menu (best compromise) 2019-09-23 17:48:13 +02:00
ganfra f6d34ec7fd Timeline: update state management 2019-09-23 17:43:37 +02:00
Benoit Marty 620ba279d8 Fix a few accessibility issues 2019-09-23 16:32:54 +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 b25a130db1 Rename DimensionUtils to DimensionConverter, and inject resources instead of context. 2019-09-23 14:39:52 +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
ganfra b6e18e4a8f Timeline: add badge also when unread without notif 2019-09-20 18:34:58 +02:00