Commit graph

12195 commits

Author SHA1 Message Date
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
Benoit Marty
147935db97
Merge pull request #4647 from vector-im/feature/bma/olm_on_maven
Upgrade OLM to v3.2.7 and get it from our maven repository.
2021-12-07 15:54:27 +01:00
Benoit Marty
892d70812f Upgrade OLM to v3.2.7 and get it from our maven repository. 2021-12-07 14:50:25 +01:00
Adam Brown
23bc867b95 removing manual send status spacing
- it's no longer needed as the send status is always present (but invisible)
2021-12-07 13:47:29 +00:00
Benoit Marty
673cbb29de Merge branch 'develop' into feature/bma/posthog 2021-12-07 14:26:31 +01:00
Benoit Marty
9d4835ab25 Avoid mistake by getting the id using an existing view 2021-12-07 14:23:07 +01:00
Benoit Marty
d63f9073b7 Analytics: Display the opt in screen from the setting, and cleanup the code 2021-12-07 14:22:11 +01:00
Adam Brown
9ed72fd1eb removing manual end alignment for voice messages as send status gutter is now always present 2021-12-07 12:58:46 +00:00
Benoit Marty
53e4ef52dc
Merge pull request #4646 from vector-im/dependabot/gradle/dagger-2.40.5
Bump dagger from 2.40.4 to 2.40.5
2021-12-07 13:23:40 +01:00
Benoit Marty
74355aea43
Merge pull request #4645 from vector-im/feature/bma/cleanupOnclick
Cleanup onclick
2021-12-07 13:22:54 +01:00
Benoit Marty
219bb89c3a Analytics: Import the latest plan 2021-12-07 13:21:06 +01:00
Benoit Marty
fa0e2cd451 Analytics: Add a very short doc. 2021-12-07 13:19:59 +01:00
Benoit Marty
eba5aa94ce Analytics: ViewEvent sent before the View is ready. 2021-12-07 13:07:58 +01:00
Benoit Marty
d0b62738e1 Analytics: opt-in: handle back pressed 2021-12-07 12:51:39 +01:00
Onuray Sahin
566f6332bc Set max length for poll options. 2021-12-07 14:43:27 +03:00
Adam Brown
3ff3507fa1 forcing the send spacing to always be taking into account
- ensures all message lengths are consistent
2021-12-07 11:33:57 +00:00
Adam Brown
5cfebb764c capping the preview image url based on the height
- stops large screens eg tablets from attempting to fill the screen
2021-12-07 11:32:51 +00:00
Adam Brown
9094173b52 matching iOS max line rules for the preview description 2021-12-07 11:32:51 +00:00
Adam Brown
170f34639b using themed colours for the close button 2021-12-07 11:32:51 +00:00
Adam Brown
f3f28f3989 limiting title to avoid overlapping with close icon 2021-12-07 11:32:51 +00:00
Adam Brown
0150d830d4 flattening preview url view layout with custom view to reduce view hierarchy 2021-12-07 11:32:50 +00:00
Adam Brown
6a749f106d adding changelog entry 2021-12-07 11:32:33 +00:00
Adam Brown
952ceced05 updating url preview to match new designs 2021-12-07 11:32:32 +00:00
Benoit Marty
cf267ae234 Analytics: display opt-in from Home 2021-12-07 12:16:23 +01:00
Benoit Marty
c1438f0a65 Analytics: iterate on the config - and disable by default on forks 2021-12-07 12:01:01 +01:00
Onuray Sahin
71d7270da5 Add room list preview for poll response and end events. 2021-12-07 14:00:06 +03:00
Onuray Sahin
75b544a110 Support push notification for poll creation event. 2021-12-07 12:53:35 +03:00
Onuray Sahin
0d3444b9ce Fix poll option checkbox color. 2021-12-07 12:53:04 +03:00
Onuray Sahin
1df6b33981 Add labs flag for polls. 2021-12-07 11:53:52 +03:00
dependabot[bot]
0defac348e
Bump dagger from 2.40.4 to 2.40.5
Bumps `dagger` from 2.40.4 to 2.40.5.

Updates `hilt-android-gradle-plugin` from 2.40.4 to 2.40.5
- [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.4...dagger-2.40.5)

Updates `dagger` from 2.40.4 to 2.40.5
- [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.4...dagger-2.40.5)

Updates `dagger-compiler` from 2.40.4 to 2.40.5
- [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.4...dagger-2.40.5)

Updates `hilt-android` from 2.40.4 to 2.40.5
- [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.4...dagger-2.40.5)

Updates `hilt-compiler` from 2.40.4 to 2.40.5
- [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.4...dagger-2.40.5)

---
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-06 23:08:06 +00:00
Benoit Marty
7a77ae49f1 More debouncing 2021-12-06 22:45:03 +01:00
Benoit Marty
796fa08418 Changelog 2021-12-06 22:37:51 +01:00
Benoit Marty
5726c3fd21 I need the view here 2021-12-06 22:32:24 +01:00
Benoit Marty
1f8073cbbf clicks() already has debouncing with conflate(), so throttleFirst is not necessary 2021-12-06 22:15:34 +01:00
Benoit Marty
d13c252658 Use debouncedClicks where applicable 2021-12-06 22:11:56 +01:00
Benoit Marty
8421d46cd7 Use observeViewEvents facility 2021-12-06 21:53:34 +01:00
Benoit Marty
099d0ca564 private 2021-12-06 21:50:33 +01:00
Benoit Marty
f1d8b9e974
Merge pull request #4637 from vector-im/feature/dla/outgoing_pstn_call_fails
Feature/dla/outgoing pstn call fails
2021-12-06 21:37:11 +01:00
LinAGKar
fdc4af3c21 Translated using Weblate (Swedish)
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/sv/
2021-12-06 17:25:56 +00:00
Ihor Hordiichuk
17c28022d7 Translated using Weblate (Ukrainian)
Currently translated at 94.7% (2552 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-06 17:25:55 +00:00