Commit Graph

51 Commits

Author SHA1 Message Date
SBiOSoftWhare f91a7990d2 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
SBiOSoftWhare 608dd0c7a6 Rename RoomTimelineStyle enum to RoomTimelineStyleIdentifier. 2022-01-04 17:53:15 +01:00
Stefan Ceriu fc56a7c267 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 3f715ec2c4 vector-im/element-ios/issues/5298 - Replaced "msgtype" strings with new kMXMessageTypeKey. 2022-01-04 17:33:32 +02:00
SBiOSoftWhare be707a0ae9 Fix targets configuration. 2022-01-04 11:11:02 +01:00
SBiOSoftWhare a76629744c Update targets for new BuildSettings properties. 2022-01-03 18:18:37 +01:00
Doug 6001c9f0f5 Add accessibility labels/hints. Fix tests. Show analytics prompt to everyone. 2021-12-16 17:01:22 +00:00
Doug f45b4644c3 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 8e516df1e1 Remove unneeded plist file from MatrixKit tests. 2021-12-03 15:00:22 +01:00
SBiOSoftWhare d970180c87 Fix MatrixKit unit tests. 2021-12-03 11:47:43 +01:00
SBiOSoftWhare 1d9f01b5e3 Merge MatrixKit develop with commit hash: b85b736313bec0592bd1cabc68035d97f5331137 2021-12-03 11:47:24 +01:00
SBiOSoftWhare 6699137647 Handle MatrixKit tests new location, update bridging header. 2021-12-01 11:18:19 +01:00
Philippe Loriaux af20d24960 Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
ismailgulek d4ce6b8078 Add unit tests for NSArray mapping 2021-10-12 14:29:40 +03:00
Stefan Ceriu c68bdc54b9 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 f9a4178f2a 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 9724bfe8e8 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 a87baa133a 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 20bc4f5494 CoordinatorParamters, Type -> Protocol, remove MX Prefix. 2021-09-08 15:47:24 +01:00
David Langley 40cec6cd81 Add template unit tests and publisher utility. 2021-09-08 15:32:41 +01:00
Doug 5acbc20fc9 Add more docs and comments.
Rename store.store(_:) to store.cache(_:).
2021-09-08 09:51:47 +01:00
Doug a599f18be2 Merge remote-tracking branch 'origin/develop' into doug/888_add_url_previews 2021-09-02 17:39:42 +01:00
David Langley 8c7514c865 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 483043b111 Fix tests 2021-09-01 13:16:03 +01:00
Doug 3c85db9f3d 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 00ff7d9a03 Using a property wrapper for UserDefaults backed application settings (RiotSettings). 2021-08-30 11:02:06 +03:00
Doug 7ba054f6c9 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 1cd7bda6fa Fix tests and try fix build error 2021-08-17 14:17:18 +01:00
David Langley 81730b8ad6 merge, finish swiftui and add theming 2021-08-06 00:27:13 +01:00
langleyd 152d87768a Fix typos, naming and copywright 2021-07-06 19:39:15 +01:00
langleyd 74d4356c89 Fix build, mute bug and footer label on unencrypted builds 2021-07-06 11:38:29 +01:00
langleyd 8c515d8fd4 Add ViewModel tests and change avatar data to use existing AvatarViewDataProtocol 2021-07-04 17:01:42 +01:00
manuroe 5b50d50747 VectorWellKnownTests: Fix one test 2021-04-29 17:38:33 +02:00
SBiOSoftWhare 38bb26c793 Add test for HomeserverConfiguration build. 2021-04-29 12:37:11 +02:00
SBiOSoftWhare d8cfa5b707 WellKnown: Handle new and deprecated Element properties. 2021-04-29 12:36:55 +02:00
SBiOSoftWhare d22a4ee4b3 Well Known: Create VectorWellKnown struct that represents additional Well Known configuration specific to Element client. 2021-04-29 12:36:17 +02:00
manuroe be111689d1 GH Actions: Increase test expectation timeout. Machines are slow 2021-04-21 08:28:45 +02:00
Gil Eluard b8b58b4727 Unit tests are broken
- xcodegen target file updated
2021-03-26 12:56:56 +01:00
Johannes Marbach e10bfcd47b 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 9e3a9cc55a Merge branch 'develop' into element_3812 2021-02-16 11:44:13 +01:00
manuroe 2967051f84 Merge remote-tracking branch 'origin/develop' into element_3812 2021-02-11 16:19:12 +01:00
SBiOSoftWhare 87da725c4c Fix pbxproj conflicts. 2021-02-11 15:06:07 +01:00
manuroe 15597c38b2 XcodeGen: Removed useless postbuildScripts 2021-02-11 09:37:07 +01:00
manuroe ac7cf9f1ce XcodeGen: Use same names for yml and xcconfig files in every target 2021-02-11 09:21:00 +01:00
manuroe ffd0f2865f XcodeGen: Move yml files into their sub folder 2021-02-09 19:29:17 +01:00
SBiOSoftWhare 0ac4b8b8fc AuthenticationSessionService: Add unit tests. 2021-02-03 12:11:14 +01:00
SBiOSoftWhare 9483e4ee71 Add Jitsi Well Known codable representation. 2020-10-27 10:16:39 +01:00
SBiOSoftWhare 5cf9299ac5 Emoji picker: Handle Manu's comments. 2019-07-26 14:06:19 +02:00
SBiOSoftWhare 7a2a9fd082 Emoji picker: Add Emoji parsing unit tests. 2019-07-25 16:58:14 +02:00
giomfo f08968c153 Rebranding: replace Vector by Riot everywhere in the git and github repos
- Rename VectorTests
2017-03-08 10:43:27 +01:00