Commit Graph

13254 Commits

Author SHA1 Message Date
Jozef Gaal d3d5d79b7d Translated using Weblate (Slovak)
Currently translated at 52.6% (1417 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2021-12-14 02:25:58 +00:00
DUCKCHI 0a090fab65 Translated using Weblate (Korean)
Currently translated at 49.0% (1322 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ko/
2021-12-14 02:25:57 +00:00
Benoit Marty fa060051ed
Merge pull request #3970 from vector-im/feature/ons/fallback_keys
Fallback keys implementation
2021-12-13 23:36:20 +01:00
Benoit Marty ea9a524048 Fix compilation issue after merge develop 2021-12-13 23:23:18 +01:00
Benoit Marty 10182902af Add posthog maven repo 2021-12-13 23:20:53 +01:00
Benoit Marty a40e60ba8f Merge branch 'develop' into feature/bma/posthog 2021-12-13 23:18:14 +01:00
Benoit Marty e519e314fe Limit width of content on tablets 2021-12-13 23:16:47 +01:00
Benoit Marty 48fa411d83
Merge pull request #4698 from vector-im/feature/bma/emoji_hotfix
Emoji fix
2021-12-13 23:15:46 +01:00
Benoit Marty 2c81e7ea08
Merge pull request #4601 from vector-im/feature/aris/search_no_data_displayed_4600
Fix issue 4600 that search results sometimes are not displayed properly
2021-12-13 23:01:03 +01:00
Benoit Marty 3719551913
Merge pull request #4693 from SpiritCroc/spaceChildIds
Fix possible crash when having identical subspaces in multiple root spaces
2021-12-13 22:59:57 +01:00
Benoit Marty 240d0c0a5e
Merge pull request #4703 from vector-im/feature/bma/fix_poll_create
Use only non empty option to create a poll
2021-12-13 22:56:58 +01:00
Benoit Marty b9799b46fd Fix test compilation 2021-12-13 22:45:24 +01:00
Benoit Marty 38e7e2fe4e
Merge pull request #4624 from vector-im/feature/ons/poll_timeline
Poll Feature - Timeline
2021-12-13 22:29:31 +01:00
Benoit Marty 28588eb10c Use only non empty option to create a poll 2021-12-13 22:17:43 +01:00
Benoit Marty db81ec260e Recycle View a bit more 2021-12-13 21:49:40 +01:00
Benoit Marty 0981af3085 Remove unused attribute 2021-12-13 21:33:15 +01:00
Benoit Marty f29e14fdd8 Rename class 2021-12-13 21:17:14 +01:00
Benoit Marty da407ef8a2 Avoid lateinit 2021-12-13 21:16:44 +01:00
Benoit Marty 10b39ccd28 Do some renaming 2021-12-13 21:08:52 +01:00
Benoit Marty eac06d5401 Do some renaming 2021-12-13 21:04:52 +01:00
Benoit Marty c1ea653561 Reorder classes so that it follows the poll status logical order 2021-12-13 21:02:11 +01:00
Onuray Sahin e2bbc3f8ae Code review fixes. 2021-12-13 22:47:15 +03:00
Benoit Marty 6e646b12b5 Add some comments and default values 2021-12-13 20:34:44 +01:00
Benoit Marty 78a7a61d07 Changelog 2021-12-13 20:31:52 +01:00
Benoit Marty 96b186ca8c Add tests to cover the new feature 2021-12-13 20:28:58 +01:00
Benoit Marty e8fbbe2b97 Fix the test 2021-12-13 20:09:33 +01:00
Benoit Marty c302148e89 Rename 2021-12-13 18:21:27 +01:00
Benoit Marty 808c401675 Fix a crash on Epoxy if text contains a MetricAffectingSpan 2021-12-13 18:16:58 +01:00
Onuray Sahin f028f9836b Merge branch 'develop' into feature/ons/poll_timeline
* develop: (49 commits)
  Update changelog.d/4592.bugfix
  Remove jcenter from here, let's see what the CI will say
  Common struct for each maven repo
  Rename the file to group them
  Add changelog file
  Revert PR 4592 for devtools
  Enhance include groups implementation by decoupling them to a separate file
  Cleanup
  Legals: improve API to get homeserver terms
  Legals: update setting icon
  Auto-review
  Add a help section in the settings.
  Changelog
  Color for links
  Use same height than the loading item to avoid dynamic resizing
  Legals: only display external URLs.
  Legals: Move the 2 copyrights items to the new legal screen
  Add some space between the 2 TextViews, and improve the layout
  Legals: Move the 3 element links to the new legal screen
  Rename some classes
  ...

# Conflicts:
#	vector/src/main/res/layout/item_timeline_event_option_buttons_stub.xml
#	vector/src/main/res/layout/item_timeline_event_poll_stub.xml
2021-12-13 17:44:21 +03:00
Onuray Sahin f6dcda6841 Code review fixes. 2021-12-13 17:37:11 +03:00
Onuray Sahin c7ad50a4d6 Code and design review fixes. 2021-12-13 17:07:17 +03:00
Benoit Marty 04d23ce7f6 Rename for clarity 2021-12-13 14:56:21 +01:00
Benoit Marty ab70ee5ae2 Change usage of SpannableStringBuilder when this is not required 2021-12-13 13:14:20 +01:00
Benoit Marty 5ea7f3cbca
Merge pull request #4652 from vector-im/feature/bma/avoid_useless_codegen
Use viewBindingIgnore="true" when we do not need the ViewBinding.
2021-12-13 12:51:05 +01:00
Benoit Marty df3f8bd88e Use emoji2 library 2021-12-13 12:36:46 +01:00
Benoit Marty b701bb7c1a Fix crash when using TextFuture with MetricAffectingSpan added by EmojiCompat (#4691) 2021-12-13 12:14:24 +01:00
Benoit Marty 406881c8a7
Merge pull request #4689 from vector-im/feature/aris/dev_tools_fix_4592
Feature/aris/dev tools fix 4592
2021-12-13 11:37:53 +01:00
Benoit Marty 3620a265d0
Merge pull request #4650 from vector-im/feature/bma/id_ref
Cleanup id ref. Use type views instead.
2021-12-13 11:32:18 +01:00
Benoit Marty a6dec7b9cb
Merge pull request #4670 from vector-im/feature/bma/safer_dependencies
Safer dependencies
2021-12-13 11:30:15 +01:00
Aris Kotsomitopoulos 2fbcc96b4d
Update changelog.d/4592.bugfix
Co-authored-by: Benoit Marty <benoitm@matrix.org>
2021-12-13 11:06:59 +02:00
SpiritCroc 004a51646b Fix some more reaction colors on dark theme
Follow-up to 6048e1266984: Fix reaction color for non-emojis on dark theme

Hardcoding it to black is bad for dark themes. It was probably done
because the default color would make emojis look pale due to
transparency. If we use a primary text color which hopefully does not
feature transparency (it does not for SC themes, at least), everything
looks fine.

Change-Id: Icbc3b37f5535b98684c2225c0973a152e88d6b31
2021-12-13 09:15:37 +01:00
SpiritCroc 064a363bc1 Experiment with bubble outline: slightly thinner
Change-Id: Ib8ab70e4f7e94047168a9e287c0d65e4349d5264
2021-12-13 09:11:30 +01:00
SpiritCroc 9a84c45ccd Changelog 2021-12-12 12:20:33 +01:00
SpiritCroc f1ee8183e5 Ensure unique ids for subspaces
When you have two root spaces with the same space as subspace, and you expand both root spaces, you end up with two times the same id in the list. This has two problems:

- The expand animation is slightly broken, if you expand the second root space first and then the first one
- If you select one of these items with same id, the app crashes:
    java.lang.IllegalStateException: Two different ViewHolders have the same stable ID. Stable IDs in your adapter MUST BE unique and SHOULD NOT change.

As solution, just prefix the epoxy item ids with the parent spaces.
2021-12-12 12:09:25 +01:00
SpiritCroc 94b9a51b9e Ensure unique ids for subspaces
When you have two root spaces with the same space as subspace, and you expand both root spaces, you end up with two times the same id in the list. This has two problems:

- The expand animation is slightly broken, if you expand the second root space first and then the first one
- If you select one of these items with same id, the app crashes:
    java.lang.IllegalStateException: Two different ViewHolders have the same stable ID. Stable IDs in your adapter MUST BE unique and SHOULD NOT change.

As solution, just prefix the epoxy item ids with the parent spaces.

Change-Id: I93afc5499404cc09dbfa0fbe963558e5f4595233
2021-12-12 11:28:24 +01:00
SpiritCroc fa79bc3e38 Properly apply null-space filter to favorites as well
Change-Id: Ibb8b8036fa5a065b40d01499221a8e6c392e1a7e
2021-12-12 10:49:50 +01:00
Denys Nykula 7d169a8a8d Translated using Weblate (Ukrainian)
Currently translated at 97.8% (2634 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-12 06:25:58 +00:00
Ihor Hordiichuk 790049f33a Translated using Weblate (Ukrainian)
Currently translated at 97.8% (2634 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-12 06:25:58 +00:00
SpiritCroc 51756a9795 Message bubble as xml, and outlined bubble for notices
Change-Id: Ieb16e917456e2b8dd4fea9de8b88684be0c8bff4
2021-12-11 16:58:23 +01:00
SpiritCroc daa20e629e Change rendering of notices to also allow formating
Change-Id: I49202fc3c8b7ea62c0e1fe1672f4fe590e33c784
2021-12-11 16:45:38 +01:00