Commit Graph

31 Commits

Author SHA1 Message Date
Doug 0f88e8e851 Add more docs and comments.
Rename store.store(_:) to store.cache(_:).
2021-09-08 09:51:47 +01:00
Doug 0ea0380da7 Merge remote-tracking branch 'origin/develop' into doug/888_add_url_previews 2021-09-02 17:39:42 +01:00
David Langley c5881e11ae 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 1203db9e90 Fix tests 2021-09-01 13:16:03 +01:00
Doug 882fcab738 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 c6821f8dbe Using a property wrapper for UserDefaults backed application settings (RiotSettings). 2021-08-30 11:02:06 +03:00
Doug dd600e5e7e 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 470b4af1b1 Fix tests and try fix build error 2021-08-17 14:17:18 +01:00
David Langley b40333fbfd merge, finish swiftui and add theming 2021-08-06 00:27:13 +01:00
langleyd 8a2425aaa7 Fix typos, naming and copywright 2021-07-06 19:39:15 +01:00
langleyd 97496f93ea Fix build, mute bug and footer label on unencrypted builds 2021-07-06 11:38:29 +01:00
langleyd ff61a79ffb Add ViewModel tests and change avatar data to use existing AvatarViewDataProtocol 2021-07-04 17:01:42 +01:00
manuroe a117bc1e22 VectorWellKnownTests: Fix one test 2021-04-29 17:38:33 +02:00
SBiOSoftWhare de93c1d4d6 Add test for HomeserverConfiguration build. 2021-04-29 12:37:11 +02:00
SBiOSoftWhare 4daf491a6b WellKnown: Handle new and deprecated Element properties. 2021-04-29 12:36:55 +02:00
SBiOSoftWhare 137104f972 Well Known: Create VectorWellKnown struct that represents additional Well Known configuration specific to Element client. 2021-04-29 12:36:17 +02:00
manuroe 7662e877c2 GH Actions: Increase test expectation timeout. Machines are slow 2021-04-21 08:28:45 +02:00
Gil Eluard 012c1c6be9 Unit tests are broken
- xcodegen target file updated
2021-03-26 12:56:56 +01:00
Johannes Marbach 2050c0dd3f 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 ec8455e105 Merge branch 'develop' into element_3812 2021-02-16 11:44:13 +01:00
manuroe d37b2d3b2c Merge remote-tracking branch 'origin/develop' into element_3812 2021-02-11 16:19:12 +01:00
SBiOSoftWhare 5b135d14a1 Fix pbxproj conflicts. 2021-02-11 15:06:07 +01:00
manuroe adeacea14f XcodeGen: Removed useless postbuildScripts 2021-02-11 09:37:07 +01:00
manuroe f49b025569 XcodeGen: Use same names for yml and xcconfig files in every target 2021-02-11 09:21:00 +01:00
manuroe 5513e9f4d8 XcodeGen: Move yml files into their sub folder 2021-02-09 19:29:17 +01:00
SBiOSoftWhare 016d9b4c14 AuthenticationSessionService: Add unit tests. 2021-02-03 12:11:14 +01:00
SBiOSoftWhare 0d16017f43 Add Jitsi Well Known codable representation. 2020-10-27 10:16:39 +01:00
SBiOSoftWhare 7345c1e5ce Emoji picker: Handle Manu's comments. 2019-07-26 14:06:19 +02:00
SBiOSoftWhare 208738aadd 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
giomfo 6623ade1f7 Rebranding: replace Vector by Riot everywhere in the git and github repos
- Rename VectorTests
2017-03-08 10:30:44 +01:00