Skip to content

Commit

Permalink
Merge pull request #1127 from StepicOrg/release/1.212
Browse files Browse the repository at this point in the history
Release 1.212
  • Loading branch information
ivan-magda authored Mar 4, 2022
2 parents 12da55c + eb649f0 commit 02a0478
Show file tree
Hide file tree
Showing 24 changed files with 76 additions and 77 deletions.
24 changes: 12 additions & 12 deletions Stepic.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -13068,7 +13068,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 417;
CURRENT_PROJECT_VERSION = 419;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = UJ4KC2QN7B;
INFOPLIST_FILE = "StickerPackExtension/Info-Production.plist";
Expand All @@ -13093,7 +13093,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 417;
CURRENT_PROJECT_VERSION = 419;
DEVELOPMENT_TEAM = UJ4KC2QN7B;
INFOPLIST_FILE = "StickerPackExtension/Info-Production.plist";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
Expand Down Expand Up @@ -13235,7 +13235,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 417;
CURRENT_PROJECT_VERSION = 419;
DEVELOPMENT_TEAM = UJ4KC2QN7B;
ENABLE_BITCODE = YES;
INFOPLIST_FILE = "Stepic/Info-Production.plist";
Expand Down Expand Up @@ -13265,7 +13265,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 417;
CURRENT_PROJECT_VERSION = 419;
DEVELOPMENT_TEAM = UJ4KC2QN7B;
ENABLE_BITCODE = YES;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
Expand Down Expand Up @@ -13356,7 +13356,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 417;
CURRENT_PROJECT_VERSION = 419;
DEVELOPMENT_TEAM = UJ4KC2QN7B;
ENABLE_BITCODE = YES;
INFOPLIST_FILE = "Stepic/Info-Develop.plist";
Expand Down Expand Up @@ -13408,7 +13408,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 417;
CURRENT_PROJECT_VERSION = 419;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = UJ4KC2QN7B;
INFOPLIST_FILE = "StickerPackExtension/Info-Develop.plist";
Expand Down Expand Up @@ -13489,7 +13489,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 417;
CURRENT_PROJECT_VERSION = 419;
DEVELOPMENT_TEAM = UJ4KC2QN7B;
ENABLE_BITCODE = YES;
INFOPLIST_FILE = "Stepic/Info-Develop.plist";
Expand Down Expand Up @@ -13537,7 +13537,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 417;
CURRENT_PROJECT_VERSION = 419;
DEVELOPMENT_TEAM = UJ4KC2QN7B;
INFOPLIST_FILE = "StickerPackExtension/Info-Develop.plist";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
Expand Down Expand Up @@ -14057,7 +14057,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 417;
CURRENT_PROJECT_VERSION = 419;
DEVELOPMENT_TEAM = UJ4KC2QN7B;
ENABLE_BITCODE = YES;
INFOPLIST_FILE = "Stepic/Info-Release.plist";
Expand Down Expand Up @@ -14111,7 +14111,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 417;
CURRENT_PROJECT_VERSION = 419;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = UJ4KC2QN7B;
INFOPLIST_FILE = "StickerPackExtension/Info-Release.plist";
Expand Down Expand Up @@ -14193,7 +14193,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 417;
CURRENT_PROJECT_VERSION = 419;
DEVELOPMENT_TEAM = UJ4KC2QN7B;
ENABLE_BITCODE = YES;
INFOPLIST_FILE = "Stepic/Info-Release.plist";
Expand Down Expand Up @@ -14241,7 +14241,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 417;
CURRENT_PROJECT_VERSION = 419;
DEVELOPMENT_TEAM = UJ4KC2QN7B;
INFOPLIST_FILE = "StickerPackExtension/Info-Release.plist";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
Expand Down
4 changes: 2 additions & 2 deletions Stepic/Info-Develop.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.211-develop</string>
<string>1.212-develop</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand Down Expand Up @@ -62,7 +62,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>417</string>
<string>419</string>
<key>FacebookAppID</key>
<string>171127739724012</string>
<key>FacebookDisplayName</key>
Expand Down
4 changes: 2 additions & 2 deletions Stepic/Info-Production.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.211</string>
<string>1.212</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand Down Expand Up @@ -62,7 +62,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>417</string>
<string>419</string>
<key>FacebookAppID</key>
<string>171127739724012</string>
<key>FacebookDisplayName</key>
Expand Down
4 changes: 2 additions & 2 deletions Stepic/Info-Release.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.211-release</string>
<string>1.212-release</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand Down Expand Up @@ -62,7 +62,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>417</string>
<string>419</string>
<key>FacebookAppID</key>
<string>171127739724012</string>
<key>FacebookDisplayName</key>
Expand Down
9 changes: 6 additions & 3 deletions Stepic/Sources/Services/UnitNavigationService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ final class UnitNavigationService: UnitNavigationServiceProtocol {
}

unit.section = section
CoreDataHelper.shared.save()

// Cause unit & section have 1-indexed position in API
let unitPosition = unit.position - 1
Expand All @@ -71,6 +70,8 @@ final class UnitNavigationService: UnitNavigationServiceProtocol {
direction: direction
)
}
}.ensure {
CoreDataHelper.shared.save()
}
}

Expand All @@ -92,7 +93,10 @@ final class UnitNavigationService: UnitNavigationServiceProtocol {
return .value(nil)
}

return self.getUnitFromCacheOrNetwork(id: targetUnitID)
return self.getUnitFromCacheOrNetwork(id: targetUnitID).then { targetUnit -> Promise<Unit?> in
targetUnit?.section = section
return .value(targetUnit)
}
}

private func findUnitInAnotherSections(
Expand Down Expand Up @@ -128,7 +132,6 @@ final class UnitNavigationService: UnitNavigationServiceProtocol {
.first { $0.id == targetUnitID }

targetUnit?.section = section
CoreDataHelper.shared.save()

seal.fulfill(targetUnit)
}.catch { error in
Expand Down
4 changes: 2 additions & 2 deletions StepicTests/Info-Develop.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.211-develop</string>
<string>1.212-develop</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>417</string>
<string>419</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions StepicTests/Info-Production.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.211</string>
<string>1.212</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>417</string>
<string>419</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions StepicTests/Info-Release.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.211-release</string>
<string>1.212-release</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>417</string>
<string>419</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions StepicUITests/Info-Develop.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.211-develop</string>
<string>1.212-develop</string>
<key>CFBundleVersion</key>
<string>417</string>
<string>419</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions StepicUITests/Info-Production.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.211</string>
<string>1.212</string>
<key>CFBundleVersion</key>
<string>417</string>
<string>419</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions StepicUITests/Info-Release.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.211-release</string>
<string>1.212-release</string>
<key>CFBundleVersion</key>
<string>417</string>
<string>419</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions StepicWidget/Info-Develop.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.211-develop</string>
<string>1.212-develop</string>
<key>CFBundleVersion</key>
<string>417</string>
<string>419</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
Expand Down
4 changes: 2 additions & 2 deletions StepicWidget/Info-Production.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.211</string>
<string>1.212</string>
<key>CFBundleVersion</key>
<string>417</string>
<string>419</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
Expand Down
4 changes: 2 additions & 2 deletions StepicWidget/Info-Release.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.211-release</string>
<string>1.212-release</string>
<key>CFBundleVersion</key>
<string>417</string>
<string>419</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
Expand Down
4 changes: 2 additions & 2 deletions StickerPackExtension/Info-Develop.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>1.211-develop</string>
<string>1.212-develop</string>
<key>CFBundleVersion</key>
<string>417</string>
<string>419</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
Expand Down
4 changes: 2 additions & 2 deletions StickerPackExtension/Info-Production.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>1.211</string>
<string>1.212</string>
<key>CFBundleVersion</key>
<string>417</string>
<string>419</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
Expand Down
4 changes: 2 additions & 2 deletions StickerPackExtension/Info-Release.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>1.211-release</string>
<string>1.212-release</string>
<key>CFBundleVersion</key>
<string>417</string>
<string>419</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
Expand Down
18 changes: 8 additions & 10 deletions fastlane/metadata/Stepic/en-GB/description.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
Stepik is a platform with free online courses. Now also mobile!
Stepik is a online courses marketplace. Now also mobile!
Courses contain video lectures and practical assignments, which you can learn at any time.
With this app, you can also download all the content to watch offline or on the road.

There are many popular online courses from leading IT companies and universities on Stepik:
• Computer Science Center
• Yandex Academy
• Mail.Ru Group
• Academic University of RAS
• European University in St. Petersburg
• Bioinformatics Institute
• Higher School of Economics
• MIPT, MISiS
• JetBrains
• Launch code
• Universitat Autonoma de Barcelona
• TU Delft
• UC San Diego
... and other educational organizations, companies and instructors.

On Stepik you will find courses on:
Expand All @@ -19,6 +16,7 @@ On Stepik you will find courses on:
• Biology and Bioinformatics
• Economics
• Psychology
• Languages
... and other disciplines.

Learn the new! For free.
Learn the new!
2 changes: 1 addition & 1 deletion fastlane/metadata/Stepic/en-GB/promotional_text.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
With Stepik iOS app you can watch videos, read lectures and solve different quizzes for free. Learning programming? Just try our code editor!
With Stepik iOS app you can watch videos, read lectures and solve different quizzes. Learning programming? Just try our code editor!
Loading

0 comments on commit 02a0478

Please sign in to comment.