Commit Graph

7600 Commits

Author SHA1 Message Date
Benoit Marty
72bb58645b Auto-review 2021-12-10 15:35:46 +01:00
Benoit Marty
7f7199abd4 Add a help section in the settings. 2021-12-10 15:35:46 +01:00
Benoit Marty
287587f356 Color for links 2021-12-10 15:35:46 +01:00
Benoit Marty
50a84a6c56 Use same height than the loading item to avoid dynamic resizing 2021-12-10 15:35:46 +01:00
Benoit Marty
eed7d15b0e Legals: only display external URLs. 2021-12-10 15:35:46 +01:00
Benoit Marty
5823777755 Legals: Move the 2 copyrights items to the new legal screen 2021-12-10 15:35:46 +01:00
Benoit Marty
a8c921ef03 Add some space between the 2 TextViews, and improve the layout 2021-12-10 15:34:25 +01:00
Benoit Marty
e91e26ebfb Legals: Move the 3 element links to the new legal screen 2021-12-10 15:34:25 +01:00
Benoit Marty
e1fc7cfaba Rename some classes 2021-12-10 15:34:25 +01:00
Benoit Marty
411fd31d4c Legals: Trick to get the homeserver policy 2021-12-10 15:34:25 +01:00
Benoit Marty
d49a0dde6e Legals: Add the screen (WIP) 2021-12-10 15:34:25 +01:00
Benoit Marty
f340a19c8e Fix issue in disconnect identity server confirmation dialog content 2021-12-10 15:34:25 +01:00
Benoit Marty
0df11fc145 Remove unused dependency videocache 2021-12-09 23:47:04 +01:00
Benoit Marty
29837d48fe Alerter is now on Jitpack 2021-12-09 23:39:22 +01:00
Benoit Marty
45ee39f3c0 Add a TODO 2021-12-09 21:06:22 +01:00
Benoit Marty
db60a2f6d2 Upgrade flexbox to 3.0.0
It has been moved to mavenCentral
2021-12-09 16:05:30 +01:00
Onuray Sahin
be9e592aa5 Do not allow to vote the same option twice. 2021-12-09 16:08:59 +03:00
Onuray Sahin
d5f8931e20 Support to show hidden poll events as formatted. 2021-12-09 15:54:37 +03:00
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
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
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
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
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
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
219bb89c3a Analytics: Import the latest plan 2021-12-07 13:21:06 +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
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
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
Benoit Marty
7a77ae49f1 More debouncing 2021-12-06 22:45:03 +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
74e573ecdc Analytics: small fixes 2021-12-06 18:19:05 +01:00
Benoit Marty
3689a62aae Analytics: add actions in debug screen to manually test the optin screen 2021-12-06 12:57:11 +01:00
Benoit Marty
d804d1b6c5 Analytics: small issue 2021-12-06 12:55:08 +01:00
Adam Brown
c208c2d5ae removing now longer needed Mode argument 2021-12-06 10:14:20 +00:00
Benoit Marty
8c794b1059 Analytics: Opt-in screen logic + remove from SplashScreen 2021-12-06 11:13:49 +01:00
Benoit Marty
1f58913b53
Merge pull request #4626 from vector-im/feature/adm/feature-flags
Feature flags base
2021-12-03 17:38:25 +01:00
Benoit Marty
e60d053f84
Merge pull request #4568 from vector-im/feature/fga/fix_sdk_integration_tests
Feature/fga/fix sdk integration tests
2021-12-03 17:11:33 +01: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
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
Onuray Sahin
435dc9f9d1 Fix room list preview. 2021-12-03 15:57:07 +03: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
Onuray Sahin
0a7df44a12 Add confirmation dialog to end poll. 2021-12-03 15:11:23 +03:00
Adam Brown
a2a89c1ee8 moving the soft logout activity starting to the navigator 2021-12-03 11:58:13 +00:00
Onuray Sahin
c62028df68 Implement poll actions bottom sheet. 2021-12-03 11:41:21 +03:00
Onuray Sahin
32e8a7e886 Remove legacy poll ui. 2021-12-03 11:40:12 +03:00
Onuray Sahin
06485cf5e4 Implement poll in timeline ui. 2021-12-03 11:39:41 +03: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
73f5d77b05 Analytics: Opt-in screen layout - WIP 2021-12-02 15:56:54 +01: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
3917b4c8cf tmp expected result 2021-12-02 14:10:03 +01:00
Benoit Marty
729d9ce815 Create interface for the coming plan 2021-12-02 14:10:03 +01:00
Benoit Marty
f05ed4c6cc Cleanup 2021-12-02 14:10:03 +01:00
Benoit Marty
9b7650e5db Analytics: Remove / suffix in the URLs. 2021-12-02 14:10:03 +01:00
Benoit Marty
eb1a30cc30 Analytics: code quality 2021-12-02 14:10:03 +01:00
Benoit Marty
eeeab1dd0e Give analytics to Activities and Fragments 2021-12-02 14:10:03 +01:00
Benoit Marty
42d987f8ef Analytics: Fix a crash, cannot create several time a PostHog client 2021-12-02 14:10:03 +01:00
Benoit Marty
2968be2233 Analytics: Fix a race condition 2021-12-02 14:10:03 +01:00
Benoit Marty
24a6080090 Analytics: Improve logs 2021-12-02 14:10:03 +01:00
Benoit Marty
55c7270ef2 Analytics: Create PostHog client only when user has given their consent 2021-12-02 14:10:03 +01:00
Benoit Marty
be2637c426 Analytics: enable some logs 2021-12-02 14:10:03 +01:00