Commit graph

13005 commits

Author SHA1 Message Date
Benoit Marty
80d9b64e5a Cover also the error case. 2022-01-24 22:49:34 +01:00
Benoit Marty
cf86fe34d5 Improve SDK API (self review) 2022-01-24 22:37:07 +01:00
Onuray Sahin
d65899ef88 Fix sharing location action in timeline. 2022-01-24 21:55:32 +03:00
Benoit Marty
3bc7b0acee Small issue 2022-01-24 18:57:53 +01:00
Adam Brown
203c7e0cd7 adding tools preview for the use case option icons
- this is only the background layer though as the real image is programatically constructed
2022-01-24 17:55:46 +00:00
Adam Brown
57be0ba913 making use of roundToInt to avoid separate rounding and toInt 2022-01-24 17:50:22 +00:00
Benoit Marty
d24a51ce67 tiny rework 2022-01-24 18:49:50 +01:00
Benoit Marty
6c560679a5 Hide the button to make the loading wheel centered 2022-01-24 18:49:20 +01:00
Benoit Marty
3a8c788657 Add a Flow to ba able to hide one of the button 2022-01-24 18:47:26 +01:00
Adam Brown
f8e65f5872 avoiding nullable param and supplying a range for the tint alpha 2022-01-24 17:47:15 +00:00
Benoit Marty
17de88e5f6 Remove the check on number of enum class.
Now that we have more developers, we can have conflict because ot the number of exception. Let's hope we will not do the mistake...
2022-01-24 18:12:41 +01:00
Onuray Sahin
9516e379ea Keep build settings to enable location sharing for possible use cases of forks. 2022-01-24 18:49:49 +03:00
Onuray Sahin
12bfece89e Prevent anr in timeline. 2022-01-24 17:36:26 +03:00
Onuray Sahin
8bf39c3127 Inform mapview when fragment is stopped. 2022-01-24 17:12:17 +03:00
Onuray Sahin
c81654d769 Fix native crash (need more testing). 2022-01-24 16:07:11 +03:00
Onuray Sahin
3994373387 Delabs location sharing. 2022-01-24 15:27:20 +03:00
Valere
553e55b4d1 quick cleaning / code review 2022-01-24 13:08:47 +01:00
Onuray Sahin
95020a81c5 Changelog added. 2022-01-24 14:32:40 +03:00
Onuray Sahin
749194b27c Delabs polls. 2022-01-24 14:32:27 +03:00
Onuray Sahin
b0b92c062e Undisclosed poll implementation. 2022-01-24 14:31:50 +03:00
Benoit Marty
1efb6e162c
Merge pull request #5024 from vector-im/bmarty-patch-1
Add minimum Android version in the Readme
2022-01-24 10:03:14 +01:00
Onuray Sahin
7f97e78ba3 Merge branch 'develop' into feature/ons/edit_polls
* develop: (66 commits)
  toolbar management  (#4887)
  adding changelog entry
  adding back periodic flag when scheduling automatic background workers
  Fix enum class warning
  Split long lines Done by https://github.com/matrix-org/matrix-analytics-events/pull/16
  Add new class in analytics plan
  Fix conditional for Delight issue automation
  Add missing import in kdoc
  Update kdoc
  Enable Delight issue automation
  Fix an error in string resource (#4997)
  Changelog
  Add some unit test for the command parser. Not all commands are covered, could add more tests later.
  data class.
  use sealed interface
  Small cleanup
  Command parser is not a static object anymore
  Add changelog
  Use Throwable.isLimitExceededError extension
  Do not automatically retry 429 with a too long delay
  ...
2022-01-23 22:15:36 +03:00
Onuray Sahin
9dd48045f6 Invalidate previous votes for edited polls. 2022-01-23 19:32:13 +03:00
libexus
bae0c2593a Translated using Weblate (German)
Currently translated at 99.1% (2707 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-01-22 18:23:06 +00:00
Nart Tlisha
92ef78a9d5 Added translation using Weblate (Abkhazian) 2022-01-22 17:11:33 +00:00
Adam Brown
3866cfeabc adding changelog entry 2022-01-21 17:21:00 +00:00
Adam Brown
023409d8cf updating use case icons to match designs
- programmatically creates a layer drawable to avoid introducing new colours into the palette
2022-01-21 17:16:49 +00:00
Benoit Marty
f6d856d828 Analytics: report performance event about sync request - send number of joined rooms 2022-01-21 17:42:40 +01:00
Benoit Marty
cab06c4b52 Analytics: report performance event about sync request 2022-01-21 16:44:19 +01:00
Onuray Sahin
5d07c71dcf Open edit poll screen with the last edited content if exists. 2022-01-21 18:23:05 +03:00
Onuray Sahin
a871ce26c2 Fix event id of poll replace events. 2022-01-21 18:07:39 +03:00
Benoit Marty
9df22ab4bb
Add minimum Android version in the Readme
Fix #3807
2022-01-21 14:38:03 +01:00
Onuray Sahin
ea9e5183dc Fix rendering edited polls in timeline. 2022-01-21 16:20:08 +03:00
fedrunov
f7aedff418
toolbar management (#4887)
Toolbar management rework and toolbar style alignment
2022-01-21 13:38:27 +01:00
Valere
f0dfb1dc02 add changelog 2022-01-21 12:11:43 +01:00
Valere
4d7e46b751 Quick fixes on auto uisi RS 2022-01-21 10:27:41 +01:00
Benoit Marty
a085b4db21
Merge pull request #5012 from vector-im/feature/adm/fdroid-broken-background-sync
Missing fdroid notifications
2022-01-21 09:29:46 +01:00
Baxtiyor M
c9f19be25d Added translation using Weblate (Kara-Kalpak) 2022-01-20 17:56:14 +00:00
Adam Brown
28130489c7 adding changelog entry 2022-01-20 17:12:59 +00:00
Benoit Marty
9bfeb6f814
Merge pull request #4734 from vector-im/feature/bma/analytics_next
Implement analytics plan
2022-01-20 18:12:46 +01:00
Adam Brown
e8f412b8a1 adding back periodic flag when scheduling automatic background workers 2022-01-20 17:07:14 +00:00
Benoit Marty
af43890fab
Merge pull request #4041 from vector-im/feature/bca/fix_switch_space_on_tap_notif
Fix switch to best space when tapping notification
2022-01-20 16:54:06 +01:00
Onuray Sahin
c3d7a253e4 Allow editing polls. 2022-01-20 17:41:03 +03:00
Benoit Marty
58197b8853 Fix enum class warning 2022-01-20 15:37:57 +01:00
Benoit Marty
000806550a Split long lines
Done by https://github.com/matrix-org/matrix-analytics-events/pull/16
2022-01-20 15:36:16 +01:00
Benoit Marty
81b8260eb2 Add new class in analytics plan 2022-01-20 14:42:10 +01:00
Benoit Marty
d82743eeab
Merge pull request #4995 from vector-im/feature/fre/fix_retry_delay_on_429
Do not auto-retry on 429 in case of too long retry delay
2022-01-20 14:31:29 +01:00
Benoit Marty
a01f002b04
Merge pull request #5007 from kittykat/delight
Fix conditional for Delight issue automation
2022-01-20 14:29:48 +01:00
SpiritCroc
af34399135 Speed up event match regex evaluation for big messages
`regex.containsMatchIn()` for `.*@room.*` can take significantly longer
than checking for `@room` (some real-world events I was getting took
around 15 seconds with this, significantly slowing down the sync
parsing).

Checking `containsMatchIn()` does not lead to different results when
having leading and trailing stars however, it will match in the same
cases as when these are omitted.

For testing purposes, I sent myself some Lorem Ipsum with 5000 words
(not containing any @room).
Without this change, the regex evaluation takes about 16 seconds.
With this change, the regex evaluation now takes significantly less then
a second.
2022-01-20 12:16:34 +01:00
Ekaterina Gerasimova
eebb7003ca Fix conditional for Delight issue automation
Changelog entry 4949.misc
2022-01-20 10:48:45 +00:00