Commit graph

239 commits

Author SHA1 Message Date
ismailgulek
129eb9553c
Merge branch 'develop' into ismail/4384_room_summary_store 2021-09-30 12:35:46 +03:00
Stefan Ceriu
862464108b vector-im/element-ios/issues/4899 - Replaced (*almost*) all NSLocalizedString calls with newly generated ObjC methods. 2021-09-30 09:40:12 +03:00
ismailgulek
bc1d0d7172
Merge branch 'develop' into ismail/4384_room_summary_store 2021-09-28 17:30:39 +03:00
ismailgulek
fddfe883b3
Refactor recents data source to use new room list data fetchers 2021-09-24 18:50:41 +03:00
Gil Eluard
ca7bf18f76 [Spaces] M10.6.1 Handle space link #4498
- Update after code review
2021-09-23 17:15:32 +02:00
Gil Eluard
24956e6774 Merge branch 'gil/pre_release_fixes' into gil/4498_Handle_space_link 2021-09-23 15:00:06 +02:00
Gil Eluard
134379bcc5 [spaces] several fixes for pre release
- update after review
2021-09-23 14:50:00 +02:00
Gil Eluard
3a2548a5ae [spaces] several fixes for pre release
- [Space view has communities tab at the bottom of the screen](https://github.com/vector-im/element-ios/issues/4846)
2021-09-22 18:49:22 +02:00
Gil Eluard
4d1dd1eb0a Merge branch 'gil/pre_release_fixes' into gil/4498_Handle_space_link 2021-09-22 16:58:28 +02:00
Gil Eluard
e6b72a778a [spaces] several fixes for pre release
- [When switching spaces, user and room tabs are not populated](https://github.com/vector-im/element-ios/issues/4889)
- [Explore rooms list in space has odd ordering](https://github.com/vector-im/element-ios/issues/4890)
- Fixed Coming Soon error for Explore rooms
2021-09-22 16:57:31 +02:00
Gil Eluard
14f0533a5a [Spaces] M10.6.1 Handle space link #4498
- Fixed universal links
- Added support for space links
2021-09-22 14:58:19 +02:00
Gil Eluard
8e4b98fef0 Merge branch 'spaces' into gil/pre_release_fixes 2021-09-20 10:18:59 +02:00
Gil Eluard
84bdf88fe1 Merge branch 'develop' into spaces 2021-09-20 10:18:01 +02:00
Gil Eluard
c1a542ef49 [spaces] several fixes for pre release
- [Space home view inherits title from previously viewed tab](https://github.com/vector-im/element-ios/issues/4851)
- [Home view doesn't refresh when new rooms are created](https://github.com/vector-im/element-ios/issues/4849)
- [Odd error message in Space member list](https://github.com/vector-im/element-ios/issues/4845)
- [Bring leaving space experience in line with Web](https://github.com/vector-im/element-ios/issues/4850)
- [No notification for space invitation](https://github.com/vector-im/element-ios/issues/4840)
- [Remove filter when space is switched](https://github.com/vector-im/element-ios/issues/4852)
- [M10.11 Remove community tab](https://github.com/vector-im/element-ios/issues/4493)
2021-09-20 10:10:27 +02:00
Stefan Ceriu
f339db231a Fixes #4843 - Prevent home screen horizontal scroll views from capturing side menu swipe gestures. 2021-09-17 17:58:44 +03:00
Gil Eluard
8ba6c55a87 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
dacaa891a0 Fixes #4449 - Clipped home view on search. 2021-08-31 11:03:26 +03:00
Stefan Ceriu
ff405f6b13 #4693 - Updates following code review. 2021-08-25 13:57:32 +03:00
Stefan Ceriu
4322f7dcf5 Implements #4693 - Alert users of Element on iOS11 deprecation. 2021-08-25 13:57:32 +03:00
Gil Eluard
6cbb494f25 [Spaces] Show spaces in left panel #4509
- update after review
2021-08-02 09:57:30 +02:00
Gil Eluard
a4336c3ca1 Merge branch 'element_4509' into gil/4509_show_spaces_in_left_panel 2021-07-26 12:03:04 +02:00
Gil Eluard
43ec74b5ca Merge branch 'spaces' into element_4509 2021-07-26 10:42:49 +02:00
Gil Eluard
82284d560a [Spaces] Show spaces in left panel #4509
- Update title in the navigation bar according to the selected tab
2021-07-16 16:20:28 +02:00
Gil Eluard
f1da8c28bd [Spaces] Show spaces in left panel #4509
- Display the none hierarchical list of spaces in the left panel
- Space switching when new space selected
- Refresh space list and recents data after sync
2021-07-15 14:10:01 +02:00
Doug
989f19696d Merge branch 'develop' into doug/fix_warnings
# Conflicts:
#	Riot/Modules/Room/RoomInfo/RoomInfoList/RoomInfoListViewController.swift
2021-07-12 17:54:34 +01:00
Gil Eluard
a929ceb32e it's easy for the back button to trigger a leftpanel reveal (#4438)
- Fixed
2021-07-09 23:54:25 +02:00
Doug
e2a9d3bb24 Fix class keyword deprecation warnings everywhere!
Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead
2021-07-09 17:05:43 +01:00
SBiOSoftWhare
44a618115c TabBarCoordinator: Prepare room filtering on MasterTabBarController. 2021-07-02 18:36:14 +02:00
SBiOSoftWhare
c19385c7f6 MasterTabBarController: Add a filterRoomsWithParentId method that should filter rooms for each tab data source with the given room parent id. 2021-07-02 18:35:29 +02:00
Doug
080b3e94bb Fix documentation warnings. 2021-07-02 16:46:27 +01:00
SBiOSoftWhare
4a7ebd2bec TabBarCoordinator: Prepare space switching. 2021-07-02 16:46:53 +02:00
SBiOSoftWhare
f1d8a8035a TabBarCoordinator: Add accessibility label on side menu action and fix settings icon. 2021-06-08 18:43:27 +02:00
SBiOSoftWhare
93dbf515f0 TabBarCoordinator: Handle side menu. 2021-06-07 18:46:16 +02:00
SBiOSoftWhare
2b761a201d MasterTabBarController: Add sanity checks when add or remove a session. Fix runtime issue with Xcode 12.5 and NSArray mismatch type with Swift (see https://forums.swift.org/t/objective-c-interoperability-type-mismatch/12464 for more information). 2021-06-07 16:20:49 +02:00
SBiOSoftWhare
20943bb0b2 MasterTabBarController: Force type of Matrix session arrays. 2021-06-07 15:24:51 +02:00
Stefan Ceriu
f7a8163947
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
SBiOSoftWhare
e44272f99c TabBarCoordinator: Update MasterTabBarController according to new UserSessionsService behavior. 2021-05-28 12:48:04 +02:00
SBiOSoftWhare
98c91652f1 TabBarCoordinator: Add sanity checks before adding Matrix session from MasterTabBarController. 2021-05-27 10:49:02 +02:00
SBiOSoftWhare
0486f887a7 TabBarCoordinator: Add sanity checks before adding or removing Matrix session from MasterTabBarController. 2021-05-26 21:02:41 +02:00
SBiOSoftWhare
7d5f2fc467 TabBarCoordinator: Manage tab bar item controllers instantiation and manage unified search and settings presentation. 2021-05-20 22:06:08 +02:00
SBiOSoftWhare
6dec33faa8 MasterTabBarController: First step to decouple tab bar item controllers from the tab bar controller. Remove segues and instantiate authentication and unified search controllers programmatically. 2021-05-20 21:42:04 +02:00
Gil Eluard
2eece8153a clear cache support for RiotSettings 2021-04-23 22:26:54 +02:00
Gil Eluard
896a75721b Show/Hide Home Screen tabs 2021-04-19 18:53:32 +02:00
Gil Eluard
522d6a3eee Retrying & deleting failed messages
- Added unsent notice to tab bar room items
2021-03-11 09:01:44 +01:00
manuroe
a91c60dcf5 BF: PIN Code: Do not show verification dialog at the top of PIN code. 2020-09-29 17:02:02 +02:00
manuroe
7fae7c287f Complete Security: Make sure the authentication flow display it if auth is not complete yet
The complete security flow can be unfortunately triggered from 2 places: AuthVC and MasterTabBarC.

On a fresh app installation, during authentication, it was unexpectedly displayed from MasterTabBarC. This prevented authentication flow to complete. The app stayed on the launching animation.

This commit fixes this race.
2020-09-25 13:06:34 +02:00
SBiOSoftWhare
8242af6c06 MasterTabBarController: Update delegate method name. 2020-09-24 15:55:59 +02:00
SBiOSoftWhare
697a55aa41 Add additional comments on SplitView and TabBar coordinators. 2020-09-24 12:00:21 +02:00
SBiOSoftWhare
5ac652536b Merge branch 'develop' into convert_to_coordinators
# Conflicts:
#	CHANGES.rst
#	Riot/Modules/TabBar/MasterTabBarController.h
#	Riot/Modules/TabBar/MasterTabBarController.m
2020-09-24 11:37:24 +02:00
manuroe
35aa4b7549 * Loading animation: Fix the bug where, after authentication, the animation disappeared too early and made auth screen flashed. 2020-09-15 16:48:35 +02:00
SBiOSoftWhare
293382b993 Create TabBarCoordinator. 2020-09-07 10:05:18 +02:00
SBiOSoftWhare
f8baadd9ec MasterTabBarController: Remove show detail segues. Delegate presentation. 2020-09-07 10:01:06 +02:00
SBiOSoftWhare
be0ceb1759 Remove old AppDelegate imports. 2020-08-31 19:38:06 +02:00
SBiOSoftWhare
a68a151686 AppDelegate: Handle major update display. 2020-07-10 21:28:57 +02:00
ismailgulek
ed9750e53f
Merge branch 'develop' into xcode11
# Conflicts:
#	CHANGES.rst
#	Riot.xcodeproj/project.pbxproj
2020-06-26 17:33:09 +03:00
SBiOSoftWhare
994d64ca20 MXSession+Riot: Use vc prefix as other extensions. 2020-06-25 10:23:24 +02:00
ismailgulek
697ac5260a Change overridden methods for status bar style
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:12:46 +03:00
manuroe
492839c06a BF: App asks to verify all devices on every startup for no valid reason
#3221

We do not care about local trust. Only cross-sign status counts now
2020-05-08 07:52:33 +02:00
SBiOSoftWhare
333f7a0db4 MasterTatBarVC: Fix navigation stack issue when show security screen. 2020-05-05 09:17:47 +02:00
SBiOSoftWhare
dae859af47 Key verification: Display "Verify your other sessions" modal at every startup if needed. 2020-05-04 19:59:11 +02:00
SBiOSoftWhare
4758c676b3 Key verification: Display "Verify this session" modal at every startup if needed. 2020-04-30 15:28:43 +02:00
SBiOSoftWhare
1d212e57d6 Fix tab bar icons misalignment on iOS 13 (Fix #2802). 2019-11-06 15:32:42 +01:00
manuroe
f7e2da7b1b Soft logout: Implement the clear data button
#2540
2019-07-23 16:20:07 +02:00
manuroe
07505b08dc Soft logout: Support soft logout
#2540
2019-07-19 14:25:45 +02:00
SBiOSoftWhare
04b5dd0b58 Remove iOS 10 availability condition in MasterTabBarController. 2019-04-25 11:53:38 +02:00
manuroe
95f3c07b54 Reskin: Text in badges should be white in dark theme
#2283
2019-02-21 13:07:37 +01:00
SBiOSoftWhare
96c66b9b02 Add style method for UITabBar on Theme protocol. Update themes and make UITabBar non translucent. 2019-02-19 09:39:01 +01:00
manuroe
338fa64bd4 Reskin: Use same color names as in https://app.zeplin.io/project/5c122fa790c5b4241ffa6be7/screen/5c619592daff2f1241d82e75 2019-02-12 19:06:22 +01:00
fridtjof
bb8d7bae64
MasterTabBarController: Use @available instead of instancesRespondToSelector 2019-01-18 18:09:31 +01:00
manuroe
c61144cf78 reskin: Theme: rename colors as it is in the palette now 2019-01-11 13:13:31 +01:00
manuroe
744208ae25 reskin: Create ThemeService.shared 2019-01-11 11:45:27 +01:00
manuroe
b3b6e2c80c reskin: Rename RiotDesignValues -> ThemeService 2019-01-11 10:46:00 +01:00
manuroe
39ffac13b1 reskin: kill kRiotSecondaryBgColor 2019-01-10 17:57:17 +01:00
manuroe
21a9a7c9f3 reskin: kill kRiotPrimaryBgColor 2019-01-10 17:50:26 +01:00
manuroe
91e20b59a5 reskin: remove bar style ivars from RiotDesignValues 2019-01-10 17:08:32 +01:00
manuroe
5cf4eb0bdc reskin: Delegate navigation and search bars styling to theme 2019-01-10 16:43:03 +01:00
manuroe
eca85776a1 reskin: rename ColorValues to Theme 2019-01-10 15:32:59 +01:00
manuroe
6f30f88b03 reskin: ColorValues: suffix UIColor properties names with "Color" 2019-01-10 15:23:22 +01:00
manuroe
cecba319cf Merge remote-tracking branch 'origin/develop' into reskin
# Conflicts:
#	Riot/Constants/RiotDesignValues.m
#	Riot/Modules/Authentication/AuthenticationViewController.m
2019-01-10 11:50:57 +01:00
fridtjof
c7fbca7698
make use of Obj-C's modern syntax for literals and subscripting 2019-01-08 00:24:11 +01:00
manuroe
a50c9f55b1 Reskin: Kill kRiotColorGreen and use RiotDesignValues.colorValues.accent instead 2018-11-30 17:10:28 +01:00
manuroe
ac08e7670a Reskin: Change the 2 notifications colors 2018-11-30 16:36:34 +01:00
manuroe
6f98822179 Reskin: Use the new [RiotDesignValues applyStyleOnNavigationBar:] method everywhere
Note that we do not change anymore the bar tint color when changing tabs. This is alwasy the same.
2018-11-29 17:31:41 +01:00
SBiOSoftWhare
7a4a68a998 Add a selectRoomWithId:andEventId:inMatrixSession: method with completion block on MasterTabController. 2018-08-27 17:14:28 +02:00
manuroe
2d15485137 Lazy-loading: Fix a regression when opening a room where we can see the Riot logo in bg
Video at
https://matrix.to/#/!DdJkzRliezrwpNebLk:matrix.org/$1533808423412ynHll:matrix.org
2018-08-09 16:30:31 +02:00
manuroe
7e0f755440 MXKRoomDataSourceManager: closeRoomDataSource has been replaced by closeRoomDataSourceWithRoomId. 2018-08-08 10:33:10 +02:00
manuroe
ac0a7b048e New async [MXRoom state:]: Fix regression in MasterTabBarVC 2018-07-23 18:09:16 +02:00
manuroe
100493ac37 New async [MXRoom state:]: Create async factory methods for MXKRoomDataSource 2018-07-20 11:14:49 +02:00
SBiOSoftWhare
3f3c4f471b Structure project almost by features. Start by organizing view controllers. 2018-07-10 10:21:20 +02:00