Commit graph

11844 commits

Author SHA1 Message Date
Adam Brown
cb79d20327 updating binding method to reflect the type 2021-12-07 16:54:24 +00:00
Adam Brown
05ce1414b9 updating the debug features to use the datastore api
- we're using the blocking api due to only needing to suspend in the debug variant, we may look to change this in the future
2021-12-07 16:52:02 +00:00
Adam Brown
90d00b96b7 avoiding unneeded cast by providing more types 2021-12-07 15:51:35 +00:00
Adam Brown
6c21ed8eab switching to vector base activity and injecting epoxy controller for project consistency 2021-12-07 15:28:50 +00:00
Adam Brown
440de9741b extracting the debug feature state creation to its own factory 2021-12-07 15:19:28 +00:00
Adam Brown
2d74eb060c adding debug screen to override features
- adds enum support with persistence via class names
2021-12-07 15:19:28 +00:00
Adam Brown
96295f6102 removing no longer possible branches 2021-12-07 15:18:46 +00:00
Adam Brown
c208c2d5ae removing now longer needed Mode argument 2021-12-06 10:14:20 +00:00
Adam Brown
e3155b6c98 removing notifications v1, v2 is live 2021-12-03 16:08:44 +00:00
Adam Brown
db406704c9 removing boolean notification version usage 2021-12-03 15:58:18 +00:00
Adam Brown
8a0fe41b80 adding changelog entry 2021-12-03 15:40:53 +00:00
Adam Brown
6a3d4044ef removing unused imports and increasing enum allowance 2021-12-03 15:30:55 +00:00
Adam Brown
11669fa2ac porting the notifications setting version to the vector features 2021-12-03 15:26:43 +00:00
Adam Brown
8007654e2a setting login version via typed build config field instead of resources 2021-12-03 15:11:31 +00:00
Adam Brown
54c45d3e71 separating the SSO redirection from the login activities
- adds a dedicated routing activity to proxy the uri to the login selected by the feature flags
2021-12-03 14:51:20 +00:00
Adam Brown
9e367a8535 providing a features abstraction for the login
- aims to have a centralised place for all feature login, overrideable by forks and debug flavours
2021-12-03 12:16:43 +00:00
Adam Brown
a2a89c1ee8 moving the soft logout activity starting to the navigator 2021-12-03 11:58:13 +00:00
Ekaterina Gerasimova
1aa532178e Issue workflow: Split out spaces jobs for new and old boards 2021-12-03 10:01:25 +00:00
Ekaterina Gerasimova
c89c0dcbd2 Issue workflow: fix filtering for Design issues 2021-12-03 10:01:25 +00:00
Ekaterina Gerasimova
3778603c4d Issue workflow: improve naming for jobs 2021-12-03 10:01:25 +00:00
Benoit Marty
b4192a862b
Merge pull request #4622 from vector-im/dependabot/gradle/dagger-2.40.4
Bump dagger from 2.40.3 to 2.40.4
2021-12-03 09:44:18 +01:00
dependabot[bot]
850620cd99
Bump dagger from 2.40.3 to 2.40.4
Bumps `dagger` from 2.40.3 to 2.40.4.

Updates `hilt-android-gradle-plugin` from 2.40.3 to 2.40.4
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.3...dagger-2.40.4)

Updates `dagger` from 2.40.3 to 2.40.4
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.3...dagger-2.40.4)

Updates `dagger-compiler` from 2.40.3 to 2.40.4
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.3...dagger-2.40.4)

Updates `hilt-android` from 2.40.3 to 2.40.4
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.3...dagger-2.40.4)

Updates `hilt-compiler` from 2.40.3 to 2.40.4
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.3...dagger-2.40.4)

---
updated-dependencies:
- dependency-name: com.google.dagger:hilt-android-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:hilt-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:hilt-compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-02 23:08:16 +00:00
Benoit Marty
3644e5d755
Merge pull request #4611 from vector-im/feature/bma/devx_view_ids
Devx view ids
2021-12-02 19:48:35 +01:00
Benoit Marty
f9a88db2f7
Merge pull request #4620 from vector-im/feature/adm/duplicate-long-press
Avoiding duplicate message long press events
2021-12-02 19:44:42 +01:00
Adam Brown
c6f4bba1a4 adding changelog entry 2021-12-02 14:39:27 +00:00
Adam Brown
c0c959e460 avoiding duplicate long press events when long pressing urls in messages
- infers a urls has been click by the presence of a selection
2021-12-02 14:38:38 +00:00
Benoit Marty
7c4460b812
Merge pull request #4615 from vector-im/gradlew-update-7.3.1
Update Gradle Wrapper from 7.3 to 7.3.1
2021-12-02 11:10:05 +01:00
gradle-update-robot
11d5ea71e2 Update Gradle Wrapper from 7.3 to 7.3.1.
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2021-12-02 00:12:54 +00:00
Benoit Marty
2fbb85d9e6
Merge pull request #4613 from vector-im/dependabot/gradle/org.robolectric-robolectric-4.7.3
Bump robolectric from 4.7.2 to 4.7.3
2021-12-02 00:42:04 +01:00
dependabot[bot]
6b7f9cb688
Bump robolectric from 4.7.2 to 4.7.3
Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.7.2 to 4.7.3.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.7.2...robolectric-4.7.3)

---
updated-dependencies:
- dependency-name: org.robolectric:robolectric
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-01 23:07:55 +00:00
Benoit Marty
6cb8a2458f Remove extra new lines in XML 2021-12-01 23:06:49 +01:00
Benoit Marty
0b62c4ec6b Changelog 2021-12-01 22:59:20 +01:00
Benoit Marty
d42473becb More cleanup, remove useless attribute "orientation" 2021-12-01 22:58:21 +01:00
Benoit Marty
696c537f96 All the cleanup and rework end up by fixing some mistakes :) 2021-12-01 22:49:16 +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
c84642aa33 Use @id and not @+id when referencing ids in xml 2021-12-01 22:27:57 +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
fa256cca25
Merge pull request #4603 from vector-im/feature/aris/remove_not_needed_job_cancel_4602
There is no need to call job.cancel() when we are using viewModelScope()
2021-12-01 18:24:06 +01:00
ariskotsomitopoulos
578a012f93 Remove unused onCleared() from viewModels 2021-12-01 16:04:56 +00:00
Benoit Marty
f80069604c Version++ 2021-12-01 17:03:00 +01:00
Benoit Marty
14f61e37d0 Merge branch 'release/1.3.9' into develop 2021-12-01 17:01:29 +01:00
Benoit Marty
67ec4ffd1b fastlane 2021-12-01 17:01:21 +01:00
Benoit Marty
d57240e3f5 towncrier 2021-12-01 16:58:42 +01:00
Benoit Marty
9253a3664b
Merge pull request #4607 from vector-im/feature/bma/cursor_crash
Add robustness when getting data from cursors.
2021-12-01 16:48:50 +01:00
Benoit Marty
17245dc7ae
Merge pull request #4608 from vector-im/feature/adm/converting-vm-on-send
Fixed voice messages on Android 28 and below
2021-12-01 16:46:26 +01:00
Adam Brown
81ee141330 only converting the voice messages when we're sending them
- stops us from eagerly converting to .ogg on android L and below devices whilst the draft phase/playback phase is ongoing, fixes unexpected .ogg when playing drafts
2021-12-01 15:18:24 +00:00
Benoit Marty
84f7eb29e0 Add robustness when getting data from cursors.
Use androidx.core.database extension for better nullability check, and ignore uncomplete data.
2021-12-01 16:09:12 +01:00
ariskotsomitopoulos
9f1e327fa5 There is no need to call job.cancel() when we are using viewModelScope() 2021-12-01 13:15:03 +00:00