Commit graph

3035 commits

Author SHA1 Message Date
ismailgulek
a049bb9a17
Implement thread filtering logic in RoomDataSource 2021-11-10 13:38:32 +03:00
ismailgulek
79e8c68f89
Add ThreadSummaryView into the cell 2021-11-09 16:50:22 +03:00
ismailgulek
e162f782f5
Create ThreadSummaryView 2021-11-09 16:50:02 +03:00
ismailgulek
d80aba0793
Add thread option to an event if the labs setting enabled 2021-11-09 15:24:08 +03:00
ismailgulek
1e7c9bbd72
Add labs setting for threads 2021-11-09 15:18:18 +03:00
ismailgulek
f25c382511
Add additional height in the cell for thread summary view 2021-11-09 14:46:35 +03:00
Stefan Ceriu
c961a71f7f vector-im/element-ios/pull/5014 - Forward original message content and remove the need to re-upload media. 2021-11-09 10:41:21 +02:00
Gil Eluard
6411ab31a8
Merge pull request #4994 from vector-im/gil/4893_support_pagination_in_the_space_summary_api
Support pagination in the Space Summary API
2021-11-09 09:35:24 +01:00
Phl-Pro
8246dc93e0
Merge branch 'develop' into phlpro/4722_objc_headers 2021-11-05 14:41:36 +01:00
SBiOSoftWhare
eedb8776d5
Merge pull request #5091 from vector-im/steve/5090_update_settings_about_section
Settings: Update about section footer text
2021-11-04 12:02:10 +01:00
SBiOSoftWhare
357cbea82c SettingsVC: Update about section footer text. 2021-11-04 11:48:06 +01:00
SBiOSoftWhare
0e25b2d30c
Merge pull request #5088 from vector-im/steve/5082_fix_clear_cache
Fix a crash when selected space is not home and a clear cache or logout is performed
2021-11-04 09:22:23 +01:00
ismailgulek
0a8952170a
Initialize thread data source 2021-11-04 02:07:50 +03:00
ismailgulek
3effb80aae
Adapt to send event api changes 2021-11-04 02:07:09 +03:00
SBiOSoftWhare
c6f8dc64f9 SpaceList: Fix a crash when clearing cache or logout. 2021-11-03 18:59:35 +01:00
Doug
fd93bb6fab
Merge pull request #5074 from vector-im/doug/5071_fix_presented_views
Fix more button not working.
2021-11-03 16:35:03 +00:00
SBiOSoftWhare
39c94682a9 Merge branch 'hotfix/1.6.7' into hotfix/1.6.7_2 2021-11-03 17:22:21 +01:00
Doug
7ea082e10e
Merge pull request #5087 from vector-im/doug/5083_fix_room_previews
Fix DisabledRoomInputToolbarView / Room Previews / Favourites
2021-11-03 16:08:11 +00:00
SBiOSoftWhare
c9f9eb4505 SplitViewCoordinator: Fix detail screen reset behaviour. 2021-11-03 11:41:11 +01:00
ismailgulek
788e817617
Add context menu item 2021-11-03 13:36:18 +03:00
Doug
458b8543cd Ensure DisabledRoomInputToolbarView is used. Fix previewing rooms. Fix favourited DMs in Home. 2021-11-03 10:18:27 +00:00
Doug
f2cd673896 Keep strong refs to weak views before display. 2021-11-01 17:38:56 +00:00
Doug
1415155eb6 Present alerts before assigning to currentAlert. 2021-11-01 15:05:02 +00:00
Finn Behrens
f284f2f983 Remember keyboard language for room
This adds a `textInputContextIdentifier` to the RoomViewController to save the current language per room.

Signed-off-by: Finn Behrens <me@kloenk.dev>
2021-10-31 19:58:21 +01:00
SBiOSoftWhare
22d48c7da6
Update Riot/Modules/Room/RoomInfo/RoomInfoCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-29 15:42:19 +02:00
SBiOSoftWhare
b362b4c69e TabBarCoordinator: Improve tab bar controllers management. Avoid to have twice HomeVC in memory. 2021-10-29 14:48:42 +02:00
SBiOSoftWhare
e33f0779d2 RoomViewController: Fix a crash on before iOS 14. 2021-10-29 13:47:42 +02:00
SBiOSoftWhare
d967d35493 RoomSearchViewController: Fix setup. 2021-10-29 13:47:16 +02:00
SBiOSoftWhare
7b44443f1e RoomInfoListViewController: Weakify self in a closure. 2021-10-29 13:46:34 +02:00
SBiOSoftWhare
41eca48408 Weakify strong reference delegates. 2021-10-29 12:23:06 +02:00
SBiOSoftWhare
b31937bc74 Update GroupDetailsCoordinator. 2021-10-29 12:03:20 +02:00
SBiOSoftWhare
f5f44f002e EnterNewRoomDetailsViewController: Prevent retain cycles. 2021-10-29 12:02:19 +02:00
SBiOSoftWhare
222db3c02d ContactsTableViewController: Prevent retain cycles. 2021-10-29 11:59:52 +02:00
SBiOSoftWhare
a05c488ed6 Update weak views usage. 2021-10-29 10:50:24 +02:00
SBiOSoftWhare
df472c11d5 SettingsViewController: Prevent retain cycles. 2021-10-29 10:49:29 +02:00
SBiOSoftWhare
4361a598b0 ContactDetailsViewController: Prevent retain cycles. 2021-10-29 10:48:45 +02:00
SBiOSoftWhare
1b63507759 SegmentedViewController: Prevent retain cycles. 2021-10-29 10:47:00 +02:00
SBiOSoftWhare
ea7983abba GroupsViewController: Prevent retain cycles. 2021-10-29 10:46:26 +02:00
SBiOSoftWhare
9fc412f41d RoomVC: Fix typo. 2021-10-28 18:51:25 +02:00
SBiOSoftWhare
920e8e0508 TabBarCoordinator: Fix space switching. 2021-10-28 18:50:35 +02:00
SBiOSoftWhare
1c6ae4c835
Update Riot/Modules/TabBar/TabBarCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-28 18:48:19 +02:00
SBiOSoftWhare
3a732b4bf8
Update Riot/Modules/Common/Recents/RecentsViewController.m
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-28 18:47:59 +02:00
SBiOSoftWhare
dd5f7d6451 TabBarCoordinator: Prevent to update master tab bar controllers when not needed. 2021-10-28 18:15:46 +02:00
SBiOSoftWhare
24e0713f3e RoomCoordinator: Fix RoomVC reatin issue. 2021-10-28 18:01:30 +02:00
SBiOSoftWhare
03cdf3d732 RoomVC: Prevent retain cycles. 2021-10-28 17:41:16 +02:00
SBiOSoftWhare
1ba2abed73 RecentsViewController: Prevent retain cycles. 2021-10-28 17:28:56 +02:00
Gil Eluard
cf73ac2534 Merge branch 'develop' into gil/4893_support_pagination_in_the_space_summary_api 2021-10-27 10:28:42 +02:00
Gil Eluard
779909eac4 Support pagination in the Space Summary API
- Update after review
2021-10-27 10:27:13 +02:00
Stefan Ceriu
7e6e82d9ef vector-im/element-ios/issues/4976 - Fixed placeholder not displaying after being hidden for resize animations. 2021-10-27 10:15:57 +03:00
Philippe Loriaux
c6c3eaaec1 Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
Stefan Ceriu
efa726b515 vector-im/element-ios/issues/4976 - Replaced GrowingTextView with simpler, custom implementation. Cleaned up the RoomInputToolbar header. 2021-10-26 17:41:29 +03:00
Gil Eluard
b192123b9f Support pagination in the Space Summary API
- Revert test tweaks
2021-10-26 14:44:51 +02:00
Gil Eluard
d1abed3844 Support pagination in the Space Summary API
- Move back to default iOS activity indicator
2021-10-26 14:40:51 +02:00
Stefan Ceriu
75eddf38ed vector-im/element-ios/issues/4384 - Using mutable room list fetch sort options after chaning them to be a structure. 2021-10-25 17:54:27 +03:00
Stefan Ceriu
35802071dd Fixes vector-im/element-ios/issues/5042 - Message composer doesn't follow keyboard when swiping to dismiss. 2021-10-25 16:23:58 +03:00
SBiOSoftWhare
7e6f5850c2 Merge pull request #4993 from vector-im/steve/4734_room_stack
Navigation: Enable room stacking
2021-10-21 17:33:47 +02:00
SBiOSoftWhare
e46edb7fae
Update Riot/Modules/GlobalSearch/Messages/HomeMessagesSearchViewController.m
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-21 16:45:13 +02:00
SBiOSoftWhare
2cb2464b36 Update comments. 2021-10-21 16:16:32 +02:00
SBiOSoftWhare
cc28f92d39 Make some refacto. 2021-10-21 15:32:43 +02:00
SBiOSoftWhare
6a1829d247 Update folder name. 2021-10-21 15:23:01 +02:00
SBiOSoftWhare
1b5540c064 Refactor SpacePresentationParameters to SpaceNavigationParameters. 2021-10-21 15:22:38 +02:00
SBiOSoftWhare
0c8b7135ec Refactor RoomPreviewScreenParameters to RoomPreviewNavigationParameters. 2021-10-21 14:47:17 +02:00
SBiOSoftWhare
d7c892d7a8 Refactor RoomPreviewScreenParameters to RoomPreviewNavigationParameters. 2021-10-21 11:57:13 +02:00
SBiOSoftWhare
2cd80ff4ec Refactor RoomScreenParameters to RoomNavigationParameters. 2021-10-21 11:40:18 +02:00
SBiOSoftWhare
638321d123 Refactor RoomPreviewPresentationParameters to RoomPreviewScreenParameters. 2021-10-21 11:00:45 +02:00
SBiOSoftWhare
6ab705416d Refactor RoomPresentationParameters to RoomScreenParameters. 2021-10-21 10:55:13 +02:00
SBiOSoftWhare
0d1f8305e9 Rename UniversalLinkPresentationParameters to ScreenPresentationParameters. 2021-10-21 10:00:37 +02:00
Doug
a7395dbf25 Address Steve's comments. 2021-10-20 19:29:23 +01:00
SBiOSoftWhare
e8a8862291 TabBarCoordinator: Fix refacto issues. 2021-10-20 18:51:19 +02:00
SBiOSoftWhare
d718131cc2 DirectoryViewController: Refactor show room with id method. 2021-10-20 18:50:00 +02:00
SBiOSoftWhare
343eda4eff UniversalLinkParameters: Make universalLinkURL property non optional. 2021-10-20 18:47:33 +02:00
SBiOSoftWhare
cd938e6c48
Update Riot/Modules/Spaces/SpaceDetail/SpaceDetailPresenter.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:41:27 +02:00
SBiOSoftWhare
d4a864b408
Update Riot/Modules/GlobalSearch/Rooms/DirectoryViewController.m
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:41:00 +02:00
Doug
614cb4d373 Add SectionFooterView.xib to fix fonts on iOS 12-14.
Update SecurityViewController too.
2021-10-20 17:40:39 +01:00
Doug
2f879e8aa3 Fix bug accepting identity server terms from the Setting Discovery section. 2021-10-20 17:40:39 +01:00
Doug
7a096a7df5 Use footers for app and discovery information.
Remove Invite Friends button from settings.
Reorganise Advanced and Other settings.
Rename Other to About.
2021-10-20 17:40:39 +01:00
Doug
4b5630a83f Update fonts, add attributed strings and add tap gestures back.
Footers use subheadline. Headers use footnote.
2021-10-20 17:40:39 +01:00
Doug
685d8f2a54 Use actual footer titles rather than cells that mimic them. 2021-10-20 17:40:39 +01:00
Doug
80e6e4af43 Use footnote text style for description cells to match UITableView's footer style. Match the footer colour to the header colour. Add -[SettingsViewController descriptionCellForTableView:] and use for appropriate cells. 2021-10-20 17:40:39 +01:00
Doug
8e8efd4808 Use headerTextPrimaryColor in headers and don't override system font size. 2021-10-20 17:40:39 +01:00
SBiOSoftWhare
b998ae0d19
Update Riot/Modules/GlobalSearch/Rooms/DirectoryViewController.m
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:40:27 +02:00
SBiOSoftWhare
3ae15dd794 Fix indentation issues. 2021-10-20 18:38:48 +02:00
SBiOSoftWhare
0e1c67fb2d
Update Riot/Modules/DeepLink/UniversalLinkPresentationParameters.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:35:02 +02:00
SBiOSoftWhare
74cdd06201
Update Riot/Modules/DeepLink/UniversalLinkPresentationParameters.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:33:45 +02:00
SBiOSoftWhare
a540719f24
Update Riot/Modules/TabBar/TabBarCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:33:22 +02:00
SBiOSoftWhare
5ee733186c
Update Riot/Modules/DeepLink/UniversalLinkParameters.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:33:13 +02:00
SBiOSoftWhare
54508430d8
Update Riot/Modules/Application/LegacyAppDelegate.m
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:32:57 +02:00
SBiOSoftWhare
b36920848d
Update Riot/Modules/Application/LegacyAppDelegate.m
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:32:38 +02:00
SBiOSoftWhare
dcc0662ebc
Update Riot/Modules/Application/LegacyAppDelegate.m
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:27:42 +02:00
SBiOSoftWhare
059d99ca29
Update Riot/Modules/TabBar/TabBarCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:27:31 +02:00
SBiOSoftWhare
e620e94af9
Update Riot/Modules/Common/Recents/RecentsViewController.m
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:26:21 +02:00
SBiOSoftWhare
91baf44145
Update Riot/Modules/Common/Recents/RecentsViewController.m
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:25:00 +02:00
SBiOSoftWhare
0691c087be
Update Riot/Modules/Common/Recents/RecentsViewController.m
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:24:50 +02:00
SBiOSoftWhare
9978920be3
Update Riot/Modules/Common/Recents/RecentsViewController.m
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:24:35 +02:00
SBiOSoftWhare
baed10e909
Update Riot/Modules/Common/Recents/RecentsViewController.m
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:24:18 +02:00
SBiOSoftWhare
d0ef843302 UniversalLink: Improve group and contact presentation behaviour. 2021-10-20 15:55:46 +02:00
SBiOSoftWhare
9e0cf5a65a UniversalLinkParameters & UniversalLinkPresentationParameters remove useless initializers. 2021-10-20 12:29:49 +02:00
SBiOSoftWhare
c949155134 LegacyAppDelegate: Handle show group with universal link presentation parameters. 2021-10-20 12:29:01 +02:00
SBiOSoftWhare
8538d8e0aa LegacyAppDelegate: Handle universal link presentation parameters when showing contact. 2021-10-20 11:57:56 +02:00
SBiOSoftWhare
ee573879a3 Merge develop into 4734_room_stack 2021-10-20 11:14:52 +02:00
SBiOSoftWhare
cb3025da19 RoomVC: Fix typo. 2021-10-20 09:21:02 +02:00
SBiOSoftWhare
8ef534a088 TabBarCoordinator: Reset split view detail on room leave. 2021-10-20 08:57:55 +02:00
SBiOSoftWhare
bf063d076a SplitViewPresentable: Add possiblity to reset detail stack. 2021-10-20 08:57:19 +02:00
SBiOSoftWhare
61a1bf1aaf Update RoomPresentationParameters usage. 2021-10-20 08:31:51 +02:00
SBiOSoftWhare
1791fe4688 RoomPresentationParameters: Use UniversalLinkPresentationParameters. 2021-10-20 08:29:15 +02:00
SBiOSoftWhare
cbd618fd9e Move files. 2021-10-20 07:50:20 +02:00
SBiOSoftWhare
81698d113c LegacyAppDelegate: Handle UniversalLinkPresentationParameters for space presentation. 2021-10-20 07:37:13 +02:00
SBiOSoftWhare
9d6946ddf1 RoomVC: Update with UniversalLinkPresentationParameters. 2021-10-20 07:32:04 +02:00
SBiOSoftWhare
477b02c8de SpacePresentationParameters: Update with UniversalLinkPresentationParameters. 2021-10-20 07:31:19 +02:00
SBiOSoftWhare
b8b42bd047 UniversalLinkParameters: Add presentation parameters property. 2021-10-20 07:30:49 +02:00
SBiOSoftWhare
687df745d1 Create UniversalLinkPresentationParameters. 2021-10-20 07:29:18 +02:00
SBiOSoftWhare
0c2433950e SpaceDetailPresenter: Fix source view issue on iPad. 2021-10-19 19:33:21 +02:00
ismailgulek
61ce79e50a
Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-19 16:40:34 +03:00
ismailgulek
a65a946c17
Introduce RiotSettings.showAllRoomsInHomeSpace and adapt changes in filter options 2021-10-19 16:36:43 +03:00
Stefan Ceriu
6f7a9145e4
Merge pull request #5014 from vector-im/stefan/messageForwarding
Message forwarding
2021-10-19 16:17:07 +03:00
SBiOSoftWhare
ffb9586e9c LegacyAppDelegate: Update space detail presentation. Update room preview presentation. Prevent restoring initial display when not needed. 2021-10-19 14:45:47 +02:00
SBiOSoftWhare
5ba03c6d88 Add space and space preview presentation parameters. 2021-10-19 14:43:08 +02:00
SBiOSoftWhare
eb2daaf684 SpaceDetailPresenter: Avoid crash on iPad when the source view is nil. 2021-10-19 14:38:57 +02:00
ismailgulek
5d08c2e196
Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-19 14:01:32 +03:00
SBiOSoftWhare
c62470bc3c RoomVC: Remove temporary space universal link handling. 2021-10-19 12:29:59 +02:00
Gil Eluard
d3413a7a21
Merge pull request #4965 from vector-im/gil/4570_home_space_data_filtering
[Spaces] M10.4.1 Home space data filtering #4570
2021-10-18 20:12:18 +02:00
Gil Eluard
66e2c079e0 [Spaces] M10.4.1 Home space data filtering #4570
- update after review
2021-10-18 16:44:55 +02:00
Doug
98be850786 Allow images to be pasted from Safari rather than their URL.
Use correct type.
2021-10-18 15:22:55 +01:00
Stefan Ceriu
12c167ba6c vector-im/element-ios/issues/5009 - Implemented multi-room forwarding and added various tweaks following code review. 2021-10-18 16:40:53 +03:00
Stefan Ceriu
e3f1bd25a9 vector-im/element-ios/issues/5009 - Refactored away the NSExtensionContext dependency from the ShareManager. Introduced different ShareItemProviders for the share extension and the main application. Improved item loading error handling. 2021-10-18 16:40:53 +03:00
Stefan Ceriu
aa790b24a8 vector-im/element-ios/issues/5009 - Fixed share extension setup and cleaned up code. 2021-10-18 16:40:53 +03:00
Stefan Ceriu
d7ab73524f vector-im/element-ios/issues/5009 - Moved files around, cleaned up imports and logs. 2021-10-18 16:40:53 +03:00
Stefan Ceriu
b6514349fb vector-im/element-ios/issues/5009 - Refactored share extension and started using the shared code directly in the main application. 2021-10-18 16:40:48 +03:00
Gil Eluard
94f3439260 [Spaces] M10.4.1 Home space data filtering #4570
- update after review
2021-10-18 15:01:11 +02:00
Gil Eluard
07e539a40d Merge branch 'develop' into gil/4570_home_space_data_filtering 2021-10-15 14:20:04 +02:00
ismailgulek
ef764ef3a8
Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-15 12:07:21 +03:00
Doug
fca940ed54
Merge pull request #5003 from vector-im/doug/5002_stop_requesting_url_previews
Stop requesting URL previews if the homeserver has disabled the feature.
2021-10-14 17:44:18 +01:00
SBiOSoftWhare
5bd1d6a44f Merge branch 'develop' into steve/4734_room_stack 2021-10-14 16:21:03 +02:00
Doug
d565800f72 Re-enable link detection in clearStore instead of via NotificationCenter. 2021-10-14 14:24:01 +01:00
Doug
d9217a053d Add observer to re-enable link detection when signing out of an account. 2021-10-13 16:01:19 +01:00
Doug
02753aaf8c Add tags to URLPreviewView and BubbleReactionsView so their highlight behaviour matches their bubble component.
Fix bug setting text alpha.
2021-10-13 14:05:06 +01:00
Doug
842125469d Stop requesting URL previews if the feature has been disabled on the homeserver. 2021-10-13 12:51:15 +01:00
ismailgulek
ba53cb6d41
Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-13 14:34:20 +03:00
Stefan Ceriu
2e0aab11ea #1098 - Added extra top padding on first list item. Fixed various merge problems. 2021-10-13 11:46:43 +03:00
Stefan Ceriu
0f0acc89d6 #1098 - Various changes following code review. 2021-10-13 11:26:27 +03:00
Stefan Ceriu
0a95788731 #1098 - Removed vectorHostingController background color. 2021-10-13 11:26:27 +03:00
Stefan Ceriu
e84c8fc2e6 #1098 - Moved new MXKRoomInputToolbarDelegate method to Element. 2021-10-13 11:26:27 +03:00
Stefan Ceriu
56a7da7759 #1098 - Fixed iOS 15 issues. 2021-10-13 11:26:27 +03:00
Stefan Ceriu
9b3e68a3db #1098 - Working real user suggestion inside the main application. 2021-10-13 11:26:22 +03:00
Stefan Ceriu
109a4e7157 #1098 - Added user suggestions to the main app timeline. 2021-10-13 11:25:36 +03:00
Stefan Ceriu
7de24ab628 #1098 - Generated UserSuggestion from template, got initial UI working and automatically updating. 2021-10-13 11:24:46 +03:00
ismailgulek
6a047f98fb
Improve tab switching performance 2021-10-12 22:56:52 +03:00
ismailgulek
ed3645f1db
Improve mocking performance 2021-10-12 22:42:16 +03:00
Gil Eluard
77371c75de Support pagination in the Space Summary API 2021-10-12 20:48:30 +02:00
ismailgulek
bb1845acce
Merge remote-tracking branch 'origin/ismail/4384_room_summary_store' into ismail/4384_room_summary_store 2021-10-12 21:25:26 +03:00