Commit Graph

57 Commits

Author SHA1 Message Date
Stefan Ceriu 69387f285d Correctly chain up async calls on emoji store loading to avoid race conditions and intermittent test failures. 2022-02-08 17:46:18 +02:00
Stefan Ceriu a876d0fc3b Fixed/improved emoji tests, made emoji service always callback on the main queue. 2022-02-08 17:46:18 +02:00
Stefan Ceriu 40bc43b0f6 vector-im/element-ios/issues/5298 - Add .well-known configuration support for tile server and map styles. 2022-02-04 11:33:55 +02:00
ismailgulek 6472a971eb Fix test build 2022-01-19 14:21:33 +03:00
ismailgulek 26a6060e3e Merge branch 'ismail/5068_start_thread' into ismail/5096_thread_notifications 2022-01-17 11:39:25 +03:00
SBiOSoftWhare 3b82f6e56e Merge pull request #5342 from vector-im/steve/5321_bubbles_lauching
Message bubbles: Add settings and build flag
2022-01-13 09:50:23 +01:00
ismailgulek 69afd7c77e Add EventMenuBuilder to manage ordering on event menu actions 2022-01-10 17:31:28 +03:00
SBiOSoftWhare d9601c0c9b Rename RoomTimelineStyle enum to RoomTimelineStyleIdentifier. 2022-01-04 17:53:15 +01:00
Stefan Ceriu b9e718c6a8 vector-im/element-ios/issues/5298 - Added body message content keys and replaced plain string usages. 2022-01-04 17:33:32 +02:00
Stefan Ceriu 5e3542a3dc vector-im/element-ios/issues/5298 - Replaced "msgtype" strings with new kMXMessageTypeKey. 2022-01-04 17:33:32 +02:00
SBiOSoftWhare f4a9a94730 Fix targets configuration. 2022-01-04 11:11:02 +01:00
SBiOSoftWhare 410bf07e84 Update targets for new BuildSettings properties. 2022-01-03 18:18:37 +01:00
Doug 518ba22c85 Add accessibility labels/hints. Fix tests. Show analytics prompt to everyone. 2021-12-16 17:01:22 +00:00
Doug b52a83e171 Don't read analytics opt in status from account data.
Update PostHog to 1.4.3.

Add tests for prompt type.
2021-12-16 16:59:45 +00:00
SBiOSoftWhare baca4e35be Remove unneeded plist file from MatrixKit tests. 2021-12-03 15:00:22 +01:00
SBiOSoftWhare 355ead5af3 Fix MatrixKit unit tests. 2021-12-03 11:47:43 +01:00
SBiOSoftWhare f57941177e Merge MatrixKit develop with commit hash: b85b736313bec0592bd1cabc68035d97f5331137 2021-12-03 11:47:24 +01:00
SBiOSoftWhare d2e324cabb Handle MatrixKit tests new location, update bridging header. 2021-12-01 11:18:19 +01:00
Philippe Loriaux eaa2450be7 Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
ismailgulek 582abd8653 Add unit tests for NSArray mapping 2021-10-12 14:29:40 +03:00
Stefan Ceriu fc3e70891a Merge branch 'develop' into stefan/4881-configurable-app-name-localization-strings
# Conflicts:
#	Riot/Generated/Strings.swift
2021-09-22 17:17:05 +03:00
Stefan Ceriu b41cd1e1a4 Fixes #4881 - Replaced InfoPlist.cfBundleDisplayName with AppInfo.current.displayName and removed the now unused InfoPlist generated class. 2021-09-22 16:59:47 +03:00
David Langley e8ff4e9154 Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/4781_swiftui_template_examples 2021-09-15 14:33:05 +01:00
David Langley aa3cedbf9e UITests and Mock Screens
Adds the test targets for Unit and UI tests
Adds mock screen data and utilities to render each mock screen for previews/ui tests.
Changes Published property in the service to CurrentValueSubject. we don't need the synthesized aspect of Published and property wrappers cannot be included in protocols.
2021-09-09 16:23:00 +01:00
David Langley 350fc6a742 CoordinatorParamters, Type -> Protocol, remove MX Prefix. 2021-09-08 15:47:24 +01:00
David Langley 1e0512c301 Add template unit tests and publisher utility. 2021-09-08 15:32:41 +01:00
Doug a8675e8f27 Add more docs and comments.
Rename store.store(_:) to store.cache(_:).
2021-09-08 09:51:47 +01:00
Doug f8bc972ff8 Merge remote-tracking branch 'origin/develop' into doug/888_add_url_previews 2021-09-02 17:39:42 +01:00
David Langley 823e526bec Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/4776_extract_swiftui 2021-09-02 10:14:11 +01:00
David Langley ae1c42f2ef Fix tests 2021-09-01 13:16:03 +01:00
Doug f93b96fa50 Refactoring and tidy up.
Make the preview manager a singleton (passing in the MXSession to functions). Fix tests.

PreviewManager → URLPreviewManager
URLPreviewViewData → URLPreviewData
URLPreviewCache → URLPreviewStore
2021-09-01 12:28:56 +01:00
Stefan Ceriu a331233cf3 Using a property wrapper for UserDefaults backed application settings (RiotSettings). 2021-08-30 11:02:06 +03:00
Doug 5d66333d63 Add PreviewManger with Core Data cache and a URLPreviewView with a view model.
Changes to RoomDataSource still to come.
2021-08-23 17:56:24 +01:00
David Langley c41a5d4333 Fix tests and try fix build error 2021-08-17 14:17:18 +01:00
David Langley ab067cc2cf merge, finish swiftui and add theming 2021-08-06 00:27:13 +01:00
langleyd e99fb4eff7 Fix typos, naming and copywright 2021-07-06 19:39:15 +01:00
langleyd dc94122634 Fix build, mute bug and footer label on unencrypted builds 2021-07-06 11:38:29 +01:00
langleyd d225adfc47 Add ViewModel tests and change avatar data to use existing AvatarViewDataProtocol 2021-07-04 17:01:42 +01:00
manuroe 4e2f9576af VectorWellKnownTests: Fix one test 2021-04-29 17:38:33 +02:00
SBiOSoftWhare 1dc57d459c Add test for HomeserverConfiguration build. 2021-04-29 12:37:11 +02:00
SBiOSoftWhare bc7d8a7e37 WellKnown: Handle new and deprecated Element properties. 2021-04-29 12:36:55 +02:00
SBiOSoftWhare 24ce79616d Well Known: Create VectorWellKnown struct that represents additional Well Known configuration specific to Element client. 2021-04-29 12:36:17 +02:00
manuroe d742d8627e GH Actions: Increase test expectation timeout. Machines are slow 2021-04-21 08:28:45 +02:00
Gil Eluard 091ccd94a0 Unit tests are broken
- xcodegen target file updated
2021-03-26 12:56:56 +01:00
Johannes Marbach 08fdee469a EmojiStore: Include short name when searching for emojis
This adds the "common" short name to the list of strings to match the search text
against. Previously, only the "other" short names were included in the comparison.
This causes an issue for certain emojis like, for instance, the "Hundred Points
Symbol" where the term "100" is *only* included in the common short name. As a
result, the emoji did not previously show up when searching for "100".

Note that as a side effect, searching for "2" will now also return things such as
the "dog2" emoji. This matches the behavior in the Element Android app and also in
the emoji-mart Node.js package.

Closes: #4063

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
2021-03-05 19:48:00 +01:00
manuroe c25eba7be0 Merge branch 'develop' into element_3812 2021-02-16 11:44:13 +01:00
manuroe 10b45d5c64 Merge remote-tracking branch 'origin/develop' into element_3812 2021-02-11 16:19:12 +01:00
SBiOSoftWhare dd2a816cd0 Fix pbxproj conflicts. 2021-02-11 15:06:07 +01:00
manuroe 619ad4a9cc XcodeGen: Removed useless postbuildScripts 2021-02-11 09:37:07 +01:00
manuroe 4d874c0022 XcodeGen: Use same names for yml and xcconfig files in every target 2021-02-11 09:21:00 +01:00