From 40092917c004965ba58ec4c3fb61280fe69952c2 Mon Sep 17 00:00:00 2001 From: manuroe Date: Tue, 2 Oct 2018 15:30:00 +0200 Subject: [PATCH 1/6] Server Quota Notices: Implement the blue banner Closes #1937 --- CHANGES.rst | 7 ++ Riot/Assets/en.lproj/Vector.strings | 4 + Riot/Constants/RiotDesignValues.h | 1 + Riot/Constants/RiotDesignValues.m | 4 +- Riot/Modules/Room/RoomViewController.h | 2 +- Riot/Modules/Room/RoomViewController.m | 46 ++++++++++++ .../Views/Activities/RoomActivitiesView.h | 8 ++ .../Views/Activities/RoomActivitiesView.m | 75 ++++++++++++++++--- 8 files changed, 133 insertions(+), 14 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 44506e3e9..42d45faeb 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,10 @@ +Changes in 0.7.5 (2018-10-) +=============================================== + +Improvements: +* Upgrade MatrixKit version (v0.8.5). +* Server Quota Notices: Implement the blue banner (#1937). + Changes in 0.7.4 (2018-09-26) =============================================== diff --git a/Riot/Assets/en.lproj/Vector.strings b/Riot/Assets/en.lproj/Vector.strings index 043a1609b..3c519c4d7 100644 --- a/Riot/Assets/en.lproj/Vector.strings +++ b/Riot/Assets/en.lproj/Vector.strings @@ -281,6 +281,10 @@ "room_resource_limit_exceeded_message_contact_1" = " Please "; "room_resource_limit_exceeded_message_contact_2_link" = "contact your service administrator"; "room_resource_limit_exceeded_message_contact_3" = " to continue using this service."; +"room_resource_usage_limit_reached_message_1_default" = "This homeserver has exceeded one of its resource limits so "; +"room_resource_usage_limit_reached_message_1_monthly_active_user" = "This homeserver has hit its Monthly Active User limit so "; +"room_resource_usage_limit_reached_message_2" = "some users will not be able to log in."; +"room_resource_usage_limit_reached_message_contact_3" = " to get this limit increased."; // Unknown devices "unknown_devices_alert_title" = "Room contains unknown devices"; diff --git a/Riot/Constants/RiotDesignValues.h b/Riot/Constants/RiotDesignValues.h index a6db623b6..35c4d05c8 100644 --- a/Riot/Constants/RiotDesignValues.h +++ b/Riot/Constants/RiotDesignValues.h @@ -53,6 +53,7 @@ extern UIColor *kRiotColorRed; extern UIColor *kRiotColorIndigo; extern UIColor *kRiotColorOrange; extern UIColor *kRiotColorBlue; +extern UIColor *kRiotColorCuriousBlue; #pragma mark - Riot Standard Room Member Power Level extern NSInteger const kRiotRoomModeratorLevel; diff --git a/Riot/Constants/RiotDesignValues.m b/Riot/Constants/RiotDesignValues.m index 1c381a36e..a6d4ce672 100644 --- a/Riot/Constants/RiotDesignValues.m +++ b/Riot/Constants/RiotDesignValues.m @@ -47,6 +47,7 @@ UIColor *kRiotColorRed; UIColor *kRiotColorIndigo; UIColor *kRiotColorOrange; UIColor *kRiotColorBlue; +UIColor *kRiotColorCuriousBlue; // Riot Background Colors UIColor *kRiotBgColorWhite; @@ -101,7 +102,8 @@ UIKeyboardAppearance kRiotKeyboard; kRiotColorIndigo = UIColorFromRGB(0xBD79CC); kRiotColorOrange = UIColorFromRGB(0xF8A15F); kRiotColorBlue = UIColorFromRGB(0x81BDDB); - + kRiotColorCuriousBlue = UIColorFromRGB(0x2A9EDB); + kRiotBgColorWhite = [UIColor whiteColor]; kRiotBgColorBlack = UIColorFromRGB(0x2D2D2D); kRiotBgColorOLEDBlack = [UIColor blackColor]; diff --git a/Riot/Modules/Room/RoomViewController.h b/Riot/Modules/Room/RoomViewController.h index 292459be6..5c86bdb3d 100644 --- a/Riot/Modules/Room/RoomViewController.h +++ b/Riot/Modules/Room/RoomViewController.h @@ -27,7 +27,7 @@ #import "UIViewController+RiotSearch.h" -@interface RoomViewController : MXKRoomViewController +@interface RoomViewController : MXKRoomViewController // The expanded header @property (weak, nonatomic) IBOutlet UIView *expandedHeaderContainer; diff --git a/Riot/Modules/Room/RoomViewController.m b/Riot/Modules/Room/RoomViewController.m index e3991c9bc..aaa72f460 100644 --- a/Riot/Modules/Room/RoomViewController.m +++ b/Riot/Modules/Room/RoomViewController.m @@ -211,6 +211,9 @@ // Listener for `m.room.tombstone` event type id tombstoneEventNotificationsListener; + + // Homeserver notices + MXServerNotices *serverNotices; } @end @@ -821,6 +824,8 @@ if (self.roomDataSource) { + [self listenToServerNotices]; + self.eventsAcknowledgementEnabled = YES; // Set room title view @@ -1166,6 +1171,7 @@ [self removeWidgetNotificationsListeners]; [self removeTombstoneEventNotificationsListener]; [self removeMXSessionStateChangeNotificationsListener]; + [self removeServerNoticesListener]; if (previewHeader || (self.expandedHeaderContainer.isHidden == NO)) { @@ -3810,6 +3816,32 @@ }]; } + +#pragma mark - Server notices management + +- (void)removeServerNoticesListener +{ + if (serverNotices) + { + [serverNotices close]; + serverNotices = nil; + } +} + +- (void)listenToServerNotices +{ + if (!serverNotices) + { + serverNotices = [[MXServerNotices alloc] initWithMatrixSession:self.roomDataSource.mxSession]; + serverNotices.delegate = self; + } +} + +- (void)serverNoticesDidChangeState:(MXServerNotices *)serverNotices +{ + [self refreshActivitiesViewDisplay]; +} + #pragma mark - Widget notifications management - (void)removeWidgetNotificationsListeners @@ -4026,6 +4058,20 @@ }]; } + else if (serverNotices.usageLimit && serverNotices.usageLimit.isServerNoticeUsageLimit) + { + [roomActivitiesView showResourceUsageLimitNotice:serverNotices.usageLimit onAdminContactTapped:^(NSURL *adminContact) { + + if ([[UIApplication sharedApplication] canOpenURL:adminContact]) + { + [[UIApplication sharedApplication] openURL:adminContact]; + } + else + { + NSLog(@"[RoomVC] refreshActivitiesViewDisplay: adminContact(%@) cannot be opened", adminContact); + } + }]; + } else { [self refreshTypingNotification]; diff --git a/Riot/Modules/Room/Views/Activities/RoomActivitiesView.h b/Riot/Modules/Room/Views/Activities/RoomActivitiesView.h index df8b66581..f28e47c44 100644 --- a/Riot/Modules/Room/Views/Activities/RoomActivitiesView.h +++ b/Riot/Modules/Room/Views/Activities/RoomActivitiesView.h @@ -93,6 +93,14 @@ */ - (void)showResourceLimitExceededError:(NSDictionary *)errorDict onAdminContactTapped:(void (^)(NSURL *adminContact))onAdminContactTapped; +/** + Display a usage limit notice sent in a system alert room. + + @param usageLimit the usage limit data. + @param onAdminContactTapped a callback indicating if the user wants to contact their admin. + */ +- (void)showResourceUsageLimitNotice:(MXServerNoticeContent *)usageLimit onAdminContactTapped:(void (^)(NSURL *adminContact))onAdminContactTapped; + /** Remove any displayed information. */ diff --git a/Riot/Modules/Room/Views/Activities/RoomActivitiesView.m b/Riot/Modules/Room/Views/Activities/RoomActivitiesView.m index f456a7986..586f572af 100644 --- a/Riot/Modules/Room/Views/Activities/RoomActivitiesView.m +++ b/Riot/Modules/Room/Views/Activities/RoomActivitiesView.m @@ -376,32 +376,63 @@ - (void)showResourceLimitExceededError:(NSDictionary *)errorDict onAdminContactTapped:(void (^)(NSURL *adminContact))onAdminContactTapped { - [self reset]; - - CGFloat fontSize = 15; - // Parse error data NSString *limitType, *adminContactString; - NSURL *adminContact; MXJSONModelSetString(limitType, errorDict[kMXErrorResourceLimitExceededLimitTypeKey]); MXJSONModelSetString(adminContactString, errorDict[kMXErrorResourceLimitExceededAdminContactKey]); + [self showResourceLimit:limitType adminContactString:adminContactString hardLimit:YES onAdminContactTapped:(void (^)(NSURL *adminContact))onAdminContactTapped]; +} + +- (void)showResourceUsageLimitNotice:(MXServerNoticeContent *)usageLimit onAdminContactTapped:(void (^)(NSURL *))onAdminContactTapped +{ + [self showResourceLimit:usageLimit.limitType adminContactString:usageLimit.adminContact hardLimit:NO onAdminContactTapped:onAdminContactTapped]; +} + +- (void)showResourceLimit:(NSString *)limitType adminContactString:(NSString *)adminContactString hardLimit:(BOOL)hardLimit onAdminContactTapped:(void (^)(NSURL *adminContact))onAdminContactTapped +{ + [self reset]; + + CGFloat fontSize = 15; + + NSURL *adminContact; if (adminContactString) { adminContact = [NSURL URLWithString:adminContactString]; } // Build the message content - // Reuse MatrixKit as is for the beginning NSMutableString *message = [NSMutableString new]; - if ([limitType isEqualToString:kMXErrorResourceLimitExceededLimitTypeMonthlyActiveUserValue]) + NSAttributedString *message2; + if (hardLimit) { - [message appendString:[NSBundle mxk_localizedStringForKey:@"login_error_resource_limit_exceeded_message_monthly_active_user"]]; + // Reuse MatrixKit as is for the beginning of hardLimit + if ([limitType isEqualToString:kMXErrorResourceLimitExceededLimitTypeMonthlyActiveUserValue]) + { + [message appendString:[NSBundle mxk_localizedStringForKey:@"login_error_resource_limit_exceeded_message_monthly_active_user"]]; + } + else + { + [message appendString:[NSBundle mxk_localizedStringForKey:@"login_error_resource_limit_exceeded_message_default"]]; + } } else { - [message appendString:[NSBundle mxk_localizedStringForKey:@"login_error_resource_limit_exceeded_message_default"]]; + if ([limitType isEqualToString:kMXErrorResourceLimitExceededLimitTypeMonthlyActiveUserValue]) + { + [message appendString:NSLocalizedStringFromTable(@"room_resource_usage_limit_reached_message_1_monthly_active_user", @"Vector", nil)]; + } + else + { + [message appendString:NSLocalizedStringFromTable(@"room_resource_usage_limit_reached_message_1_default", @"Vector", nil)]; + } + + message2 = [[NSAttributedString alloc] initWithString:NSLocalizedStringFromTable(@"room_resource_usage_limit_reached_message_2", @"Vector", nil) + attributes:@{ + NSFontAttributeName: [UIFont boldSystemFontOfSize:fontSize], + NSForegroundColorAttributeName: kRiotPrimaryBgColor + }]; } NSDictionary *attributes = @{ @@ -430,9 +461,21 @@ NSAttributedString *messageContact1 = [[NSAttributedString alloc] initWithString:NSLocalizedStringFromTable(@"room_resource_limit_exceeded_message_contact_1", @"Vector", nil) attributes:attributes]; NSAttributedString *messageContact2Link = [[NSAttributedString alloc] initWithString:NSLocalizedStringFromTable(@"room_resource_limit_exceeded_message_contact_2_link", @"Vector", nil) attributes:messageContact2LinkAttributes]; - NSAttributedString *messageContact3 = [[NSAttributedString alloc] initWithString:NSLocalizedStringFromTable(@"room_resource_limit_exceeded_message_contact_3", @"Vector", nil) attributes:attributes]; + NSAttributedString *messageContact3; + if (hardLimit) + { + messageContact3 = [[NSAttributedString alloc] initWithString:NSLocalizedStringFromTable(@"room_resource_limit_exceeded_message_contact_3", @"Vector", nil) attributes:attributes]; + } + else + { + messageContact3 = [[NSAttributedString alloc] initWithString:NSLocalizedStringFromTable(@"room_resource_usage_limit_reached_message_contact_3", @"Vector", nil) attributes:attributes]; + } NSMutableAttributedString *attributedText = [[NSMutableAttributedString alloc] initWithString:message attributes:attributes]; + if (message2) + { + [attributedText appendAttributedString:message2]; + } [attributedText appendAttributedString:messageContact1]; [attributedText appendAttributedString:messageContact2Link]; [attributedText appendAttributedString:messageContact3]; @@ -441,8 +484,16 @@ self.messageTextView.tintColor = kRiotPrimaryBgColor; self.messageTextView.hidden = NO; - self.backgroundColor = kRiotColorPinkRed; - self.messageTextView.backgroundColor = kRiotColorPinkRed; + if (hardLimit) + { + self.backgroundColor = kRiotColorPinkRed; + self.messageTextView.backgroundColor = kRiotColorPinkRed; + } + else + { + self.backgroundColor = kRiotColorCuriousBlue; + self.messageTextView.backgroundColor = kRiotColorCuriousBlue; + } // Hide the separator to display correctly the banner self.separatorView.hidden = YES; From cb5669aade5d255f03b6bb38d1733c71fbbc2ef4 Mon Sep 17 00:00:00 2001 From: SBiOSoftWhare Date: Wed, 3 Oct 2018 14:54:51 +0200 Subject: [PATCH 2/6] Update gitignore for Fastlane --- .gitignore | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 5d97bc8a5..260d787a9 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,8 @@ Pods/ # Do not track our workspace since it is created by CocoaPods *.xcworkspace + +# Fastlane +fastlane/report.xml +fastlane/Reports +fastlane/README.md \ No newline at end of file From 449d2ca8d58a82e40d8c775b5c1f2c20e51a7437 Mon Sep 17 00:00:00 2001 From: SBiOSoftWhare Date: Wed, 3 Oct 2018 15:13:32 +0200 Subject: [PATCH 3/6] Add Gemfile and Pluginfile in order to manage fastlane dependencies --- Gemfile | 8 ++ Gemfile.lock | 207 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 215 insertions(+) create mode 100644 Gemfile create mode 100644 Gemfile.lock diff --git a/Gemfile b/Gemfile new file mode 100644 index 000000000..cacbc44b6 --- /dev/null +++ b/Gemfile @@ -0,0 +1,8 @@ +source "https://rubygems.org" + +gem "xcode-install" +gem "fastlane" +gem "cocoapods", '~>1.5.3' + +plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile') +eval_gemfile(plugins_path) if File.exist?(plugins_path) diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 000000000..621171f3d --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,207 @@ +GEM + remote: https://rubygems.org/ + specs: + CFPropertyList (3.0.0) + activesupport (4.2.10) + i18n (~> 0.7) + minitest (~> 5.1) + thread_safe (~> 0.3, >= 0.3.4) + tzinfo (~> 1.1) + addressable (2.5.2) + public_suffix (>= 2.0.2, < 4.0) + atomos (0.1.3) + babosa (1.0.2) + claide (1.0.2) + cocoapods (1.5.3) + activesupport (>= 4.0.2, < 5) + claide (>= 1.0.2, < 2.0) + cocoapods-core (= 1.5.3) + cocoapods-deintegrate (>= 1.0.2, < 2.0) + cocoapods-downloader (>= 1.2.0, < 2.0) + cocoapods-plugins (>= 1.0.0, < 2.0) + cocoapods-search (>= 1.0.0, < 2.0) + cocoapods-stats (>= 1.0.0, < 2.0) + cocoapods-trunk (>= 1.3.0, < 2.0) + cocoapods-try (>= 1.1.0, < 2.0) + colored2 (~> 3.1) + escape (~> 0.0.4) + fourflusher (~> 2.0.1) + gh_inspector (~> 1.0) + molinillo (~> 0.6.5) + nap (~> 1.0) + ruby-macho (~> 1.1) + xcodeproj (>= 1.5.7, < 2.0) + cocoapods-core (1.5.3) + activesupport (>= 4.0.2, < 6) + fuzzy_match (~> 2.0.4) + nap (~> 1.0) + cocoapods-deintegrate (1.0.2) + cocoapods-downloader (1.2.1) + cocoapods-plugins (1.0.0) + nap + cocoapods-search (1.0.0) + cocoapods-stats (1.0.0) + cocoapods-trunk (1.3.1) + nap (>= 0.8, < 2.0) + netrc (~> 0.11) + cocoapods-try (1.1.0) + colored (1.2) + colored2 (3.1.2) + commander-fastlane (4.4.6) + highline (~> 1.7.2) + concurrent-ruby (1.0.5) + declarative (0.0.10) + declarative-option (0.1.0) + domain_name (0.5.20180417) + unf (>= 0.0.5, < 1.0.0) + dotenv (2.5.0) + emoji_regex (0.1.1) + escape (0.0.4) + excon (0.62.0) + faraday (0.15.3) + multipart-post (>= 1.2, < 3) + faraday-cookie_jar (0.0.6) + faraday (>= 0.7.4) + http-cookie (~> 1.0.0) + faraday_middleware (0.12.2) + faraday (>= 0.7.4, < 1.0) + fastimage (2.1.4) + fastlane (2.105.2) + CFPropertyList (>= 2.3, < 4.0.0) + addressable (>= 2.3, < 3.0.0) + babosa (>= 1.0.2, < 2.0.0) + bundler (>= 1.12.0, < 2.0.0) + colored + commander-fastlane (>= 4.4.6, < 5.0.0) + dotenv (>= 2.1.1, < 3.0.0) + emoji_regex (~> 0.1) + excon (>= 0.45.0, < 1.0.0) + faraday (~> 0.9) + faraday-cookie_jar (~> 0.0.6) + faraday_middleware (~> 0.9) + fastimage (>= 2.1.0, < 3.0.0) + gh_inspector (>= 1.1.2, < 2.0.0) + google-api-client (>= 0.21.2, < 0.24.0) + highline (>= 1.7.2, < 2.0.0) + json (< 3.0.0) + mini_magick (~> 4.5.1) + multi_json + multi_xml (~> 0.5) + multipart-post (~> 2.0.0) + plist (>= 3.1.0, < 4.0.0) + public_suffix (~> 2.0.0) + rubyzip (>= 1.2.2, < 2.0.0) + security (= 0.1.3) + simctl (~> 1.6.3) + slack-notifier (>= 2.0.0, < 3.0.0) + terminal-notifier (>= 1.6.2, < 2.0.0) + terminal-table (>= 1.4.5, < 2.0.0) + tty-screen (>= 0.6.3, < 1.0.0) + tty-spinner (>= 0.8.0, < 1.0.0) + word_wrap (~> 1.0.0) + xcodeproj (>= 1.6.0, < 2.0.0) + xcpretty (~> 0.3.0) + xcpretty-travis-formatter (>= 0.0.3) + fastlane-plugin-versioning (0.3.4) + fourflusher (2.0.1) + fuzzy_match (2.0.4) + gh_inspector (1.1.3) + google-api-client (0.23.9) + addressable (~> 2.5, >= 2.5.1) + googleauth (>= 0.5, < 0.7.0) + httpclient (>= 2.8.1, < 3.0) + mime-types (~> 3.0) + representable (~> 3.0) + retriable (>= 2.0, < 4.0) + signet (~> 0.9) + googleauth (0.6.6) + faraday (~> 0.12) + jwt (>= 1.4, < 3.0) + memoist (~> 0.12) + multi_json (~> 1.11) + os (>= 0.9, < 2.0) + signet (~> 0.7) + highline (1.7.10) + http-cookie (1.0.3) + domain_name (~> 0.5) + httpclient (2.8.3) + i18n (0.9.5) + concurrent-ruby (~> 1.0) + json (2.1.0) + jwt (2.1.0) + memoist (0.16.0) + mime-types (3.2.2) + mime-types-data (~> 3.2015) + mime-types-data (3.2018.0812) + mini_magick (4.5.1) + minitest (5.11.3) + molinillo (0.6.6) + multi_json (1.13.1) + multi_xml (0.6.0) + multipart-post (2.0.0) + nanaimo (0.2.6) + nap (1.1.0) + naturally (2.2.0) + netrc (0.11.0) + os (1.0.0) + plist (3.4.0) + public_suffix (2.0.5) + representable (3.0.4) + declarative (< 0.1.0) + declarative-option (< 0.2.0) + uber (< 0.2.0) + retriable (3.1.2) + rouge (2.0.7) + ruby-macho (1.3.1) + rubyzip (1.2.2) + security (0.1.3) + signet (0.10.0) + addressable (~> 2.3) + faraday (~> 0.9) + jwt (>= 1.5, < 3.0) + multi_json (~> 1.10) + simctl (1.6.5) + CFPropertyList + naturally + slack-notifier (2.3.2) + terminal-notifier (1.8.0) + terminal-table (1.8.0) + unicode-display_width (~> 1.1, >= 1.1.1) + thread_safe (0.3.6) + tty-cursor (0.6.0) + tty-screen (0.6.5) + tty-spinner (0.8.0) + tty-cursor (>= 0.5.0) + tzinfo (1.2.5) + thread_safe (~> 0.1) + uber (0.1.0) + unf (0.1.4) + unf_ext + unf_ext (0.0.7.5) + unicode-display_width (1.4.0) + word_wrap (1.0.0) + xcode-install (2.4.4) + claide (>= 0.9.1, < 1.1.0) + fastlane (>= 2.1.0, < 3.0.0) + xcodeproj (1.6.0) + CFPropertyList (>= 2.3.3, < 4.0) + atomos (~> 0.1.3) + claide (>= 1.0.2, < 2.0) + colored2 (~> 3.1) + nanaimo (~> 0.2.6) + xcpretty (0.3.0) + rouge (~> 2.0.7) + xcpretty-travis-formatter (1.0.0) + xcpretty (~> 0.2, >= 0.0.7) + +PLATFORMS + ruby + +DEPENDENCIES + cocoapods (~> 1.5.3) + fastlane + fastlane-plugin-versioning + xcode-install + +BUNDLED WITH + 1.16.2 From 24aea96f1b494b97fe2a1c1b33123b9737ac57c1 Mon Sep 17 00:00:00 2001 From: SBiOSoftWhare Date: Wed, 3 Oct 2018 16:00:48 +0200 Subject: [PATCH 4/6] Remove pods code sign identity fix from Podfile --- Podfile | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Podfile b/Podfile index d4fc9246a..1037cc015 100644 --- a/Podfile +++ b/Podfile @@ -102,16 +102,6 @@ post_install do |installer| config.build_settings['ENABLE_BITCODE'] = 'NO' config.build_settings['SWIFT_VERSION'] = '4.0' # Required for PiwikTracker. Should be removed end - - # Set the right identity to build pods frameworks to be able to make release builds - # See https://github.com/CocoaPods/CocoaPods/issues/3156#issuecomment-102022787 - if target.to_s.include? 'Pods' - target.build_configurations.each do |config| - if !config.to_s.include? 'Debug' - config.build_settings['CODE_SIGN_IDENTITY[sdk=iphoneos*]'] = 'iPhone Distribution' - end - end - end end end From 56941a7f20171cf45889081cd3534de7e24d39e9 Mon Sep 17 00:00:00 2001 From: manuroe Date: Thu, 4 Oct 2018 18:37:25 +0200 Subject: [PATCH 5/6] Server Quota Notices: Implement the blue banner Fix Steves's remark --- Riot/Modules/Room/RoomViewController.h | 2 +- Riot/Modules/Room/RoomViewController.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Riot/Modules/Room/RoomViewController.h b/Riot/Modules/Room/RoomViewController.h index 5c86bdb3d..9d79bf0fe 100644 --- a/Riot/Modules/Room/RoomViewController.h +++ b/Riot/Modules/Room/RoomViewController.h @@ -27,7 +27,7 @@ #import "UIViewController+RiotSearch.h" -@interface RoomViewController : MXKRoomViewController +@interface RoomViewController : MXKRoomViewController // The expanded header @property (weak, nonatomic) IBOutlet UIView *expandedHeaderContainer; diff --git a/Riot/Modules/Room/RoomViewController.m b/Riot/Modules/Room/RoomViewController.m index aaa72f460..ea535c7c4 100644 --- a/Riot/Modules/Room/RoomViewController.m +++ b/Riot/Modules/Room/RoomViewController.m @@ -123,7 +123,7 @@ #import "Riot-Swift.h" -@interface RoomViewController () +@interface RoomViewController () { // The expanded header ExpandedRoomTitleView *expandedHeader; From 48a974d3ef833467ac9e15b20361f748dd597c30 Mon Sep 17 00:00:00 2001 From: manuroe Date: Fri, 5 Oct 2018 17:56:36 +0200 Subject: [PATCH 6/6] version++ --- CHANGES.rst | 2 +- Podfile | 2 +- Podfile.lock | 34 +++++++++++++++++----------------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 42d45faeb..2d9d5796f 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,4 +1,4 @@ -Changes in 0.7.5 (2018-10-) +Changes in 0.7.5 (2018-10-05) =============================================== Improvements: diff --git a/Podfile b/Podfile index 1037cc015..c5f6ef045 100644 --- a/Podfile +++ b/Podfile @@ -9,7 +9,7 @@ source 'https://github.com/CocoaPods/Specs.git' # Different flavours of pods to MatrixKit # The current MatrixKit pod version -$matrixKitVersion = '0.8.4' +$matrixKitVersion = '0.8.5' # The develop branch version #$matrixKitVersion = 'develop' diff --git a/Podfile.lock b/Podfile.lock index 651d079ac..e92df0d33 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -43,37 +43,37 @@ PODS: - GZIP (1.2.2) - HPGrowingTextView (1.1) - libPhoneNumber-iOS (0.9.13) - - MatrixKit (0.8.4): + - MatrixKit (0.8.5): - cmark (~> 0.24.1) - DTCoreText (~> 1.6.21) - HPGrowingTextView (~> 1.1) - libPhoneNumber-iOS (~> 0.9.13) - - MatrixKit/Core (= 0.8.4) - - MatrixSDK (= 0.11.4) - - MatrixKit/AppExtension (0.8.4): + - MatrixKit/Core (= 0.8.5) + - MatrixSDK (= 0.11.5) + - MatrixKit/AppExtension (0.8.5): - cmark (~> 0.24.1) - DTCoreText (~> 1.6.21) - DTCoreText/Extension - HPGrowingTextView (~> 1.1) - libPhoneNumber-iOS (~> 0.9.13) - - MatrixSDK (= 0.11.4) - - MatrixKit/Core (0.8.4): + - MatrixSDK (= 0.11.5) + - MatrixKit/Core (0.8.5): - cmark (~> 0.24.1) - DTCoreText (~> 1.6.21) - HPGrowingTextView (~> 1.1) - libPhoneNumber-iOS (~> 0.9.13) - - MatrixSDK (= 0.11.4) - - MatrixSDK (0.11.4): - - MatrixSDK/Core (= 0.11.4) - - MatrixSDK/Core (0.11.4): + - MatrixSDK (= 0.11.5) + - MatrixSDK (0.11.5): + - MatrixSDK/Core (= 0.11.5) + - MatrixSDK/Core (0.11.5): - AFNetworking (~> 3.2.0) - GZIP (~> 1.2.1) - OLMKit (~> 2.3.0) - Realm (~> 3.9.0) - - MatrixSDK/JingleCallStack (0.11.4): + - MatrixSDK/JingleCallStack (0.11.5): - MatrixSDK/Core - WebRTC (= 63.11.20455) - - MatrixSDK/SwiftSupport (0.11.4): + - MatrixSDK/SwiftSupport (0.11.5): - MatrixSDK/Core - OLMKit (2.3.0): - OLMKit/olmc (= 2.3.0) @@ -92,8 +92,8 @@ DEPENDENCIES: - cmark - DTCoreText - GBDeviceInfo (~> 5.2.0) - - MatrixKit (= 0.8.4) - - MatrixKit/AppExtension (= 0.8.4) + - MatrixKit (= 0.8.5) + - MatrixKit/AppExtension (= 0.8.5) - MatrixSDK/JingleCallStack - MatrixSDK/SwiftSupport - OLMKit @@ -134,13 +134,13 @@ SPEC CHECKSUMS: GZIP: 12374d285e3b5d46cfcd480700fcfc7e16caf4f1 HPGrowingTextView: 88a716d97fb853bcb08a4a08e4727da17efc9b19 libPhoneNumber-iOS: e444379ac18bbfbdefad571da735b2cd7e096caa - MatrixKit: 33f4361bd62342b6cdacb79fd60f3d9d704366b1 - MatrixSDK: 9d9f5e9b1fa19f8a84ebfce846d87b138af9999b + MatrixKit: 475ded18f6e1ca6e2461467540fb58b2822deb04 + MatrixSDK: 71c30d30fa258c2d8b79298bf9f0d38718d78ff3 OLMKit: dd79cdc5fab9ec04c940a901e025195b7801f306 PiwikTracker: 42862c7b13028065c3dfd36b4dc38db8a5765acf Realm: 3d36f208bf3aff8335dc3298742140182bde4edb WebRTC: f2a6203584745fe53532633397557876b5d71640 -PODFILE CHECKSUM: 9085b1000f60244804f8bc6285a05a39a4795d76 +PODFILE CHECKSUM: 80264d2625b7551d0278cd95f0eb29ef43269cb0 COCOAPODS: 1.6.0.beta.1