Commit graph

12262 commits

Author SHA1 Message Date
Onuray Sahin
b2e599ea2b Merge branch 'develop' into feature/ons/poll_timeline
* develop: (21 commits)
  Remove automation for new Delight board
  Remove automation for old Delight board
  Bump gradle from 7.0.3 to 7.0.4
  Bump realm-gradle-plugin from 10.8.1 to 10.9.0
  Bump libphonenumber from 8.12.38 to 8.12.39
  Bump mavericks from 2.4.0 to 2.5.0
  removing no longer possible branches
  adding a consistent padding to allow message types to avoid touching the side gutter
  Upgrade OLM to v3.2.7 and get it from our maven repository.
  removing manual send status spacing - it's no longer needed as the send status is always present (but invisible)
  removing manual end alignment for voice messages as send status gutter is now always present
  forcing the send spacing to always be taking into account - ensures all message lengths are consistent
  capping the preview image url based on the height - stops large screens eg tablets from attempting to fill the screen
  matching iOS max line rules for the preview description
  using themed colours for the close button
  limiting title to avoid overlapping with close icon
  flattening preview url view layout with custom view to reduce view hierarchy
  adding changelog entry
  updating url preview to match new designs
  removing now longer needed Mode argument
  ...

# Conflicts:
#	vector/src/main/res/layout/item_timeline_event_base.xml
2021-12-09 15:38:15 +03:00
Onuray Sahin
04a7590804 Code review fixes. 2021-12-09 15:09:12 +03:00
ganfra
1280687640 Merge branch 'develop' into feature/fga/timeline_chunks_rework 2021-12-09 12:36:59 +01:00
ganfra
bf287d1827 Timeline: clean up 2021-12-09 12:35:23 +01:00
Benoit Marty
7c2bae3b6b
Merge pull request #4627 from vector-im/feature/adm/removing-notification-settings-v1
Removing notification settings v1
2021-12-09 12:30:40 +01:00
ganfra
faebf95e1c Timeline: remove LifecycleOwner on EpoxyModel as it's not used (and takes some time uselessly) 2021-12-09 12:28:53 +01:00
Benoit Marty
9169319522
Merge pull request #4662 from vector-im/dependabot/gradle/com.android.tools.build-gradle-7.0.4
Bump gradle from 7.0.3 to 7.0.4
2021-12-09 12:28:36 +01:00
Benoit Marty
3ab2a9e128
Merge pull request #4661 from vector-im/dependabot/gradle/io.realm-realm-gradle-plugin-10.9.0
Bump realm-gradle-plugin from 10.8.1 to 10.9.0
2021-12-09 12:28:24 +01:00
ganfra
31ba912d6e Timeline: url preview listen to Flow in ViewModel 2021-12-09 12:28:13 +01:00
ganfra
c830d49924 Timeline: remove onStateUpdated in controller 2021-12-09 12:27:36 +01:00
ganfra
1e2e9e1070 Timeline: change a bit when postPagination is triggered 2021-12-09 12:26:40 +01:00
Ekaterina Gerasimova
ed6e7a12ad Remove automation for new Delight board
There's no Android developer on the Delight team right now, so it makes
sense to redirect Spaces issues to the Android team.

Covered by the 4617.misc changelog entry.
2021-12-09 11:26:09 +00:00
Ekaterina Gerasimova
ad1fbab956 Remove automation for old Delight board
Covered by 4617.misc changelog entry
2021-12-09 11:26:09 +00:00
dependabot[bot]
f97753fdc1
Bump gradle from 7.0.3 to 7.0.4
Bumps gradle from 7.0.3 to 7.0.4.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-08 23:07:58 +00:00
dependabot[bot]
f675dcdefd
Bump realm-gradle-plugin from 10.8.1 to 10.9.0
Bumps [realm-gradle-plugin](https://github.com/realm/realm-java) from 10.8.1 to 10.9.0.
- [Release notes](https://github.com/realm/realm-java/releases)
- [Changelog](https://github.com/realm/realm-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/realm/realm-java/compare/v10.8.1...v10.9.0)

---
updated-dependencies:
- dependency-name: io.realm:realm-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-08 23:06:34 +00:00
Benoit Marty
131d7ad8da
Merge pull request #4654 from vector-im/dependabot/gradle/mavericks-2.5.0
Bump mavericks from 2.4.0 to 2.5.0
2021-12-08 23:44:58 +01:00
Benoit Marty
c947660744
Merge pull request #4655 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.39
Bump libphonenumber from 8.12.38 to 8.12.39
2021-12-08 23:44:20 +01:00
Valere
a026137381 code review 2021-12-08 15:47:06 +01:00
Valere
01b8b7d57a Code review 2021-12-08 14:17:08 +01:00
Benoit Marty
f187c30d79 OptIn layout: Create a master flow 2021-12-08 11:44:27 +01:00
Benoit Marty
a38747da22 OptIn layout: Create Flow for the buttons 2021-12-08 11:31:49 +01:00
Benoit Marty
36ff0e6e78 OptIn layout: Improve the 3 points block. Center on big screens 2021-12-08 11:30:50 +01:00
ganfra
b53433e61b Timeline: some clean up 2021-12-08 11:07:07 +01:00
ganfra
bf1be4f20d Merge branch 'develop' into feature/fga/timeline_chunks_rework 2021-12-08 10:38:42 +01:00
Adam Brown
696ee9fdfe Translated using Weblate (Hebrew)
Currently translated at 74.8% (2017 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2021-12-08 01:26:00 +00:00
Ihor Hordiichuk
88f517af1f Translated using Weblate (Ukrainian)
Currently translated at 100.0% (39 of 39 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/uk/
2021-12-08 01:26:00 +00:00
Ihor Hordiichuk
1563f1234a Translated using Weblate (Ukrainian)
Currently translated at 96.2% (2593 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-08 01:25:59 +00:00
LinAGKar
bfe199de9b Translated using Weblate (Swedish)
Currently translated at 100.0% (2693 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-12-08 01:25:55 +00:00
dependabot[bot]
d2969766ca
Bump libphonenumber from 8.12.38 to 8.12.39
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.38 to 8.12.39.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.38...v8.12.39)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-08 00:42:33 +00:00
dependabot[bot]
d13a3eaad5
Bump mavericks from 2.4.0 to 2.5.0
Bumps `mavericks` from 2.4.0 to 2.5.0.

Updates `mavericks` from 2.4.0 to 2.5.0
- [Release notes](https://github.com/airbnb/mavericks/releases)
- [Changelog](https://github.com/airbnb/mavericks/blob/main/CHANGELOG.md)
- [Commits](https://github.com/airbnb/mavericks/compare/2.4.0...2.5.0)

Updates `mavericks-testing` from 2.4.0 to 2.5.0
- [Release notes](https://github.com/airbnb/mavericks/releases)
- [Changelog](https://github.com/airbnb/mavericks/blob/main/CHANGELOG.md)
- [Commits](https://github.com/airbnb/mavericks/compare/2.4.0...2.5.0)

---
updated-dependencies:
- dependency-name: com.airbnb.android:mavericks
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.airbnb.android:mavericks-testing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-08 00:40:35 +00:00
ganfra
29a4fd1e41 Timeline: make 3 integration tests passing (also add some suspend method on the timeline) 2021-12-07 21:13:41 +01:00
Valere
5d35f02abb Support using unpublished fallback key instead of generating
And forgetFallback after 5mn
2021-12-07 19:56:14 +01:00
Valere
f843dddc3a Cleaning 2021-12-07 19:05:36 +01:00
Valere
10671a53a4 Quick refactor to use same mechanism as updateOneTimeKeyCount 2021-12-07 19:05:36 +01:00
Onuray Sahin
c603135398 Code review fixes. 2021-12-07 19:05:36 +01:00
Benoit Marty
4ac90f10c1 Fallback keys implementation.
Author: Onuray - Benoit squashes the 4 commit to cancel the addition on binaries
2021-12-07 19:05:36 +01:00
Onuray Sahin
0f11e498a0 Changelog added. 2021-12-07 20:13:45 +03:00
Benoit Marty
0a4e093e64 auto-review 2021-12-07 18:04:08 +01:00
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
Benoit Marty
7cf92ec17d
Merge pull request #4610 from vector-im/feature/adm/url-preview
Updating URL preview design
2021-12-07 17:35:50 +01:00
Benoit Marty
bb959b6b1e Use viewBindingIgnore="true" when we do not need the ViewBinding. 2021-12-07 17:32:52 +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
Adam Brown
90d00b96b7 avoiding unneeded cast by providing more types 2021-12-07 15:51:35 +00:00
Onuray Sahin
953fadeed4 Merge branch 'develop' into feature/ons/poll_timeline
* develop: (319 commits)
  Bump dagger from 2.40.4 to 2.40.5
  More debouncing
  Changelog
  I need the view here
  clicks() already has debouncing with conflate(), so throttleFirst is not necessary
  Use debouncedClicks where applicable
  Use `observeViewEvents` facility
  private
  use != rather that is
  Fix waring for state is not dialing or connected
  state can also be connected
  Add script to compress video and convert to gif file
  removing boolean notification version usage
  adding changelog entry
  removing unused imports and increasing enum allowance
  porting the notifications setting version to the vector features
  Add warning if unexpected state.
  setting login version via typed build config field instead of resources
  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
  Removing trailing space
  ...

# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailAction.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/format/DisplayableEventFormatter.kt
#	vector/src/main/res/layout/item_timeline_event_option_buttons_stub.xml
#	vector/src/main/res/xml/vector_settings_labs.xml
2021-12-07 18:50:52 +03: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
7e6a5f944f adding a consistent padding to allow message types to avoid touching the side gutter 2021-12-07 15:14:39 +00:00