Commit Graph

945 Commits

Author SHA1 Message Date
Benoit Marty 8be8cc9ef7 Filter rooms when sharing element 2019-10-24 10:45:53 +02:00
ganfra 9762d5be40 Room list actions: start creating all the components 2019-10-23 19:05:59 +02: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 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 bdee5e0687 Fix warning on Strings 2019-10-23 15:17:21 +02:00
Benoit Marty ff81715783 Import Strings from Riot 2019-10-23 14:18:40 +02:00
ganfra 3196dcb57e MessageActions: disable if not synced atm 2019-10-23 12:20:03 +02:00
Benoit Marty cac5fb725a Code cleanup 2019-10-22 18:35:05 +02:00
Benoit Marty dbc17ae515 Use AppCompatEditText instead of EditText 2019-10-22 18:23:53 +02:00
ganfra 6d55c15761 Fix lint issue 2019-10-22 17:41:21 +02:00
ganfra 2974f8b200 Merge branch 'develop' into feature/attachments 2019-10-22 17:27:15 +02:00
ganfra 7388a408b8 Permissions: allow to provide the rationale message as it requires "context" and cannot be generic 2019-10-22 17:13:38 +02:00
Benoit Marty 4204ab262c Fix compilation issue 2019-10-22 12:42:01 +02:00
ganfra c7a4d34192 Attachments: handle rich content from keyboard 2019-10-22 12:37:59 +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
Dominic Fischer d071324694 Address review comments.
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-10-21 22:29:36 +01:00
ganfra 2c8cd89533 Handle rich content from app (WIP not compiling) 2019-10-21 19:02:28 +02:00
ganfra 8e3234d188 Clean some code 2019-10-21 18:08:42 +02:00
Benoit Marty b253722b98 Disable animation 2019-10-21 17:22:28 +02:00
Benoit Marty fce576e3a4 Message action bottom sheet expanded 2019-10-21 17:22:28 +02:00
Benoit Marty 7ed7b18ccd Remove unused import 2019-10-21 17:22:28 +02:00
Benoit Marty 053bf7aeac Improve layout preview a bit 2019-10-21 17:22:28 +02:00
ganfra 6ccd083451 Bottom sheet: fix RecyclerView usage 2019-10-21 17:22:28 +02:00
Benoit Marty e39c4a7925 fix ktlint issue 2019-10-21 17:22:28 +02:00
Benoit Marty 0bcc84cbd6 Try to fix the bottom sheet showing expanded by default #2
Seems ok now
2019-10-21 17:22:00 +02:00
Benoit Marty b2f6fb8c91 Try to fix the bottom sheet showing expanded by default.
The second time it's open, it's not expanded... With this fix, the bug appear only at the third time...
2019-10-21 17:22:00 +02:00
Benoit Marty 36042ed145 Report content: red color for "block user" button 2019-10-21 17:22:00 +02:00
Benoit Marty 6ad1932fe5 Report content: custom reason 2019-10-21 17:22:00 +02:00
Benoit Marty 4a6237b50e Report content: confirmation dialogs 2019-10-21 17:22:00 +02:00
Benoit Marty a7a19dab11 Report content: Service and REST request 2019-10-21 17:22:00 +02:00
Benoit Marty 8d0aa0437c Report content: UI menu 2019-10-21 17:21:26 +02:00
Benoit Marty 0a79b8b315 Cleanup 2019-10-21 17:21:26 +02:00
Benoit Marty 1dacfa6744 Rework message menu bottom sheet: remove sub Fragment and use Epoxy
- Also move some class to some dedicated package
2019-10-21 17:21:26 +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 eaa1b04a4a
Merge pull request #616 from vector-im/feature/big_font_regression
Fix regression after merge conflict: big font for messages with only big emoji
2019-10-18 15:03:43 +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 17636019e0 Change order of parameters 2019-10-18 14:32:34 +02:00
Benoit Marty 8078c39d6e Rename parameter 2019-10-18 14:29:32 +02:00
Benoit Marty be94b2f90a Change order of parameters (no effect) 2019-10-18 14:28:12 +02:00
Benoit Marty eff04be247 Change order of class (no effect) 2019-10-18 14:26:24 +02:00
Benoit Marty 3986839801 Inject userId 2019-10-18 14:25:19 +02:00
ganfra 9e436483de Use klint 2019-10-16 10:39:42 +02:00
ganfra 05a069be04 Attachments: fix themes for selection view 2019-10-16 10:04:33 +02:00
ganfra a1a71e2f1d App state: fix session 2019-10-16 10:04:11 +02:00
Benoit Marty 203da0f37e Mark all as read: not for all Room list and look if there is unread rooms 2019-10-16 10:03:30 +02:00
ganfra 6cd04525aa Clean after Benoit's review 2019-10-15 11:37:22 +02:00
ganfra 3c3c6aeac6 Removes the RoomList handling from a viewmodel as it doesn't have a ViewState and should be provided globally (IE, from application state) 2019-10-15 11:24:20 +02:00
Benoit Marty e71311f576
Merge pull request #612 from vector-im/feature/browser_tab
Opening links from RiotX reuses browser tab (#599)
2019-10-15 11:05:06 +02:00
Benoit Marty e4d0e0b0bf Update after Ganfra's review 2019-10-15 11:03:30 +02:00
Benoit Marty 28e5e42ab1
Merge pull request #614 from vector-im/feature/recycler_view_upgrade
Upgrade RecyclerView version to fix issues with a11y.
2019-10-15 10:47:59 +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
ganfra c28be6adb0 Fix code quality check 2019-10-11 17:23:25 +02:00
ganfra 679b0fff98 Use klint and update CHANGES 2019-10-11 17:12:53 +02:00
ganfra 13a5f784dc Merge branch 'develop' into feature/attachments 2019-10-11 17:05:03 +02:00
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