1313 Commits

Author SHA1 Message Date
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
Alfonso Grillo
eba3e25373
Improve message edit with RTE (#1742)
* Improv edit for RTE

* Refine code block style in composer

* Update matrix-wysiwyg-composer-swift to 2.13.0

* Remove workaround

* Update ElementX/Sources/Services/Timeline/TimelineItems/Items/Messages/TextRoomTimelineItemContent.swift

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

* Refactor rawFormattedBody -> formattedBodyHTMLString

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2023-09-21 13:45:43 +00:00
Doug
4e6fe278db
Update iconography visible in launch video (#1762) 2023-09-21 12:38:09 +01:00
Doug
057c33e680
Replace timeline animation delay with a check on the item count. (#1777) 2023-09-21 11:57:11 +01:00
Mauro
8b69308e05 Prefire compatibility with Xcode 15 (#1773)
* xcode ready solution

* now the previews won't fail but get generated

* delay in some screens that require a waiting state (the bloom does not work in previews)

* better code

* longer delay

removed and redone lfs

readded as lfs
2023-09-21 11:02:50 +02:00
Alfonso Grillo
7048a0e4ad
Add polls' room summaries (#1770)
* Update sdk to 1.1.18 & add poll summary

* Fix localisation
2023-09-21 07:47:14 +00:00
Mauro
9d91cd4fc0
Preview Tests (#1768)
* preview testing

* removed some views that are not really testabl in UnitTests and improved other tests
nightly/1.3.1.392
2023-09-20 17:33:31 +02:00
Stefan Ceriu
612a28b7e2 Release script fixes: prevent sed from incorrectly matching other versions, correctly increment the path version past .9 which would previously increment the minor 2023-09-20 18:17:32 +03:00
Stefan Ceriu
c5c8715e07 Fix incorrectly bumped GZIP dependency version nightly/1.3.1.391 2023-09-20 15:58:48 +03:00
Element CI
c9f18b8076 Prepare next release 2023-09-20 05:33:02 -07:00
Stefan Ceriu
bba3fab31d Conform to UIAccessibility.isReduceMotionEnabled 1.3.0 2023-09-20 15:13:48 +03:00
Stefan Ceriu
29bcc5371a #1246 - Prevent timeline items from being computed on the main thread when instantiating the RoomTimelineController; speed up the room selection animation. 2023-09-20 15:12:35 +03:00
Stefan Ceriu
82981f33e9 Prevent mapping members on the main queue inside the room screen view model 2023-09-20 15:09:29 +03:00
Stefan Ceriu
c2a1560b1d Avoid too much back and forth throuhg FFI by lazily fetching and storing member proxy properties 2023-09-20 15:09:29 +03:00
Mauro
341b177e23
Prefire basic implementation (#1743)
* prefire basic implementation

force the unit tests to run on iPhone 14

skipping plugin validation

archive artifacts

better workflow

removed the OS restriction

lfs

custom stencil

new test file

deleting

* git lfs

* lfs

* test

* customised the stencil to support our internal protocol

* for now we can remove the OS check from the stencil

* added a delay

* tests have been moved

* improvement

* recommit

* perceptual precision lowered

* updated snapshot testing and selected also iOS version

* added ios version control
2023-09-20 14:07:18 +02:00
Stefan Ceriu
faad37c803 Bump the Rust SDK to v1.1.17 nightly/1.3.0.390 2023-09-19 20:23:33 +03:00
Mauro Romito
94c6ad9e38 speeding up the bloom a bit 2023-09-19 17:52:49 +02:00
Stefan Ceriu
f95331d3a6 Use a different scheme for Element Call in the form of io.element.call:/?url=some_url 2023-09-19 18:11:09 +03:00
Stefan Ceriu
501c3aed23 Disable reply actions for local echoes 2023-09-19 17:39:04 +03:00
Doug
fe656450ef
Change timeline animations to use .top (flipped). (#1751) 2023-09-19 15:13:44 +01:00
Stefan Ceriu
dd0a36904c Media upload: be more resilient against system errors in fetching file size 2023-09-19 15:54:11 +03:00
Stefan Ceriu
c67de040e5 Fix media upload for files that generate percent encoded URLs 2023-09-19 15:54:11 +03:00
Stefan Ceriu
d3b21e745f Avoid too much back and forth throuhg FFI by lazily fetching and storing timeline item properties 2023-09-19 15:42:42 +03:00
Element CI
cbee2a9860 Prepare next release nightly/1.3.0.389 2023-09-18 09:43:06 -07:00
Alfonso Grillo
11429d393a
Update RTE to 2.12.0 (#1740) 1.2.9 2023-09-18 16:04:53 +00:00
ElementRobot
2354c25aab
Translations update (#1741)
Co-authored-by: pixlwave <pixlwave@users.noreply.github.com>
2023-09-18 15:14:12 +00:00