Commit Graph

203 Commits

Author SHA1 Message Date
Doug ad37f87210 Merge pull request #4980 from vector-im/doug/4978_room_avatar_colours
Fix generated avatar colours not matching Element Web.
2021-10-11 16:54:17 +01:00
Doug e177f2f03f Fix generated avatar colours not matching Element Web. 2021-10-11 16:06:15 +01:00
SBiOSoftWhare a299bcb51a Array: Update convenient method signature. 2021-10-08 15:45:53 +02:00
SBiOSoftWhare 5be067becf UIViewController: Add convenient method to set splitViewController displayModeButtonItem if needed. 2021-10-05 10:48:52 +02:00
SBiOSoftWhare 711dd468e9 Array: Add convenient remove method. 2021-10-05 10:48:51 +02:00
Gil Eluard bcd72924c2 Merge branch 'spaces' into gil/4498_Handle_space_link 2021-09-23 15:26:29 +02:00
Gil Eluard c03997f97c Merge branch 'develop' into spaces 2021-09-23 15:26:06 +02:00
Gil Eluard fe15785d7b fixed FAB button in Home screen 2021-09-22 22:57:21 +02:00
ismailgulek c26475ed17 Introduce vc_hasIndexPath on UITableView extension 2021-09-22 11:04:39 +03:00
Gil Eluard 6335acc0cd Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Modules/Common/Avatar/AvatarViewDataProtocol.swift
#	Riot/Modules/Common/Recents/RecentsViewController.m
#	Riot/Modules/Home/Views/RoomCollectionViewCell.m
#	Riot/Modules/TabBar/TabBarCoordinator.swift
2021-09-15 14:42:04 +02:00
Stefan Ceriu ee417c21d8 Revert "Revert "#4693 - Drop iOS 11 support."" 2021-09-14 11:41:36 +03:00
Stefan Ceriu 7d6a1cac40 Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
2021-09-06 18:24:26 +03: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
Gil Eluard 26b4344fe1 [Spaces] M10.7 Explore rooms #4571
- Update after review
2021-09-01 18:12:08 +03:00
Stefan Ceriu ef3fb0433e #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03:00
David Langley 862f30102f Finish extraction
- Moves SwiftUI code out of Riot and into RiotSwiftUI which has no dependency on Matrix SDK.
- Git wasn't smart enough to see the file moves. Most feature function has remain unchanged. 1 change I did make was remove NotificationSettingsViewModel's dependence on MxPushRule, so that the view model could be moved into RiotSwiftUI.
- Add LocaleProvider to abstract VectorL10n's use of Matrix SDK language so it can be used in RiotSwiftUI.
- Split Theme into UKit/SwiftUI version to remove RiotSwiftUI's dependence on ThemeService and ThemeV1.
- Migrated from ThemeObserver to ThemePublisher. We push updates to ThemePublisher so that we can remove ThemeService as dependency.
- Add .DS_Store to .gitignore
2021-09-01 12:34:38 +01:00
Gil Eluard 8287903a9c [Spaces] Show suggested in room lists #4501
- Update after code review
2021-08-16 10:33:10 +02:00
David Langley 7464614ff4 Add theming support, and support for other top level configuration to swiftui views with VectorHostingViewController, VectorContentModifier. Add VisibilityModifier. Move from List to VStack. 2021-08-12 11:52:06 +01:00
Gil Eluard 2a558bd240 [Spaces] Show suggested in room lists #4501
- Show suggested rooms section in home screen (no actions)
- Show suggested rooms section in rooms screen (no actions)
2021-07-29 23:24:34 +02:00
Gil Eluard c2302ac81c #4090 - Update after review 2021-07-06 23:03:56 +02:00
SBiOSoftWhare 57a7dc9da7 UIButton: Add shortcut to button label property adjustsFontForContentSizeCategory. 2021-06-18 19:26:55 +02:00
SBiOSoftWhare 7506a06976 ShowDirectory: Update view model and handle direct input of room id alias even non public. 2021-06-14 16:13:46 +02:00
SBiOSoftWhare c5a97176e4 Create UserAvatarView. 2021-06-07 18:46:16 +02:00
Stefan Ceriu a8b0e8700e Adopt consolidated logging mechanism (#4370)
* Adopted the new MXLog and replaced NSLog throughout the application - vector-im/element-ios/issues/4351
* Replaced NSLog() and print() usages with MXLog.debug()
* Added swiftlint rules for NSLog(), print(), println() and os_log()
* Escape paths used to run script build phases for swiftlint and swiftgen
2021-06-03 11:30:07 +03:00
ismailgulek 8e22a6a669 Change onTintColor 2021-06-01 17:22:45 +03:00
ismailgulek 8cb341a7f0 Use tintColor for switches 2021-06-01 17:11:05 +03:00
SBiOSoftWhare 5e7e07eef0 Merge branch 'spaces_beta' into spaces_feature_unavailable
# Conflicts:
#	Riot/Modules/Application/LegacyAppDelegate.h
2021-05-07 15:08:45 +02:00
SBiOSoftWhare 02aac4a1de UITableViewCell: Add convenient method to hide one separator cell. 2021-05-06 12:04:29 +02:00
ismailgulek bf87f42d38 Merge branch 'voip_design_updates' into voip_jitsi_remover 2021-05-04 19:11:17 +03:00
ismailgulek ac1e5525ab Merge branch 'develop' into voip_design_updates 2021-05-04 19:10:22 +03:00
SBiOSoftWhare 11d070c458 Add comments on new classes and methods. 2021-04-29 12:38:04 +02:00
SBiOSoftWhare 241f6c0546 MXSession: Remove vc_isE2EByDefaultEnabledByHSAdmin method and expose vc_homeserverConfiguration. 2021-04-29 12:37:57 +02:00
SBiOSoftWhare 997529b5a4 Remove MXWellKnown extension. 2021-04-29 12:37:11 +02:00
SBiOSoftWhare 88123f809b MXSession: Expose HomeserverConfiguration based on session Well Known config or hardcoded values. 2021-04-29 12:37:11 +02:00
SBiOSoftWhare 1d0aa666cc Update Riot/Categories/MXSession+Riot.m
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
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 62db13bcc8 MXSession+Riot: Update vc_isE2EByDefaultEnabledByHSAdmin method. 2021-04-29 12:36:17 +02:00
SBiOSoftWhare 02f46a6efd Create MXWellKnown extension to manage WellKnown keys specific to Element app and default values. 2021-04-29 12:36:17 +02:00
ismailgulek 53302e7d69 Add shadow extension methods 2021-04-27 01:34:15 +03:00
ismailgulek fb3c76ab0f Merge branch 'develop' into voip_design_updates 2021-04-02 14:39:37 +03:00
Gil Eluard 6f9d7455cb SR sizing is inconsistent with RR & Message states cosmetic changes 2021-03-17 20:09:44 +01:00
ismailgulek 547019fcc6 Refactor cell rendering, move most of the controls to the subclass, refactor user actions, add you started call state 2021-03-17 18:17:54 +03:00
ismailgulek 560ec410bd Add call actions 2021-03-12 04:04:23 +03:00
Gil Eluard 120425389f Retrying & deleting failed messages
- Update after code review
2021-03-10 22:19:04 +01:00
Gil Eluard 4a8bcbec1f Merge branch 'element_4014' into element_4013
# Conflicts:
#	Riot/Modules/Room/DataSources/RoomDataSource.m
2021-03-09 13:22:13 +01:00
Gil Eluard 62013e4e7c Improve the status of send messages (sending, sent, received, failed)
- update after review
2021-03-09 11:59:54 +01:00
Gil Eluard 1862197c39 merged element_4014 into element_4013 2021-03-02 22:06:24 +01:00
Gil Eluard d58f499871 Retrying & deleting failed messages
- Display an exclamation mark (on a red background). In case of a multi-line message
- When a message with an error is selected, show a bottom bar with the 4 following actions: Retry - Delete - Edit - Copy
- If users press on Delete, a confirmation dialog is displayed
- When error messages occur, a general error message appears above the composer. Selecting Delete will delete all error messages. Pressing on Retry will attempt to resend error messages
- If users press on Delete, a confirmation dialog is displayed
- In room lists, decorate rooms with errored messages with the error icon. Rooms with errors should be sorted first
2021-03-02 21:56:50 +01:00
Gil Eluard db12dc87e5 Merge branch 'develop' into element_4014
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
#	Riot/Modules/Room/DataSources/RoomDataSource.m
2021-02-25 15:49:53 +01:00
Gil Eluard 783ec1bddc Improve the status of send messages (sending, sent, received, failed)
- code tweaks
2021-02-25 11:10:38 +01:00