Commit graph

1023 commits

Author SHA1 Message Date
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