Commit Graph

340 Commits

Author SHA1 Message Date
Benoit Marty
17de88e5f6 Remove the check on number of enum class.
Now that we have more developers, we can have conflict because ot the number of exception. Let's hope we will not do the mistake...
2022-01-24 18:12:41 +01:00
Benoit Marty
58197b8853 Fix enum class warning 2022-01-20 15:37:57 +01:00
ariskotsomitopoulos
3bd21d04d8 Merge branch 'develop' into feature/aris/threads
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/timeline/TokenChunkEventPersistor.kt
#	tools/check/forbidden_strings_in_code.txt
2022-01-11 14:09:49 +02:00
Valere
3f0122be01 Update nb of enum classes 2022-01-10 09:44:11 +01:00
ariskotsomitopoulos
ac5caccdf9 Merge branch 'develop' into feature/aris/threads
# Conflicts:
#	matrix-sdk-android/src/androidTest/java/org/matrix/android/sdk/common/CommonTestHelper.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/model/EventEntity.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/timeline/DefaultTimeline.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/timeline/TokenChunkEventPersistor.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/sync/handler/room/RoomSyncHandler.kt
#	tools/check/forbidden_strings_in_code.txt
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewModel.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
#	vector/src/main/res/menu/menu_timeline.xml
2022-01-07 13:29:43 +02:00
Adam Brown
12abd3b019 updating enum class counter 2022-01-06 10:25:41 +00:00
Benoit Marty
48e15b1c36 Restore line deleted during GitHub conflict fixing by mistake 2022-01-04 16:15:25 +01:00
Benoit Marty
7bbea52e66
Merge branch 'develop' into feature/bma/math_final 2022-01-04 16:13:23 +01:00
Benoit Marty
2dc88d1477 Fix code quality 2022-01-03 20:22:57 +01:00
Benoit Marty
b39caeb04d 2 new enums 2022-01-03 15:27:59 +01:00
ariskotsomitopoulos
0d9bc188d7 Fix code quality issues 2021-12-26 00:48:11 +02:00
Benoit Marty
4949a06343 Use stable build tools for the release. 2021-12-14 16:37:52 +01:00
Benoit Marty
be33a53e56 code quality 2021-12-14 09:06:43 +01:00
Benoit Marty
a40e60ba8f Merge branch 'develop' into feature/bma/posthog 2021-12-13 23:18:14 +01:00
Benoit Marty
d3a1746475 Use id from existing views instead of "hard-coded" values
And improve our extension
2021-12-07 16:56:27 +01:00
Benoit Marty
673cbb29de Merge branch 'develop' into feature/bma/posthog 2021-12-07 14:26:31 +01:00
Benoit Marty
88605b65b7
Merge pull request #4628 from vector-im/feature/bma/compressVideo
Add script to compress video and convert to gif file
2021-12-03 18:13:20 +01:00
Benoit Marty
b2dce51fc2 Add script to compress video and convert to gif file 2021-12-03 17:30:30 +01:00
Adam Brown
6a3d4044ef removing unused imports and increasing enum allowance 2021-12-03 15:30:55 +00:00
Benoit Marty
055c9be9ce Add a script to import the plan to Element-Android project 2021-12-02 14:10:03 +01:00
Benoit Marty
6cb8a2458f Remove extra new lines in XML 2021-12-01 23:06:49 +01:00
Benoit Marty
6624039413 Use @id and not @+id when referencing ids in layouts - RelativeLayout and toolbarId 2021-12-01 22:44:07 +01:00
Benoit Marty
e106ff8de0 Use @id and not @+id when referencing ids in layouts - ConstraintLayout 2021-12-01 22:19:33 +01:00
Benoit Marty
2d17156861 Use @id and not @+id when referencing ids in layouts - accessibilityTraversal 2021-12-01 22:16:28 +01:00
Benoit Marty
6d3df0d802 Use @id and not @+id when referencing ids in layouts - ConstraintLayout 2021-12-01 22:13:21 +01:00
Benoit Marty
e233915c0f Jitsi android-sdk-3.1.0 -> android-sdk-3.10.0 2021-11-18 15:58:40 +01:00
Benoit Marty
855b672f48
Add content scanner service (#4392)
* Add content scanner APIs

* Move to content scanner matrix SDK to FOSS

* Update file service

* Refactoring

* Replace matrix callbacks by coroutines

* Fix lint errors

* Add changelog

Co-authored-by: yostyle <yoanp@element.io>
2021-11-17 11:18:20 +01:00
Benoit Marty
be3aafeef2
Merge pull request #4433 from vector-im/feature/bma/android12
Android12
2021-11-16 13:27:33 +01:00
Benoit Marty
aa3f36b7b7 Target API 31 - Android 12 - #4262 2021-11-15 12:24:48 +01:00
bmarty
a33bcbb81a Sync Emojis 2021-11-15 00:01:55 +00:00
yostyle
6ddf3f6e5a Fix lint errors 2021-11-10 22:31:23 +01:00
Benoit Marty
8f854d725d ./fastlane/metadata/android/vi/full_description.txt now exists 2021-11-04 13:01:40 +01:00
Adam Brown
d3234b33d3 increase enum class allowance by 1 2021-10-26 20:03:10 +01:00
Benoit Marty
efc1e9b87c
Merge pull request #4217 from vector-im/sync-emojis
Sync Emojis
2021-10-12 14:54:36 +02:00
ariskotsomitopoulos
ccc4a43737 Sync Emojis 2021-10-11 14:13:18 +00:00
ganfra
3bdf264a53 Merge develop into feature/fga/mavericks_2 2021-10-08 10:49:43 +02:00
ganfra
606cddc826 Mavericks 2: replace MvRxViewModelFactory by MavericksViewModelFactory 2021-10-01 17:11:53 +02:00
Benoit Marty
920f467231 Disqble some check, not true anymore 2021-10-01 14:11:26 +02:00
ganfra
f6b81b36d0 Mavericks 2: switch from MvRxState to MavericksState 2021-10-01 10:08:06 +02:00
Benoit Marty
b5614a1cd5 SQ descriptions are now available 2021-09-29 14:18:52 +02:00
Adam Brown
712b8ede14 adding benchmarking script to start monitoring build times
- makes use of the gradle-profiler to run the build multiple times
- currently uses reduced warm up/iteration count as the build takes a long time, can be increased once the build time is reduced
2021-09-23 16:20:41 +01:00
Valere
8fd784e275 Improve leave space (all + none) 2021-09-16 09:20:25 +02:00
Benoit Marty
2239d710db Handle missing descriptions for SQ 2021-09-08 17:30:02 +02:00
Valere
aaa9c7e795 fix rebase 2021-07-30 19:05:47 +02:00
Valere
5adceaca23 Code quality 2021-07-30 18:44:14 +02:00
Onuray Sahin
1aa706dee5 Lint fixes. 2021-07-30 15:25:02 +03:00
Valere
57c75f8039 Ugrade unstable room notice in settings
default update parent, clean migrate bottomsheet layout
2021-06-24 09:38:52 +02:00
Benoit Marty
d6363a6e1b Update template and use a more power full configuration 2021-06-18 21:35:09 +02:00
Benoit Marty
eea18fb71c Rename towncrier folder from newsfragment to changelog.d 2021-06-18 21:33:50 +02:00
Benoit Marty
1538a62e37
Merge pull request #3523 from vector-im/feature/bma/preparing_release
Preparing release 1.1.10
2021-06-18 10:26:44 +02:00
Benoit Marty
dd1f65dd6f Run ./tools/import_emojis.py
Only a small issue is fixed
2021-06-18 10:25:37 +02:00
Benoit Marty
930675d4c9 Add a formatted version of emoji_picker_datasource.json. Not included in the APK. 2021-06-18 10:25:37 +02:00
Benoit Marty
618333c022 Add the link to list of available language on the PlayStore 2021-06-18 09:33:23 +02:00
Benoit Marty
ad0b1f02f6 Add the script to upload metadata to GooglePlay
fix script
2021-06-17 18:30:24 +02:00
Benoit Marty
ece9d19d8c Rename again the style to follow Android convention (G's review) 2021-06-16 11:59:08 +02:00
Benoit Marty
858bbfd8d2 Rename style to follow naming conventions
And move some files to the module
2021-06-15 21:37:27 +02:00
Benoit Marty
a67f8ca4dc Add some missing style. Default is not workong (?) 2021-06-15 19:00:07 +02:00
Benoit Marty
f0b28742ac textSize *sp -> style 2021-06-15 10:30:54 +02:00
Benoit Marty
03df4aac77 Cleanup 2021-06-14 21:46:05 +02:00
Benoit Marty
3473d669d3 Use MaterialToolbar and AppBarLayout in all screens 2021-06-11 10:12:31 +02:00
Benoit Marty
047c59eba0 Rework colors management 2021-06-09 15:36:20 +02:00
Benoit Marty
a9c61dc309 Fix code quality 2021-05-21 15:02:14 +02:00
Benoit Marty
2462c871b2 Update the CI tool. 2021-05-20 17:14:35 +02:00
Benoit Marty
9df11d6873 Configure towncrier tool 2021-05-20 16:41:29 +02:00
Benoit Marty
278b0d7f75 Sign APK with build tools 30.0.3 2021-05-12 16:20:55 +02:00
Valere
eb18b23528 Add option to send beta feedback 2021-05-12 10:47:52 +02:00
Valere
8146d8ab1e Add Rooms to space 2021-04-28 11:15:58 +02:00
Valere
49381db2e3 cleaning 2021-04-28 11:15:58 +02:00
Valere
48fef45ce3 Code quality 2021-04-28 11:15:58 +02:00
oogm
a4a3777722 Update import_emojis.py to retain keyword order 2021-04-08 22:14:41 +02:00
Benoit Marty
b423d5da4c typo 2021-04-07 19:00:02 +02:00
Valere
41176c3e26 Support only notif display mode
+ code quality fixes
2021-03-31 18:04:27 +02:00
oogm
a40adb903a Update emoji import script to ease execution, output smaller .json files and capitalize emoji names 2021-03-26 17:21:02 +01:00
oogm
7453509df4 Merge remote-tracking branch 'upstream/develop' into develop 2021-03-26 14:09:21 +01:00
Benoit Marty
274aef8f24 Code qual 2021-03-22 19:15:06 +01:00
oogm
0fc102461c Update import_emojis.py to pull keywords from emojilib, update quick reactions 2021-03-19 22:24:43 +01:00
oogm
51650fd899 Add script to pull emojis from Unicode.org as a file 2021-03-16 16:26:20 +01:00
Benoit Marty
c9c4a203d1 Code quality 2021-03-10 11:10:23 +01:00
Benoit Marty
e401252c03
Merge pull request #2956 from vector-im/feature/bma/scripts
Add a script to download and install APK from Buildkite
2021-03-04 14:01:30 +01:00
Benoit Marty
0b5135b841 Add a script to download and install APK from Buildkite 2021-03-03 20:37:19 +01:00
Benoit Marty
7eec98ea23 Ensure we will not use the template string by mistake 2021-03-03 18:08:05 +01:00
Benoit Marty
b8498aecd9 Code quality 2021-03-03 15:17:41 +01:00
Benoit Marty
259ead106f Fix code quality issue 2021-03-03 09:28:35 +01:00
Benoit Marty
c181f7e421 Please code quality check 2021-02-23 10:31:58 +01:00
Benoit Marty
14fc31be07 Add homeserver version check 2021-02-19 21:27:25 +01:00
Benoit Marty
a4b5f79e8f Add capability to download only one artifact 2021-02-17 18:59:40 +01:00
Benoit Marty
1ec4424c0a Upgrade Jitsi library from 2.9.3 to 3.1.0 2021-02-10 12:15:32 +01:00
ganfra
f4fd8af3b4 Merge branch 'develop' into feature/fga/voip_v1_start 2021-01-29 18:46:19 +01:00
ganfra
88e18a8640 VoIP: fix a bunch of issues 2021-01-27 16:55:34 +01:00
ganfra
2c0b7ce0f4 Dagger: update to 2.31 and use new AssistedInject 2021-01-15 15:23:24 +01:00
ganfra
dd67e8c5b5 Merge branch 'develop' into feature/fga/voip_v1_start 2021-01-08 16:30:37 +01:00
Benoit Marty
9f3176c49c Fix code quality 2020-12-28 14:41:23 +01:00
ganfra
14288b545b Merge branch 'develop' into feature/fga/voip_v1_start 2020-12-22 11:38:41 +01:00
Benoit Marty
6f04f4109d It seems we need to use findViewById sometimes 2020-12-16 14:35:30 +01:00
Benoit Marty
6c64fb2169 Fix some crashes 2020-12-16 10:16:33 +01:00
Benoit Marty
dba65dcd22 Migrate to ViewBindings (#1072) - WIP 2020-12-16 02:05:38 +01:00
Benoit Marty
706736273c Migrate to ViewBindings (#1072) - WIP 2020-12-16 00:46:52 +01:00
Benoit Marty
838340bbc8 Remove dependency to Butterknife 2020-12-15 20:33:55 +01:00
Valere
d8a1939c69 Fix number of enum 2020-12-11 17:50:59 +01:00
ganfra
8bb98d9ecc VoIP: clean code 2020-12-09 18:22:06 +01:00
Benoit Marty
f2e8a9e0c7 Un configure the template, to be able to upgrade Android Studio 2020-11-13 18:25:25 +01:00
Benoit Marty
f6ec7bc323 values-v21 does not exist anymore 2020-10-29 14:11:34 +01:00
Benoit Marty
dc8668b222 Code quality 2020-10-22 10:26:33 +02:00
Benoit Marty
fa32770e96 Add --ignoreErrors argument to be able to bypass some errors 2020-10-22 10:25:53 +02:00
Benoit Marty
ea57697215 Fix warning with enum 2020-10-14 11:20:01 +02:00
Benoit Marty
67f1fe69fa We are now API 21+ 2020-10-12 21:09:28 +02:00
Benoit Marty
d1fb1614a3 Make the app react to test push 2020-10-08 22:08:48 +02:00
Benoit Marty
3133cbcc3e Add script to test PUSH token 2020-10-08 22:08:25 +02:00
Benoit Marty
bc339191ea Fix Copyright mention 2020-10-08 15:11:01 +02:00
Benoit Marty
bd69fd5815 Check copyright mention SDK side: we need Matrix copyright and not Element copyright on SDK source files.
Next step should be to ensure that the copyright is present
2020-10-08 14:47:28 +02:00
Benoit Marty
f030e098a8 Fix code quality and compilation test 2020-10-02 17:18:39 +02:00
Valere
3642ca5b4a cleaning 2020-09-30 11:05:06 +02:00
Benoit Marty
577f0e0d9a Create a script to help getting public information form any homeserver 2020-09-29 11:38:19 +02:00
Benoit Marty
f4c4e84ffe Fix false positive from code quality analysis 2020-09-10 17:13:11 +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
Benoit Marty
8cb7260375 Small changes (PR review) 2020-09-09 12:10:46 +02:00
ganfra
c6178e504f Clean files and update CHANGES 2020-09-09 11:32:56 +02:00
Onuray Sahin
6dd4d4d906
Merge branch 'develop' into feature/universal_link_navigation 2020-09-07 17:48:52 +03:00
Onuray Sahin
4d7cd7319b Handle new mobile config url. 2020-09-07 12:19:34 +03: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
9e20f7db1a Update of Buildkite configuration:
New pipeline location: https://github.com/matrix-org/pipelines/blob/master/element-android/pipeline.yml
New build location: https://buildkite.com/matrix-dot-org/element-android
2020-09-01 18:52:03 +02:00
Benoit Marty
46d3608ccb RiotX -> Element 2020-08-28 11:25:16 +02:00
Benoit Marty
25ea221d47 Create a script to import SAS strings (#1909)
It will be run at the next Weblate sync, since we have to remove previous translations
2020-08-26 16:02:58 +02:00
Benoit Marty
9b1c01351c Adding jitsi.md documentation 2020-08-17 10:07:30 +02:00
Benoit Marty
05ecbf0f86 Build Jitsi lib version android-sdk-2.9.3, commit abcbbbea12e3ef88012b14723bb8cd42dbefc988
And host it in https://github.com/vector-im/jitsi_libre_maven/tree/master/android-sdk-2.9.3
2020-08-14 21:33:25 +02:00
Benoit Marty
11b5512cb8 Rename package of SDK modules 2020-08-13 12:50:58 +02:00
Benoit Marty
7b017e4328 Ensure we will always use Context#getSystemService extension function provided by core-ktx 2020-08-11 12:42:32 +02:00
Benoit Marty
8931fd314d Rename package im.vector.riotx to im.vector.app (other manual changes) 2020-08-03 18:48:20 +02:00
ganfra
06bd353d44 Pin: polish a bit and clean code 2020-07-30 14:58:46 +02:00
Benoit Marty
4e3a948513 Cleanup 2020-06-30 19:12:50 +02:00
Benoit Marty
c14b226c92 Search only Kotlin long files 2020-06-30 18:25:36 +02:00
Benoit Marty
6e66c31911 Small cleanup 2020-06-30 18:07:39 +02:00
Benoit Marty
fb13b402af Prevent from importing temporary legacy classes 2020-06-29 14:22:30 +02:00
Benoit Marty
31a7563de5 Make check code quality ok 2020-06-29 10:16:54 +02:00
Benoit Marty
bbf0b1e3ba Add a way to ensure we have @JsonClass(generateAdapter = false) for enum class.
This is not ideal, but this will save us in the future.
2020-06-28 22:06:03 +02:00
Benoit Marty
6e020cada2 Min SDK version is now 21, it has been forgotten to change that. 2020-06-27 11:24:28 +02:00
fabianu
4a454f0817 Added ANDROID_STUDIO as optional variable to specify android studio location. 2020-06-20 17:03:10 +02:00
Benoit Marty
3dc2cd4d7a Disable one code check 2020-06-03 18:54:03 +02:00
Benoit Marty
9fed62e4a7 Improve template 2020-05-18 16:21:00 +02:00
Benoit Marty
5fa247a0c5 Remove temporary tool and strings_riotX.xml temporary files 2020-05-15 15:50:15 +02:00
Benoit Marty
4306cb7812 Upgrade build tools version (SDK 29) 2020-05-05 12:08:19 +02:00
ganfra
269d6e4d08 Remove AndroidManifest template 2020-04-29 19:19:50 +02:00
ganfra
1a307a0c4d Template: let the ViewModel factory be agnostic of the host 2020-04-29 17:58:54 +02:00
ganfra
35a6f90ed6 Create configure script for template 2020-04-29 14:41:45 +02:00
ganfra
d463e5e500 Create template 2020-04-29 14:38:01 +02:00
Benoit Marty
15bd7d1c5b Change the regex to detect long lines to allow schema with UTF-8 chars 2020-04-16 14:35:23 +02:00
Benoit Marty
c57fa3f0d0
Merge pull request #1176 from vector-im/feature/target-sdk-29
Increase targetSdk to 29
2020-04-15 14:32:16 +02:00
Benoit Marty
24d0cdef1f Add missing changes of SDK version and build tools 2020-04-15 12:53:28 +02:00
Benoit Marty
b8cb0588fe Add new resources 2020-04-14 17:06:05 +02:00
Benoit Marty
5008524635 Add script to dumpsys work manager data 2020-03-06 14:52:09 +01:00
Benoit Marty
08e4b4473c Disable manual rules now checked by ktlint 2020-02-25 09:57:12 +01:00
Benoit Marty
35ed22ab2b improve script 2020-02-11 10:38:13 +01:00
Benoit Marty
c97d298166
Merge pull request #948 from vector-im/feature/artifacts_downloading
Feature/artifacts downloading
2020-02-10 14:52:25 +01:00
Benoit Marty
1602c6544f We have too many strings... 2020-02-05 18:06:39 +01:00
Benoit Marty
51c2b9e1e9 Import strings from Riot 2020-02-05 17:35:23 +01:00
Benoit Marty
96a729ab2b Move file 2020-02-04 11:53:09 +01:00
Benoit Marty
badb4042ce Add sign_apk_unsafe.sh to the repo 2020-02-04 11:53:09 +01:00
Benoit Marty
09212a05d0 Add a script to download artifacts from buildkite 2020-02-04 11:53:09 +01:00
Ganard
f454078c6b Clean code 2020-02-03 16:14:36 +01:00
Benoit Marty
b6a1ff1ca4 Import string from Riot legacy 2020-01-09 14:17:17 +01:00
Benoit Marty
da14ae432a Ensure we will not use EpoxyRecyclerView as a View anymore 2019-12-09 17:41:29 +01:00
Benoit Marty
d0c3271628 Import string from Riot-Android and fix #671 2019-11-06 18:19:37 +01:00
Benoit Marty
fb1ff77ec4 Add string from Riot-Android 2019-10-31 10:09:27 +01:00
Benoit Marty
ff81715783 Import Strings from Riot 2019-10-23 14:18:40 +02:00
Benoit Marty
1de02c2fbb Ensure android.text.TextUtils will never be used again 2019-10-22 17:41:59 +02:00
Benoit Marty
99de40c980
Merge pull request #589 from vector-im/feature/media_upload_failure
Fix media upload failure
2019-09-26 11:30:54 +02:00
Benoit Marty
810a97c639 Import string from Android-SDK (#355) 2019-09-26 11:14:13 +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
6bda437f5d Auto configure homeserver and identity server URLs of LoginActivity with a magic link 2019-09-16 10:58:51 +02:00
Benoit Marty
81c7f694d6 Import Strings form Riot 2019-08-07 16:10:50 +02:00
Benoit Marty
ff80c3c8d5 Add script to sign the APK. 2019-07-11 16:41:45 +02:00
Benoit Marty
aa743d8469 Ensure we do not cancel Work from other lib or SDK client 2019-07-09 18:04:19 +02:00
Benoit Marty
d92c090c30 Code quality: HashMap / HashSet 2019-07-09 15:40:49 +02:00
Benoit Marty
ac5b0af63e Code quality: remove rule for map() 2019-07-09 15:37:20 +02:00
Benoit Marty
d08778c674 Code quality: equalTo 2019-07-09 15:33:31 +02:00
Benoit Marty
dcd64de4b8 Check sdk modules 2019-07-09 15:07:11 +02:00
Benoit Marty
f41c0311fa Fix done TODO 2019-07-03 11:58:50 +02:00
Benoit Marty
504009499f Rename im.vector.riotredesign to im.vector.riotx 2019-07-02 17:27:08 +02:00
Benoit Marty
ce3242c748 Code quality: preference 2019-06-26 12:19:54 +02:00
Valere
0e46fc4c0a WIP 2019-06-26 12:19:54 +02:00
Benoit Marty
97b066b8fa Import strings from Riot 2019-06-17 14:55:17 +02:00
Benoit Marty
772670252a Make build FDroid pass 2019-04-04 11:10:12 +02:00
Benoit Marty
73580493ea Import resource from riot 2019-04-03 14:34:52 +02:00
Benoit Marty
9048a1dbbe Rename app to vector 2019-04-02 11:24:54 +02:00
Benoit Marty
547272b17b Please TravisCI build 2019-03-29 18:25:44 +01:00
Benoit Marty
27374aea3f Add DebugReceiver 2019-03-20 14:12:10 +01:00
Benoit Marty
02c7deb783 Import strings from Riot and create a script to do so 2019-03-18 16:06:06 +01:00
Benoit Marty
d5838262ea Fix i18n issue 2019-03-13 18:36:57 +01:00
Benoit Marty
eca59114dd Setup various tools 2019-03-13 17:50:03 +01:00
Benoit Marty
a199eaa171 Setup various tools 2019-03-13 17:00:30 +01:00