Commit graph

7462 commits

Author SHA1 Message Date
Onuray Sahin
0f11e498a0 Changelog added. 2021-12-07 20:13:45 +03: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
Onuray Sahin
566f6332bc Set max length for poll options. 2021-12-07 14:43:27 +03: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
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
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
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
6cb8a2458f Remove extra new lines in XML 2021-12-01 23:06:49 +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
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
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
Weblate
9726e258b5 Merge branch 'origin/develop' into Weblate. 2021-12-01 10:38:05 +00:00
Fjoerfoks
c855465e62 Translated using Weblate (Frisian)
Currently translated at 49.7% (1339 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-11-30 20:25:58 +00:00
Benoit Marty
3a8fd42513
Merge pull request #4558 from vector-im/feature/adm/voice-draft
Adding support for voice drafts
2021-11-30 20:44:49 +01:00
Benoit Marty
02a609164c
Merge pull request #4592 from vector-im/feature/aris/epoxy_controller_init_improvement
Feature/aris/epoxy controller init improvement
2021-11-30 18:50:32 +01:00
ariskotsomitopoulos
3f29130332 Remove requestModelBuild() from epoxy Controllers init block 2021-11-30 17:06:47 +00:00
Benoit Marty
9d6ac08a18 Move to their own file since those class are used at different places now 2021-11-30 17:46:20 +01:00
ganfra
f0ecfbbab2 Tests: TestMatrix should only be used internally by sdk tests 2021-11-30 17:22:50 +01:00