Skip to content

Commit

Permalink
Merge branch 'develop' into issue/1099-read-only-refunds-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
mindgraffiti committed Oct 28, 2019
2 parents cd2f395 + 742252e commit 5c85ad7
Show file tree
Hide file tree
Showing 316 changed files with 2,470 additions and 1,584 deletions.
36 changes: 36 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,46 @@ jobs:
command: test-without-building
arguments: -xctestrun DerivedData/Build/Products/WooCommerce_iphonesimulator13.0-x86_64.xctestrun -destination "platform=iOS Simulator,id=$SIMULATOR_UDID"
- ios/save-xcodebuild-artifacts
Installable Build:
executor:
name: ios/default
xcode-version: "11.0.0"
steps:
- git/shallow-checkout
- load-chruby
- ios/install-dependencies:
bundle-install: true
pod-install: true
- run:
name: Copy Secrets
command: bundle exec fastlane run configure_apply
- run:
name: Build
command: "bundle exec fastlane build_and_upload_installable_build build_number:$CIRCLE_BUILD_NUM"
- run:
name: Prepare Artifacts
command: |
mkdir -p Artifacts
mv "fastlane/comment.json" "Artifacts/comment.json"
- store_artifacts:
path: Artifacts
destination: Artifacts

workflows:
woocommerce_ios:
jobs:
- Build Tests
- Unit Tests:
requires: [ "Build Tests" ]
Installable Build:
jobs:
- Hold:
type: approval
filters:
branches:
ignore: /pull\/[0-9]+/
- Installable Build:
requires: [Hold]
filters:
branches:
ignore: /pull\/[0-9]+/
2 changes: 1 addition & 1 deletion .configure
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"project_name": "woocommerce-ios",
"branch": "master",
"pinned_hash": "35258311d8ab579d5c4fddf34487d54ebb278ae0",
"pinned_hash": "5d9d2dfed3af27c7c686486a7665b50a65a4ddc2",
"files_to_copy": [
{
"file": "shared/google_cloud_keys.json",
Expand Down
2 changes: 1 addition & 1 deletion .configure-files/project.env.enc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
�@�����#F��k�ߛ�$Q_����ۋM '�� l�M�S�"
�1^����:8��'E���������-ث W�Pʯ�n�2y �H���T�������{H���}�̊��E�)�2{�(K�k����B;�ݗ�r=��[�V<@O�,���ު
�1^����:8��'E���������-ث W����v�Ƕ9�Q�吳���^�$�>�j�,�=#�^Fl`{�:r:!5��G;�`�9��O��AG�� ��a.`� �-�r�/D�ӛ םi�Ҋ��i �+~T�58"2�\T1��~H���;^��t��=eoJ�
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
fastlane/README.md
fastlane/README.md
Preview.html

\.DS_Store
Expand All @@ -87,3 +87,6 @@ Preview.html
# Everything without a .enc extension is ignored
.configure-files/*
!.configure-files/*.enc

# Can't imagine ever needing to commit one of these
*.bak
115 changes: 115 additions & 0 deletions Networking/Networking.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@
93D8BBFC226BBEE800AD2EB3 /* AccountSettingsMapper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AccountSettingsMapper.swift; sourceTree = "<group>"; };
93D8BBFE226BC1DA00AD2EB3 /* me-settings.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "me-settings.json"; sourceTree = "<group>"; };
93D8BC00226BC20600AD2EB3 /* AccountSettingsRemoteTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AccountSettingsRemoteTests.swift; sourceTree = "<group>"; };
9BD9C6C44CAC220B3C3B90B7 /* Pods-Networking.release-alpha.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Networking.release-alpha.xcconfig"; path = "../Pods/Target Support Files/Pods-Networking/Pods-Networking.release-alpha.xcconfig"; sourceTree = "<group>"; };
B505F6CC20BEE37E00BB1B69 /* AccountMapper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AccountMapper.swift; sourceTree = "<group>"; };
B505F6CE20BEE38B00BB1B69 /* Account.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Account.swift; sourceTree = "<group>"; };
B505F6D020BEE39600BB1B69 /* AccountRemote.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AccountRemote.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -506,6 +507,7 @@
CEF88DAA233E911A00BED485 /* order-fully-refunded.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "order-fully-refunded.json"; sourceTree = "<group>"; };
CEF88DAC233E95B000BED485 /* OrderRefundCondensed.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OrderRefundCondensed.swift; sourceTree = "<group>"; };
CEF88DAE233E9F7D00BED485 /* order-details-partially-refunded.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "order-details-partially-refunded.json"; sourceTree = "<group>"; };
D7865552BE07C116627FE528 /* Pods-NetworkingTests.release-alpha.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NetworkingTests.release-alpha.xcconfig"; path = "../Pods/Target Support Files/Pods-NetworkingTests/Pods-NetworkingTests.release-alpha.xcconfig"; sourceTree = "<group>"; };
D823D9022237450A00C90817 /* shipment_tracking_new.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = shipment_tracking_new.json; sourceTree = "<group>"; };
D823D904223746CE00C90817 /* NewShipmentTrackingMapper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NewShipmentTrackingMapper.swift; sourceTree = "<group>"; };
D823D90622376B4800C90817 /* shipment_tracking_new_custom_provider.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = shipment_tracking_new_custom_provider.json; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1033,6 +1035,8 @@
C8F9A8CC6F90A8C9B5EF2EE2 /* Pods-Networking.release.xcconfig */,
BD9439D9B8F2C1ED2EADAA51 /* Pods-NetworkingTests.debug.xcconfig */,
F6CEE1CA2AD376C0C28AE9F6 /* Pods-NetworkingTests.release.xcconfig */,
9BD9C6C44CAC220B3C3B90B7 /* Pods-Networking.release-alpha.xcconfig */,
D7865552BE07C116627FE528 /* Pods-NetworkingTests.release-alpha.xcconfig */,
);
name = Pods;
sourceTree = "<group>";
Expand Down Expand Up @@ -1503,6 +1507,114 @@
/* End PBXTargetDependency section */

/* Begin XCBuildConfiguration section */
1A96903E2359D9F30061E383 /* Release-Alpha */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.3;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
VALIDATE_PRODUCT = YES;
VALID_ARCHS = "$(ARCHS_STANDARD_64_BIT)";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = "Release-Alpha";
};
1A96903F2359D9F30061E383 /* Release-Alpha */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 9BD9C6C44CAC220B3C3B90B7 /* Pods-Networking.release-alpha.xcconfig */;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Automatic;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = PZYM8XX95Q;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = Networking/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.automattic.woo.Networking;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VALID_ARCHS = "$(inherited)";
};
name = "Release-Alpha";
};
1A9690402359D9F30061E383 /* Release-Alpha */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = D7865552BE07C116627FE528 /* Pods-NetworkingTests.release-alpha.xcconfig */;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = PZYM8XX95Q;
INFOPLIST_FILE = NetworkingTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.automattic.woo.NetworkingTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VALID_ARCHS = "$(inherited)";
};
name = "Release-Alpha";
};
B557D9F5209753AA005962F4 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
Expand Down Expand Up @@ -1735,6 +1847,7 @@
buildConfigurations = (
B557D9F5209753AA005962F4 /* Debug */,
B557D9F6209753AA005962F4 /* Release */,
1A96903E2359D9F30061E383 /* Release-Alpha */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
Expand All @@ -1744,6 +1857,7 @@
buildConfigurations = (
B557D9F8209753AA005962F4 /* Debug */,
B557D9F9209753AA005962F4 /* Release */,
1A96903F2359D9F30061E383 /* Release-Alpha */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
Expand All @@ -1753,6 +1867,7 @@
buildConfigurations = (
B557D9FB209753AA005962F4 /* Debug */,
B557D9FC209753AA005962F4 /* Release */,
1A9690402359D9F30061E383 /* Release-Alpha */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
Expand Down
1 change: 0 additions & 1 deletion Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ pre_install do |installer|
end
end


puts "Installing #{static.count} pods as static frameworks"
puts "Installing #{dynamic.count} pods as dynamic frameworks"

Expand Down
2 changes: 1 addition & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,6 @@ SPEC CHECKSUMS:
XLPagerTabStrip: 61c57fd61f611ee5f01ff1495ad6fbee8bf496c5
ZendeskSDK: f1c093a28ffcd0dc84b0cc1844801c7fc3a3dffd

PODFILE CHECKSUM: b14a0a3c64e44600de025a2af980f6873f446a92
PODFILE CHECKSUM: e294f33e34682e98f0c245711f604c60e5dbb32f

COCOAPODS: 1.8.4
3 changes: 3 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
3.0
-----

2.9
-----
- bugfix: the badge "9+" on the Orders tab doesn't overlap with the tab label on iPhone SE/8 landscape now, and polished based on design spec.
Expand Down
Loading

0 comments on commit 5c85ad7

Please sign in to comment.