Commit graph

1265 commits

Author SHA1 Message Date
Benoit Marty
c6b0ae63ea Login screens: handle loading Views and global navigation - WIP 2019-11-22 12:15:19 +01:00
Benoit Marty
3c93807fe6 Login screens: add some doc 2019-11-22 12:15:19 +01:00
Benoit Marty
7f1f98c2e5 Login screens: reset state when navigating back 2019-11-22 12:15:19 +01:00
Benoit Marty
6525314af8 Login screens: server ur form 2019-11-22 12:15:19 +01:00
Benoit Marty
da8d6fb4f4 Login screens: signup signin selection 2019-11-22 12:15:19 +01:00
Benoit Marty
fa6a9cab7e Login screens: server selection 2019-11-22 12:15:19 +01:00
Benoit Marty
bdfc4ad8a7 Login screens: splash screen 2019-11-22 12:15:19 +01:00
Benoit Marty
6ab7209e4d Handle navigation with VectorSharedAction 2019-11-22 12:14:48 +01:00
Andrew Morgan
7663cd4e23 Merge branch 'develop' of github.com:vector-im/riotx-android into anoa/typo 2019-11-19 15:10:24 +00:00
Benoit Marty
ec2954200e Version++ 2019-11-19 09:58:48 +01:00
Andrew Morgan
3673520ef6
Small typo fix 2019-11-18 13:30:03 +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
4cefdfedce Home: use detach/attach instead of hide/show 2019-11-14 11:18:45 +01:00
ganfra
f265724a3c Login sso: handle failure 2019-11-13 19:20:03 +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
0e0db67aef Timeline: clear some resources when unbind 2019-11-12 20:34:19 +01:00
ganfra
6dc5b126d6 Optimize room list processing 2019-11-12 19:53:07 +01:00
ganfra
d2acabddd9 RoomDetail: fix enter/exit mode again after merge 2019-11-12 19:25:57 +01:00
Benoit Marty
fc3d4187d1
Merge pull request #676 from vector-im/feature/long_click_room
Add help to reveal the long click on a room
2019-11-12 18:29:42 +01:00
Benoit Marty
5449592422 Add action to block user in the message action bottom sheet (following Nad's design) 2019-11-12 17:52:03 +01:00
ganfra
19b415871d Extract displaymode, clear adapter on roomList/timeline and use commitNow when possible 2019-11-12 15:13:20 +01:00
ganfra
6463f3439f Update Mvrx to 1.3 2019-11-12 15:11:52 +01:00
Benoit Marty
f2320f9571
Merge pull request #665 from vector-im/feature/color_theme
Ensure color is retrieved from current theme, even when theme change
2019-11-12 12:29:27 +01:00
Benoit Marty
fc91694bdd
Merge pull request #673 from vector-im/feature/us
Update strings
2019-11-12 12:08:55 +01:00
Benoit Marty
dbb41108ef Improve layout 2019-11-12 11:50:16 +01:00
Benoit Marty
08c864bad7 Add help to reveal the long click on a room 2019-11-12 11:39:47 +01:00
Benoit Marty
9c5c65a243 Cleanup 2019-11-12 10:36:53 +01:00
ganfra
b6199b1f27 Fix some issues with fragments managers (Home fragments) and lifecycle 2019-11-08 19:49:08 +01:00
ganfra
38da54119a Merge branch 'develop' into feature/perf_again 2019-11-08 18:39:06 +01:00
Benoit Marty
603b8fae45 Add missing binding 2019-11-08 17:30:04 +01:00
Benoit Marty
50e2e6a823 Cleanup 2019-11-08 17:23:21 +01:00
Benoit Marty
bb237e3bbb Fix ViewModel for Signout 2019-11-08 17:21:46 +01:00
ganfra
1bd2c0d220 Merge branch 'develop' into feature/perf_again 2019-11-08 17:09:22 +01:00
Benoit Marty
ec4d7e29ec Ensure we use the correct viewModelProvider 2019-11-08 17:08:29 +01:00
Benoit Marty
a6df63f6d9 Fix crash 2019-11-08 16:56:45 +01:00
Benoit Marty
ea7213a5ae Split long lines 2019-11-08 16:16:42 +01:00
Benoit Marty
590a13334d ktlint 2019-11-08 16:04:41 +01:00
Benoit Marty
631448335d Rename stuff for code coherence 2019-11-08 15:36:12 +01:00
Benoit Marty
12376368c7 Rename class 2019-11-08 15:20:55 +01:00
Benoit Marty
f17564d743 Simple code 2019-11-08 15:08:50 +01:00
Benoit Marty
a6fcc7dca6 Move class to dedicated file 2019-11-08 15:07:01 +01:00
Benoit Marty
70bce9e7dd Ensure ViewModel follow the same pattern to handle actions 2019-11-08 15:05:11 +01:00
Benoit Marty
238d1d87c6 Rename class 2019-11-08 13:31:39 +01:00
Benoit Marty
82f639b91f Rename to Shared 2019-11-08 12:09:08 +01:00
Benoit Marty
c8bc553caa Move class to dedicated file 2019-11-08 12:01:36 +01:00
Benoit Marty
fa5d44af65 Create common parent for Action view model, to handle navigation, action, or other type of event 2019-11-08 11:54:17 +01:00
ganfra
61ac250e2b Merge branch 'develop' into feature/room_list_actions 2019-11-07 15:43:21 +01:00
ganfra
04f72dfcb8 Clean code after Benoit's review 2019-11-07 15:19:12 +01:00
Benoit Marty
10ca5d94ea Fix issue after rebase 2019-11-07 14:29:08 +01:00
Benoit Marty
d3d7f7cc61 Split long lines 2019-11-07 14:18:57 +01:00
Benoit Marty
b6bb714264 Display name and avatar of the user 2019-11-07 14:18:57 +01:00
Benoit Marty
032e1b3d19 ktlint 2019-11-07 14:18:57 +01:00
Benoit Marty
d9f15c1d21 Block user possibility after reporting event content 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
241220ce1f remove unused import 2019-11-07 13:59:21 +01:00
Benoit Marty
98d97e574c Fix regression when filtering emojis 2019-11-07 12:23:21 +01:00
Benoit Marty
96e610970a Finish the work 2019-11-07 12:08:17 +01:00
Benoit Marty
2027802f82 Add debug screen for all SAS emoji 2019-11-07 10:37:49 +01:00
ganfra
54f93db632 RoomDetail : enter/exit special mode without waiting for draft to update 2019-11-06 20:08:19 +01:00
ganfra
93ef3edab3 Remove some use of sync write in realm 2019-11-06 18:47:11 +01:00
Benoit Marty
c85852262e Remove bad value 2019-11-06 18:28:16 +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
ganfra
219d1383e5 Fragments: use FragmentContainerView 2019-11-05 18:13:55 +01:00
ganfra
8871280fab Fragments: use constructor injections in most of the Fragments 2019-11-05 18:12:04 +01:00
Benoit Marty
10712fd6ab ktlint 2019-11-05 12:13:06 +01:00
ganfra
3013d67c16 Fragment factory: start including the new version with FragmentFactory [WIP] 2019-11-04 19:33:56 +01:00
Benoit Marty
bee8c2d159 Ensure color is retrieved from current theme, even when theme change 2019-11-04 18:12:24 +01:00
ganfra
945e5d5a74 Merge branch 'develop' into feature/room_list_actions 2019-11-04 17:17:43 +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
Benoit Marty
e4b829f0cf Lift of 'return' 2019-11-04 16:53:51 +01:00
Benoit Marty
7206d84a6b Add FIXME 2019-11-04 16:51:45 +01:00
Benoit Marty
b3233d3eb7 Change spoiler bg colors 2019-11-04 16:50:32 +01:00
Valere
3c4c0ed46a Add /spoiler command 2019-11-04 16:50:32 +01:00
Valere
24f1262005 Merge refactoring 2019-11-04 16:49:53 +01:00
Benoit Marty
86667a6d8a Passes text color instead of context 2019-11-04 16:49:53 +01:00
Benoit Marty
42e0d0f769 Improve code to check url validity 2019-11-04 16:49:53 +01:00
Valere
e976055253 Support spoilers in messages 2019-11-04 16:49:53 +01:00
Benoit Marty
9fdfd091ac
Merge branch 'develop' into feature/search_reaction 2019-11-04 15:51:16 +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
ganfra
6ebe5532c5 Room list actions: use new strings 2019-11-04 14:59:12 +01:00
ganfra
8030c44f44 Room list actions: fix some UI issues and render selected notification state 2019-11-04 14:31:03 +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
Benoit Marty
d780c74abf
Merge pull request #657 from vector-im/feature/locales
Support Cyrillic script
2019-11-04 14:27:24 +01:00
Benoit Marty
5d7efa7f8f
Merge pull request #660 from vector-im/feature/permission
Ask for permission to write external storage when uri comes from the keyboard (#658)
2019-11-04 14:26:12 +01:00
Benoit Marty
8439c337f7
Merge branch 'develop' into feature/markdown_off 2019-11-04 10:22:20 +01:00
Valere
151ad01038 Use RxBinding on searchView 2019-11-01 11:57:15 +01:00
Valere
73267442bb Fix / remove listener 2019-11-01 11:30:13 +01:00
Benoit Marty
43fd794c96 Ask for permission to write external storage when uri comes from the keyboard (#658) 2019-10-31 15:48:07 +01:00
Benoit Marty
36060fe332
Merge pull request #654 from vector-im/feature/timeline_message_code
Feature/timeline message code
2019-10-31 15:08:13 +01:00
Benoit Marty
3483debcc1 Little cleanup 2019-10-31 12:08:55 +01:00
Benoit Marty
fb1ff77ec4 Add string from Riot-Android 2019-10-31 10:09:27 +01:00
Peter Vágner
33e35368fc a11y: better presentation for file type selector buttons to screen reader users
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2019-10-31 06:36:28 +01:00
ganfra
d47cf7e932
Merge branch 'develop' into feature/fix_#498 2019-10-30 19:26:11 +01:00
ganfra
5ab31a0ef5 Fix klint 2019-10-30 19:00:56 +01:00
ganfra
b4ae331086 Timeline: render inline and block code 2019-10-30 19:00:00 +01:00
Benoit Marty
3f447df13c Support local script (imported from https://github.com/vector-im/riot-android/pull/3364) 2019-10-30 16:59:31 +01:00
ganfra
3517873156 Timeline: Start handling code blocks. [WIP] 2019-10-29 19:08:48 +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
Benoit Marty
7496a88dcd Markdown set to off by default (Fixes #412) 2019-10-29 16:22:12 +01:00
Benoit Marty
6567c5e6c7 Small kotlin improvement 2019-10-29 16:20:22 +01:00
Benoit Marty
361427488f Passphrase does not match (Export room keys) (Fixes #644) 2019-10-29 14:38:04 +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
Valere
de4c389c76 klint cleaning 2019-10-28 15:12:49 +01:00
Valere
199456487c Search reaction by name/keywords 2019-10-28 14:36:15 +01:00
ganfra
00ca5dc70a RoomListActions: handle room notification state. Still need to branch UI 2019-10-25 18:23:47 +02:00
ganfra
cb275aee37 Room list actions: start showing items and refact a bit RxStore 2019-10-24 19:11:49 +02:00
Benoit Marty
fbf73c7c8e shorter code 2019-10-24 18:52:34 +02:00
Benoit Marty
8422c6de17 Remove test sample 2019-10-24 17:21:19 +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
Benoit Marty
b766bce07d Version++ 2019-10-24 14:40:31 +02:00
Benoit Marty
8fa676d034 Share Activity: display rooms of all communities 2019-10-24 12:19:25 +02:00
Benoit Marty
b6594599c4 Rename member 2019-10-24 10:53:19 +02:00
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
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
ganfra
7e29665fd0 Timeline: add some comments and checks 2019-09-20 18:34:31 +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
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
9794b3a49d Fix compilation issue of F-Droid build 2019-09-20 17:35:10 +02:00
ganfra
90eeb68d36 Timeline: fix permalink towards an hidden event 2019-09-20 17:22:04 +02:00
ganfra
d1ff3314a7 Timeline : add badge on jump to bottom view 2019-09-19 19:12:45 +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
562acc9702 Save Draft only when app goes to background. 2019-09-19 13:09:08 +02:00
Benoit Marty
dfab88ed95 Display room with draft in the Catchup screen 2019-09-19 13:09:08 +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
f5020d0f63 Daggerization and cleanup of NotificationUtils 2019-09-19 13:01:00 +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
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
ed93f4a6c1 Cancel any request properly 2019-09-17 14:55:57 +02:00
Benoit Marty
b3d649a4d9 Fix characters erased from the Search field when the result are coming (#545) 2019-09-17 14:55:57 +02:00
Benoit Marty
3739e50d46 Better error message for timeout 2019-09-17 14:55:48 +02:00