Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Monorepo] Master PR #18508

Merged
merged 5,360 commits into from
Jan 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5360 commits
Select commit Hold shift + click to select a range
443fba9
Merge remote-tracking branch 'origin/develop' into master_develop_1.1…
Tug Nov 18, 2019
9eda75a
Use string-array instead of plurals tag in strings.xml
Tug Nov 18, 2019
ce59499
Update string files
Tug Nov 18, 2019
5c88646
Update scripts to minimize changes in git diff and keep the same cont…
Tug Nov 18, 2019
8210c59
Exclude strings from tests
Tug Nov 18, 2019
033f055
Fix lint errors
Tug Nov 18, 2019
afbf2a9
Bump version to 1.17.1
Tug Nov 18, 2019
89c27cc
Update gutenberg ref following 1.17 merge to gutenberg master
mchowning Nov 18, 2019
85f759c
Merge pull request #1584 from wordpress-mobile/master_develop_1.17_merge
mchowning Nov 18, 2019
e44264c
Update gutenberg ref
etoledom Nov 19, 2019
9183a39
Merge remote-tracking branch 'origin/develop' into try/image-size-net…
etoledom Nov 19, 2019
d268985
Remove declaration on bridge of unused methods.
SergioEstevao Nov 19, 2019
69ba9c1
Added bridge code for gutenberg to request a native fullscreen previe…
cameronvoell Nov 19, 2019
0816eb4
Updating bundle and gutenberg reference.
cameronvoell Nov 19, 2019
80f0a04
Updated release notes.
cameronvoell Nov 20, 2019
7082256
Update gutenberg ref
etoledom Nov 20, 2019
6090fd9
Update gutenberg ref
etoledom Nov 20, 2019
96d6f5d
Merge pull request #1455 from wordpress-mobile/try/image-size-network…
etoledom Nov 20, 2019
84b8135
Update gutenberg ref
etoledom Nov 20, 2019
7e1dbd8
Merge pull request #1589 from wordpress-mobile/fix/i18n-plurals-android
Tug Nov 20, 2019
6a24cca
Update GB reference.
SergioEstevao Nov 20, 2019
7eee701
Merge branch 'develop' into add/image-fullscreen-preview-ios-native
cameronvoell Nov 20, 2019
445aad9
Updating bundle after catching up branch and gutenberg submodule.
cameronvoell Nov 21, 2019
6693912
Update gutenberg ref
etoledom Nov 21, 2019
830568a
Merge pull request #1600 from wordpress-mobile/issue/remove_unused_me…
SergioEstevao Nov 21, 2019
044873b
Update release notes.
SergioEstevao Nov 21, 2019
ceb7b96
Update UI test
etoledom Nov 21, 2019
2fb8162
Pass postType as initial prop on iOS
koke Nov 21, 2019
a151e3d
Pass postType down to Editor
koke Nov 21, 2019
09367d3
Allow Android to set the post type
koke Nov 21, 2019
5be0dcc
Updating gutenberg reference.
cameronvoell Nov 21, 2019
2b5ecb3
Removed duplicate line from merge.
cameronvoell Nov 21, 2019
aa2bff4
Merge pull request #1597 from wordpress-mobile/add/image-fullscreen-p…
cameronvoell Nov 21, 2019
338212d
updafe test files and iOS version for running locally with xcode 11
JavonDavis Nov 22, 2019
65cb91d
Update gutenberg ref
etoledom Nov 22, 2019
2c53980
Merge remote-tracking branch 'origin/develop' into issue/image-size-i…
etoledom Nov 22, 2019
f44b4d7
Merge pull request #1598 from wordpress-mobile/issue/image-size-impro…
etoledom Nov 22, 2019
e5dc0b1
Update gutenberg ref
etoledom Nov 22, 2019
70648f1
Update aztec to version that support reversed and start on lists.
SergioEstevao Nov 25, 2019
0d4a79d
Update Gutenberg to version where list settings are active in native.
SergioEstevao Nov 25, 2019
37c2a31
update block list check and capabilities
JavonDavis Nov 25, 2019
7e17c09
replace double click on android
JavonDavis Nov 25, 2019
70869d4
fix block insertion timeout
JavonDavis Nov 25, 2019
abb96a5
update branch with develop
JavonDavis Nov 25, 2019
81fe82d
Update gutenberg ref
etoledom Nov 25, 2019
c26e74d
Update package.json and JS bundle for 1.18.0 release
maxme Nov 26, 2019
97df17f
Update Gutenberg
koke Nov 26, 2019
2084534
Merge branch 'develop' into add/spt-basic-template-picker
koke Nov 26, 2019
303f2b6
Update Gutenberg
koke Nov 26, 2019
14c11cb
update gutenberg ref
JavonDavis Nov 26, 2019
a1cfa38
Update GB-reference.
SergioEstevao Nov 26, 2019
ae5be4b
Update release notes.
SergioEstevao Nov 26, 2019
2f19c48
revert caps to iPhone Simulator
JavonDavis Nov 26, 2019
e0c1436
Update Gutenberg ref
Nov 26, 2019
d813bb4
Update Release notes
Nov 26, 2019
83e1190
Merge pull request #1594 from wordpress-mobile/feature/enable-spacer-…
maxme Nov 26, 2019
6a849dc
Update gutenberg/ reference
maxme Nov 26, 2019
916994b
Update bundles
maxme Nov 26, 2019
92f2f54
Merge branch 'release/0.18.0' of https://github.com/wordpress-mobile/…
maxme Nov 26, 2019
2767bcb
Update GB reference.
SergioEstevao Nov 26, 2019
2598f73
Fix spacing
mkevins Nov 27, 2019
e76565b
Add static method to Media class to create instance using mimeType
mkevins Nov 27, 2019
4da4d3f
Add flag to track when appending multiple selected media items as blocks
mkevins Nov 27, 2019
c072a93
Introduce mediaSelectionCancelled method in WPAndroidGlueCode
mkevins Nov 27, 2019
183850f
Set flag to append blocks when multiple = false is not respected
mkevins Nov 27, 2019
1dbe658
Only use appendUploadMediaFiles plural version
mkevins Nov 27, 2019
4829cb6
Update gutenberg ref
etoledom Nov 27, 2019
b9daba5
Merge remote-tracking branch 'origin/develop' into master-merge-1.7.1
Tug Nov 27, 2019
dee1b50
Update to latest Gutenberg master
hypest Nov 27, 2019
8aa5a69
Patch jsdom to implement Element.closest()
hypest Nov 27, 2019
caf5a63
Merge remote-tracking branch 'origin/release/1.18.0' into master-1.7.…
Tug Nov 27, 2019
cfcb038
Merge pull request #1622 from wordpress-mobile/master-merge-1.7.1
Tug Nov 27, 2019
875e82f
Bring back changes on package.json from 1.7.1
Tug Nov 27, 2019
2748621
Merge pull request #1624 from wordpress-mobile/master-1.7.1-merge-to-…
Tug Nov 27, 2019
70f2855
Merge branch 'develop' into fix/multiple-media-selection-handling
mkevins Nov 27, 2019
394540e
Add docstring to the function
hypest Nov 27, 2019
919526c
Return null as per https://dom.spec.whatwg.org/#dom-element-closest
hypest Nov 27, 2019
0a0a6c7
Update Aztec version.
SergioEstevao Nov 27, 2019
d509b99
Update GB reference.
SergioEstevao Nov 27, 2019
2a523b7
Update gutenberg ref
etoledom Nov 27, 2019
a440f00
Update RELEASE-NOTES.txt
etoledom Nov 27, 2019
77561ed
Update GB reference
SergioEstevao Nov 27, 2019
cc7fb04
Merge branch 'refs/heads/develop' into issue/implement_video_properties
SergioEstevao Nov 27, 2019
f9d941e
Improve code block style
SergioEstevao Nov 27, 2019
ae73a07
Update GB reference.
SergioEstevao Nov 27, 2019
ca75471
Merge pull request #1626 from wordpress-mobile/issue/1625-implement-e…
cameronvoell Nov 28, 2019
a752b56
Merge remote-tracking branch 'origin/develop' into issue/image-size-i…
etoledom Nov 28, 2019
ceca01a
Update gutenberg ref
etoledom Nov 28, 2019
b4b2d11
Merge remote-tracking branch 'origin/develop' into issue/1522-fix-cra…
etoledom Nov 28, 2019
d3424c4
Update Media mimeType truncation to use enum names
mkevins Nov 28, 2019
0089c0d
Add Javadoc for mAppendsMultipleSelectedToSiblingBlocks flag
mkevins Nov 28, 2019
72cb4cc
Set appends to sibling blocks flag explicitly for all requests
mkevins Nov 28, 2019
22d2875
Add clarifying comment for special block append handling
mkevins Nov 28, 2019
fb6847d
Remove singular (unused) appendMedia method
mkevins Nov 28, 2019
1174488
Merge branch 'develop' into fix/multiple-media-selection-handling
mkevins Nov 28, 2019
0ba8d55
Merge pull request #1611 from wordpress-mobile/issue/image-size-impro…
etoledom Nov 28, 2019
509bf96
Merge pull request #1628 from wordpress-mobile/issue/1522-fix-crash-r…
etoledom Nov 28, 2019
091dc7b
Update GB reference.
SergioEstevao Nov 28, 2019
670aabf
Merge branch 'refs/heads/develop' into issue/implement_video_properties
SergioEstevao Nov 28, 2019
ce63a41
Update GB reference to master.
SergioEstevao Nov 28, 2019
ef0a6c7
Set appends to sibling blocks flag explicitly for other media pick
mkevins Nov 28, 2019
d39c152
Merge pull request #1601 from wordpress-mobile/issue/implement_video_…
SergioEstevao Nov 28, 2019
ac0b389
Update GB reference.
SergioEstevao Nov 28, 2019
0abdc7a
Update GB reference.
SergioEstevao Nov 28, 2019
3bcdcf6
Use lowercase for Media mimeType truncation
mkevins Nov 29, 2019
6937842
Merge branch 'develop' into fix/multiple-media-selection-handling
mkevins Nov 29, 2019
bab368c
Update Gutenberg
koke Nov 29, 2019
0a289b2
Merge remote-tracking branch 'origin/develop' into add/post-type
koke Nov 29, 2019
8bad4ab
Merge pull request #1606 from wordpress-mobile/add/post-type
koke Nov 29, 2019
add541a
Update Gutenberg
koke Nov 29, 2019
eef426c
Update Gutenberg ref - after fix for caption alignment
maxme Nov 29, 2019
e89fe14
Update bundles
maxme Nov 29, 2019
86769b8
Point to aztecVersion hash which supports list with start and reverse…
marecar3 Nov 29, 2019
e00ae96
Merge
marecar3 Nov 29, 2019
e3868b3
Update bundle and gutenberg ref - fix disappearing image
maxme Nov 29, 2019
03b0941
Merge pull request #1627 from wordpress-mobile/release/1.18.0
maxme Nov 29, 2019
362be51
Merge branch 'master' into develop
maxme Nov 29, 2019
c8a88ab
Update GB reference.
SergioEstevao Nov 29, 2019
47e0e7a
Merge branch 'refs/heads/develop' into issue/fix_merge_of_preformatte…
SergioEstevao Nov 29, 2019
4a30b38
Update GB reference.
SergioEstevao Nov 29, 2019
d98c181
Merge branch 'refs/heads/develop' into issue/368_improve_code_block
SergioEstevao Nov 29, 2019
bfefe06
Update GB reference.
SergioEstevao Nov 29, 2019
ee39888
Update Gutenberg
koke Dec 2, 2019
aadcea9
Merge branch 'develop' into add/spt-basic-template-picker
koke Dec 2, 2019
669ea9d
Update Gutenberg ref
Dec 2, 2019
825d00f
Update GB reference
SergioEstevao Dec 2, 2019
f6c5b0a
Update GB reference.
SergioEstevao Dec 2, 2019
f091d71
Merge pull request #1630 from wordpress-mobile/issue/368_improve_code…
SergioEstevao Dec 2, 2019
facf8fa
Merge branch 'develop' into fix/multiple-media-selection-handling
mkevins Dec 3, 2019
42d44a5
Merge pull request #1621 from wordpress-mobile/fix/multiple-media-sel…
mkevins Dec 3, 2019
07c4185
Only enable page templates on dev builds
koke Dec 3, 2019
bd312fe
Merge branch 'develop' into add/spt-basic-template-picker
koke Dec 3, 2019
0133cc3
Update aztec version
marecar3 Dec 3, 2019
b4c10c6
Merge branch 'develop' into issue/list_settings
marecar3 Dec 3, 2019
39a174a
Update aztec version
marecar3 Dec 4, 2019
5e2c2bf
Add colors for gallery block
mkevins Dec 4, 2019
049b03d
Update gutenberg reference
mkevins Dec 4, 2019
f7d765a
Update gutenberg reference
mkevins Dec 4, 2019
fc06e4b
Update gutenberg reference
mkevins Dec 4, 2019
d8f20fb
Merge pull request #1647 from wordpress-mobile/fix/add-gallery-colors
mkevins Dec 4, 2019
8540269
Update GB reference.
SergioEstevao Dec 4, 2019
07ec30e
Merge branch 'refs/heads/develop' into issue/list_settings
SergioEstevao Dec 4, 2019
69fcbeb
Update Gutenberg ref
Dec 4, 2019
9ba31c0
Update Aztec version to 1.14.0
SergioEstevao Dec 4, 2019
fa041e2
Merge branch 'refs/heads/develop' into issue/fix_merge_of_preformatte…
SergioEstevao Dec 5, 2019
f1dc8d5
Merge pull request #1636 from wordpress-mobile/issue/fix_merge_of_pre…
SergioEstevao Dec 5, 2019
a28d54c
Make sure if the textColor is changed the default text color is updated.
SergioEstevao Dec 5, 2019
e6ac571
Use Slider from react-native-community lib (#1620)
lukewalczak Dec 5, 2019
8e9a59f
Merge pull request #1653 from wordpress-mobile/issue/fix_setting_text…
SergioEstevao Dec 5, 2019
0ecb05a
Merge branch 'refs/heads/develop' into fix/xcode-11
SergioEstevao Dec 6, 2019
fbe3501
Update Aztec editor version.
SergioEstevao Dec 6, 2019
208c693
Update to iOS 13
SergioEstevao Dec 6, 2019
0b7b88c
Update Xcode version.
SergioEstevao Dec 6, 2019
19aa4bf
Use iOS 12 for tests.
SergioEstevao Dec 6, 2019
863bced
Fix typo
SergioEstevao Dec 6, 2019
4bba803
Update Aztec to fix CI error with xcode 10
etoledom Dec 6, 2019
3f1b14c
Use iOS 12.2
SergioEstevao Dec 6, 2019
fd26b79
Update Appium version.
SergioEstevao Dec 6, 2019
98e8833
Update to appium 1.15.1
SergioEstevao Dec 6, 2019
2f9a560
Merge pull request #1557 from wordpress-mobile/fix/test-debugging-path
hypest Dec 6, 2019
000a15c
Merge pull request #1657 from wordpress-mobile/issue/xcode-10-compati…
etoledom Dec 6, 2019
5c76a16
Update to Appium 1.15.1 only in iOS
SergioEstevao Dec 6, 2019
ce9dd04
Update caps.
SergioEstevao Dec 6, 2019
6573570
Add Gallery Block (#1498)
mkevins Dec 6, 2019
6886b1d
Merge branch 'refs/heads/develop' into fix/xcode-11
SergioEstevao Dec 6, 2019
ff46fb2
Merge branch 'refs/heads/develop' into fix/xcode-11
SergioEstevao Dec 6, 2019
407a4bc
Update gutenberg ref (#1646)
Dec 6, 2019
42bb332
Add release notes for Gallery (#1658)
pinarol Dec 6, 2019
e5120a3
Make sure we use iPhone 11 (iOS 13) for build and run tests
SergioEstevao Dec 6, 2019
9b0d4e7
Merge branch 'develop' into issue/list_settings
marecar3 Dec 6, 2019
f4a100b
Pooint aztecVersion to develop
marecar3 Dec 6, 2019
e3da1bb
Update Appium for Android tests too.
SergioEstevao Dec 6, 2019
5f25f18
Set Appium to 1.15.0
SergioEstevao Dec 6, 2019
c9d27c5
Update aztec version to 1.3.36
marecar3 Dec 7, 2019
a8d56bf
Update appium to 1.16.0-rc.1
SergioEstevao Dec 9, 2019
57c3334
Update Aztec iOS to 1.14.1
SergioEstevao Dec 9, 2019
e091d80
Update GB reference.
SergioEstevao Dec 9, 2019
f47c127
Merge pull request #1619 from wordpress-mobile/issue/list_settings
SergioEstevao Dec 9, 2019
7644a01
Merge pull request #1608 from wordpress-mobile/fix/xcode-11
SergioEstevao Dec 9, 2019
035fc31
Activate preformat block on android platform (#1615)
marecar3 Dec 9, 2019
a300e58
Updates package.json and JS bundle for 1.19.0 release.
cameronvoell Dec 9, 2019
5b1612a
Update to shorten git commands
designsimply Dec 9, 2019
3ff15cd
Update Unit Tests headings in Getting Started documentation
designsimply Dec 9, 2019
d65ff79
Update gutenberg reference
mkevins Dec 10, 2019
a93ea6c
Update gutenberg reference
mkevins Dec 10, 2019
e16b030
Merge pull request #1668 from wordpress-mobile/fix/fork-with-viewport…
mkevins Dec 10, 2019
34427de
Update gutenberg ref
etoledom Dec 10, 2019
35444f1
Updating bundles.
cameronvoell Dec 10, 2019
cc5b1b4
Feat: Navigation Down in InnerBlocks (#1379)
jbinda Dec 11, 2019
2c475b2
Update Gutenberg ref
Dec 11, 2019
38cf4e1
Merge pull request #1664 from wordpress-mobile/update/shorten-git-com…
designsimply Dec 11, 2019
0f52666
Remove empty line between checkboxes
hypest Dec 13, 2019
06b924d
Merge pull request #1561 from wordpress-mobile/update-pr-template
maxme Dec 13, 2019
e483ff7
Updating release notes to show video settings in 1.19
cameronvoell Dec 13, 2019
a8c2de4
Merge pull request #1667 from wordpress-mobile/release/1.19.0
cameronvoell Dec 13, 2019
5bae3d4
Updating gutenberg reference to latest 1.19 release change on gutenbe…
cameronvoell Dec 13, 2019
f7396f3
Merge branch 'develop' into master-to-develop-post-release-v1.19.0
cameronvoell Dec 13, 2019
67bdbf8
Update gutenberg ref
etoledom Dec 16, 2019
369026f
Merge remote-tracking branch 'origin/develop' into issue/hide-image-s…
etoledom Dec 16, 2019
0002811
Sass Transformer: Also look for partials
ockham Dec 16, 2019
4e79666
Single quotes
ockham Dec 17, 2019
016e684
Also update sass-transformer-inside-gb.js
ockham Dec 17, 2019
02dbd1b
Merge pull request #1683 from ockham/patch-1
hypest Dec 17, 2019
7b838ff
Update release notes
mchowning Nov 27, 2019
09b9b0a
Merge branch 'develop' into master-to-develop-post-release-v1.19.0
cameronvoell Dec 17, 2019
7df54fd
Update gutenberg ref
mchowning Dec 17, 2019
b3c48b0
Merge pull request #1631 from wordpress-mobile/issue/1592_fix_alignme…
mchowning Dec 17, 2019
169afde
Merge branch 'develop' into master-to-develop-post-release-v1.19.0
cameronvoell Dec 17, 2019
04e6b59
Update gutenberg ref
etoledom Dec 18, 2019
5f08cfe
Update gutenberg ref
etoledom Dec 18, 2019
3b4add9
Merge branch 'develop' of github.com:wordpress-mobile/gutenberg-mobil…
Dec 18, 2019
52a731b
Update gutenberg ref
Dec 18, 2019
6054d31
Merge remote-tracking branch 'origin/develop' into issue/add-test-id
etoledom Dec 18, 2019
4dcde05
Merge pull request #1640 from wordpress-mobile/feature/stepper-component
Dec 18, 2019
817584c
Update Gutenberg ref
Dec 18, 2019
270ce63
Merge pull request #1695 from wordpress-mobile/feature/stepper-compon…
hypest Dec 18, 2019
f9e696f
Update gutenberg ref
etoledom Dec 18, 2019
9e69e79
Merge remote-tracking branch 'origin/develop' into issue/add-test-id
etoledom Dec 18, 2019
30b9213
Update gutenberg ref
etoledom Dec 18, 2019
d845357
Merge remote-tracking branch 'origin/develop' into issue/hide-image-s…
etoledom Dec 18, 2019
521f529
Bundles up to date with merged code from develop
cameronvoell Dec 18, 2019
b6e5a23
Merge pull request #1681 from wordpress-mobile/issue/add-test-id
etoledom Dec 18, 2019
aee3d3d
Merge pull request #1680 from wordpress-mobile/master-to-develop-post…
hypest Dec 18, 2019
c44a265
Add ref to gutenberg repo
lukewalczak Dec 19, 2019
76f4480
Update ref
lukewalczak Dec 19, 2019
7b559b9
Merge pull request #1669 from wordpress-mobile/issue/hide-image-size-…
etoledom Dec 19, 2019
117bac1
Update ref
lukewalczak Dec 19, 2019
30b0829
Merge branch 'develop' into fix-undo-crash
lukewalczak Dec 19, 2019
7de3ee5
Merge pull request #1576 from wordpress-mobile/add/spt-basic-template…
koke Dec 20, 2019
1cfff07
Update ref
lukewalczak Dec 20, 2019
037a67c
Merge branch 'develop' into fix-undo-crash
lukewalczak Dec 20, 2019
727b03d
Upgrade the SVG lib to fix #1703
hypest Dec 20, 2019
4085aeb
Upgrade the Video lib to fix #1705
hypest Dec 20, 2019
eeec2b9
Upgrade the Slider lib to use node_modules in local npm build
hypest Dec 20, 2019
9122c6d
Update ref
lukewalczak Dec 20, 2019
2abb0a5
Merge pull request #1706 from wordpress-mobile/fix/update-forks-to-us…
mchowning Dec 20, 2019
f5d2001
Merge branch 'develop' into fix-undo-crash
lukewalczak Dec 20, 2019
128881e
Upgrade the SVG lib ref
hypest Dec 20, 2019
f231f81
Upgrade the Video lib ref
hypest Dec 20, 2019
92b9166
Upgrade the Slider lib ref
hypest Dec 20, 2019
73d62db
Update ref
lukewalczak Dec 20, 2019
977b90f
Merge pull request #1712 from wordpress-mobile/update/use-merged-fork…
cameronvoell Dec 20, 2019
3bebc2a
Merge branch 'develop' into fix-undo-crash
lukewalczak Dec 20, 2019
38d6ee8
Brings back gb master to normal (#1722)
marecar3 Dec 24, 2019
770b9c4
Fix/Bring back master to normal (#1724)
marecar3 Dec 25, 2019
0bab6c9
Update Gutenberg ref
Dec 26, 2019
a95d0c4
Merge branch 'develop' of github.com:wordpress-mobile/gutenberg-mobil…
Dec 26, 2019
f6c122c
Update Gutenberg ref
Dec 26, 2019
86ceb4e
Merge pull request #1701 from wordpress-mobile/fix-undo-crash
Dec 26, 2019
c216d1c
Merge commit '86ceb4ee3049c5250f78f87c82b8d64caf392a0d' into rnmobile…
Tug Jan 6, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
177 changes: 177 additions & 0 deletions packages/react-native-editor/.circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
version: 2.1

commands:
yarn-install:
steps:
- restore_cache:
name: Restore Yarn Cache
keys:
- yarn-i18n-v4-{{ .Environment.CIRCLE_JOB }}-{{ checksum "yarn.lock" }}
- run:
name: Yarn Install
command: yarn install --frozen-lockfile --prefer-offline
- save_cache:
name: Save Yarn Cache
key: yarn-i18n-v4-{{ .Environment.CIRCLE_JOB }}-{{ checksum "yarn.lock" }}
paths:
- node_modules
- i18n-cache/data
checkout-gutenberg:
steps:
- run:
name: Checkout Gutenberg
command: git submodule update --init --recursive
add-jest-reporter-dir:
steps:
- run:
name: Create reports directory
command: mkdir reports && mkdir reports/test-results

jobs:
checks:
parameters:
platform:
type: string
default: ""
check-tests:
type: boolean
default: false
check-correctness:
type: boolean
default: false
docker:
- image: circleci/node:8
steps:
- checkout
- checkout-gutenberg
- yarn-install
- add-jest-reporter-dir
- run:
name: Set Environment Variables
command: |
echo 'export CHECK_CORRECTNESS=<<parameters.check-correctness>>' >> $BASH_ENV
echo 'export CHECK_TESTS=<<parameters.check-tests>>' >> $BASH_ENV
echo 'export TEST_RN_PLATFORM=<<parameters.platform>>' >> $BASH_ENV
- run:
name: Run Checks
command: bin/ci-checks-js.sh
environment:
JEST_JUNIT_OUTPUT: "reports/test-results/android-test-results.xml"
- store_test_results:
path: ./reports/test-results
android-device-checks:
docker:
- image: circleci/android:api-29-node
steps:
- checkout
- run:
name: Checkout Gutenberg
command: git submodule update --init --recursive
- yarn-install
- add-jest-reporter-dir
- run:
name: Set Environment Variables
command: |
echo 'export TEST_RN_PLATFORM=android' >> $BASH_ENV
echo 'export TEST_ENV=sauce' >> $BASH_ENV
- run:
name: Bundle Android and Generate debug .apk file for testing
command: yarn test:e2e:build-app:android
- run:
name: Upload apk to sauce labs
command: |
source bin/sauce-pre-upload.sh
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" -X POST -H "Content-Type: application/octet-stream" https://saucelabs.com/rest/v1/storage/automattic/Gutenberg-$SAUCE_FILENAME.apk?overwrite=true --data-binary @./android/app/build/outputs/apk/debug/app-debug.apk
- run:
name: Run Device Tests
command: yarn device-tests
environment:
JEST_JUNIT_OUTPUT: "reports/test-results/android-test-results.xml"
- store_test_results:
path: ./reports/test-results
ios-device-checks:
macos:
xcode: "11.2.1"
steps:
- checkout
- checkout-gutenberg
- yarn-install
- add-jest-reporter-dir
- run:
name: Set Environment Variables
command: |
echo 'export TEST_RN_PLATFORM=ios' >> $BASH_ENV
echo 'export TEST_ENV=sauce' >> $BASH_ENV
- run:
name: Prepare build cache key
command: find yarn.lock ios react-native-aztec/ios react-native-gutenberg-bridge/ios -type f -print0 | sort -z | xargs -0 shasum | tee ios-checksums.txt
- restore_cache:
name: Restore Build Cache
keys:
- ios-build-cache-{{ checksum "ios-checksums.txt" }}
- restore_cache:
name: Restore Dependencies Cache
keys:
- dependencies-v2-{{ checksum "react-native-aztec/ios/Cartfile.resolved" }}-{{
checksum "yarn.lock" }}
- dependencies-v2-{{ checksum "react-native-aztec/ios/Cartfile.resolved" }}
- dependencies-v2-
- run:
name: Yarn preios (if needed)
command: test -e ios/build/gutenberg/Build/Products/Release-iphonesimulator/gutenberg.app || yarn preios
- save_cache:
name: Save Dependencies Cache
key: dependencies-v2-{{ checksum "react-native-aztec/ios/Cartfile.resolved" }}-{{
checksum "yarn.lock" }}
paths:
- react-native-aztec/ios/Carthage
- ~/.rncache
- run:
name: Build (if needed)
command: test -e ios/build/gutenberg/Build/Products/Release-iphonesimulator/gutenberg.app || yarn react-native run-ios --configuration Release --no-packager
- run:
name: Bundle iOS
command: yarn test:e2e:bundle:ios
- run:
name: Generate .app file for testing
command: WORK_DIR=$(pwd) && cd ./ios/build/gutenberg/Build/Products/Release-iphonesimulator && zip -r $WORK_DIR/ios/Gutenberg.app.zip gutenberg.app
- run:
name: Upload .app to sauce labs
command: |
source bin/sauce-pre-upload.sh
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" -X POST -H "Content-Type: application/octet-stream" https://saucelabs.com/rest/v1/storage/automattic/Gutenberg-$SAUCE_FILENAME.app.zip?overwrite=true --data-binary @./ios/Gutenberg.app.zip
- run:
name: Run Device Tests
command: |
yarn device-tests
environment:
JEST_JUNIT_OUTPUT: "reports/test-results/ios-test-results.xml"
- store_test_results:
path: ./reports/test-results
- run:
name: Prepare build cache
command: rm ios/build/gutenberg/Build/Products/Release-iphonesimulator/gutenberg.app/main.jsbundle
- save_cache:
name: Save Build Cache
key: ios-build-cache-{{ checksum "ios-checksums.txt" }}
paths:
- ios/build/gutenberg/Build/Products/Release-iphonesimulator/gutenberg.app

workflows:
gutenberg-mobile:
jobs:
- checks:
name: Check Correctness
check-correctness: true
- checks:
name: Test iOS
platform: ios
check-tests: true
- checks:
name: Test Android
platform: android
check-tests: true
- ios-device-checks:
name: Test iOS on Device
- android-device-checks:
name: Test Android on Device
7 changes: 7 additions & 0 deletions packages/react-native-editor/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
; ignore the submodules
gutenberg
symlinked-packages
symlinked-packages-in-parent
react-native-aztec
bundle
react-native-aztec-old-submodule
74 changes: 74 additions & 0 deletions packages/react-native-editor/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/**
* External dependencies
*/
const { map } = require( 'lodash' );

module.exports = {
parser: "babel-eslint",
env: {
browser: true,
"jest/globals": true
},
globals: {
__DEV__: true
},
plugins: [
"react",
"react-native",
"jest",
"flowtype"
],
extends: [
"plugin:@wordpress/eslint-plugin/recommended",
"plugin:flowtype/recommended",
],
settings: {
flowtype: {
onlyFilesWithFlowAnnotation: true,
},
react: {
pragma: "React",
version: "16.8.3",
flowVersion: "0.92.0",
},
},
rules: {
'no-restricted-syntax': [
'error',
// NOTE: We can't include the forward slash in our regex or
// we'll get a `SyntaxError` (Invalid regular expression: \ at end of pattern)
// here. That's why we use \\u002F in the regexes below.
{
selector: 'ImportDeclaration[source.value=/^@wordpress\\u002F.+\\u002F/]',
message: 'Path access on WordPress dependencies is not allowed.',
},
{
selector: 'CallExpression[callee.name=/^(__|_x|_n|_nx)$/] Literal[value=/\\.{3}/]',
message: 'Use ellipsis character (…) in place of three dots',
},
{
selector: 'ImportDeclaration[source.value="lodash"] Identifier.imported[name="memoize"]',
message: 'Use memize instead of Lodash’s memoize',
},
{
selector: 'CallExpression[callee.object.name="page"][callee.property.name="waitFor"]',
message: 'Prefer page.waitForSelector instead.',
},
{
selector: 'JSXAttribute[name.name="id"][value.type="Literal"]',
message: 'Do not use string literals for IDs; use withInstanceId instead.',
},
{
// Discourage the usage of `Math.random()` as it's a code smell
// for UUID generation, for which we already have a higher-order
// component: `withInstanceId`.
selector: 'CallExpression[callee.object.name="Math"][callee.property.name="random"]',
message: 'Do not use Math.random() to generate unique IDs; use withInstanceId instead. (If you’re not generating unique IDs: ignore this message.)',
},
{
selector: 'CallExpression[callee.name="withDispatch"] > :function > BlockStatement > :not(VariableDeclaration,ReturnStatement)',
message: 'withDispatch must return an object with consistent keys. Avoid performing logic in `mapDispatchToProps`.',
},
],
},
}
115 changes: 115 additions & 0 deletions packages/react-native-editor/.flowconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
[ignore]
; We fork some components by platform
.*/*[.]android.js

; Ignore templates for 'react-native init'
<PROJECT_ROOT>/node_modules/react-native/local-cli/templates/.*

; Ignore RN jest
<PROJECT_ROOT>/node_modules/react-native/jest/.*

; Ignore RNTester
<PROJECT_ROOT>/node_modules/react-native/RNTester/.*

; Ignore the website subdir
<PROJECT_ROOT>/node_modules/react-native/website/.*

; Ignore the Dangerfile
<PROJECT_ROOT>/node_modules/react-native/danger/dangerfile.js

; Ignore Fbemitter
<PROJECT_ROOT>/node_modules/fbemitter/.*

; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/node_modules/react-native/\.buckd/

; Ignore unexpected extra "@providesModule"
.*/node_modules/.*/node_modules/fbjs/.*

; Ignore polyfills
<PROJECT_ROOT>/node_modules/react-native/Libraries/polyfills/.*

; Ignore various node_modules
<PROJECT_ROOT>/node_modules/react-native-gesture-handler/.*
<PROJECT_ROOT>/node_modules/expo/.*
<PROJECT_ROOT>/node_modules/react-navigation/.*
<PROJECT_ROOT>/node_modules/xdl/.*
<PROJECT_ROOT>/node_modules/reqwest/.*
<PROJECT_ROOT>/node_modules/metro-bundler/.*
<PROJECT_ROOT>/node_modules/fbjs/.*
<PROJECT_ROOT>/node_modules/graphql/.*
<PROJECT_ROOT>/node_modules/prettier/.*
<PROJECT_ROOT>/node_modules/jsx-to-string/.*
<PROJECT_ROOT>/node_modules/jest-enzyme/.*
<PROJECT_ROOT>/node_modules/enzyme-matchers/.*

; Ignore react-native-recyclerview-list example app
<PROJECT_ROOT>/node_modules/react-native-recyclerview-list/example

; Ignore immutable-js. See https://github.com/facebook/immutable-js/issues/1308
<PROJECT_ROOT>/node_modules/immutable/.*

; Gutenberg tools
<PROJECT_ROOT>/gutenberg/node_modules/findup/.*
<PROJECT_ROOT>/gutenberg/node_modules/cypress/.*
<PROJECT_ROOT>/gutenberg/node_modules/config-chain/.*
<PROJECT_ROOT>/gutenberg/node_modules/editions/es2015/.*
<PROJECT_ROOT>/gutenberg/node_modules/@parcel/.*

; Mirror some ignores from Gutenberg tools
<PROJECT_ROOT>/node_modules/config-chain/.*

; Hack to make Flow works on OS X with a RN project
<PROJECT_ROOT>/node_modules/metro/.*
<PROJECT_ROOT>/node_modules/react-native/.*

; Ignore the node_modules folders in GB packages
<PROJECT_ROOT>/gutenberg/packages/element/node_modules/.*

[include]

[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
node_modules/react-native/flow/
node_modules/expo/flow/
libdefs.js

[options]
emoji=true

module.system=haste
module.system.node.resolve_dirname=node_modules
module.system.node.resolve_dirname=symlinked-packages

module.file_ext=.js
module.file_ext=.jsx
module.file_ext=.json
module.file_ext=.ios.js
module.file_ext=.scss

munge_underscores=true

module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'

; mock/ignore style files
module.name_mapper='.*\(.scss\)' -> 'empty/object'

server.max_workers=4

suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState
suppress_type=$FixMe

suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError

[untyped]
<PROJECT_ROOT>/node_modules/react-native-keyboard-aware-scroll-view/.*
<PROJECT_ROOT>/node_modules/react-native-safe-area/.*

[version]
^0.92.0
1 change: 1 addition & 0 deletions packages/react-native-editor/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
RELEASE-NOTES.txt merge=union
Loading