Commit Graph

3456 Commits

Author SHA1 Message Date
Onuray Sahin ef16485eac Always use loudspeaker while ringing and a headset is not connected. 2020-09-11 13:30:00 +03:00
Benoit Marty 8abff412d0 Create constant for default value and so fix a bug when setting bad value for delay. 2020-09-11 11:56:25 +02:00
Benoit Marty b26d379d20 Refresh push pref after diagnostic 2020-09-11 11:49:14 +02:00
Benoit Marty 2ed7be243b Restore TestBatteryOptimization 2020-09-11 11:31:37 +02:00
Benoit Marty 7efc58cb42 Avoid duplication of code and fix issue on OnApplicationUpgradeOrRebootReceiver: background starts even if notification are disabled 2020-09-11 11:13:30 +02:00
Benoit Marty da09df0e42 format 2020-09-11 10:49:54 +02:00
Benoit Marty e997610ef2 Add documentation from PR description 2020-09-11 10:47:21 +02:00
Benoit Marty c2be97741e Restore listener after device rotation 2020-09-11 10:12:56 +02:00
Benoit Marty db977b8109 Simplify Dialog UI and code 2020-09-11 09:43:10 +02:00
Benoit Marty 6f1875c13a
Merge pull request #2089 from vector-im/feature/dendrite_test
Show M_WEAK_PASSWORD error in the password field
2020-09-10 18:10:45 +02:00
Benoit Marty 4dc28a9d62 Reorder settings 2020-09-10 18:08:35 +02:00
Benoit Marty 23f13b092f Plurals 2020-09-10 18:00:06 +02:00
Valere 3ff475af7a Avoid scheduling alarm until network is back 2020-09-10 17:10:47 +02:00
Valere 43c24e55ab Restart fdroid sync on application boot 2020-09-10 17:10:47 +02:00
Valere 971b425e17 F-Droid background sync modes 2020-09-10 17:10:47 +02:00
Benoit Marty b9e8d7187c
Merge pull request #2075 from vector-im/feature/strict_mode_tracking
Feature/strict mode tracking
2020-09-10 13:46:44 +02:00
Onuray Sahin 926ff80525
Merge pull request #2086 from vector-im/feature/fix_event_read_elsewhere
Clear the notification when the event is read elsewhere
2020-09-10 13:24:57 +03:00
Onuray Sahin 0cba8f3aa1 Start background sync even if the eventId or roomId is null. 2020-09-10 12:08:05 +03:00
ganfra dc04d2848d Default pref: make sure to use app context 2020-09-09 11:52:05 +02:00
ganfra c2880a5832 Strict mode: add a build entry to enable whenever we want to check 2020-09-09 11:52:05 +02:00
ganfra fa381cc06d Use a singleton for default shared pref 2020-09-09 11:45:47 +02:00
ganfra f1d902b9ad Enable strict mode and remove some stuff from the main thread 2020-09-09 11:45:47 +02:00
Benoit Marty b97d922808 ktlint 2020-09-09 11:33:22 +02:00
ganfra 18dcd6b9b1 Date format: add more comments and fix wrong format kind usage 2020-09-09 11:32:56 +02:00
ganfra c6178e504f Clean files and update CHANGES 2020-09-09 11:32:56 +02:00
ganfra 0ff28c4f50 Date formatting: try to generalise usage of VectorDateFormatter and get proper formatting for Date + Time 2020-09-09 11:32:16 +02:00
ganfra 73ab32fd92 Start reworking date formatting 2020-09-09 11:32:16 +02:00
LinAGKar 925d4d077f Translated using Weblate (Swedish)
Currently translated at 100.0% (3 of 3 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.riot.im/projects/element-android/element-store/sv/
2020-09-09 07:42:55 +00:00
LinAGKar 4581efa4c3 Translated using Weblate (Swedish)
Currently translated at 100.0% (1867 of 1867 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/sv/
2020-09-09 07:42:55 +00:00
Nikita Epifanov 09ccf7cdde Translated using Weblate (Russian)
Currently translated at 100.0% (3 of 3 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.riot.im/projects/element-android/element-store/ru/
2020-09-09 07:42:54 +00:00
Nikita Epifanov d1fedcac7c Translated using Weblate (Russian)
Currently translated at 100.0% (1867 of 1867 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/ru/
2020-09-09 07:42:54 +00:00
@a2sc:matrix.org a7ee451705 Translated using Weblate (German)
Currently translated at 100.0% (3 of 3 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.riot.im/projects/element-android/element-store/de/
2020-09-09 07:42:53 +00:00
@a2sc:matrix.org 11fc0fed75 Translated using Weblate (German)
Currently translated at 100.0% (1867 of 1867 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/de/
2020-09-09 07:42:53 +00:00
Priit Jõerüüt f932100388 Translated using Weblate (Estonian)
Currently translated at 100.0% (1867 of 1867 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/et/
2020-09-09 07:42:52 +00:00
Jeff Huang f0b582fef0 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1867 of 1867 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/zh_Hant/
2020-09-09 07:42:51 +00:00
Benoit Marty bf0b6d738a Version++ 2020-09-08 17:49:26 +02:00
Benoit Marty f990600aea Cleanup and documentation after #2047 2020-09-08 12:40:21 +02:00
Benoit Marty 22cd6ae239
Merge pull request #2047 from vector-im/feature/universal_link_navigation
Handle room, user, group, email verification links by converting them to permalinks.
2020-09-08 12:21:54 +02:00
Benoit Marty 00b53ee577
Merge pull request #2053 from vector-im/feature/fix_poll_reply
Feature/fix poll reply
2020-09-08 12:19:32 +02:00
Benoit Marty f65e96e7b4
Merge pull request #2069 from etherealvisage/develop
Support data-mx-[bg-]color attribute on <font> tags in formatted messages.
2020-09-08 10:09:25 +02:00
Valere a544ae264b Avoid showing debug notice format for event preview 2020-09-08 09:51:35 +02:00
Valere c895f87e26 Prevent reply to poll local echo (relation to echo not supported yet) 2020-09-08 09:51:35 +02:00
Onuray Sahin e65558958d Code review refactoring. 2020-09-08 10:45:00 +03:00
ethereal 8291dfc188 Support data-mx-color attribute in <font> tags as well. 2020-09-07 14:52:30 -04:00
Onuray Sahin 3367ed6765 Fix support of riot.im/develop urls. 2020-09-07 20:02:06 +03:00
Benoit Marty 4654e39417 Update after Ganfra's review 2020-09-07 17:14:09 +02:00
Onuray Sahin 6dd4d4d906
Merge branch 'develop' into feature/universal_link_navigation 2020-09-07 17:48:52 +03:00
Benoit Marty be9a91e3fe Android 6: App crash when read Contact permission is granted (#2064) 2020-09-07 16:33:12 +02:00
Onuray Sahin fc51097ed8 develop and staging subdomains are added. 2020-09-07 17:17:58 +03:00
Benoit Marty de8e325193
Merge branch 'develop' into feature/image_compression 2020-09-07 15:21:15 +02:00
Benoit Marty bc389d371d Move string def to app module instead of SDK (#1994) 2020-09-07 13:38:12 +02:00
Benoit Marty 3756c3a191 Fix lint issues 2020-09-07 13:32:32 +02:00
Benoit Marty 9e3caf603d Lint: "..." -> `…` 2020-09-07 13:25:11 +02:00
Benoit Marty 74e2ffc4c4 Format string files 2020-09-07 13:24:33 +02:00
Onuray Sahin 4d7cd7319b Handle new mobile config url. 2020-09-07 12:19:34 +03:00
Weblate edf7761d49 Merge branch 'origin/develop' into Weblate. 2020-09-07 08:57:45 +00:00
Benoit Marty 6c6bba68ff
Merge pull request #2062 from vector-im/feature/fix_no_verif
Feature/fix no verif
2020-09-07 10:49:38 +02:00
ethereal 5fbcf348f5 Support data-mx-bg-color attribute on <font> tags in formatted messages.
Signed-off-by: Kestrel Williams-King <ethereal@ethv.net>
2020-09-07 01:13:32 -04:00
PPNplus 398dcb1036 Translated using Weblate (Thai)
Currently translated at 66.7% (2 of 3 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.riot.im/projects/element-android/element-store/th/
2020-09-05 09:42:47 +00:00
PPNplus 30e7b761ae Translated using Weblate (Thai)
Currently translated at 4.7% (87 of 1849 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/th/
2020-09-05 09:42:47 +00:00
Eduardo F 4d105c278b Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1849 of 1849 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/pt_BR/
2020-09-05 09:42:44 +00:00
Benoit Marty f019e4a246
Merge pull request #1995 from notramo/patch-1
Mention thousands of public servers in Play Store
2020-09-04 21:35:10 +02:00
Benoit Marty fd1bb84770 typo 2020-09-04 20:47:19 +02:00
Benoit Marty ac4c111ad3 Refacto: let's matrixItem be part of the constructor 2020-09-04 20:42:35 +02:00
Benoit Marty 254eb26211 Verification popup won't show 2020-09-04 20:38:32 +02:00
Benoit Marty f689871fc0 Code symmetry 2020-09-04 18:45:49 +02:00
Benoit Marty 8ead371603 Fix crash with WakeLock 2020-09-04 18:43:59 +02:00
Benoit Marty 8045d61e1f Code cleanup 2020-09-04 18:41:13 +02:00
Onuray Sahin e790c35270 Use stringProvider. 2020-09-04 17:19:54 +02:00
Onuray Sahin 914ec895ee Use ContextCompat.getSystemService function. 2020-09-04 17:19:54 +02:00
Onuray Sahin bd05484b2d Initialize fields in the constructor. 2020-09-04 17:19:54 +02:00
Onuray Sahin b89b3db077 Use proximity manager to turn the screen off while the ear speaker is used. 2020-09-04 17:19:18 +02:00
Onuray Sahin 8e3d83579b Remove attachBaseContext to fix the crash. 2020-09-04 17:19:18 +02:00
Onuray Sahin 96845d31db Proximity sensor implementation. 2020-09-04 17:19:18 +02:00
Onuray Sahin f186a00515 Support legacy riot.im url. 2020-09-04 14:20:03 +03:00
PPNplus a4fdf1802b Translated using Weblate (Thai)
Currently translated at 1.5% (28 of 1849 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/th/
2020-09-04 08:43:08 +00:00
LinAGKar 2c4f7d38a2 Translated using Weblate (Swedish)
Currently translated at 100.0% (1849 of 1849 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/sv/
2020-09-04 08:43:07 +00:00
Peter Vágner 48a9e1ff9f Translated using Weblate (Slovak)
Currently translated at 70.0% (1294 of 1849 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/sk/
2020-09-04 08:43:06 +00:00
rkfg c4b6d52657 Translated using Weblate (Russian)
Currently translated at 100.0% (1849 of 1849 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/ru/
2020-09-04 08:42:43 +00:00
call_xz 43b291d2d0 Translated using Weblate (Japanese)
Currently translated at 49.9% (923 of 1849 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/ja/
2020-09-04 08:42:43 +00:00
Benoit Marty af6a94d08e Support for image compression on Android 10 2020-09-04 09:36:18 +02:00
Valere e0c5377968
Merge branch 'develop' into feature/enhance_big_files 2020-09-03 17:09:40 +02:00
Benoit Marty 8aada10f0d Show M_WEAK_PASSWORD error in the password field 2020-09-03 15:21:21 +02:00
Valere 0c39495e3f FIx / unneeded code 2020-09-03 15:03:07 +02:00
Valere 7c638798c7 Code review 2020-09-03 14:53:13 +02:00
Benoit Marty 05ec5bde93
Merge pull request #2020 from vector-im/feature/add_email
Add email and phone numbers
2020-09-03 14:33:09 +02:00
Benoit Marty 633b12f66d Propose to verify the current session if the 4S contains secret, even if there is no other sessions 2020-09-03 10:00:01 +02:00
Benoit Marty 2efe5a420c Do not propose to verify the current session if there is only one session (#1901) 2020-09-03 09:54:03 +02:00
Benoit Marty 96c7f57ea0 Remove useless member 2020-09-03 09:52:57 +02:00
Benoit Marty 6af879fe2a Rename class 2020-09-03 09:52:14 +02:00
Benoit Marty b935a6557f Move state to a dedicated file 2020-09-03 09:46:17 +02:00
Valere 8103081e0e Fix / Support open and view of sending attachment 2020-09-03 09:31:53 +02:00
Onuray Sahin a151f42495 Handle room, user, group links by converting them to permalinks. 2020-09-02 18:26:08 +03:00
Benoit Marty 4ef1f9c4d9 Avoid copy paste of code 2020-09-02 12:47:41 +02:00
Benoit Marty 28081aa7d2 Cleanup: rename parameters, make some fields private, add Javadoc, fix copy paste error 2020-09-02 12:03:03 +02:00
Benoit Marty 971320a56c Restore setting removed by mistake 2020-09-01 18:38:38 +02:00
Benoit Marty bdde638967
Merge pull request #2028 from vector-im/feature/relax_is_discovery
Relax IS dicovery
2020-09-01 15:39:28 +02:00
Benoit Marty 8157644ff8
Merge pull request #2014 from vector-im/feature/fix_call_sound_device
Fix: Loudspeaker is always used
2020-09-01 15:33:06 +02:00
ziriSut 4008339963 Translated using Weblate (Kabyle)
Currently translated at 56.7% (1049 of 1849 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/kab/
2020-09-01 13:08:35 +00:00
Benoit Marty c6bd6c17fc Auto review 2020-09-01 14:55:12 +02:00