Commit Graph

4144 Commits

Author SHA1 Message Date
Benoit Marty 8b7e5e527a Make Credentials.homeServer optional because it is deprecated (#1443)
It is never used currently in RiotX, but if homeserver does not sent it, it would crash.
2020-06-04 11:41:32 +02:00
Benoit Marty c3d8916802 fix param name 2020-06-04 11:40:38 +02:00
Benoit Marty 3dc2cd4d7a Disable one code check 2020-06-03 18:54:03 +02:00
Benoit Marty 0b738e3d9e
Merge pull request #1409 from vector-im/feature/markdown_test
Send plain text in the body
2020-06-03 18:45:06 +02:00
Benoit Marty b29c2b2de4 Send plain text in the body
According to https://matrix.org/docs/spec/client_server/latest#m-room-message-msgtypes, the plain text version of the HTML should be provided in the body.

Also create MarkdownParser class to be able to unit test it.
2020-06-03 18:44:35 +02:00
Benoit Marty 40f2d19f81
Merge pull request #1415 from vector-im/feature/signup_username_digit
Temporary fix to show error when user is creating an account on matrix.org with userId containing only digits (#1410)
2020-06-03 18:41:55 +02:00
Benoit Marty 2e997f2c67 Wrong issue number 2020-06-03 18:41:27 +02:00
Benoit Marty 0fd50892af Temporary fix to show error when user is creating an account on matrix.org with userId containing only digits (#1410) 2020-06-03 18:41:07 +02:00
Benoit Marty 55bd346cb2
Merge pull request #1425 from vector-im/feature/integration_manager
Feature/integration manager
2020-06-03 18:10:03 +02:00
ganfra 0724ac133b Widget notice: capitalize first letter 2020-06-03 15:22:20 +02:00
ganfra 0507fa5b0e Widgets: clean again after Benoit's review 2020-06-03 12:00:52 +02:00
Benoit Marty 617e945afa
Merge pull request #1436 from vector-im/feature/Fix_1430_X_made_no_change
Hide "X made no changes" event by default in timeline (#1430)
2020-06-03 09:47:51 +02:00
Benoit Marty 870c4bf765 Check that content is not null 2020-06-03 09:32:20 +02:00
Benoit Marty 9a592e9c7e Create IsUselessResolver object 2020-06-03 01:13:02 +02:00
ganfra 53592ac404 Fix lint issues 2020-06-02 20:28:18 +02:00
ganfra d8848a6062 Merge branch 'develop' into feature/integration_manager 2020-06-02 20:26:03 +02:00
ganfra 173c1d3a6e Integration: make the default urls modifiable from MatrixConfiguration 2020-06-02 20:05:00 +02:00
ganfra c815c4080d Widget: changes naming algorithm (align on web) 2020-06-02 19:51:16 +02:00
ganfra 65c6ce3033 Merge branch 'feature/integration_manager' of github.com:vector-im/riotX-android into feature/integration_manager 2020-06-02 19:02:31 +02:00
ganfra 06cc2f527e Clean after Benoit's review 2020-06-02 19:02:21 +02:00
ganfra 9da5061689
Update CHANGES.md
Co-authored-by: Benoit Marty <benoitm@matrix.org>
2020-06-02 16:37:51 +02:00
ganfra 82b4415f7d Widget: fix loading widgets without scalar token 2020-06-02 16:02:10 +02:00
Benoit Marty 3f1e5b9b1e Hide "X made no changes" event by default in timeline (#1430) 2020-06-02 15:54:01 +02:00
Benoit Marty 1b95d98ccd
Merge pull request #1423 from vector-im/feature/invalidate
Yet another cleanup PR
2020-06-02 14:42:51 +02:00
Benoit Marty e2e1925796 Restore `.observeOn(AndroidSchedulers.mainThread())` 2020-06-02 14:24:29 +02:00
Benoit Marty 52c8f24df5
Merge pull request #1417 from vector-im/feature/you
Use "you" instead of your display name for notice events you have sent
2020-06-02 14:16:46 +02:00
Benoit Marty ca855da8ae Fix issue reported during review by Onuray 2020-06-02 13:15:03 +02:00
Benoit Marty a39d35e54c Improve Kotlin code readability: use `when` instead of `if` and add a few newlines 2020-06-02 13:15:03 +02:00
Benoit Marty 3bd2b24b10 Use "you" instead of display name when the current user has sent the event. 2020-06-02 13:15:03 +02:00
Benoit Marty 12448426d4 Fix typo reported by rageshake 2020-06-01 22:12:11 +02:00
Benoit Marty 4a7bba047b
Merge pull request #1420 from vector-im/feature/fix_theme_switch
Fix: Switch theme is not fully taken into account without restarting the app
2020-05-29 19:22:43 +02:00
ganfra 440c21e9f3 Update CHANGES 2020-05-29 19:06:06 +02:00
ganfra 959b679086 Clean files 2020-05-29 19:03:54 +02:00
ganfra 64cfd4d81a Widget: fix nullable widgetId 2020-05-29 18:08:56 +02:00
ganfra c742ca3b41 Widget: fix widget title color 2020-05-29 17:09:10 +02:00
ganfra 2002252f72 Widget: Handle failures on permissions 2020-05-29 16:44:17 +02:00
ganfra 7df8b3a9bf Widgets: observe wellknown for integ config and open Jitsi in browser 2020-05-29 12:23:36 +02:00
Benoit Marty 3fea2173f4 Move fun to a dedicated file. 2020-05-29 11:57:20 +02:00
Benoit Marty d125cb5c01 Some cleanup:
- use invalidate() from MvRx
- use throttleFirst instead of debounce
- remove useless observe on main thread
- remove useless calls to super.invalidate()
2020-05-29 11:36:27 +02:00
Benoit Marty 86c9264ed9 Fix: Switch theme is not fully taken into account without restarting the app 2020-05-28 23:03:04 +02:00
ganfra 00f2d0249f Merge branch 'develop' into feature/integration_manager 2020-05-28 20:33:51 +02:00
ganfra 4465e6eea3 Widget: format url with roomId if needed 2020-05-28 20:26:34 +02:00
ganfra b87fb8c396 Widget: show sticker in room summary format 2020-05-28 20:15:11 +02:00
ganfra d4706b38b8 Widgets: display widget events in timeline 2020-05-28 20:04:41 +02:00
ganfra 31c82b4ba6 Widget: show room widgets in bottom sheet and fix some widget actions 2020-05-28 19:39:07 +02:00
ganfra cb80d8d349 Widget: add active widgets 2020-05-28 17:08:57 +02:00
Benoit Marty 7be3434136 Merge branch 'hotfix/crash_locales' into develop 2020-05-28 11:31:38 +02:00
Benoit Marty ec1422b0f0 Fix crash due to bad script. Tha bad value has already been fixed on Weblate. 2020-05-28 11:27:11 +02:00
Benoit Marty b0a6eaaa96 Version++ 2020-05-28 10:45:58 +02:00
Benoit Marty d1c4d4b099 Merge branch 'release/0.21.0' 2020-05-28 10:43:55 +02:00