1338 Commits

Author SHA1 Message Date
Doug
b6470c9651
Initial setup ready for PIN/Biometric app lock. (#1876)
* Add AppLockCoordinator and WindowManager.
2023-10-11 12:59:47 +00:00
Nicolas Mauri
b35bee5d8f
Improved display of voice messages in the timeline (#1873) nightly/1.3.3.407 2023-10-10 16:20:31 +00:00
Element CI
fc3bc00d92 Prepare next release 2023-10-10 02:31:55 -07:00
Nicolas Mauri
cb9d35948e
Add unit tests for voice messages (#1869) 1.3.2 2023-10-10 08:03:40 +02:00
Mauro
f7bf4b6e20
Mention in RTE (but without the pill yet) (#1863)
* suggestions in RTE, but they do not render as pills yet.

* remove unused code

* Update ElementX/Sources/Screens/RoomScreen/RoomScreenCoordinator.swift

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* PR suggestions

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
nightly/1.3.2.406
2023-10-09 12:26:53 +00:00
Stefan Ceriu
855b08144c Fixes #1861 - Report rust tracing configuration filter in rageshakes 2023-10-09 14:59:56 +03:00
Stefan Ceriu
1f12a7cb2f
Fixes 1864 - Message forwarding room list filtering and pagination problems (#1867)
* Fixes 1864 - Message forwarding room list filtering and pagination problems

* Fix SwiftFormat redundant closures body error

* Prevent crashes when writing to the localization bundle cache from different threads

* Fix unit tests

* Fix unit tests

* Address PR comments
2023-10-09 14:59:31 +03:00
Mauro
8270a868a7
Completion Suggestion view for user mentions (#1859)
* created the list but I need to find a way to overlay it

* make the list able to have an intrinsic height

* best solution so far but does not work with expansion

* needs testing

* more scalable solution

* tests completed

* changelog

* injecting the media provider

* fix tests

* pr suggestions

* better testing
nightly/1.3.2.405
2023-10-06 15:47:31 +02:00
Stefan Ceriu
72a96b6850
Advanced settings fixes (#1857)
* vector-im/element-meta/issues/2042 - Fix advanced options ordering and capitalisation

* Bump swiftlint's type_body_length warning to 1000, make it match error.

* Fix unit tests
nightly/1.3.2.404
2023-10-05 17:26:02 +03:00
Stefan Ceriu
cd48fc10d4 Fixes #1824 - Redirect universal links directly to the browser if they're not supported 2023-10-05 16:36:42 +03:00
Nicolas Mauri
3ff983a48b
Fix the room summary and reply view for voice messages (#1856) 2023-10-05 09:22:16 +00:00
Nicolas Mauri
82abd0aaf3
Add voice message playback from the timeline (#1844) nightly/1.3.2.403 2023-10-04 16:32:45 +00:00
Mauro
dce94e7d7d
Tapping on room link (with roomID) (#1853)
* room linking

* chagelog
2023-10-04 15:47:57 +02:00
Alfonso Grillo
e065f9d3a2
Update RTE to 2.14.1 (#1854) 2023-10-04 15:47:21 +02:00
Alfonso Grillo
b0f4fc1aeb
Improve setDefaultRoomNotificationMode err handling (#1852) nightly/1.3.2.402 2023-10-03 15:50:22 +02:00
Matthew Hodgson
68ec7bbc9e
Implement emotes (/me) (#1841)
* implement emotes (/me)

requires matthew/emotes branch of matrix-rust-sdk

* changelog + whitespace

* remove apparently superfluous swiftlint

* fix constness

* remove inout params and incorporate review

* switch to new api based on sdk PR feedback

* Bump the RustSDK to v1.1.21

* Address PR comments

---------

Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
2023-10-03 16:17:03 +03:00
Velin92
e6fa1bac2e Translations update 2023-10-03 10:27:03 +02:00
Mauro
355535cd75
Handle tap on user mentions (#1850)
* user mention routing implemented

* more tests

* better naming

* fixed a test
2023-10-03 10:11:05 +02:00
Mauro
7124f24d7c
supported versions (#1848) 2023-10-03 10:10:38 +02:00
Stefan Ceriu
325ac63d66
Unit test fixes (#1846)
* Prevent notification manager tests from failing during randomised testing

* Fix flakey logging tests

* Fix flakey room notification muting tests
2023-10-03 10:25:58 +03:00
Alfonso Grillo
e84e9b2938
Update rte to 2.14.0 (#1849) 2023-10-03 08:46:47 +02:00
Stefan Ceriu
a22bde91b2 Introduce primitives for working with fragment url query items; switch the generic call links to it. nightly/1.3.2.401 2023-09-30 09:59:40 +03:00
Doug
56a9820ded
Add remaining iOS 17 introspections. (#1806)
* Update compound.

* Update Ruby gems.

* Skip smudging in Fastlane.

* Link Git LFS for Xcode in setup-project.
nightly/1.3.2.400
2023-09-29 17:29:27 +01:00
Mauro
6bc5a440b2
Fixed a bug that prevented the mentions to be shown as plain text in the room list cell (#1835)
* fix a bug that made the room list not render mentions as plain text

* better naming
2023-09-29 14:49:20 +00:00
Mauro
b7c46ceac3
@room pill (#1834)
* all users mention pill + red higlight for own mentions

* more tests

* changelog

* removed useless if let
2023-09-29 15:40:31 +02:00
Doug
1e842fd8cf
Update strings that will be removed. (#1827) 2023-09-29 12:09:21 +01:00
Doug
ec3f5d425e
Use a universal link for the OIDC callback. (#1681) nightly/1.3.2.398 2023-09-28 14:12:57 +01:00
Andrew Breckenridge
718e01f3bc Application: pass AppDelegate in initializer, instead of using singleton 2023-09-28 12:35:37 +03:00
Alfonso Grillo
ee0539f260
"Poll start" event push notification (#1819)
* Handle polls in NotificationContentBuilder

* Cleanup
2023-09-28 11:21:17 +02:00
Mauro
7bde419e85
Pill View (#1797)
* provider can now check the current session

* More testable code

* created the test condition

* it works but not always not sure why, need to dig deeper

* sadly we need to use textkit 1 to solve this issue

* removed developer option screen test

* this experimental solution kinda works but I need a way to pill recomputation is weird

* format

* display improvement

* better and faster solution

* pilished the code

* better coloring

* swift format

* just need to solve the caching issue

* fix caching issue

* tests done!

* changelog

* pr comments addressed

* all pr comments addressed

* docs

* line lenght

* updated tests and fixed a parsing permalink issue

* MentionBuilder

* pr comments

* swiftformat

* code blocks should not have links

* Update ElementX/Sources/FlowCoordinators/RoomFlowCoordinator.swift

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* Update ElementX/Sources/Services/Client/ClientProxy.swift

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* Update UnitTests/Sources/AttributedStringBuilderTests.swift

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* Update ElementX/Sources/UITests/UITestsAppCoordinator.swift

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* Update ElementX/Sources/Other/Pills/PillAttachmentViewProvider.swift

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* Update ElementX/Sources/Other/Pills/MentionBuilder.swift

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* pr comments

* swiftformat

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
nightly/1.3.2.397
2023-09-27 17:27:07 +00:00
Element CI
8d4c5e2885 Prepare next release 2023-09-27 06:45:03 -07:00
Stefan Ceriu
d81bbcf3b1 Bump the Rust SDK to v1.1.20 and fix breaking API changes 1.3.1 2023-09-27 13:11:39 +03:00
Stefan Ceriu
8e43e66115 Fix unit tests after the introduction of canBeRepliedTo on timeline items 2023-09-27 12:22:23 +03:00
Stefan Ceriu
61968cb3fb Add support for replying to events different than room messages 2023-09-27 08:28:46 +03:00
Alfonso Grillo
423604b18c
Add "end poll" confirmation dialog (#1799)
* Add poll end confirmation dialog

* Fix button role in CreatePollScreenViewModel
nightly/1.3.1.396
2023-09-26 12:57:40 +00:00
Stefan Ceriu
dad6560ed4
Room list searching tweaks (#1800)
* Prevent the room list from flashing previous rooms when searching

* Remove reset diff chunking now that the whole list is limited

* Bump the Rust SDK to v1.1.19 and fix breaking API changes
2023-09-26 14:33:15 +03:00
Stefan Ceriu
68ea9acb36 Prevent ElementX from intercepting links that it can't handle. Redirect them to the system browser 2023-09-26 14:03:26 +03:00
Stefan Ceriu
a05c3e3774
Fix various flakey unit tests (#1783)
* Fix flakey emoji provider tests

* Fix flakey RoomScreenViewModel tests

* Fix flakey HomeScreenViewModel tests

* Fix flakey RoomMemberListScreen tests, problem with bindings getting overriden and deferFulfillment cancellable not getting stored

* Fix flakey RoomNotificationSettingsScreen tests and crashes

* Fix flakey RoomMemberDetailsScreen tests

* Deprecate old `deferFulfillment` and `nextViewState` methods

* Convert more files to the new `deferFulfillment`

* Converted the rest of the tests to the new deferFulfillment

* Removed now unused `nextViewState` and `deferFulfillment`

* Remove automatic retries from unit tests

* Reset analytics flag after running unit tests

* Address PR comments

* Introduce a new `deferFulfillment(publisher, keyPath, transitionValues)` method and use it where appropiate
2023-09-26 13:28:29 +03:00
Mauro
1f3898c69d
remove reply in thread in the swipe action (#1795)
* remove `reply in thread` in the swipe action

* changelog

* removed v stack
nightly/1.3.1.395
2023-09-25 16:17:36 +00:00
Doug
a2812525e4
Fix integration tests. (#1793)
There was a bug where another button existed with the same label.
2023-09-25 13:45:50 +01:00
Doug
2a6cf390d6
Fix replying in UI tests. (#1792) 2023-09-25 11:12:59 +01:00
Stefan Ceriu
356a3167f0 Add more tests for the AppRouteURLParser 2023-09-25 11:04:54 +03:00
Stefan Ceriu
01d7134075 Pass in custom call URL query parameters 2023-09-25 11:04:54 +03:00
Stefan Ceriu
44c6da7ce6 Only allow https call links to be passed through the custom app scheme 2023-09-25 11:04:54 +03:00
Velin92
22756891c1 Translations update 2023-09-25 10:00:02 +02:00
Mauro
b5ff6bb93e
Fix for reversed placeholder on notifications on iOS 17 (#1785)
* fix

* invalidating cached images only for iOS 17

* removed paranthesis

* better code

* fix
2023-09-25 09:46:43 +02:00
Nicolas Mauri
e9ce24fd9c
Improved rendering of voice messages (#1782) nightly/1.3.1.394 2023-09-22 16:53:17 +02:00
Alfonso Grillo
bc1910e9bb
Consider tests for animations (#1779) nightly/1.3.1.393 2023-09-21 15:49:38 +00:00
Alfonso Grillo
37afc8c253
Add polls "creator view" (#1765)
* Add end button in PollRoomTimelineView

* Add creator logic

* Refine PollRoomTimelineView previews

* Add UI tests

* Update preview tests
2023-09-21 14:59:17 +00:00
Nicolas Mauri
b8e5611c00
Add voice message rendering to the timeline (#1776) 2023-09-21 14:36:21 +00:00